@livetiles/reach-plugin-types 0.4.0-preview.44 → 0.4.0-preview.440
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 +2483 -1040
- 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[]>;
|
|
@@ -2236,10 +2341,17 @@ declare module "libs/reach/util/common/src/plugins/usePluginStorage" {
|
|
|
2236
2341
|
}
|
|
2237
2342
|
declare module "libs/reach/util/common/src/plugins/PluginContext" {
|
|
2238
2343
|
import { PluginSettings } from "libs/reach/util/common/src/user/Subscription";
|
|
2239
|
-
import { PluginStorage } from "libs/reach/util/common/src/plugins/
|
|
2344
|
+
import { PluginStorage } from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
2345
|
+
export interface PluginStore {
|
|
2346
|
+
get<T>(key: string): Promise<T>;
|
|
2347
|
+
set<T>(key: string, value: T): Promise<unknown>;
|
|
2348
|
+
delete(key: string): Promise<unknown>;
|
|
2349
|
+
}
|
|
2240
2350
|
export const PluginContext: import("react").Context<{
|
|
2241
2351
|
settings: PluginSettings;
|
|
2242
2352
|
storage: PluginStorage;
|
|
2353
|
+
userStore: PluginStore;
|
|
2354
|
+
subscriptionStore: PluginStore;
|
|
2243
2355
|
}>;
|
|
2244
2356
|
export function usePluginSettings<T>(): T;
|
|
2245
2357
|
export function useReachApiEndPoints(): {
|
|
@@ -2265,15 +2377,133 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
|
|
|
2265
2377
|
unlinkPlugin: (pluginId: string) => Promise<any>;
|
|
2266
2378
|
};
|
|
2267
2379
|
}
|
|
2380
|
+
declare module "libs/reach/util/common/src/content/GraphQLAttachmentType" {
|
|
2381
|
+
export enum GraphQLAttachmentType {
|
|
2382
|
+
Image = "IMAGE",
|
|
2383
|
+
File = "FILE",
|
|
2384
|
+
YouTubeVideo = "YOU_TUBE_VIDEO",
|
|
2385
|
+
VimeoVideo = "VIMEO_VIDEO",
|
|
2386
|
+
News = "NEWS",
|
|
2387
|
+
Event = "EVENT",
|
|
2388
|
+
Page = "PAGE",
|
|
2389
|
+
Post = "POST",
|
|
2390
|
+
Giphy = "GIPHY"
|
|
2391
|
+
}
|
|
2392
|
+
}
|
|
2393
|
+
declare module "libs/reach/util/common/src/Models" {
|
|
2394
|
+
import { BaseAttachment } from "libs/reach/util/common/src/content/Attachment";
|
|
2395
|
+
import { GraphQLAttachmentType } from "libs/reach/util/common/src/content/GraphQLAttachmentType";
|
|
2396
|
+
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2397
|
+
export interface ColorStyleDefinition {
|
|
2398
|
+
backgroundColor: string;
|
|
2399
|
+
color: string;
|
|
2400
|
+
}
|
|
2401
|
+
export interface PageNavigationNodeProps {
|
|
2402
|
+
title?: string;
|
|
2403
|
+
iconName?: string;
|
|
2404
|
+
to?: string;
|
|
2405
|
+
onClick?: () => void;
|
|
2406
|
+
isActive?: boolean;
|
|
2407
|
+
exact?: boolean;
|
|
2408
|
+
cannotBeActive?: boolean;
|
|
2409
|
+
submenuContents?: JSX.Element;
|
|
2410
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
2411
|
+
badgeInfo?: number | boolean;
|
|
2412
|
+
domIdentifier?: string;
|
|
2413
|
+
secondaryIconName?: string;
|
|
2414
|
+
secondaryIconTooltipResourceKey?: string;
|
|
2415
|
+
onSecondaryIconClick?: () => void;
|
|
2416
|
+
iconColor?: string;
|
|
2417
|
+
className?: string;
|
|
2418
|
+
}
|
|
2419
|
+
export interface Chat {
|
|
2420
|
+
id: string;
|
|
2421
|
+
members: (Account & ChatMember)[];
|
|
2422
|
+
memberIds: string[];
|
|
2423
|
+
groupName?: string;
|
|
2424
|
+
lastMessageInfo?: {
|
|
2425
|
+
received: string;
|
|
2426
|
+
senderId: string;
|
|
2427
|
+
content?: string;
|
|
2428
|
+
attachments: ChatAttachment[];
|
|
2429
|
+
deleteDate?: string;
|
|
2430
|
+
deleteState?: DeleteState;
|
|
2431
|
+
messageType?: ChatMessageType;
|
|
2432
|
+
messageValues?: {
|
|
2433
|
+
groupName?: string;
|
|
2434
|
+
userId?: string;
|
|
2435
|
+
};
|
|
2436
|
+
};
|
|
2437
|
+
messages: ChatMessage[];
|
|
2438
|
+
hasNewMessages: boolean;
|
|
2439
|
+
fileAccessToken: string;
|
|
2440
|
+
}
|
|
2441
|
+
export enum DeleteState {
|
|
2442
|
+
NotDeleted = "NOT_DELETED",
|
|
2443
|
+
RecycleBin = "RECYCLE_BIN",
|
|
2444
|
+
Deleted = "DELETED"
|
|
2445
|
+
}
|
|
2446
|
+
export enum ChatMessageType {
|
|
2447
|
+
Default = "DEFAULT",
|
|
2448
|
+
GroupNameChange = "GROUP_NAME_CHANGE",
|
|
2449
|
+
UserLeftGroup = "USER_LEFT_GROUP"
|
|
2450
|
+
}
|
|
2451
|
+
export enum MemberStatus {
|
|
2452
|
+
Normal = "NORMAL",
|
|
2453
|
+
LeftGroupChat = "LEFT_GROUP_CHAT",
|
|
2454
|
+
LeftOneToOneChat = "LEFT_ONE_TO_ONE_CHAT"
|
|
2455
|
+
}
|
|
2456
|
+
export interface ChatMember {
|
|
2457
|
+
id?: string;
|
|
2458
|
+
status?: MemberStatus;
|
|
2459
|
+
joinDate?: string;
|
|
2460
|
+
leftDate?: string;
|
|
2461
|
+
}
|
|
2462
|
+
export interface ChatMessage {
|
|
2463
|
+
itemId: string;
|
|
2464
|
+
content: string;
|
|
2465
|
+
senderId?: string;
|
|
2466
|
+
chatId?: string;
|
|
2467
|
+
received?: string;
|
|
2468
|
+
attachments?: ChatAttachment[];
|
|
2469
|
+
attachmentContainerId?: string;
|
|
2470
|
+
fileAccessToken?: string;
|
|
2471
|
+
deleteDate?: string;
|
|
2472
|
+
deleteState?: DeleteState;
|
|
2473
|
+
modifiedDate?: string;
|
|
2474
|
+
chat?: Chat;
|
|
2475
|
+
messageType?: ChatMessageType;
|
|
2476
|
+
messageValues?: {
|
|
2477
|
+
groupName?: string;
|
|
2478
|
+
};
|
|
2479
|
+
}
|
|
2480
|
+
export interface ChatIsTypingInfo {
|
|
2481
|
+
sender: Account;
|
|
2482
|
+
chatId: string;
|
|
2483
|
+
sentOn: string;
|
|
2484
|
+
}
|
|
2485
|
+
export interface ChatView {
|
|
2486
|
+
chatId: string;
|
|
2487
|
+
timestamp: Date;
|
|
2488
|
+
isActive: boolean;
|
|
2489
|
+
}
|
|
2490
|
+
export interface ChatAttachment extends BaseAttachment {
|
|
2491
|
+
type: GraphQLAttachmentType;
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2268
2494
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
2269
2495
|
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
2496
|
+
import { PageNavigationNodeProps } from "libs/reach/util/common/src/Models";
|
|
2270
2497
|
export enum ExtensionArea {
|
|
2271
2498
|
global = "Global",
|
|
2272
2499
|
page = "Page",
|
|
2273
2500
|
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
2274
2501
|
eventDetailViewSection = "EventDetailViewSection"
|
|
2275
2502
|
}
|
|
2276
|
-
export
|
|
2503
|
+
export interface PluginNavigationNodeProps {
|
|
2504
|
+
navigationNodeProps?: PageNavigationNodeProps;
|
|
2505
|
+
}
|
|
2506
|
+
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
2277
2507
|
type DevPlugin = {
|
|
2278
2508
|
pluginId: string;
|
|
2279
2509
|
port: number;
|
|
@@ -2281,15 +2511,45 @@ declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
|
2281
2511
|
linkPlugin?: boolean;
|
|
2282
2512
|
};
|
|
2283
2513
|
export function usePlugins(): WebPluginDefinition[];
|
|
2284
|
-
export function usePluginExtensions(area?: ExtensionArea):
|
|
2514
|
+
export function usePluginExtensions(area?: ExtensionArea): PluginProps[];
|
|
2285
2515
|
export function removeInjectedRemotePlugin(pluginId: string): void;
|
|
2286
2516
|
export function useInjectedRemotePlugins(): DevPlugin[];
|
|
2287
2517
|
export function useRemotePlugins(): WebPluginDefinition[];
|
|
2288
2518
|
}
|
|
2519
|
+
declare module "libs/reach/util/common/src/plugins/usePluginUserStore" {
|
|
2520
|
+
import { DependencyList } from 'react';
|
|
2521
|
+
import { PluginStore } from "libs/reach/util/common/src/plugins/PluginContext";
|
|
2522
|
+
import { Api } from 'restful.js';
|
|
2523
|
+
export function usePluginUserStore(): PluginStore;
|
|
2524
|
+
export function usePluginUserStoreValue<T>(key: string, deps?: DependencyList): {
|
|
2525
|
+
data: T;
|
|
2526
|
+
set: (newValue: T) => Promise<unknown>;
|
|
2527
|
+
isLoading: boolean;
|
|
2528
|
+
error: any;
|
|
2529
|
+
refresh: () => void;
|
|
2530
|
+
remove: () => Promise<unknown>;
|
|
2531
|
+
};
|
|
2532
|
+
export function getPluginUserStoreWrapper(pluginId: string, api: Api): PluginStore;
|
|
2533
|
+
}
|
|
2534
|
+
declare module "libs/reach/util/common/src/plugins/usePluginSubscriptionStore" {
|
|
2535
|
+
import { DependencyList } from 'react';
|
|
2536
|
+
import { PluginStore } from "libs/reach/util/common/src/plugins/PluginContext";
|
|
2537
|
+
import { Api } from 'restful.js';
|
|
2538
|
+
export function usePluginSubscriptionStore(): PluginStore;
|
|
2539
|
+
export function usePluginSubscriptionStoreValue<T>(key: string, deps?: DependencyList): {
|
|
2540
|
+
data: T;
|
|
2541
|
+
set: (newValue: T) => Promise<unknown>;
|
|
2542
|
+
isLoading: boolean;
|
|
2543
|
+
error: any;
|
|
2544
|
+
refresh: () => void;
|
|
2545
|
+
remove: () => Promise<unknown>;
|
|
2546
|
+
};
|
|
2547
|
+
export function getPluginSubscriptionStoreWrapper(pluginId: string, api: Api): PluginStore;
|
|
2548
|
+
}
|
|
2289
2549
|
declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
2290
2550
|
import { FC } from 'react';
|
|
2291
|
-
import {
|
|
2292
|
-
export const PluginWrapper: FC<
|
|
2551
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2552
|
+
export const PluginWrapper: FC<PluginProps & any>;
|
|
2293
2553
|
}
|
|
2294
2554
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2295
2555
|
import { FC } from 'react';
|
|
@@ -2305,7 +2565,9 @@ declare module "libs/reach/util/common/src/plugins/index" {
|
|
|
2305
2565
|
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
2306
2566
|
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
2307
2567
|
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2308
|
-
export * from "libs/reach/util/common/src/plugins/
|
|
2568
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
2569
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
2570
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
2309
2571
|
}
|
|
2310
2572
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
2311
2573
|
export class Color {
|
|
@@ -2324,6 +2586,7 @@ declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
|
2324
2586
|
declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
2325
2587
|
import { IPartialTheme } from 'office-ui-fabric-react';
|
|
2326
2588
|
import { Theme } from "libs/reach/util/common/src/user/Subscription";
|
|
2589
|
+
import * as wcag from 'wcag-contrast';
|
|
2327
2590
|
export const defaultThemeColors: Theme;
|
|
2328
2591
|
export const defaultPageBackgroundColor: string;
|
|
2329
2592
|
export const defaultLightColor = "#ffffff";
|
|
@@ -2420,6 +2683,12 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
|
2420
2683
|
}
|
|
2421
2684
|
export function getDarkAltColor(color: string): string;
|
|
2422
2685
|
export function getTextColor(bgColor: string): "#333333" | "#ffffff";
|
|
2686
|
+
export function shouldUseDarkForegroundColor(bgColor: string): boolean;
|
|
2687
|
+
export function getContrastInfo(backgroundColor: string, foregroundColor: string): {
|
|
2688
|
+
contrast: string;
|
|
2689
|
+
score: wcag.Score;
|
|
2690
|
+
isGood: boolean;
|
|
2691
|
+
};
|
|
2423
2692
|
}
|
|
2424
2693
|
declare module "libs/reach/util/common/src/theme/ThemeContext" {
|
|
2425
2694
|
import { FC, ReactNode } from 'react';
|
|
@@ -2440,19 +2709,6 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
2440
2709
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
2441
2710
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
2442
2711
|
}
|
|
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
2712
|
declare module "libs/reach/util/common/src/content/EventItem" {
|
|
2457
2713
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2458
2714
|
import { PollResult } from "libs/reach/util/common/src/content/BaseItem";
|
|
@@ -2610,10 +2866,11 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2610
2866
|
useExternalContent?: boolean;
|
|
2611
2867
|
isSearchMatch?: boolean;
|
|
2612
2868
|
topLevelFolderName?: string;
|
|
2869
|
+
uploadToken?: string;
|
|
2613
2870
|
}
|
|
2614
2871
|
export interface PageNavigationContext {
|
|
2615
2872
|
parent?: PageNavigationNode;
|
|
2616
|
-
siblings
|
|
2873
|
+
siblings?: PageNavigationNode[];
|
|
2617
2874
|
children?: PageNavigationNode[];
|
|
2618
2875
|
}
|
|
2619
2876
|
export enum PageType {
|
|
@@ -2715,7 +2972,17 @@ declare module "libs/reach/util/common/src/content/useClearUnreadItems" {
|
|
|
2715
2972
|
onStarted?: () => unknown;
|
|
2716
2973
|
onFinished?: () => unknown;
|
|
2717
2974
|
}
|
|
2718
|
-
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers): () => Promise<void>;
|
|
2975
|
+
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
2976
|
+
}
|
|
2977
|
+
declare module "libs/reach/util/common/src/content/useClearUnreadOnlyFilter" {
|
|
2978
|
+
export function useClearUnreadOnlyFilter(): {
|
|
2979
|
+
clearUnreadOnlyFilter: () => void;
|
|
2980
|
+
};
|
|
2981
|
+
}
|
|
2982
|
+
declare module "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler" {
|
|
2983
|
+
export function useUnreadItemsTogglerHandler(): {
|
|
2984
|
+
toggleUnreadItems: () => void;
|
|
2985
|
+
};
|
|
2719
2986
|
}
|
|
2720
2987
|
declare module "libs/reach/util/common/src/content/index" {
|
|
2721
2988
|
export * from "libs/reach/util/common/src/content/Attachment";
|
|
@@ -2740,6 +3007,8 @@ declare module "libs/reach/util/common/src/content/index" {
|
|
|
2740
3007
|
export * from "libs/reach/util/common/src/content/useFileApi";
|
|
2741
3008
|
export * from "libs/reach/util/common/src/content/content-keyword-utils";
|
|
2742
3009
|
export * from "libs/reach/util/common/src/content/useClearUnreadItems";
|
|
3010
|
+
export * from "libs/reach/util/common/src/content/useClearUnreadOnlyFilter";
|
|
3011
|
+
export * from "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler";
|
|
2743
3012
|
}
|
|
2744
3013
|
declare module "libs/reach/util/common/src/Variables" {
|
|
2745
3014
|
export const maxContentWidth = 985;
|
|
@@ -2859,6 +3128,7 @@ declare module "libs/reach/util/common/src/keywords/SubscriptionContext" {
|
|
|
2859
3128
|
selectedKeywordGroups?: KeywordGroup[];
|
|
2860
3129
|
}
|
|
2861
3130
|
export const LazySubscriptionContext: import("react").Context<SubscriptionData & {
|
|
3131
|
+
getChannels: () => Promise<Channel[]>;
|
|
2862
3132
|
refreshSubscription: () => void;
|
|
2863
3133
|
}>;
|
|
2864
3134
|
export const EnforcedSubscriptionContext: import("react").Context<SubscriptionData & {
|
|
@@ -2904,69 +3174,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
|
2904
3174
|
}
|
|
2905
3175
|
export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
|
|
2906
3176
|
}
|
|
2907
|
-
declare module "libs/reach/util/common/src/Models" {
|
|
2908
|
-
import { BaseAttachment } from "libs/reach/util/common/src/content/Attachment";
|
|
2909
|
-
import { GraphQLAttachmentType } from "libs/reach/util/common/src/content/GraphQLAttachmentType";
|
|
2910
|
-
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2911
|
-
export interface Chat {
|
|
2912
|
-
id: string;
|
|
2913
|
-
members: Account[];
|
|
2914
|
-
memberIds: string[];
|
|
2915
|
-
groupName?: string;
|
|
2916
|
-
lastMessageInfo?: {
|
|
2917
|
-
received: string;
|
|
2918
|
-
senderId: string;
|
|
2919
|
-
content?: string;
|
|
2920
|
-
attachments: ChatAttachment[];
|
|
2921
|
-
deleteDate?: string;
|
|
2922
|
-
deleteState?: DeleteState;
|
|
2923
|
-
messageType?: ChatMessageType;
|
|
2924
|
-
};
|
|
2925
|
-
messages: ChatMessage[];
|
|
2926
|
-
hasNewMessages: boolean;
|
|
2927
|
-
fileAccessToken: string;
|
|
2928
|
-
}
|
|
2929
|
-
export enum DeleteState {
|
|
2930
|
-
NotDeleted = "NOT_DELETED",
|
|
2931
|
-
RecycleBin = "RECYCLE_BIN",
|
|
2932
|
-
Deleted = "DELETED"
|
|
2933
|
-
}
|
|
2934
|
-
export enum ChatMessageType {
|
|
2935
|
-
Default = "DEFAULT",
|
|
2936
|
-
GroupNameChange = "GROUP_NAME_CHANGE"
|
|
2937
|
-
}
|
|
2938
|
-
export interface ChatMessage {
|
|
2939
|
-
itemId: string;
|
|
2940
|
-
content: string;
|
|
2941
|
-
senderId?: string;
|
|
2942
|
-
chatId?: string;
|
|
2943
|
-
received?: string;
|
|
2944
|
-
attachments?: ChatAttachment[];
|
|
2945
|
-
attachmentContainerId?: string;
|
|
2946
|
-
fileAccessToken?: string;
|
|
2947
|
-
deleteDate?: string;
|
|
2948
|
-
deleteState?: DeleteState;
|
|
2949
|
-
modifiedDate?: string;
|
|
2950
|
-
chat?: Chat;
|
|
2951
|
-
messageType?: ChatMessageType;
|
|
2952
|
-
messageValues?: {
|
|
2953
|
-
groupName?: string;
|
|
2954
|
-
};
|
|
2955
|
-
}
|
|
2956
|
-
export interface ChatIsTypingInfo {
|
|
2957
|
-
sender: Account;
|
|
2958
|
-
chatId: string;
|
|
2959
|
-
sentOn: string;
|
|
2960
|
-
}
|
|
2961
|
-
export interface ChatView {
|
|
2962
|
-
chatId: string;
|
|
2963
|
-
timestamp: Date;
|
|
2964
|
-
isActive: boolean;
|
|
2965
|
-
}
|
|
2966
|
-
export interface ChatAttachment extends BaseAttachment {
|
|
2967
|
-
type: GraphQLAttachmentType;
|
|
2968
|
-
}
|
|
2969
|
-
}
|
|
2970
3177
|
declare module "libs/reach/util/common/src/PagingService" {
|
|
2971
3178
|
import { Observable } from 'rxjs';
|
|
2972
3179
|
export const onPageScroll: Observable<number>;
|
|
@@ -3029,15 +3236,15 @@ declare module "libs/reach/ui/common/src/Link" {
|
|
|
3029
3236
|
}
|
|
3030
3237
|
declare module "libs/reach/ui/common/src/common/TextLink" {
|
|
3031
3238
|
import { CSSProperties, FC } from 'react';
|
|
3032
|
-
interface
|
|
3239
|
+
export interface TextLinkProps {
|
|
3033
3240
|
url: string;
|
|
3034
3241
|
target?: string;
|
|
3035
3242
|
ariaLabel?: string;
|
|
3036
3243
|
className?: string;
|
|
3037
3244
|
style?: CSSProperties;
|
|
3038
3245
|
}
|
|
3039
|
-
export const TextLink: FC<
|
|
3040
|
-
export const ExternalLinkHandler: FC<
|
|
3246
|
+
export const TextLink: FC<TextLinkProps>;
|
|
3247
|
+
export const ExternalLinkHandler: FC<TextLinkProps & {
|
|
3041
3248
|
onClick?: (e: MouseEvent) => unknown;
|
|
3042
3249
|
}>;
|
|
3043
3250
|
}
|
|
@@ -3070,13 +3277,13 @@ declare module "libs/reach/ui/common/src/EditorSettingsDialog" {
|
|
|
3070
3277
|
}>, import("styled-components").DefaultTheme, {}, never>;
|
|
3071
3278
|
}
|
|
3072
3279
|
declare module "libs/reach/ui/common/src/Tooltip" {
|
|
3073
|
-
|
|
3280
|
+
import { ITooltipHostProps } from 'office-ui-fabric-react';
|
|
3281
|
+
export interface TooltipProps extends ITooltipHostProps {
|
|
3074
3282
|
text?: string;
|
|
3075
3283
|
resourceKey?: string;
|
|
3076
3284
|
values?: {
|
|
3077
3285
|
[key: string]: string | number | boolean | Date;
|
|
3078
3286
|
};
|
|
3079
|
-
className?: string;
|
|
3080
3287
|
width?: number;
|
|
3081
3288
|
onClick?: () => unknown;
|
|
3082
3289
|
role?: string;
|
|
@@ -3147,12 +3354,14 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3147
3354
|
placeholderStringResourceKey?: string;
|
|
3148
3355
|
autoFocus?: boolean;
|
|
3149
3356
|
inputId?: string;
|
|
3357
|
+
inputAriaLabelResourceKey?: string;
|
|
3358
|
+
required?: boolean;
|
|
3150
3359
|
className?: string;
|
|
3151
3360
|
}
|
|
3152
3361
|
export const PeoplePicker: FC<Props>;
|
|
3153
3362
|
}
|
|
3154
3363
|
declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
3155
|
-
import { Account, AccountType, useCurrentUser, useNotificationContext, usePluginSettings,
|
|
3364
|
+
import { Account, AccountType, PluginProps, PluginNavigationNodeProps, useCurrentUser, useNotificationContext, usePluginSettings, usePluginDeviceStore, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useTheme, usePluginSubscriptionStoreValue, usePluginUserStoreValue, usePluginUserStore, usePluginSubscriptionStore, PluginStore, PluginStorage } from "libs/reach/util/common/src/index";
|
|
3156
3365
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3157
3366
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3158
3367
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3165,8 +3374,12 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3165
3374
|
import { GutterToggle } from "libs/reach/ui/common/src/GutterToggle";
|
|
3166
3375
|
import { PeoplePicker } from "libs/reach/ui/common/src/PeoplePicker";
|
|
3167
3376
|
import { useAccountApi } from "libs/reach/util/common/src/index";
|
|
3168
|
-
export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings,
|
|
3169
|
-
|
|
3377
|
+
export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings,
|
|
3378
|
+
/**
|
|
3379
|
+
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3380
|
+
*/
|
|
3381
|
+
usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, };
|
|
3382
|
+
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, };
|
|
3170
3383
|
}
|
|
3171
3384
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3172
3385
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3228,7 +3441,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
|
3228
3441
|
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3229
3442
|
}
|
|
3230
3443
|
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3231
|
-
import { BaseSubscription, CurrentUser, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3444
|
+
import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3232
3445
|
import { IntlShape } from 'react-intl';
|
|
3233
3446
|
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3234
3447
|
export function isValidUrl(url: string): boolean;
|
|
@@ -3240,9 +3453,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
|
|
|
3240
3453
|
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3241
3454
|
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3242
3455
|
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:
|
|
3456
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3457
|
+
logoInfo: LogoInfo;
|
|
3458
|
+
subscriptionName: string;
|
|
3246
3459
|
};
|
|
3247
3460
|
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3248
3461
|
export function delay(delayInMs: number): Promise<unknown>;
|
|
@@ -3262,8 +3475,8 @@ declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
|
3262
3475
|
}
|
|
3263
3476
|
declare module "libs/reach/ui/common/src/common/Callout" {
|
|
3264
3477
|
import { FC } from 'react';
|
|
3265
|
-
import {
|
|
3266
|
-
export const Callout: FC<
|
|
3478
|
+
import { IFocusTrapCalloutProps } from 'office-ui-fabric-react';
|
|
3479
|
+
export const Callout: FC<IFocusTrapCalloutProps>;
|
|
3267
3480
|
}
|
|
3268
3481
|
declare module "libs/reach/ui/common/src/common/CommentInputTheme" {
|
|
3269
3482
|
export type CommentInputTheme = 'light' | 'dark';
|
|
@@ -3275,6 +3488,7 @@ declare module "libs/reach/ui/common/src/common/ConfirmDeleteDialog" {
|
|
|
3275
3488
|
titleResourceValues?: any;
|
|
3276
3489
|
infoResourceKey: string;
|
|
3277
3490
|
infoResourceValues?: any;
|
|
3491
|
+
inputAriaLabelResourceKey: string;
|
|
3278
3492
|
compareValue: string;
|
|
3279
3493
|
onConfirm: () => any;
|
|
3280
3494
|
onCancel: () => any;
|
|
@@ -3340,12 +3554,13 @@ declare module "libs/reach/ui/common/src/common/Dropdown" {
|
|
|
3340
3554
|
export const Dropdown: FC<IDropdownProps>;
|
|
3341
3555
|
}
|
|
3342
3556
|
declare module "libs/reach/ui/common/src/common/EmptyList" {
|
|
3557
|
+
import { FC } from 'react';
|
|
3343
3558
|
interface EmptyListProps {
|
|
3344
3559
|
icon?: string;
|
|
3345
3560
|
emptyMessageResources?: string[];
|
|
3346
3561
|
className?: string;
|
|
3347
3562
|
}
|
|
3348
|
-
export const EmptyList:
|
|
3563
|
+
export const EmptyList: FC<EmptyListProps>;
|
|
3349
3564
|
}
|
|
3350
3565
|
declare module "libs/reach/ui/common/src/common/EnumHelpers" {
|
|
3351
3566
|
export const hasFlag: (baseValue: any, flag: any) => boolean;
|
|
@@ -3445,6 +3660,11 @@ declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
|
3445
3660
|
className?: string;
|
|
3446
3661
|
}>;
|
|
3447
3662
|
}
|
|
3663
|
+
declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
|
|
3664
|
+
import { FC } from 'react';
|
|
3665
|
+
import { IDialogProps } from 'office-ui-fabric-react';
|
|
3666
|
+
export const MobileFullHeightDialog: FC<IDialogProps>;
|
|
3667
|
+
}
|
|
3448
3668
|
declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
|
|
3449
3669
|
import { FC } from 'react';
|
|
3450
3670
|
export enum FabNavigationPosition {
|
|
@@ -3475,9 +3695,11 @@ declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
|
|
|
3475
3695
|
export const FabButtonWithCallout: FC<{
|
|
3476
3696
|
iconName: string;
|
|
3477
3697
|
tooltipResourceKey: string;
|
|
3698
|
+
titleResourceKey?: string;
|
|
3478
3699
|
showCloseButton?: boolean;
|
|
3479
3700
|
useSecondaryBgColor?: boolean;
|
|
3480
3701
|
domIdentifier?: string;
|
|
3702
|
+
useMobileFullHeight?: boolean;
|
|
3481
3703
|
}>;
|
|
3482
3704
|
export const FabButtonStyle: (useSecondaryBgColor?: boolean) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
3483
3705
|
}
|
|
@@ -3496,18 +3718,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
|
|
|
3496
3718
|
date: string;
|
|
3497
3719
|
}>;
|
|
3498
3720
|
}
|
|
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
3721
|
declare module "libs/reach/ui/common/src/common/IconLabel" {
|
|
3512
3722
|
import { FC, ReactNode } from 'react';
|
|
3513
3723
|
export const IconLabel: FC<{
|
|
@@ -3546,8 +3756,11 @@ declare module "libs/reach/ui/common/src/common/KeywordTitle" {
|
|
|
3546
3756
|
groupName?: string;
|
|
3547
3757
|
groupId?: string;
|
|
3548
3758
|
keywordName?: string;
|
|
3759
|
+
keywordId?: string;
|
|
3549
3760
|
language?: string;
|
|
3550
3761
|
underlined?: boolean;
|
|
3762
|
+
onClick?: (keyword: string) => unknown;
|
|
3763
|
+
tabIndex?: number;
|
|
3551
3764
|
}
|
|
3552
3765
|
export const KeywordTitle: FC<Props>;
|
|
3553
3766
|
export const GridKeywordTitle: FC<{
|
|
@@ -3562,12 +3775,7 @@ declare module "libs/reach/ui/common/src/common/Logos" {
|
|
|
3562
3775
|
export { ReactComponent as WhiteDefaultLogoWithText } from './logos/logo-white-with-name.svg';
|
|
3563
3776
|
export { ReactComponent as LogoPurpleXL } from './logos/logo-purple-xl.svg';
|
|
3564
3777
|
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>;
|
|
3778
|
+
export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
|
|
3571
3779
|
}
|
|
3572
3780
|
declare module "libs/reach/ui/common/src/common/Modified" {
|
|
3573
3781
|
import { FC } from 'react';
|
|
@@ -3622,6 +3830,18 @@ declare module "libs/reach/ui/common/src/common/Prompt" {
|
|
|
3622
3830
|
}
|
|
3623
3831
|
export const Prompt: FC<Props>;
|
|
3624
3832
|
}
|
|
3833
|
+
declare module "libs/reach/ui/common/src/common/buttons/IconHeaderButton" {
|
|
3834
|
+
import { FC } from 'react';
|
|
3835
|
+
export const IconHeaderButton: FC<{
|
|
3836
|
+
icon: string;
|
|
3837
|
+
isActive?: boolean;
|
|
3838
|
+
disabled?: boolean;
|
|
3839
|
+
tooltipResourceKey?: string;
|
|
3840
|
+
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3841
|
+
link?: string;
|
|
3842
|
+
className?: string;
|
|
3843
|
+
}>;
|
|
3844
|
+
}
|
|
3625
3845
|
declare module "libs/reach/ui/common/src/common/toolbar/ToolbarIconButtonWithToolTip" {
|
|
3626
3846
|
import { FC } from 'react';
|
|
3627
3847
|
export interface ToolbarIconButtonProps {
|
|
@@ -3656,6 +3876,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
|
|
|
3656
3876
|
onSearchTextChange?: (text: string) => void;
|
|
3657
3877
|
onExecuteSearch?: (text: string) => void;
|
|
3658
3878
|
searchText?: string;
|
|
3879
|
+
showSearchBoxInput?: boolean;
|
|
3659
3880
|
}
|
|
3660
3881
|
export const SearchBox: FC<SearchBoxProps & {
|
|
3661
3882
|
onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
|
|
@@ -3734,8 +3955,7 @@ declare module "libs/reach/ui/common/src/common/buttons/ChoiceGroup" {
|
|
|
3734
3955
|
}
|
|
3735
3956
|
declare module "libs/reach/ui/common/src/common/buttons/CommentActionMenu" {
|
|
3736
3957
|
import { FC } from 'react';
|
|
3737
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
3738
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
3958
|
+
import { Account, Comment } from "libs/reach/util/common/src/index";
|
|
3739
3959
|
export const CommentActionMenu: FC<{
|
|
3740
3960
|
comment: Comment;
|
|
3741
3961
|
showEdit: boolean;
|
|
@@ -3781,15 +4001,30 @@ declare module "libs/reach/ui/common/src/common/buttons/TopActionButton" {
|
|
|
3781
4001
|
}
|
|
3782
4002
|
export const TopActionButton: import("styled-components").StyledComponent<import("react").FC<Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
3783
4003
|
}
|
|
3784
|
-
declare module "libs/reach/ui/common/src/common/
|
|
4004
|
+
declare module "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler" {
|
|
3785
4005
|
import { FC } from 'react';
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
4006
|
+
export const UnreadItemsToggler: FC<{
|
|
4007
|
+
disabled: boolean;
|
|
4008
|
+
className?: string;
|
|
4009
|
+
}>;
|
|
4010
|
+
}
|
|
4011
|
+
declare module "libs/reach/ui/common/src/common/buttons/HeaderMenuButton" {
|
|
4012
|
+
import { FC } from 'react';
|
|
4013
|
+
import { IContextualMenuItem } from 'office-ui-fabric-react';
|
|
4014
|
+
export const HeaderMenuButton: FC<{
|
|
4015
|
+
items: IContextualMenuItem[];
|
|
4016
|
+
className?: string;
|
|
4017
|
+
}>;
|
|
4018
|
+
}
|
|
4019
|
+
declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
|
|
4020
|
+
import { FC } from 'react';
|
|
4021
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
4022
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
4023
|
+
interface Props {
|
|
4024
|
+
channel: Channel | string;
|
|
4025
|
+
language?: string;
|
|
4026
|
+
applyChannelBubbleStyle?: boolean;
|
|
4027
|
+
role?: string;
|
|
3793
4028
|
className?: string;
|
|
3794
4029
|
}
|
|
3795
4030
|
export const ChannelTitle: FC<Props>;
|
|
@@ -3831,6 +4066,7 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelList" {
|
|
|
3831
4066
|
language: string;
|
|
3832
4067
|
channelStyleDefinition?: ChannelStyleDefinition;
|
|
3833
4068
|
visibleChannelsCount?: number;
|
|
4069
|
+
onChannelClick?: (channel: string) => unknown;
|
|
3834
4070
|
className?: string;
|
|
3835
4071
|
}>;
|
|
3836
4072
|
}
|
|
@@ -3849,6 +4085,8 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelSelector" {
|
|
|
3849
4085
|
showSelectionToggle?: boolean;
|
|
3850
4086
|
placeholder?: string;
|
|
3851
4087
|
inlineControls?: boolean;
|
|
4088
|
+
required?: boolean;
|
|
4089
|
+
id?: string;
|
|
3852
4090
|
}
|
|
3853
4091
|
export const ChannelSelector: FC<Props>;
|
|
3854
4092
|
}
|
|
@@ -3860,6 +4098,7 @@ declare module "libs/reach/ui/common/src/common/channels/ClickableChannelTitles"
|
|
|
3860
4098
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
3861
4099
|
language?: string;
|
|
3862
4100
|
channelBackgroundColor?: string;
|
|
4101
|
+
onClick?: (channel: string) => unknown;
|
|
3863
4102
|
className?: string;
|
|
3864
4103
|
}>;
|
|
3865
4104
|
}
|
|
@@ -4105,7 +4344,7 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
|
|
|
4105
4344
|
declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
|
|
4106
4345
|
import { DependencyList } from 'react';
|
|
4107
4346
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4108
|
-
export function useItemLoaderWithPreFetch(pageSize: number, handler: (pageSize: number,
|
|
4347
|
+
export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: (pageSize: number, token?: TTokenType) => Promise<PaginatedList<TItem>>, deps?: DependencyList): {
|
|
4109
4348
|
items: any[];
|
|
4110
4349
|
isInitialLoading: boolean;
|
|
4111
4350
|
isLoadingNextPage: boolean;
|
|
@@ -4118,6 +4357,21 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
|
|
|
4118
4357
|
isEmpty: boolean;
|
|
4119
4358
|
};
|
|
4120
4359
|
}
|
|
4360
|
+
declare module "libs/reach/ui/common/src/common/paging/PaginationStatus" {
|
|
4361
|
+
import { FC } from 'react';
|
|
4362
|
+
export const PaginationStatus: FC<{
|
|
4363
|
+
allLoadedResourceId: string;
|
|
4364
|
+
showAllLoaded: boolean;
|
|
4365
|
+
showSpinner?: boolean;
|
|
4366
|
+
showPlaceholder?: boolean;
|
|
4367
|
+
}>;
|
|
4368
|
+
}
|
|
4369
|
+
declare module "libs/reach/ui/common/src/common/paging/usePageScrollPagination" {
|
|
4370
|
+
import { DependencyList } from 'react';
|
|
4371
|
+
export function usePageScrollPagination(loadMoreItems: () => Promise<void>, allItemsLoaded?: boolean, additionalDeps?: DependencyList): {
|
|
4372
|
+
isLoadingMore: boolean;
|
|
4373
|
+
};
|
|
4374
|
+
}
|
|
4121
4375
|
declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
|
|
4122
4376
|
import { FC, ReactNode } from 'react';
|
|
4123
4377
|
export const PullToRefreshContext: import("react").Context<{
|
|
@@ -4169,6 +4423,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarMarkAllAsReadButt
|
|
|
4169
4423
|
onMarkAsReadStarted?: () => unknown;
|
|
4170
4424
|
onMarkAsReadFinished?: () => unknown;
|
|
4171
4425
|
disabled?: boolean;
|
|
4426
|
+
unreadCount?: number;
|
|
4172
4427
|
}
|
|
4173
4428
|
export const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
4174
4429
|
export const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
@@ -4352,7 +4607,6 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4352
4607
|
export * from "libs/reach/ui/common/src/common/FloatingActionButton";
|
|
4353
4608
|
export * from "libs/reach/ui/common/src/common/FormattedMessageWithStyle";
|
|
4354
4609
|
export * from "libs/reach/ui/common/src/common/GroupedByDateTitles";
|
|
4355
|
-
export * from "libs/reach/ui/common/src/common/IconHeaderButton";
|
|
4356
4610
|
export * from "libs/reach/ui/common/src/common/IconLabel";
|
|
4357
4611
|
export * from "libs/reach/ui/common/src/common/ItemStatisticsCache";
|
|
4358
4612
|
export * from "libs/reach/ui/common/src/common/KeywordTitle";
|
|
@@ -4383,6 +4637,9 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4383
4637
|
export * from "libs/reach/ui/common/src/common/buttons/DeleteAttachmentButton";
|
|
4384
4638
|
export * from "libs/reach/ui/common/src/common/buttons/ToggleAllButtons";
|
|
4385
4639
|
export * from "libs/reach/ui/common/src/common/buttons/TopActionButton";
|
|
4640
|
+
export * from "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler";
|
|
4641
|
+
export * from "libs/reach/ui/common/src/common/buttons/IconHeaderButton";
|
|
4642
|
+
export * from "libs/reach/ui/common/src/common/buttons/HeaderMenuButton";
|
|
4386
4643
|
export * from "libs/reach/ui/common/src/common/channels/ChannelItem";
|
|
4387
4644
|
export * from "libs/reach/ui/common/src/common/channels/ChannelList";
|
|
4388
4645
|
export * from "libs/reach/ui/common/src/common/channels/ChannelSelector";
|
|
@@ -4411,6 +4668,8 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4411
4668
|
export * from "libs/reach/ui/common/src/common/paging/HorizontalPager";
|
|
4412
4669
|
export * from "libs/reach/ui/common/src/common/paging/VerticalPager";
|
|
4413
4670
|
export * from "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch";
|
|
4671
|
+
export * from "libs/reach/ui/common/src/common/paging/PaginationStatus";
|
|
4672
|
+
export * from "libs/reach/ui/common/src/common/paging/usePageScrollPagination";
|
|
4414
4673
|
export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
|
|
4415
4674
|
export * from "libs/reach/ui/common/src/common/refreshScripts";
|
|
4416
4675
|
export * from "libs/reach/ui/common/src/common/toolbar/Toolbar";
|
|
@@ -4491,10 +4750,10 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4491
4750
|
export function useEscapeOnClose(onClose: Function): void;
|
|
4492
4751
|
}
|
|
4493
4752
|
declare module "apps/reach-app/src/app/chrome/Header" {
|
|
4494
|
-
import { FC, ReactNode } from 'react';
|
|
4753
|
+
import { FC, Dispatch, SetStateAction, ReactNode, HTMLProps } from 'react';
|
|
4495
4754
|
import './Header.scss';
|
|
4496
4755
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
4497
|
-
interface Props extends
|
|
4756
|
+
interface Props extends HTMLProps<HTMLElement>, SearchBoxProps {
|
|
4498
4757
|
iconLeft?: string;
|
|
4499
4758
|
onToggleLeft?: () => void;
|
|
4500
4759
|
onToggleRight?: () => void;
|
|
@@ -4510,6 +4769,14 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
4510
4769
|
disableGoBack?: boolean;
|
|
4511
4770
|
route?: string;
|
|
4512
4771
|
}
|
|
4772
|
+
export interface HeaderContextType {
|
|
4773
|
+
setIsSearchInputFieldVisible: Dispatch<SetStateAction<boolean>>;
|
|
4774
|
+
isSearchInputFieldVisible: boolean;
|
|
4775
|
+
}
|
|
4776
|
+
export const HeaderContext: import("react").Context<HeaderContextType>;
|
|
4777
|
+
export const HeaderContextProvider: FC<{
|
|
4778
|
+
children: ReactNode;
|
|
4779
|
+
}>;
|
|
4513
4780
|
export const Header: FC<Props>;
|
|
4514
4781
|
}
|
|
4515
4782
|
declare module "apps/reach-app/src/app/chrome/FloatingPageActions" {
|
|
@@ -4624,17 +4891,19 @@ declare module "apps/reach-app/src/app/admin/AddButton" {
|
|
|
4624
4891
|
icon?: string;
|
|
4625
4892
|
tooltipResourceKey?: string;
|
|
4626
4893
|
labelResourceKey?: string;
|
|
4894
|
+
domIdentifier?: string;
|
|
4627
4895
|
className?: string;
|
|
4628
4896
|
}
|
|
4629
4897
|
export const AddButton: FC<AddButtonProps>;
|
|
4630
4898
|
}
|
|
4631
4899
|
declare module "apps/reach-app/src/app/admin/common" {
|
|
4632
|
-
|
|
4633
|
-
|
|
4900
|
+
import { FC, ReactNode } from 'react';
|
|
4901
|
+
export const AdminPage: FC<{
|
|
4902
|
+
children: ReactNode;
|
|
4634
4903
|
className?: string;
|
|
4635
4904
|
domIdentifier?: string;
|
|
4636
4905
|
}>;
|
|
4637
|
-
export const
|
|
4906
|
+
export const AdminPageTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
|
|
4638
4907
|
}
|
|
4639
4908
|
declare module "apps/reach-app/src/app/admin/keywords/useKeywordsApi" {
|
|
4640
4909
|
import { KeywordGroup } from "libs/reach/util/common/src/index";
|
|
@@ -4666,7 +4935,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
|
|
|
4666
4935
|
}
|
|
4667
4936
|
declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
4668
4937
|
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";
|
|
4938
|
+
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
|
|
4670
4939
|
import { Account } from "libs/reach/util/common/src/index";
|
|
4671
4940
|
import { Language } from "libs/reach/util/common/src/index";
|
|
4672
4941
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -4681,7 +4950,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
4681
4950
|
setSubscriptionName: (name: string) => Promise<string>;
|
|
4682
4951
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
4683
4952
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
4684
|
-
updateLogo: (file?: File) => Promise<void>;
|
|
4953
|
+
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
4685
4954
|
updateFavicon: (file?: File) => Promise<void>;
|
|
4686
4955
|
updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
|
|
4687
4956
|
linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
|
|
@@ -4721,6 +4990,34 @@ declare module "apps/reach-app/src/app/admin/themes/ColorEditor" {
|
|
|
4721
4990
|
className?: string;
|
|
4722
4991
|
}>;
|
|
4723
4992
|
}
|
|
4993
|
+
declare module "apps/reach-app/src/app/admin/themes/ContrastInfo" {
|
|
4994
|
+
import { FC } from 'react';
|
|
4995
|
+
export const ContrastInfo: FC<{
|
|
4996
|
+
foregroundColor: string;
|
|
4997
|
+
backgroundColor: string;
|
|
4998
|
+
className?: string;
|
|
4999
|
+
}>;
|
|
5000
|
+
}
|
|
5001
|
+
declare module "apps/reach-app/src/app/admin/themes/ColorButton" {
|
|
5002
|
+
import { FC } from 'react';
|
|
5003
|
+
export const ColorButton: FC<{
|
|
5004
|
+
onClick: () => void;
|
|
5005
|
+
text: string;
|
|
5006
|
+
backgroundColor: string;
|
|
5007
|
+
color: string;
|
|
5008
|
+
}>;
|
|
5009
|
+
}
|
|
5010
|
+
declare module "apps/reach-app/src/app/admin/themes/ColorOnWhitePreview" {
|
|
5011
|
+
import { FC } from 'react';
|
|
5012
|
+
export const ColorOnWhitePreview: FC;
|
|
5013
|
+
}
|
|
5014
|
+
declare module "apps/reach-app/src/app/admin/themes/ThemeContrastPreview" {
|
|
5015
|
+
import { FC } from 'react';
|
|
5016
|
+
export const ThemeContrastPreview: FC<{
|
|
5017
|
+
backgroundColor: string;
|
|
5018
|
+
foregroundColor: string;
|
|
5019
|
+
}>;
|
|
5020
|
+
}
|
|
4724
5021
|
declare module "apps/reach-app/src/app/admin/themes/Themes" {
|
|
4725
5022
|
import { FC } from 'react';
|
|
4726
5023
|
export const Themes: FC;
|
|
@@ -4730,6 +5027,42 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
|
|
|
4730
5027
|
import './ApplicationName.scss';
|
|
4731
5028
|
export const ApplicationName: FC;
|
|
4732
5029
|
}
|
|
5030
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
|
|
5031
|
+
import { FC } from 'react';
|
|
5032
|
+
export const AppBarLogoPreview: FC<{
|
|
5033
|
+
src: string;
|
|
5034
|
+
subscriptionName: string;
|
|
5035
|
+
}>;
|
|
5036
|
+
export const SidePanelLogoPreview: FC<{
|
|
5037
|
+
src: string;
|
|
5038
|
+
subscriptionName: string;
|
|
5039
|
+
}>;
|
|
5040
|
+
export const EmailLogoPreview: FC<{
|
|
5041
|
+
src: string;
|
|
5042
|
+
subscriptionName: string;
|
|
5043
|
+
}>;
|
|
5044
|
+
export const SignInLogoPreview: FC<{
|
|
5045
|
+
src: string;
|
|
5046
|
+
}>;
|
|
5047
|
+
}
|
|
5048
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
|
|
5049
|
+
import { FC } from 'react';
|
|
5050
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5051
|
+
export const LogoPreviewDialog: FC<{
|
|
5052
|
+
canSave: boolean;
|
|
5053
|
+
onDismiss: () => unknown;
|
|
5054
|
+
onSave: (logoSize: LogoSize) => unknown;
|
|
5055
|
+
source: string;
|
|
5056
|
+
logoType: LogoSize;
|
|
5057
|
+
}>;
|
|
5058
|
+
}
|
|
5059
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
|
|
5060
|
+
import { FC } from 'react';
|
|
5061
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5062
|
+
export const LogoEditor: FC<{
|
|
5063
|
+
logoType: LogoSize;
|
|
5064
|
+
}>;
|
|
5065
|
+
}
|
|
4733
5066
|
declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
|
|
4734
5067
|
import { FC } from 'react';
|
|
4735
5068
|
export const ApplicationLogo: FC;
|
|
@@ -5491,6 +5824,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
|
|
|
5491
5824
|
}
|
|
5492
5825
|
export const GoToAdminConsentButton: React.FC<Props>;
|
|
5493
5826
|
}
|
|
5827
|
+
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
5828
|
+
import { IntlShape } from 'react-intl';
|
|
5829
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
5830
|
+
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
5831
|
+
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
5832
|
+
export const systemAccountGroupIds: {
|
|
5833
|
+
everyone: string;
|
|
5834
|
+
directoryUsers: string;
|
|
5835
|
+
nonDirectoryUsers: string;
|
|
5836
|
+
allGroups: string[];
|
|
5837
|
+
};
|
|
5838
|
+
export function getDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5839
|
+
export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5840
|
+
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
5841
|
+
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
5842
|
+
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
5843
|
+
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
5844
|
+
export const isAdGroup: (account: Account) => boolean;
|
|
5845
|
+
export const isUser: (account: Account) => boolean;
|
|
5846
|
+
}
|
|
5494
5847
|
declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
|
|
5495
5848
|
import { FC } from 'react';
|
|
5496
5849
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -5856,23 +6209,19 @@ declare module "apps/reach-app/src/app/chrome/BaseSidebarItem" {
|
|
|
5856
6209
|
}
|
|
5857
6210
|
declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
5858
6211
|
import { FC } from 'react';
|
|
5859
|
-
|
|
5860
|
-
backgroundColor: string;
|
|
5861
|
-
color: string;
|
|
5862
|
-
}
|
|
6212
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
5863
6213
|
export const SidebarItemSection: FC<{
|
|
5864
|
-
styleDefinition?:
|
|
6214
|
+
styleDefinition?: ColorStyleDefinition;
|
|
5865
6215
|
}>;
|
|
5866
6216
|
}
|
|
5867
6217
|
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
5868
|
-
import
|
|
6218
|
+
import { FC, ReactNode } from 'react';
|
|
6219
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
5869
6220
|
import './SidebarItem.scss';
|
|
5870
|
-
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
5871
6221
|
import { LocationDescriptor } from 'history';
|
|
5872
|
-
import {
|
|
5873
|
-
import { ReactNode } from 'react';
|
|
6222
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
5874
6223
|
interface CommonSidebarItemProps {
|
|
5875
|
-
title?:
|
|
6224
|
+
title?: string | JSX.Element;
|
|
5876
6225
|
titleResource?: string;
|
|
5877
6226
|
icon?: ReactNode;
|
|
5878
6227
|
iconName?: string;
|
|
@@ -5884,14 +6233,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5884
6233
|
reverse?: boolean;
|
|
5885
6234
|
notHighlightable?: boolean;
|
|
5886
6235
|
onClick?: () => void;
|
|
5887
|
-
children?: any;
|
|
5888
6236
|
className?: string;
|
|
5889
6237
|
isActive?: boolean;
|
|
5890
6238
|
activeClassName?: string;
|
|
5891
6239
|
readOnly?: boolean;
|
|
5892
6240
|
submenu?: JSX.Element;
|
|
5893
6241
|
submenuClassName?: string;
|
|
5894
|
-
submenuStyleDefinition?:
|
|
6242
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
5895
6243
|
badgeInfo?: number | boolean;
|
|
5896
6244
|
domIdentifier?: string;
|
|
5897
6245
|
}
|
|
@@ -5903,13 +6251,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5903
6251
|
secondaryIconRoute?: LocationDescriptor;
|
|
5904
6252
|
isHoverable?: boolean;
|
|
5905
6253
|
}
|
|
5906
|
-
export const SidebarItem:
|
|
6254
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
5907
6255
|
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
5908
|
-
route:
|
|
6256
|
+
route: LocationDescriptor;
|
|
5909
6257
|
exact?: boolean;
|
|
5910
6258
|
linkClassName?: string;
|
|
5911
6259
|
}
|
|
5912
|
-
export const NavLinkSidebarItem:
|
|
6260
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
5913
6261
|
}
|
|
5914
6262
|
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
5915
6263
|
import { WrappedComponentProps } from 'react-intl';
|
|
@@ -6002,24 +6350,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
|
6002
6350
|
import { FC } from 'react';
|
|
6003
6351
|
export const GroupListPage: FC;
|
|
6004
6352
|
}
|
|
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
6353
|
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
6024
6354
|
import { FC } from 'react';
|
|
6025
6355
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -6198,7 +6528,6 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
|
6198
6528
|
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
6199
6529
|
import { ReactNode } from 'react';
|
|
6200
6530
|
import { Account } from "libs/reach/util/common/src/index";
|
|
6201
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
6202
6531
|
export interface UserSuggestion {
|
|
6203
6532
|
id: string;
|
|
6204
6533
|
upn: string;
|
|
@@ -6218,13 +6547,18 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
|
6218
6547
|
onCtrlEnter?: () => unknown;
|
|
6219
6548
|
onChange?: (value: string) => void;
|
|
6220
6549
|
onFocus?: () => void;
|
|
6221
|
-
|
|
6550
|
+
additionalInputControl?: ReactNode;
|
|
6551
|
+
buttons?: {
|
|
6552
|
+
leftSide?: ReactNode;
|
|
6553
|
+
rightSide?: ReactNode;
|
|
6554
|
+
};
|
|
6222
6555
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6223
|
-
inputTheme?: CommentInputTheme;
|
|
6224
6556
|
placeHolderStringResourceKey?: string;
|
|
6225
6557
|
placeHolderStringResourceValues?: {
|
|
6226
6558
|
[key: string]: string | number | boolean | Date;
|
|
6227
6559
|
};
|
|
6560
|
+
disableBoxShadow?: boolean;
|
|
6561
|
+
ariaLabel?: string;
|
|
6228
6562
|
}
|
|
6229
6563
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6230
6564
|
}
|
|
@@ -6238,18 +6572,6 @@ declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
|
6238
6572
|
isLarge: boolean;
|
|
6239
6573
|
}>;
|
|
6240
6574
|
}
|
|
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
6575
|
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
6254
6576
|
import { VideoSource } from "libs/reach/util/common/src/index";
|
|
6255
6577
|
export interface KalturaProperties {
|
|
@@ -6264,6 +6586,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6264
6586
|
private static vimeoRegex;
|
|
6265
6587
|
private static microsoftStreamRegex;
|
|
6266
6588
|
private static vimeoDirectLinkRegex;
|
|
6589
|
+
private static vimeoRedirectLinkRegex;
|
|
6267
6590
|
private static kalturaRegex;
|
|
6268
6591
|
readonly source: VideoSource | null;
|
|
6269
6592
|
readonly id: string | null;
|
|
@@ -6271,9 +6594,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6271
6594
|
readonly videoProperties: any;
|
|
6272
6595
|
readonly thumbnailUrl: string;
|
|
6273
6596
|
constructor(url: string);
|
|
6274
|
-
isValid(): boolean;
|
|
6597
|
+
isValid(features?: any): boolean;
|
|
6275
6598
|
}
|
|
6599
|
+
export function getVideoSources(features: any): any[];
|
|
6276
6600
|
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6601
|
+
export function getAllVideoSources(features: any): any[];
|
|
6277
6602
|
}
|
|
6278
6603
|
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6279
6604
|
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
@@ -6301,9 +6626,9 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
|
6301
6626
|
}
|
|
6302
6627
|
}
|
|
6303
6628
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
6304
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6629
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6305
6630
|
export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
|
|
6306
|
-
keywords?:
|
|
6631
|
+
keywords?: FilterWithLogicalOperator;
|
|
6307
6632
|
}
|
|
6308
6633
|
}
|
|
6309
6634
|
declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
|
|
@@ -6328,6 +6653,14 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6328
6653
|
export interface IndexableFilterDefinition {
|
|
6329
6654
|
[key: string]: any;
|
|
6330
6655
|
}
|
|
6656
|
+
export interface FilterWithLogicalOperator {
|
|
6657
|
+
items?: string[];
|
|
6658
|
+
operator?: LogicalOperator;
|
|
6659
|
+
}
|
|
6660
|
+
export enum LogicalOperator {
|
|
6661
|
+
Or = "or",
|
|
6662
|
+
And = "and"
|
|
6663
|
+
}
|
|
6331
6664
|
}
|
|
6332
6665
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6333
6666
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
@@ -6350,12 +6683,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
|
|
|
6350
6683
|
contacts?: string[];
|
|
6351
6684
|
}
|
|
6352
6685
|
}
|
|
6686
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6687
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6688
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6689
|
+
channels?: FilterWithLogicalOperator;
|
|
6690
|
+
}
|
|
6691
|
+
}
|
|
6353
6692
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6354
6693
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6355
6694
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6356
6695
|
import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6357
6696
|
import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6358
|
-
|
|
6697
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6698
|
+
export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
|
|
6359
6699
|
excludePastEvents?: boolean;
|
|
6360
6700
|
pastEventsOnly?: boolean;
|
|
6361
6701
|
}
|
|
@@ -6366,26 +6706,19 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6366
6706
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6367
6707
|
export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6368
6708
|
}
|
|
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
6709
|
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6380
6710
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6381
6711
|
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6382
6712
|
author?: string;
|
|
6383
6713
|
}
|
|
6384
6714
|
}
|
|
6385
|
-
declare module "libs/reach/feature/content/src/filter/
|
|
6715
|
+
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6386
6716
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6387
|
-
export interface
|
|
6388
|
-
|
|
6717
|
+
export interface FilteringProps {
|
|
6718
|
+
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6719
|
+
onShowFilterPanel?: () => unknown;
|
|
6720
|
+
onToggleFilterSidebar?: () => unknown;
|
|
6721
|
+
isFilterActive?: boolean;
|
|
6389
6722
|
}
|
|
6390
6723
|
}
|
|
6391
6724
|
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
@@ -6406,6 +6739,95 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6406
6739
|
unreadOnly?: boolean;
|
|
6407
6740
|
}
|
|
6408
6741
|
}
|
|
6742
|
+
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6743
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6744
|
+
export enum ItemType {
|
|
6745
|
+
None = 0,
|
|
6746
|
+
News = 1,
|
|
6747
|
+
Post = 2,
|
|
6748
|
+
Page = 4,
|
|
6749
|
+
Event = 8
|
|
6750
|
+
}
|
|
6751
|
+
export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
|
|
6752
|
+
itemType?: ItemType;
|
|
6753
|
+
}
|
|
6754
|
+
}
|
|
6755
|
+
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
6756
|
+
import { FC } from 'react';
|
|
6757
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6758
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6759
|
+
export interface InjectedFilterProps {
|
|
6760
|
+
filter: IndexableFilterDefinition;
|
|
6761
|
+
hasFilter: boolean;
|
|
6762
|
+
isSearchActive: boolean;
|
|
6763
|
+
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6764
|
+
onSearchChange: (text: string) => void;
|
|
6765
|
+
onClearFilter: () => void;
|
|
6766
|
+
}
|
|
6767
|
+
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
6768
|
+
filter: Partial<IndexableFilterDefinition>;
|
|
6769
|
+
hasFilter: boolean;
|
|
6770
|
+
isSearchActive: boolean;
|
|
6771
|
+
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
6772
|
+
onSearchChange: (search: string) => void;
|
|
6773
|
+
onClearFilter: () => void;
|
|
6774
|
+
};
|
|
6775
|
+
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
6776
|
+
export const FilterContextProvider: FC<{
|
|
6777
|
+
addFilters?: (locationParams: {
|
|
6778
|
+
[paramName: string]: any;
|
|
6779
|
+
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
6780
|
+
additionalExcludedFilterProperties?: string[];
|
|
6781
|
+
onClearQueryString?: (prev: any, next: any) => any;
|
|
6782
|
+
}>;
|
|
6783
|
+
export interface FilterVisibilityState {
|
|
6784
|
+
showFilterAsPanel?: boolean;
|
|
6785
|
+
showFilterSidebar?: boolean;
|
|
6786
|
+
}
|
|
6787
|
+
}
|
|
6788
|
+
declare module "libs/reach/feature/content/src/filter/index" {
|
|
6789
|
+
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6790
|
+
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6791
|
+
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6792
|
+
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6793
|
+
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6794
|
+
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6795
|
+
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6796
|
+
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
6797
|
+
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6798
|
+
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6799
|
+
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
6800
|
+
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6801
|
+
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6802
|
+
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6803
|
+
export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
|
|
6804
|
+
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
6805
|
+
export * from "libs/reach/feature/content/src/filter/utils";
|
|
6806
|
+
}
|
|
6807
|
+
declare module "libs/reach/feature/content/src/filter/utils" {
|
|
6808
|
+
import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
6809
|
+
export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
|
|
6810
|
+
channels?: undefined;
|
|
6811
|
+
} | {
|
|
6812
|
+
channels: string;
|
|
6813
|
+
};
|
|
6814
|
+
export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
|
|
6815
|
+
keywords?: undefined;
|
|
6816
|
+
} | {
|
|
6817
|
+
keywords: string;
|
|
6818
|
+
};
|
|
6819
|
+
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6820
|
+
}
|
|
6821
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6822
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6823
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6824
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6825
|
+
export function useEventsApi(): {
|
|
6826
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6827
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
6828
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6829
|
+
};
|
|
6830
|
+
}
|
|
6409
6831
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6410
6832
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6411
6833
|
import { Observable } from 'rxjs';
|
|
@@ -6495,6 +6917,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6495
6917
|
import { Account, BaseItem, CurrentUser, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
6496
6918
|
import { Comment, ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
6497
6919
|
import { ItemStatistics } from "libs/reach/util/common/src/index";
|
|
6920
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6498
6921
|
export interface Post extends BaseItem, ItemWithAttachments {
|
|
6499
6922
|
id: string;
|
|
6500
6923
|
comments?: PaginatedList<Comment>;
|
|
@@ -6517,6 +6940,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6517
6940
|
token?: string;
|
|
6518
6941
|
pageSize?: string;
|
|
6519
6942
|
search?: string;
|
|
6943
|
+
keywords?: FilterWithLogicalOperator;
|
|
6520
6944
|
}
|
|
6521
6945
|
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
6522
6946
|
export function getPostsBaseRoute(post: Post, user: CurrentUser): string;
|
|
@@ -6549,7 +6973,6 @@ declare module "libs/reach/feature/content/src/common/useEmbeddedObjectValidator
|
|
|
6549
6973
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
6550
6974
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
6551
6975
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
6552
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6553
6976
|
export interface ClientAttachment extends Attachment {
|
|
6554
6977
|
file?: File;
|
|
6555
6978
|
}
|
|
@@ -6563,14 +6986,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6563
6986
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6564
6987
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6565
6988
|
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
6989
|
disableAddGif?: boolean;
|
|
6575
6990
|
disableAddFiles?: boolean;
|
|
6576
6991
|
};
|
|
@@ -6583,14 +6998,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6583
6998
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6584
6999
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6585
7000
|
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
7001
|
disableAddGif?: boolean;
|
|
6595
7002
|
disableAddFiles?: boolean;
|
|
6596
7003
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -6619,7 +7026,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
6619
7026
|
private getVideoElement;
|
|
6620
7027
|
private getNotSupportedElement;
|
|
6621
7028
|
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
6622
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "
|
|
7029
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
6623
7030
|
}
|
|
6624
7031
|
}
|
|
6625
7032
|
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
@@ -6668,8 +7075,7 @@ declare module "libs/reach/feature/content/src/posts/VideoList" {
|
|
|
6668
7075
|
}
|
|
6669
7076
|
declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
6670
7077
|
import { FC } from 'react';
|
|
6671
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6672
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
7078
|
+
import { Keyword, PublishableItem } from "libs/reach/util/common/src/index";
|
|
6673
7079
|
export interface KeywordsInfoProps {
|
|
6674
7080
|
keywords: {
|
|
6675
7081
|
[key: string]: Keyword[];
|
|
@@ -6689,18 +7095,21 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
6689
7095
|
className?: string;
|
|
6690
7096
|
filterBaseUrl?: string;
|
|
6691
7097
|
}>;
|
|
6692
|
-
export const FlatKeywords:
|
|
7098
|
+
export const FlatKeywords: FC<{
|
|
6693
7099
|
item: PublishableItem;
|
|
6694
7100
|
filterBaseUrl?: string;
|
|
6695
7101
|
className?: string;
|
|
6696
7102
|
useGridKeywordTitle?: boolean;
|
|
6697
|
-
|
|
7103
|
+
onClick?: (keyword: string) => unknown;
|
|
7104
|
+
showAllKeywordsInCallout?: boolean;
|
|
7105
|
+
}>;
|
|
6698
7106
|
}
|
|
6699
7107
|
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
6700
7108
|
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6701
7109
|
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
6702
7110
|
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
6703
7111
|
export class NewsService {
|
|
7112
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6704
7113
|
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6705
7114
|
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
6706
7115
|
static getContentLanguages(contents: {
|
|
@@ -6808,12 +7217,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
6808
7217
|
}
|
|
6809
7218
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
6810
7219
|
import { FC } from 'react';
|
|
6811
|
-
import { BannerInfo } from "libs/reach/util/common/src/index";
|
|
6812
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7220
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6813
7221
|
interface Props {
|
|
6814
7222
|
itemId: string;
|
|
6815
7223
|
bannerInfo: BannerInfo;
|
|
6816
|
-
|
|
7224
|
+
useEditorRoutes?: boolean;
|
|
6817
7225
|
width: number;
|
|
6818
7226
|
resourceType: ItemResourceTypes;
|
|
6819
7227
|
token?: string;
|
|
@@ -7211,7 +7619,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7211
7619
|
Table = "table",
|
|
7212
7620
|
Contact = "contact",
|
|
7213
7621
|
InlinePageList = "inline-page-list",
|
|
7214
|
-
UrlPreview = "url-preview"
|
|
7622
|
+
UrlPreview = "url-preview",
|
|
7623
|
+
ActionButton = "action-button"
|
|
7215
7624
|
}
|
|
7216
7625
|
export interface HtmlComponentMapper {
|
|
7217
7626
|
component: FC<any>;
|
|
@@ -7244,7 +7653,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7244
7653
|
updateSelectedLanguage: (lang: string) => unknown;
|
|
7245
7654
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7246
7655
|
handleLanguageChange: (language: string) => unknown;
|
|
7247
|
-
|
|
7656
|
+
isEditorPreview?: boolean;
|
|
7248
7657
|
}
|
|
7249
7658
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7250
7659
|
}
|
|
@@ -7440,6 +7849,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7440
7849
|
buttons?: ReactNode;
|
|
7441
7850
|
openTargetInNewWindow?: boolean;
|
|
7442
7851
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7852
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7853
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
7443
7854
|
styleDefinition?: StyleDefinition;
|
|
7444
7855
|
readOnly?: boolean;
|
|
7445
7856
|
className?: string;
|
|
@@ -7526,14 +7937,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7526
7937
|
onAttachmentsChange: (attachments: import("libs/reach/feature/content/src/comments/RichCommentInput").Attachments) => void;
|
|
7527
7938
|
onDeleteAttachment?: (attachment: import("@livetiles/reach/util/common").Attachment) => void;
|
|
7528
7939
|
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
7940
|
disableAddGif?: boolean;
|
|
7538
7941
|
disableAddFiles?: boolean;
|
|
7539
7942
|
} & {
|
|
@@ -7542,20 +7945,67 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7542
7945
|
attachmentPreviewTheme?: CommentInputTheme;
|
|
7543
7946
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7544
7947
|
}
|
|
7545
|
-
declare module "libs/reach/feature/content/src/
|
|
7948
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
7949
|
+
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
7546
7950
|
import { FC } from 'react';
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
|
|
7951
|
+
interface Props {
|
|
7952
|
+
group: KeywordGroup;
|
|
7953
|
+
keywords?: Keyword[];
|
|
7954
|
+
expanded?: boolean;
|
|
7955
|
+
selectedKeywords: Keyword[];
|
|
7956
|
+
onChange?: (keywords: Keyword[]) => void;
|
|
7957
|
+
mandatoryKeywordIds?: string[];
|
|
7958
|
+
}
|
|
7959
|
+
export const KeywordPickerGroup: FC<Props>;
|
|
7960
|
+
}
|
|
7961
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
|
|
7962
|
+
import { FC } from 'react';
|
|
7963
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7964
|
+
interface Props {
|
|
7965
|
+
value?: Keyword[] | string[];
|
|
7966
|
+
onChange: (keywords: Keyword[]) => void;
|
|
7967
|
+
showSelectionToggle?: boolean;
|
|
7968
|
+
availableKeywords?: Keyword[];
|
|
7969
|
+
mandatoryKeywordIds?: string[];
|
|
7970
|
+
className?: string;
|
|
7971
|
+
}
|
|
7972
|
+
export const KeywordPicker: FC<Props>;
|
|
7973
|
+
}
|
|
7974
|
+
declare module "libs/reach/feature/content/src/common/keywords/AddKeywordsButton" {
|
|
7975
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7976
|
+
import { FC } from 'react';
|
|
7977
|
+
export const AddKeywordsButton: FC<{
|
|
7978
|
+
availableKeywords?: Keyword[];
|
|
7979
|
+
mandatoryKeywords?: Keyword[];
|
|
7980
|
+
preselectedKeywords?: Keyword[];
|
|
7981
|
+
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
7982
|
+
disabled?: boolean;
|
|
7983
|
+
keywordPickerTitleResourceKey?: string;
|
|
7984
|
+
}>;
|
|
7985
|
+
}
|
|
7986
|
+
declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsList" {
|
|
7987
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7988
|
+
import { FC } from 'react';
|
|
7989
|
+
export const EditableKeywordsList: FC<{
|
|
7990
|
+
keywords?: Keyword[];
|
|
7991
|
+
mandatoryKeywordIds?: string[];
|
|
7992
|
+
onRemoveKeyword?: (id: string) => void;
|
|
7993
|
+
}>;
|
|
7994
|
+
}
|
|
7995
|
+
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
7996
|
+
import { FC } from 'react';
|
|
7997
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
7998
|
+
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7999
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8000
|
+
export interface BaseProps {
|
|
8001
|
+
readOnly?: boolean;
|
|
8002
|
+
disableSaving?: boolean;
|
|
8003
|
+
className?: string;
|
|
8004
|
+
autoFocus?: boolean;
|
|
8005
|
+
content?: string;
|
|
8006
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
8007
|
+
attachments?: ClientAttachment[];
|
|
8008
|
+
deletedAttachmentUrls?: string[];
|
|
7559
8009
|
useLargeDropTarget?: boolean;
|
|
7560
8010
|
placeHolderStringResourceKey?: string;
|
|
7561
8011
|
placeHolderStringResourceValues?: {
|
|
@@ -7573,6 +8023,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7573
8023
|
defaultKeywords?: Keyword[];
|
|
7574
8024
|
mandatoryKeywords?: Keyword[];
|
|
7575
8025
|
};
|
|
8026
|
+
disableBoxShadow?: boolean;
|
|
8027
|
+
ariaLabel?: string;
|
|
7576
8028
|
}
|
|
7577
8029
|
interface Props extends BaseProps {
|
|
7578
8030
|
allowAttachments?: boolean;
|
|
@@ -7663,9 +8115,9 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7663
8115
|
deletedFileUrls?: string[];
|
|
7664
8116
|
onCancel?: () => void;
|
|
7665
8117
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7666
|
-
inputTheme?: CommentInputTheme;
|
|
7667
8118
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
7668
8119
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8120
|
+
ariaLabel?: string;
|
|
7669
8121
|
}
|
|
7670
8122
|
interface Props extends BaseProps {
|
|
7671
8123
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -7673,14 +8125,18 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7673
8125
|
}) => void;
|
|
7674
8126
|
allowAttachments?: boolean;
|
|
7675
8127
|
allowKeywords?: boolean;
|
|
7676
|
-
|
|
7677
|
-
|
|
8128
|
+
keywordSettings?: {
|
|
8129
|
+
availableKeywords?: Keyword[];
|
|
8130
|
+
defaultKeywords?: Keyword[];
|
|
8131
|
+
mandatoryKeywords?: Keyword[];
|
|
8132
|
+
};
|
|
7678
8133
|
keywords?: {
|
|
7679
8134
|
[key: string]: Keyword[];
|
|
7680
8135
|
};
|
|
7681
8136
|
allowSaveWithoutContent?: boolean;
|
|
7682
8137
|
saveOnEnter?: boolean;
|
|
7683
8138
|
saveOnCtrlEnter?: boolean;
|
|
8139
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7684
8140
|
}
|
|
7685
8141
|
export const EditComment: FC<Props>;
|
|
7686
8142
|
}
|
|
@@ -7702,6 +8158,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7702
8158
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7703
8159
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
7704
8160
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8161
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7705
8162
|
interface Props extends CreateCommentProps {
|
|
7706
8163
|
onSave: (newContent: string, attachments?: Attachment[], keywords?: {
|
|
7707
8164
|
[key: string]: Keyword[];
|
|
@@ -7709,14 +8166,18 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7709
8166
|
item: ItemWithAttachments;
|
|
7710
8167
|
basePath: string;
|
|
7711
8168
|
allowKeywords?: boolean;
|
|
7712
|
-
|
|
7713
|
-
|
|
8169
|
+
keywordSettings?: {
|
|
8170
|
+
availableKeywords?: Keyword[];
|
|
8171
|
+
defaultKeywords?: Keyword[];
|
|
8172
|
+
mandatoryKeywords?: Keyword[];
|
|
8173
|
+
};
|
|
7714
8174
|
keywords?: {
|
|
7715
8175
|
[key: string]: Keyword[];
|
|
7716
8176
|
};
|
|
7717
8177
|
allowSaveWithoutContent?: boolean;
|
|
7718
8178
|
saveOnEnter?: boolean;
|
|
7719
8179
|
saveOnCtrlEnter?: boolean;
|
|
8180
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7720
8181
|
}
|
|
7721
8182
|
export const EditCommentWithAttachments: FC<Props>;
|
|
7722
8183
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
@@ -7796,34 +8257,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
7796
8257
|
}>;
|
|
7797
8258
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
7798
8259
|
}
|
|
7799
|
-
declare module "libs/reach/feature/content/src/
|
|
7800
|
-
import { FC
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
className?: string;
|
|
8260
|
+
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8261
|
+
import { FC } from 'react';
|
|
8262
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8263
|
+
export const DetailViewContextProvider: FC<{
|
|
8264
|
+
itemId: string;
|
|
8265
|
+
type?: ItemResourceTypes;
|
|
8266
|
+
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8267
|
+
isEditorPreview?: boolean;
|
|
7808
8268
|
}>;
|
|
7809
8269
|
}
|
|
7810
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7811
|
-
import {
|
|
7812
|
-
export
|
|
8270
|
+
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8271
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8272
|
+
export interface EmbeddedObjectPreviewData {
|
|
8273
|
+
itemId: string;
|
|
8274
|
+
type: string;
|
|
8275
|
+
subscriptionIdentifier: string;
|
|
8276
|
+
}
|
|
8277
|
+
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
7813
8278
|
}
|
|
7814
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7815
|
-
import {
|
|
7816
|
-
export const
|
|
8279
|
+
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8280
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8281
|
+
export const InlineImageMapper: HtmlComponentMapper;
|
|
7817
8282
|
}
|
|
7818
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7819
|
-
import {
|
|
7820
|
-
export
|
|
8283
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
8284
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8285
|
+
export interface ContactDetails {
|
|
8286
|
+
id: string;
|
|
8287
|
+
upn?: string;
|
|
8288
|
+
tenantId?: string;
|
|
8289
|
+
properties?: {
|
|
8290
|
+
[key: string]: {
|
|
8291
|
+
value: string;
|
|
8292
|
+
shouldAutoLoad?: boolean;
|
|
8293
|
+
};
|
|
8294
|
+
};
|
|
8295
|
+
}
|
|
8296
|
+
export const InlineContactMapper: HtmlComponentMapper;
|
|
7821
8297
|
}
|
|
7822
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7823
|
-
import { FC
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
8298
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
|
|
8299
|
+
import { FC } from 'react';
|
|
8300
|
+
import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8301
|
+
export const InlineContactViewer: FC<{
|
|
8302
|
+
contact: ContactDetails;
|
|
7827
8303
|
}>;
|
|
7828
8304
|
}
|
|
7829
8305
|
declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
|
|
@@ -7849,6 +8325,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
|
|
|
7849
8325
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7850
8326
|
export const InlineQuoteMapper: HtmlComponentMapper;
|
|
7851
8327
|
}
|
|
8328
|
+
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
8329
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8330
|
+
export const InlineVideoMapper: HtmlComponentMapper;
|
|
8331
|
+
}
|
|
8332
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
8333
|
+
import { FC } from 'react';
|
|
8334
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8335
|
+
export const InlinePageListViewer: FC<{
|
|
8336
|
+
items: PageItem[];
|
|
8337
|
+
baseRoute: string;
|
|
8338
|
+
filterBaseUrl?: string;
|
|
8339
|
+
isInitialLoading?: boolean;
|
|
8340
|
+
}>;
|
|
8341
|
+
}
|
|
8342
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
8343
|
+
import { FC } from 'react';
|
|
8344
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8345
|
+
export interface ListPagingProps {
|
|
8346
|
+
getNextPage: () => unknown;
|
|
8347
|
+
getPrevPage: () => unknown;
|
|
8348
|
+
getFirstPage: () => unknown;
|
|
8349
|
+
isLoadingNextPage: boolean;
|
|
8350
|
+
isInitialLoading: boolean;
|
|
8351
|
+
isFirstPage: boolean;
|
|
8352
|
+
hideNextButton: boolean;
|
|
8353
|
+
}
|
|
8354
|
+
export const InlinePageListWithPaging: FC<{
|
|
8355
|
+
pages: PageItem[];
|
|
8356
|
+
baseRoute: string;
|
|
8357
|
+
pagingProps?: ListPagingProps;
|
|
8358
|
+
filterBaseUrl?: string;
|
|
8359
|
+
}>;
|
|
8360
|
+
}
|
|
8361
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8362
|
+
import { DependencyList } from 'react';
|
|
8363
|
+
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8364
|
+
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8365
|
+
showPages: boolean;
|
|
8366
|
+
showDocuments: boolean;
|
|
8367
|
+
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8368
|
+
pageItems: any[];
|
|
8369
|
+
pagingProps: {
|
|
8370
|
+
hideNextButton: boolean;
|
|
8371
|
+
isInitialLoading: boolean;
|
|
8372
|
+
isLoadingNextPage: boolean;
|
|
8373
|
+
error: any;
|
|
8374
|
+
getFirstPage: () => void;
|
|
8375
|
+
getPrevPage: () => void;
|
|
8376
|
+
getNextPage: () => Promise<void>;
|
|
8377
|
+
isFirstPage: boolean;
|
|
8378
|
+
isLastPage: boolean;
|
|
8379
|
+
isEmpty: boolean;
|
|
8380
|
+
};
|
|
8381
|
+
};
|
|
8382
|
+
}
|
|
8383
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8384
|
+
import { FC } from 'react';
|
|
8385
|
+
export const InlinePageListSkeleton: FC<{
|
|
8386
|
+
isDataLoaded: boolean;
|
|
8387
|
+
pageSize?: number;
|
|
8388
|
+
}>;
|
|
8389
|
+
}
|
|
7852
8390
|
declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
|
|
7853
8391
|
export interface CodeDetails {
|
|
7854
8392
|
id: string;
|
|
@@ -7870,20 +8408,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
|
|
|
7870
8408
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7871
8409
|
export const InlineCodeMapper: HtmlComponentMapper;
|
|
7872
8410
|
}
|
|
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
8411
|
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
7888
8412
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7889
8413
|
import { CSSProperties } from 'react';
|
|
@@ -7924,169 +8448,45 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
|
7924
8448
|
export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
|
|
7925
8449
|
export const InlineTable: HtmlComponentMapper;
|
|
7926
8450
|
}
|
|
7927
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7928
|
-
import {
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
8451
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
8452
|
+
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8453
|
+
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
8454
|
+
format: TableFormat;
|
|
8455
|
+
}, never>;
|
|
8456
|
+
}
|
|
8457
|
+
declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
8458
|
+
import { FC, ReactNode } from 'react';
|
|
8459
|
+
export const ItemBodyWrapper: FC<{
|
|
8460
|
+
className?: string;
|
|
8461
|
+
children?: ReactNode;
|
|
7932
8462
|
}>;
|
|
7933
8463
|
}
|
|
7934
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
8464
|
+
declare module "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles" {
|
|
8465
|
+
export const InlineActionButton: import("styled-components").StyledComponent<import("react").FC<import("@livetiles/reach/ui/common").TextLinkProps>, import("styled-components").DefaultTheme, {
|
|
8466
|
+
isPrimary?: boolean;
|
|
8467
|
+
}, never>;
|
|
8468
|
+
export const InlineActionButtonListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
|
|
8469
|
+
export const InlineActionButtonsHost: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
|
|
8470
|
+
}
|
|
8471
|
+
declare module "libs/reach/feature/content/src/common/body/InlineActionButtonList" {
|
|
7935
8472
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7936
|
-
export interface
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
|
|
7941
|
-
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
|
-
};
|
|
8473
|
+
export interface ActionButtonBlock {
|
|
8474
|
+
blockId: string;
|
|
8475
|
+
actionButtons: {
|
|
8476
|
+
label: string;
|
|
8477
|
+
url: string;
|
|
8478
|
+
isPrimary: boolean;
|
|
8479
|
+
id: string;
|
|
8480
|
+
}[];
|
|
8481
|
+
entityKey?: string;
|
|
7946
8482
|
}
|
|
7947
|
-
export const
|
|
8483
|
+
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
7948
8484
|
}
|
|
7949
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8485
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
7950
8486
|
import { FC } from 'react';
|
|
7951
|
-
|
|
7952
|
-
export const InlinePageListViewer: FC<{
|
|
7953
|
-
items: PageItem[];
|
|
7954
|
-
baseRoute: string;
|
|
7955
|
-
filterBaseUrl?: string;
|
|
7956
|
-
isInitialLoading?: boolean;
|
|
7957
|
-
}>;
|
|
8487
|
+
export const EventDetailViewPeopleInfo: FC;
|
|
7958
8488
|
}
|
|
7959
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7960
|
-
import { FC } from 'react';
|
|
7961
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
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>>;
|
|
7981
|
-
}
|
|
7982
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
7983
|
-
import { FC } from 'react';
|
|
7984
|
-
export const InlinePageListSkeleton: FC<{
|
|
7985
|
-
isDataLoaded: boolean;
|
|
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;
|
|
8077
|
-
}>;
|
|
8078
|
-
}
|
|
8079
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
8080
|
-
import { FC } from 'react';
|
|
8081
|
-
export const EventDetailViewDatesInfo: FC<{
|
|
8082
|
-
className?: string;
|
|
8083
|
-
}>;
|
|
8084
|
-
}
|
|
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" {
|
|
8489
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
8090
8490
|
import { FC } from 'react';
|
|
8091
8491
|
export const EventDetailViewLocationInfo: FC;
|
|
8092
8492
|
}
|
|
@@ -8096,9 +8496,11 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8096
8496
|
allowFilterByChannels?: boolean;
|
|
8097
8497
|
}>;
|
|
8098
8498
|
}
|
|
8099
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/
|
|
8499
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
8100
8500
|
import { FC } from 'react';
|
|
8101
|
-
export const
|
|
8501
|
+
export const EventDetailViewDatesInfo: FC<{
|
|
8502
|
+
className?: string;
|
|
8503
|
+
}>;
|
|
8102
8504
|
}
|
|
8103
8505
|
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8104
8506
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
@@ -8210,8 +8612,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8210
8612
|
}
|
|
8211
8613
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
|
|
8212
8614
|
import { FC } from 'react';
|
|
8213
|
-
import { EventParticipant } from "libs/reach/util/common/src/index";
|
|
8214
|
-
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
8615
|
+
import { EventParticipant, EventResponse } from "libs/reach/util/common/src/index";
|
|
8215
8616
|
export const EventRegistrationRegisterSomeoneElseDialog: FC<{
|
|
8216
8617
|
show: boolean;
|
|
8217
8618
|
onDismiss: () => unknown;
|
|
@@ -8257,6 +8658,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8257
8658
|
import { FC } from 'react';
|
|
8258
8659
|
export const EventDetailViewRegistration: FC;
|
|
8259
8660
|
}
|
|
8661
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8662
|
+
import { FC } from 'react';
|
|
8663
|
+
export const EventDetailViewCancelInformation: FC;
|
|
8664
|
+
}
|
|
8260
8665
|
declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
8261
8666
|
import { FC } from 'react';
|
|
8262
8667
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
@@ -8512,92 +8917,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
|
|
|
8512
8917
|
eventItem: EventItem;
|
|
8513
8918
|
}>;
|
|
8514
8919
|
}
|
|
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
8920
|
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8602
8921
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8603
8922
|
interface DateInfoProps {
|
|
@@ -8637,61 +8956,23 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8637
8956
|
import { FC } from 'react';
|
|
8638
8957
|
export const PageDetailViewMetaInfo: FC;
|
|
8639
8958
|
}
|
|
8640
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/
|
|
8959
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8641
8960
|
import { FC } from 'react';
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
content: PublishableItemContent;
|
|
8648
|
-
basePath?: string;
|
|
8961
|
+
export const PageDetailViewFeedbackSection: FC<{
|
|
8962
|
+
hideLikes?: boolean;
|
|
8963
|
+
hideComments?: boolean;
|
|
8964
|
+
hideProfileUrl?: boolean;
|
|
8965
|
+
disableLoginForPublicUser?: boolean;
|
|
8649
8966
|
}>;
|
|
8650
8967
|
}
|
|
8651
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8652
|
-
import {
|
|
8653
|
-
import
|
|
8654
|
-
|
|
8655
|
-
|
|
8656
|
-
|
|
8657
|
-
|
|
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;
|
|
8685
|
-
}>;
|
|
8686
|
-
}
|
|
8687
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
8688
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8689
|
-
import * as H from 'history';
|
|
8690
|
-
export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
|
|
8691
|
-
showSearch: boolean;
|
|
8692
|
-
handleSearchTextChange: (searchText: string) => void;
|
|
8693
|
-
redirectToSearchPage: (searchText: string) => void;
|
|
8694
|
-
};
|
|
8968
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
8969
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8970
|
+
import * as H from 'history';
|
|
8971
|
+
export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
|
|
8972
|
+
showSearch: boolean;
|
|
8973
|
+
handleSearchTextChange: (searchText: string) => void;
|
|
8974
|
+
redirectToSearchPage: (searchText: string) => void;
|
|
8975
|
+
};
|
|
8695
8976
|
}
|
|
8696
8977
|
declare module "libs/reach/feature/content/src/pages/PageTocSearch" {
|
|
8697
8978
|
import { FC } from 'react';
|
|
@@ -8790,6 +9071,104 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8790
9071
|
import { FC } from 'react';
|
|
8791
9072
|
export const PageDetailViewTableOfContentsButton: FC;
|
|
8792
9073
|
}
|
|
9074
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
9075
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9076
|
+
export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
9077
|
+
}
|
|
9078
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
9079
|
+
import { FC } from 'react';
|
|
9080
|
+
export const InlinePageListByKeywords: FC<{
|
|
9081
|
+
keywords: string[];
|
|
9082
|
+
showDocuments?: boolean;
|
|
9083
|
+
showPages?: boolean;
|
|
9084
|
+
}>;
|
|
9085
|
+
}
|
|
9086
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
9087
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9088
|
+
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
9089
|
+
}
|
|
9090
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
9091
|
+
import { FC } from 'react';
|
|
9092
|
+
export const InlinePageListByPageId: FC<{
|
|
9093
|
+
pageId: string;
|
|
9094
|
+
showDocuments: boolean;
|
|
9095
|
+
showPages: boolean;
|
|
9096
|
+
}>;
|
|
9097
|
+
}
|
|
9098
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
9099
|
+
import { FC } from 'react';
|
|
9100
|
+
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9101
|
+
export const InlinePageListByCurrentPage: FC<{
|
|
9102
|
+
blockProps?: PageListDetails;
|
|
9103
|
+
}>;
|
|
9104
|
+
}
|
|
9105
|
+
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
9106
|
+
import { FC } from 'react';
|
|
9107
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9108
|
+
export interface PageListDetails {
|
|
9109
|
+
id?: string;
|
|
9110
|
+
showChildren?: boolean;
|
|
9111
|
+
showDocuments?: boolean;
|
|
9112
|
+
showPages?: boolean;
|
|
9113
|
+
pageId?: string;
|
|
9114
|
+
keywords?: string;
|
|
9115
|
+
}
|
|
9116
|
+
export const InlinePageList: FC<{
|
|
9117
|
+
blockProps?: PageListDetails;
|
|
9118
|
+
}>;
|
|
9119
|
+
export const InlinePageListMapper: HtmlComponentMapper;
|
|
9120
|
+
}
|
|
9121
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
9122
|
+
import { FC } from 'react';
|
|
9123
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9124
|
+
export const PageBreadcrumb: FC<{
|
|
9125
|
+
page: PageItem;
|
|
9126
|
+
target?: string;
|
|
9127
|
+
language?: string;
|
|
9128
|
+
hideCurrentPageNode?: boolean;
|
|
9129
|
+
className?: string;
|
|
9130
|
+
}>;
|
|
9131
|
+
}
|
|
9132
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
9133
|
+
import { FC } from 'react';
|
|
9134
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9135
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
9136
|
+
export const DetailViewPageDocumentDownload: FC;
|
|
9137
|
+
export const PageDocumentDownloadButton: FC<{
|
|
9138
|
+
item: PageItem;
|
|
9139
|
+
content: PublishableItemContent;
|
|
9140
|
+
basePath?: string;
|
|
9141
|
+
}>;
|
|
9142
|
+
}
|
|
9143
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
9144
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9145
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9146
|
+
interface Props {
|
|
9147
|
+
id: string;
|
|
9148
|
+
item: PublishableItem;
|
|
9149
|
+
itemResourceType: ItemResourceTypes;
|
|
9150
|
+
}
|
|
9151
|
+
export const CardBanner: React.FC<Props>;
|
|
9152
|
+
}
|
|
9153
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
9154
|
+
import { FC, ReactNode } from 'react';
|
|
9155
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9156
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9157
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9158
|
+
interface CardProps {
|
|
9159
|
+
item: PublishableItem;
|
|
9160
|
+
itemResourceType: ItemResourceTypes;
|
|
9161
|
+
additionalMetadata?: ReactNode;
|
|
9162
|
+
highlight?: boolean;
|
|
9163
|
+
className?: string;
|
|
9164
|
+
}
|
|
9165
|
+
export const Card: FC<CardProps>;
|
|
9166
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
9167
|
+
item: TItem;
|
|
9168
|
+
language: string;
|
|
9169
|
+
}
|
|
9170
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
9171
|
+
}
|
|
8793
9172
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
8794
9173
|
import { FC } from 'react';
|
|
8795
9174
|
interface LanguageSelectorProps {
|
|
@@ -8811,10 +9190,112 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8811
9190
|
className?: string;
|
|
8812
9191
|
}>;
|
|
8813
9192
|
}
|
|
9193
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
|
|
9194
|
+
import { FC } from 'react';
|
|
9195
|
+
export const DetailViewBanner: FC;
|
|
9196
|
+
}
|
|
9197
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
9198
|
+
import { FC } from 'react';
|
|
9199
|
+
export const DetailViewIntro: FC;
|
|
9200
|
+
}
|
|
9201
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
9202
|
+
import { FC } from 'react';
|
|
9203
|
+
export const DetailMainSection: FC;
|
|
9204
|
+
}
|
|
9205
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
9206
|
+
import { FC, ReactNode } from 'react';
|
|
9207
|
+
export const GutterMarkerIcon: FC<{
|
|
9208
|
+
iconName: string;
|
|
9209
|
+
children: ReactNode;
|
|
9210
|
+
isActive: boolean;
|
|
9211
|
+
color: string;
|
|
9212
|
+
tooltipResourceKey?: string;
|
|
9213
|
+
className?: string;
|
|
9214
|
+
}>;
|
|
9215
|
+
}
|
|
9216
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9217
|
+
import { FC } from 'react';
|
|
9218
|
+
export const DetailViewTitle: FC;
|
|
9219
|
+
}
|
|
8814
9220
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
|
|
8815
9221
|
import { FC } from 'react';
|
|
8816
9222
|
export const NewsDetailViewMetaInfo: FC;
|
|
8817
9223
|
}
|
|
9224
|
+
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
9225
|
+
import { FC } from 'react';
|
|
9226
|
+
export const RichTextViewer: FC<{
|
|
9227
|
+
html: string;
|
|
9228
|
+
}>;
|
|
9229
|
+
}
|
|
9230
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
9231
|
+
import { FC } from 'react';
|
|
9232
|
+
export const DetailViewBody: FC;
|
|
9233
|
+
}
|
|
9234
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
9235
|
+
import { FC } from 'react';
|
|
9236
|
+
export const DetailViewKeywords: FC<{
|
|
9237
|
+
filterBaseUrl: string;
|
|
9238
|
+
}>;
|
|
9239
|
+
}
|
|
9240
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9241
|
+
import { FC } from 'react';
|
|
9242
|
+
export const ConfirmationBox: FC<{
|
|
9243
|
+
disabled?: boolean;
|
|
9244
|
+
onChange?: (value: boolean) => void;
|
|
9245
|
+
checked: boolean;
|
|
9246
|
+
}>;
|
|
9247
|
+
}
|
|
9248
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9249
|
+
import { FC } from 'react';
|
|
9250
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9251
|
+
export const ConfirmationSection: FC<{
|
|
9252
|
+
item?: NewsItem;
|
|
9253
|
+
showDescription: boolean;
|
|
9254
|
+
readOnly?: boolean;
|
|
9255
|
+
className?: string;
|
|
9256
|
+
}>;
|
|
9257
|
+
}
|
|
9258
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
9259
|
+
import { FC } from 'react';
|
|
9260
|
+
export const DetailViewConfirmations: FC;
|
|
9261
|
+
}
|
|
9262
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
9263
|
+
import { FC } from 'react';
|
|
9264
|
+
export const DetailViewPageViewTracker: FC;
|
|
9265
|
+
}
|
|
9266
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
9267
|
+
import { FC } from 'react';
|
|
9268
|
+
export const FeedbackButtonBookmark: FC<{
|
|
9269
|
+
isReadOnly?: boolean;
|
|
9270
|
+
}>;
|
|
9271
|
+
}
|
|
9272
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
9273
|
+
import { FC } from 'react';
|
|
9274
|
+
export const NewsDetailViewFeedbackSection: FC<{
|
|
9275
|
+
hideLikes?: boolean;
|
|
9276
|
+
hideComments?: boolean;
|
|
9277
|
+
hideProfileUrl?: boolean;
|
|
9278
|
+
disableLoginForPublicUser?: boolean;
|
|
9279
|
+
}>;
|
|
9280
|
+
}
|
|
9281
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
9282
|
+
import { FC, ReactNode } from 'react';
|
|
9283
|
+
export const DetailViewNavigation: FC<{
|
|
9284
|
+
children?: ReactNode;
|
|
9285
|
+
callout?: ReactNode;
|
|
9286
|
+
}>;
|
|
9287
|
+
}
|
|
9288
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9289
|
+
import { FC } from 'react';
|
|
9290
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9291
|
+
export const DetailViewBodyExternalContent: FC<{
|
|
9292
|
+
itemType: ItemResourceTypes;
|
|
9293
|
+
}>;
|
|
9294
|
+
}
|
|
9295
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
9296
|
+
import { FC } from 'react';
|
|
9297
|
+
export const DetailViewHeadline: FC;
|
|
9298
|
+
}
|
|
8818
9299
|
declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
8819
9300
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
8820
9301
|
export const StateIcon: React.FC<{
|
|
@@ -8835,205 +9316,67 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
|
8835
9316
|
}
|
|
8836
9317
|
declare module "libs/reach/feature/content/src/common/index" {
|
|
8837
9318
|
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
8838
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8839
9319
|
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8840
9320
|
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
9321
|
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
9322
|
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
8896
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8897
9323
|
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
8898
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8899
9324
|
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
8900
9325
|
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
9326
|
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
9327
|
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
9328
|
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
9329
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
8921
9330
|
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
8922
9331
|
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
9332
|
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
8927
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8928
9333
|
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
9334
|
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
|
-
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
9335
|
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
9336
|
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
8938
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8939
9337
|
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8940
9338
|
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8941
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8942
9339
|
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
9340
|
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8951
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8952
9341
|
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
9342
|
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
8956
9343
|
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
8957
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8958
9344
|
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8959
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8960
9345
|
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
9346
|
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
9347
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8967
9348
|
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
9349
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
8972
9350
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
8973
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8974
9351
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
9352
|
+
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
9353
|
+
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
8975
9354
|
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
9355
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
8980
9356
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
8981
9357
|
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8982
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8983
9358
|
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8984
9359
|
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8985
9360
|
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
9361
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8992
9362
|
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
9363
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8997
9364
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8998
9365
|
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
9366
|
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
9367
|
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
9368
|
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
9369
|
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9013
9370
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9014
9371
|
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9015
9372
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9016
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9017
9373
|
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
9374
|
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9026
9375
|
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
9376
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9032
9377
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9033
9378
|
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9034
9379
|
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
9380
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9038
9381
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9039
9382
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
@@ -9050,7 +9393,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9050
9393
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9051
9394
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9052
9395
|
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9053
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9054
9396
|
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9055
9397
|
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9056
9398
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
@@ -9072,91 +9414,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
|
|
|
9072
9414
|
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9073
9415
|
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9074
9416
|
}
|
|
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
9417
|
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
9161
9418
|
import { FC, ReactNode } from 'react';
|
|
9162
9419
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -9205,33 +9462,15 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
9205
9462
|
*/
|
|
9206
9463
|
export const Textarea: FC<TextareaProps>;
|
|
9207
9464
|
}
|
|
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
9465
|
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9229
9466
|
import { FC } from 'react';
|
|
9230
9467
|
interface Props {
|
|
9231
9468
|
onInsert: (files: File[]) => void;
|
|
9232
9469
|
accept?: string;
|
|
9233
9470
|
captionKey?: string;
|
|
9471
|
+
captionIconName?: string;
|
|
9234
9472
|
descriptionKey?: string;
|
|
9473
|
+
descriptionIconName?: string;
|
|
9235
9474
|
singleMode?: boolean;
|
|
9236
9475
|
}
|
|
9237
9476
|
export const InsertFilesButton: FC<Props>;
|
|
@@ -9249,6 +9488,27 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
|
9249
9488
|
}
|
|
9250
9489
|
export const InsertImagesButton: FC<Props>;
|
|
9251
9490
|
}
|
|
9491
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9492
|
+
import { FC } from 'react';
|
|
9493
|
+
interface DateTimePickerProps {
|
|
9494
|
+
date: string;
|
|
9495
|
+
maxDate?: string;
|
|
9496
|
+
minDate?: string;
|
|
9497
|
+
dateValidationResourceKey?: string;
|
|
9498
|
+
timeValidationResourceKey?: string;
|
|
9499
|
+
readOnly?: boolean;
|
|
9500
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
9501
|
+
noDateResourceKey: string;
|
|
9502
|
+
selectDateResourceKey: string;
|
|
9503
|
+
dateOnly?: boolean;
|
|
9504
|
+
initialPickerDate?: string;
|
|
9505
|
+
label?: string;
|
|
9506
|
+
isRequired?: boolean;
|
|
9507
|
+
className?: string;
|
|
9508
|
+
}
|
|
9509
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9510
|
+
export default DateTimePicker;
|
|
9511
|
+
}
|
|
9252
9512
|
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
9253
9513
|
import moment, { Moment } from 'moment';
|
|
9254
9514
|
export enum DateRange {
|
|
@@ -9291,37 +9551,22 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
|
9291
9551
|
allowEmptyValue: boolean;
|
|
9292
9552
|
includePendingInvitationUsers?: boolean;
|
|
9293
9553
|
placeholderStringResourceKey?: string;
|
|
9554
|
+
inputAriaLabelResourceKey: string;
|
|
9294
9555
|
}
|
|
9295
9556
|
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
9296
9557
|
}
|
|
9297
9558
|
declare module "libs/reach/feature/content/src/forms/index" {
|
|
9298
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9299
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9300
|
-
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
9559
|
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
9560
|
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9309
9561
|
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
9310
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9311
9562
|
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
9312
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9313
9563
|
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
9314
9564
|
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
9315
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9316
9565
|
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9317
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9318
9566
|
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9319
9567
|
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
9568
|
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
9323
9569
|
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
9324
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9325
9570
|
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9326
9571
|
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9327
9572
|
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
@@ -9401,6 +9646,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9401
9646
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9402
9647
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9403
9648
|
}
|
|
9649
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9650
|
+
import { FC } from 'react';
|
|
9651
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9652
|
+
export const SearchHighlighter: FC<{
|
|
9653
|
+
highlight: SearchHighlight;
|
|
9654
|
+
}>;
|
|
9655
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9656
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9657
|
+
}
|
|
9404
9658
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9405
9659
|
import { FC } from 'react';
|
|
9406
9660
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9429,11 +9683,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9429
9683
|
}
|
|
9430
9684
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9431
9685
|
import { FC } from 'react';
|
|
9432
|
-
import {
|
|
9686
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9433
9687
|
export const PageListItemBody: FC<{
|
|
9434
|
-
|
|
9435
|
-
[key: string]: PublishableItemContent;
|
|
9436
|
-
};
|
|
9688
|
+
page: PageItem;
|
|
9437
9689
|
search?: string;
|
|
9438
9690
|
}>;
|
|
9439
9691
|
}
|
|
@@ -9499,7 +9751,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9499
9751
|
import { FC } from 'react';
|
|
9500
9752
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9501
9753
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9502
|
-
export
|
|
9754
|
+
export interface PostCreatorProps {
|
|
9503
9755
|
groupId: string;
|
|
9504
9756
|
disabled: boolean;
|
|
9505
9757
|
disableDragAndDrop?: boolean;
|
|
@@ -9510,129 +9762,1294 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9510
9762
|
defaultKeywords?: Keyword[];
|
|
9511
9763
|
mandatoryKeywords?: Keyword[];
|
|
9512
9764
|
};
|
|
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
|
-
|
|
9765
|
+
disableAutoFocus?: boolean;
|
|
9766
|
+
}
|
|
9767
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9768
|
+
}
|
|
9769
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9770
|
+
import { FC } from 'react';
|
|
9771
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9772
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
9773
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9774
|
+
interface Props {
|
|
9775
|
+
className?: string;
|
|
9776
|
+
post: Post;
|
|
9777
|
+
initialPageSize?: number;
|
|
9778
|
+
comments?: PaginatedList<Comment>;
|
|
9779
|
+
autoFocusReplyField?: boolean;
|
|
9780
|
+
onReplyAdded: () => void;
|
|
9781
|
+
onReplyDeleted: () => void;
|
|
9782
|
+
onThreadReply?: (threadId: string) => void;
|
|
9783
|
+
}
|
|
9784
|
+
export const PostReplies: FC<Props>;
|
|
9785
|
+
}
|
|
9786
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
9787
|
+
import { FC } from 'react';
|
|
9788
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9789
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9790
|
+
export const PostEditor: FC<{
|
|
9791
|
+
className?: string;
|
|
9792
|
+
post: Post;
|
|
9793
|
+
onCancel: () => void;
|
|
9794
|
+
onBeforeSave: (post: Post) => void;
|
|
9795
|
+
onSaved: (post: Post) => void;
|
|
9796
|
+
keywordSettings?: {
|
|
9797
|
+
availableKeywords?: Keyword[];
|
|
9798
|
+
defaultKeywords?: Keyword[];
|
|
9799
|
+
mandatoryKeywords?: Keyword[];
|
|
9800
|
+
};
|
|
9801
|
+
}>;
|
|
9802
|
+
}
|
|
9803
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9804
|
+
import { FC } from 'react';
|
|
9805
|
+
export const PostFollowButton: FC<{
|
|
9806
|
+
itemId: string;
|
|
9807
|
+
}>;
|
|
9808
|
+
}
|
|
9809
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9810
|
+
import { FC } from 'react';
|
|
9811
|
+
import { NavLink } from 'react-router-dom';
|
|
9812
|
+
export const PostGroup: FC<{
|
|
9813
|
+
groupId: string;
|
|
9814
|
+
to: string;
|
|
9815
|
+
className?: string;
|
|
9816
|
+
}>;
|
|
9817
|
+
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9818
|
+
}
|
|
9819
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9820
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9821
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9822
|
+
interface Props {
|
|
9823
|
+
post: Post;
|
|
9824
|
+
className?: string;
|
|
9825
|
+
threadId?: string;
|
|
9826
|
+
onCustomPostDelete?: () => void;
|
|
9827
|
+
comments?: PaginatedList<Comment>;
|
|
9828
|
+
initialCommentsPageSize?: number;
|
|
9829
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9830
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9831
|
+
onThreadCommentDelete?: () => void;
|
|
9832
|
+
onThreadReply?: (threadId: string) => void;
|
|
9833
|
+
keywordSettings?: {
|
|
9834
|
+
availableKeywords?: Keyword[];
|
|
9835
|
+
defaultKeywords?: Keyword[];
|
|
9836
|
+
mandatoryKeywords?: Keyword[];
|
|
9837
|
+
};
|
|
9838
|
+
showGroup?: boolean;
|
|
9839
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9840
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9841
|
+
}
|
|
9842
|
+
export const PostDisplay: React.FC<Props>;
|
|
9843
|
+
}
|
|
9844
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
|
|
9845
|
+
import { FC } from 'react';
|
|
9846
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
9847
|
+
export const PostGroupsSelector: FC<{
|
|
9848
|
+
groups: UserGroup[];
|
|
9849
|
+
}>;
|
|
9850
|
+
}
|
|
9851
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
9852
|
+
import { FC } from 'react';
|
|
9853
|
+
export const PostGroupSelector: FC;
|
|
9854
|
+
}
|
|
9855
|
+
declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
9856
|
+
import { FC } from 'react';
|
|
9857
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9858
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9859
|
+
interface Props {
|
|
9860
|
+
post: Post;
|
|
9861
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9862
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9863
|
+
keywordSettings?: {
|
|
9864
|
+
availableKeywords?: Keyword[];
|
|
9865
|
+
defaultKeywords?: Keyword[];
|
|
9866
|
+
mandatoryKeywords?: Keyword[];
|
|
9867
|
+
};
|
|
9868
|
+
showGroup: boolean;
|
|
9869
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9870
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9871
|
+
}
|
|
9872
|
+
export const PostListItem: FC<Props>;
|
|
9873
|
+
}
|
|
9874
|
+
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9875
|
+
import { FC } from 'react';
|
|
9876
|
+
import { Post } from "libs/reach/feature/content/src/index";
|
|
9877
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9878
|
+
export const PostWithSelfThreadHandling: FC<{
|
|
9879
|
+
post: Post;
|
|
9880
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9881
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9882
|
+
keywordSettings?: {
|
|
9883
|
+
availableKeywords?: Keyword[];
|
|
9884
|
+
defaultKeywords?: Keyword[];
|
|
9885
|
+
mandatoryKeywords?: Keyword[];
|
|
9886
|
+
};
|
|
9887
|
+
showGroup: boolean;
|
|
9888
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9889
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9890
|
+
}>;
|
|
9891
|
+
}
|
|
9892
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
9893
|
+
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";
|
|
9894
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9895
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9896
|
+
enum StreamItemTypes {
|
|
9897
|
+
Post = "POST",
|
|
9898
|
+
News = "NEWS",
|
|
9899
|
+
Event = "EVENT",
|
|
9900
|
+
Page = "PAGE"
|
|
9901
|
+
}
|
|
9902
|
+
export enum StreamConversationScope {
|
|
9903
|
+
Public = "PUBLIC",
|
|
9904
|
+
Editor = "EDITOR",
|
|
9905
|
+
Posts = "POSTS"
|
|
9906
|
+
}
|
|
9907
|
+
export interface PostStreamItem extends Post {
|
|
9908
|
+
type: StreamItemTypes.Post;
|
|
9909
|
+
isUnread: boolean;
|
|
9910
|
+
keywordsList?: Keyword[];
|
|
9911
|
+
groupIds?: string[];
|
|
9912
|
+
postAttachments?: StreamAttachment[];
|
|
9913
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9914
|
+
hasMoreUnreadComments: boolean;
|
|
9915
|
+
}
|
|
9916
|
+
export interface StreamPostComment extends Comment {
|
|
9917
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9918
|
+
streamConversationScope?: StreamConversationScope;
|
|
9919
|
+
}
|
|
9920
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
9921
|
+
type: GraphQLAttachmentType;
|
|
9922
|
+
}
|
|
9923
|
+
export interface NewsStreamItem extends NewsItem {
|
|
9924
|
+
type: StreamItemTypes.News;
|
|
9925
|
+
contentsList: StreamPublishableItemContents[];
|
|
9926
|
+
channelsList: string[];
|
|
9927
|
+
isUnread: boolean;
|
|
9928
|
+
keywordsList?: Keyword[];
|
|
9929
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9930
|
+
}
|
|
9931
|
+
export enum StreamKnownNewsState {
|
|
9932
|
+
Unconfirmed = "UNCONFIRMED",
|
|
9933
|
+
Alert = "ALERT"
|
|
9934
|
+
}
|
|
9935
|
+
export interface EventStreamItem extends EventItem {
|
|
9936
|
+
type: StreamItemTypes.Event;
|
|
9937
|
+
contentsList: StreamPublishableItemContents[];
|
|
9938
|
+
channelsList: string[];
|
|
9939
|
+
isUnread: boolean;
|
|
9940
|
+
keywordsList?: Keyword[];
|
|
9941
|
+
userResponseType?: StreamEventResponse;
|
|
9942
|
+
}
|
|
9943
|
+
export interface PageStreamItem extends PageItem {
|
|
9944
|
+
type: StreamItemTypes.Page;
|
|
9945
|
+
contentsList: StreamPublishableItemContents[];
|
|
9946
|
+
channelsList: string[];
|
|
9947
|
+
isUnread: boolean;
|
|
9948
|
+
keywordsList?: Keyword[];
|
|
9949
|
+
streamPageType?: string;
|
|
9950
|
+
path?: (PageNavigationNode & {
|
|
9951
|
+
parentId?: string;
|
|
9952
|
+
})[];
|
|
9953
|
+
}
|
|
9954
|
+
interface StreamPublishableItemContents {
|
|
9955
|
+
language: string;
|
|
9956
|
+
title: string;
|
|
9957
|
+
intro?: string;
|
|
9958
|
+
headline?: string;
|
|
9959
|
+
}
|
|
9960
|
+
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9961
|
+
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9962
|
+
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
9963
|
+
export function isEvent(item: StreamItem): item is EventStreamItem;
|
|
9964
|
+
export function isPage(item: StreamItem): item is PageStreamItem;
|
|
9965
|
+
export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
|
|
9966
|
+
groupId: string;
|
|
9967
|
+
attachments: {
|
|
9968
|
+
type: AttachmentType;
|
|
9969
|
+
id: string;
|
|
9970
|
+
filename?: string;
|
|
9971
|
+
previewUrl?: string;
|
|
9972
|
+
url?: string;
|
|
9973
|
+
isUploadInProgress?: boolean;
|
|
9974
|
+
hasError?: boolean;
|
|
9975
|
+
width?: number;
|
|
9976
|
+
height?: number;
|
|
9977
|
+
}[];
|
|
9978
|
+
comments: {
|
|
9979
|
+
items: {
|
|
9980
|
+
conversationScope: ConversationScope;
|
|
9981
|
+
fileAccessToken: string;
|
|
9982
|
+
attachments: {
|
|
9983
|
+
type: AttachmentType;
|
|
9984
|
+
id: string;
|
|
9985
|
+
filename?: string;
|
|
9986
|
+
previewUrl?: string;
|
|
9987
|
+
url?: string;
|
|
9988
|
+
isUploadInProgress?: boolean;
|
|
9989
|
+
hasError?: boolean;
|
|
9990
|
+
width?: number;
|
|
9991
|
+
height?: number;
|
|
9992
|
+
}[];
|
|
9993
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9994
|
+
streamConversationScope?: StreamConversationScope;
|
|
9995
|
+
id: string;
|
|
9996
|
+
parentItemId: string;
|
|
9997
|
+
content: string;
|
|
9998
|
+
contentLanguageCode?: string;
|
|
9999
|
+
receivedDateTime: string;
|
|
10000
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10001
|
+
modified?: string;
|
|
10002
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10003
|
+
isLiked?: boolean;
|
|
10004
|
+
threadId?: string;
|
|
10005
|
+
isUnread?: boolean;
|
|
10006
|
+
hasUnreadReplies?: boolean;
|
|
10007
|
+
isDemoContent?: boolean;
|
|
10008
|
+
attachmentContainerId?: string;
|
|
10009
|
+
}[];
|
|
10010
|
+
paginationToken?: any;
|
|
10011
|
+
nextItem?: StreamPostComment;
|
|
10012
|
+
hasMoreUnreadComments?: boolean;
|
|
10013
|
+
hasNextPage?: boolean;
|
|
10014
|
+
};
|
|
10015
|
+
keywords: {
|
|
10016
|
+
[key: string]: Keyword[];
|
|
10017
|
+
};
|
|
10018
|
+
type: StreamItemTypes.Post;
|
|
10019
|
+
isUnread: boolean;
|
|
10020
|
+
keywordsList?: Keyword[];
|
|
10021
|
+
groupIds?: string[];
|
|
10022
|
+
postAttachments?: StreamAttachment[];
|
|
10023
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10024
|
+
hasMoreUnreadComments: boolean;
|
|
10025
|
+
id: string;
|
|
10026
|
+
content: string;
|
|
10027
|
+
permalink?: string;
|
|
10028
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10029
|
+
publishingDate: string;
|
|
10030
|
+
modified?: string;
|
|
10031
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10032
|
+
contentLanguageCode?: string;
|
|
10033
|
+
isLiked?: boolean;
|
|
10034
|
+
isDemoContent?: boolean;
|
|
10035
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10036
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10037
|
+
fileAccessToken?: string;
|
|
10038
|
+
attachmentContainerId?: string;
|
|
10039
|
+
} | {
|
|
10040
|
+
groupId: string;
|
|
10041
|
+
attachments: {
|
|
10042
|
+
type: AttachmentType;
|
|
10043
|
+
id: string;
|
|
10044
|
+
filename?: string;
|
|
10045
|
+
previewUrl?: string;
|
|
10046
|
+
url?: string;
|
|
10047
|
+
isUploadInProgress?: boolean;
|
|
10048
|
+
hasError?: boolean;
|
|
10049
|
+
width?: number;
|
|
10050
|
+
height?: number;
|
|
10051
|
+
}[];
|
|
10052
|
+
comments: {
|
|
10053
|
+
items: {
|
|
10054
|
+
conversationScope: ConversationScope;
|
|
10055
|
+
fileAccessToken: string;
|
|
10056
|
+
attachments: {
|
|
10057
|
+
type: AttachmentType;
|
|
10058
|
+
id: string;
|
|
10059
|
+
filename?: string;
|
|
10060
|
+
previewUrl?: string;
|
|
10061
|
+
url?: string;
|
|
10062
|
+
isUploadInProgress?: boolean;
|
|
10063
|
+
hasError?: boolean;
|
|
10064
|
+
width?: number;
|
|
10065
|
+
height?: number;
|
|
10066
|
+
}[];
|
|
10067
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10068
|
+
streamConversationScope?: StreamConversationScope;
|
|
10069
|
+
id: string;
|
|
10070
|
+
parentItemId: string;
|
|
10071
|
+
content: string;
|
|
10072
|
+
contentLanguageCode?: string;
|
|
10073
|
+
receivedDateTime: string;
|
|
10074
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10075
|
+
modified?: string;
|
|
10076
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10077
|
+
isLiked?: boolean;
|
|
10078
|
+
threadId?: string;
|
|
10079
|
+
isUnread?: boolean;
|
|
10080
|
+
hasUnreadReplies?: boolean;
|
|
10081
|
+
isDemoContent?: boolean;
|
|
10082
|
+
attachmentContainerId?: string;
|
|
10083
|
+
}[];
|
|
10084
|
+
paginationToken?: any;
|
|
10085
|
+
nextItem?: StreamPostComment;
|
|
10086
|
+
hasMoreUnreadComments?: boolean;
|
|
10087
|
+
hasNextPage?: boolean;
|
|
10088
|
+
};
|
|
10089
|
+
keywords: {
|
|
10090
|
+
[key: string]: Keyword[];
|
|
10091
|
+
};
|
|
10092
|
+
type: StreamItemTypes.News;
|
|
10093
|
+
contentsList: StreamPublishableItemContents[];
|
|
10094
|
+
channelsList: string[];
|
|
10095
|
+
isUnread: boolean;
|
|
10096
|
+
keywordsList?: Keyword[];
|
|
10097
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10098
|
+
source?: string;
|
|
10099
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10100
|
+
expiryDate?: string;
|
|
10101
|
+
knownState: KnownNewsState;
|
|
10102
|
+
hasNewComments?: boolean;
|
|
10103
|
+
isLiked?: boolean;
|
|
10104
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10105
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10106
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10107
|
+
id?: string;
|
|
10108
|
+
versionId?: string;
|
|
10109
|
+
publishingDate?: string;
|
|
10110
|
+
deleted?: string;
|
|
10111
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10112
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10113
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10114
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10115
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10116
|
+
fileAccessToken?: string;
|
|
10117
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10118
|
+
customProperties?: {
|
|
10119
|
+
[key: string]: any;
|
|
10120
|
+
};
|
|
10121
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10122
|
+
modified: string;
|
|
10123
|
+
created: string;
|
|
10124
|
+
publishedVersionId?: string;
|
|
10125
|
+
isCurrentPublishedVersion?: boolean;
|
|
10126
|
+
isLatestVersion?: boolean;
|
|
10127
|
+
permalink?: string;
|
|
10128
|
+
groupIds: string[];
|
|
10129
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10130
|
+
useExternalContent?: boolean;
|
|
10131
|
+
isDemoContent?: boolean;
|
|
10132
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10133
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10134
|
+
} | {
|
|
10135
|
+
groupId: string;
|
|
10136
|
+
attachments: {
|
|
10137
|
+
type: AttachmentType;
|
|
10138
|
+
id: string;
|
|
10139
|
+
filename?: string;
|
|
10140
|
+
previewUrl?: string;
|
|
10141
|
+
url?: string;
|
|
10142
|
+
isUploadInProgress?: boolean;
|
|
10143
|
+
hasError?: boolean;
|
|
10144
|
+
width?: number;
|
|
10145
|
+
height?: number;
|
|
10146
|
+
}[];
|
|
10147
|
+
comments: {
|
|
10148
|
+
items: {
|
|
10149
|
+
conversationScope: ConversationScope;
|
|
10150
|
+
fileAccessToken: string;
|
|
10151
|
+
attachments: {
|
|
10152
|
+
type: AttachmentType;
|
|
10153
|
+
id: string;
|
|
10154
|
+
filename?: string;
|
|
10155
|
+
previewUrl?: string;
|
|
10156
|
+
url?: string;
|
|
10157
|
+
isUploadInProgress?: boolean;
|
|
10158
|
+
hasError?: boolean;
|
|
10159
|
+
width?: number;
|
|
10160
|
+
height?: number;
|
|
10161
|
+
}[];
|
|
10162
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10163
|
+
streamConversationScope?: StreamConversationScope;
|
|
10164
|
+
id: string;
|
|
10165
|
+
parentItemId: string;
|
|
10166
|
+
content: string;
|
|
10167
|
+
contentLanguageCode?: string;
|
|
10168
|
+
receivedDateTime: string;
|
|
10169
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10170
|
+
modified?: string;
|
|
10171
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10172
|
+
isLiked?: boolean;
|
|
10173
|
+
threadId?: string;
|
|
10174
|
+
isUnread?: boolean;
|
|
10175
|
+
hasUnreadReplies?: boolean;
|
|
10176
|
+
isDemoContent?: boolean;
|
|
10177
|
+
attachmentContainerId?: string;
|
|
10178
|
+
}[];
|
|
10179
|
+
paginationToken?: any;
|
|
10180
|
+
nextItem?: StreamPostComment;
|
|
10181
|
+
hasMoreUnreadComments?: boolean;
|
|
10182
|
+
hasNextPage?: boolean;
|
|
10183
|
+
};
|
|
10184
|
+
keywords: {
|
|
10185
|
+
[key: string]: Keyword[];
|
|
10186
|
+
};
|
|
10187
|
+
type: StreamItemTypes.Event;
|
|
10188
|
+
contentsList: StreamPublishableItemContents[];
|
|
10189
|
+
channelsList: string[];
|
|
10190
|
+
isUnread: boolean;
|
|
10191
|
+
keywordsList?: Keyword[];
|
|
10192
|
+
userResponseType?: StreamEventResponse;
|
|
10193
|
+
startDate?: string;
|
|
10194
|
+
endDate?: string;
|
|
10195
|
+
timeZone?: string;
|
|
10196
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10197
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10198
|
+
userResponse?: EventResponse;
|
|
10199
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10200
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10201
|
+
hasNewComments?: boolean;
|
|
10202
|
+
isLiked?: boolean;
|
|
10203
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10204
|
+
recurrenceSeriesId?: string;
|
|
10205
|
+
isSeriesMaster?: string;
|
|
10206
|
+
isVirtual?: boolean;
|
|
10207
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10208
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10209
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10210
|
+
id?: string;
|
|
10211
|
+
versionId?: string;
|
|
10212
|
+
publishingDate?: string;
|
|
10213
|
+
deleted?: string;
|
|
10214
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10215
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10216
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10217
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10218
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10219
|
+
fileAccessToken?: string;
|
|
10220
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10221
|
+
customProperties?: {
|
|
10222
|
+
[key: string]: any;
|
|
10223
|
+
};
|
|
10224
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10225
|
+
modified: string;
|
|
10226
|
+
created: string;
|
|
10227
|
+
publishedVersionId?: string;
|
|
10228
|
+
isCurrentPublishedVersion?: boolean;
|
|
10229
|
+
isLatestVersion?: boolean;
|
|
10230
|
+
permalink?: string;
|
|
10231
|
+
groupIds: string[];
|
|
10232
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10233
|
+
useExternalContent?: boolean;
|
|
10234
|
+
isDemoContent?: boolean;
|
|
10235
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10236
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10237
|
+
} | {
|
|
10238
|
+
groupId: string;
|
|
10239
|
+
attachments: {
|
|
10240
|
+
type: AttachmentType;
|
|
10241
|
+
id: string;
|
|
10242
|
+
filename?: string;
|
|
10243
|
+
previewUrl?: string;
|
|
10244
|
+
url?: string;
|
|
10245
|
+
isUploadInProgress?: boolean;
|
|
10246
|
+
hasError?: boolean;
|
|
10247
|
+
width?: number;
|
|
10248
|
+
height?: number;
|
|
10249
|
+
}[];
|
|
10250
|
+
comments: {
|
|
10251
|
+
items: {
|
|
10252
|
+
conversationScope: ConversationScope;
|
|
10253
|
+
fileAccessToken: string;
|
|
10254
|
+
attachments: {
|
|
10255
|
+
type: AttachmentType;
|
|
10256
|
+
id: string;
|
|
10257
|
+
filename?: string;
|
|
10258
|
+
previewUrl?: string;
|
|
10259
|
+
url?: string;
|
|
10260
|
+
isUploadInProgress?: boolean;
|
|
10261
|
+
hasError?: boolean;
|
|
10262
|
+
width?: number;
|
|
10263
|
+
height?: number;
|
|
10264
|
+
}[];
|
|
10265
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10266
|
+
streamConversationScope?: StreamConversationScope;
|
|
10267
|
+
id: string;
|
|
10268
|
+
parentItemId: string;
|
|
10269
|
+
content: string;
|
|
10270
|
+
contentLanguageCode?: string;
|
|
10271
|
+
receivedDateTime: string;
|
|
10272
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10273
|
+
modified?: string;
|
|
10274
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10275
|
+
isLiked?: boolean;
|
|
10276
|
+
threadId?: string;
|
|
10277
|
+
isUnread?: boolean;
|
|
10278
|
+
hasUnreadReplies?: boolean;
|
|
10279
|
+
isDemoContent?: boolean;
|
|
10280
|
+
attachmentContainerId?: string;
|
|
10281
|
+
}[];
|
|
10282
|
+
paginationToken?: any;
|
|
10283
|
+
nextItem?: StreamPostComment;
|
|
10284
|
+
hasMoreUnreadComments?: boolean;
|
|
10285
|
+
hasNextPage?: boolean;
|
|
10286
|
+
};
|
|
10287
|
+
keywords: {
|
|
10288
|
+
[key: string]: Keyword[];
|
|
10289
|
+
};
|
|
10290
|
+
type: StreamItemTypes.Page;
|
|
10291
|
+
contentsList: StreamPublishableItemContents[];
|
|
10292
|
+
channelsList: string[];
|
|
10293
|
+
isUnread: boolean;
|
|
10294
|
+
keywordsList?: Keyword[];
|
|
10295
|
+
streamPageType?: string;
|
|
10296
|
+
path?: (PageNavigationNode & {
|
|
10297
|
+
parentId?: string;
|
|
10298
|
+
})[];
|
|
10299
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10300
|
+
parentId?: string;
|
|
10301
|
+
pathIds?: string[];
|
|
10302
|
+
position?: number;
|
|
10303
|
+
navigationContext?: PageNavigationContext;
|
|
10304
|
+
hasHiddenAncestor?: boolean;
|
|
10305
|
+
isUnlinked?: boolean;
|
|
10306
|
+
pageType?: PageType;
|
|
10307
|
+
firstChildId?: string;
|
|
10308
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10309
|
+
id?: string;
|
|
10310
|
+
versionId?: string;
|
|
10311
|
+
publishingDate?: string;
|
|
10312
|
+
deleted?: string;
|
|
10313
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10314
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10315
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10316
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10317
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10318
|
+
fileAccessToken?: string;
|
|
10319
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10320
|
+
customProperties?: {
|
|
10321
|
+
[key: string]: any;
|
|
10322
|
+
};
|
|
10323
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10324
|
+
modified: string;
|
|
10325
|
+
created: string;
|
|
10326
|
+
publishedVersionId?: string;
|
|
10327
|
+
isCurrentPublishedVersion?: boolean;
|
|
10328
|
+
isLatestVersion?: boolean;
|
|
10329
|
+
permalink?: string;
|
|
10330
|
+
groupIds: string[];
|
|
10331
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10332
|
+
useExternalContent?: boolean;
|
|
10333
|
+
isDemoContent?: boolean;
|
|
10334
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10335
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10336
|
+
} | {
|
|
10337
|
+
knownState?: undefined;
|
|
10338
|
+
pageType?: undefined;
|
|
10339
|
+
navigationContext?: undefined;
|
|
10340
|
+
userResponse: EventResponse;
|
|
10341
|
+
channels: {
|
|
10342
|
+
name: string;
|
|
10343
|
+
}[];
|
|
10344
|
+
contents: {};
|
|
10345
|
+
bannerInfo: {
|
|
10346
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10347
|
+
type: "video" | "image";
|
|
10348
|
+
videoId?: string;
|
|
10349
|
+
videoUrl?: string;
|
|
10350
|
+
isDirectVideoUrl?: boolean;
|
|
10351
|
+
imageId?: string;
|
|
10352
|
+
};
|
|
10353
|
+
keywords: {
|
|
10354
|
+
[key: string]: Keyword[];
|
|
10355
|
+
};
|
|
10356
|
+
type: StreamItemTypes.Post;
|
|
10357
|
+
isUnread: boolean;
|
|
10358
|
+
keywordsList?: Keyword[];
|
|
10359
|
+
groupIds?: string[];
|
|
10360
|
+
postAttachments?: StreamAttachment[];
|
|
10361
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10362
|
+
hasMoreUnreadComments: boolean;
|
|
10363
|
+
id: string;
|
|
10364
|
+
comments?: PaginatedList<Comment>;
|
|
10365
|
+
groupId: string;
|
|
10366
|
+
content: string;
|
|
10367
|
+
permalink?: string;
|
|
10368
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10369
|
+
publishingDate: string;
|
|
10370
|
+
modified?: string;
|
|
10371
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10372
|
+
contentLanguageCode?: string;
|
|
10373
|
+
isLiked?: boolean;
|
|
10374
|
+
isDemoContent?: boolean;
|
|
10375
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10376
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10377
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10378
|
+
fileAccessToken?: string;
|
|
10379
|
+
attachmentContainerId?: string;
|
|
10380
|
+
} | {
|
|
10381
|
+
knownState: KnownNewsState;
|
|
10382
|
+
pageType?: undefined;
|
|
10383
|
+
navigationContext?: undefined;
|
|
10384
|
+
userResponse: EventResponse;
|
|
10385
|
+
channels: {
|
|
10386
|
+
name: string;
|
|
10387
|
+
}[];
|
|
10388
|
+
contents: {};
|
|
10389
|
+
bannerInfo: {
|
|
10390
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10391
|
+
type: "video" | "image";
|
|
10392
|
+
videoId?: string;
|
|
10393
|
+
videoUrl?: string;
|
|
10394
|
+
isDirectVideoUrl?: boolean;
|
|
10395
|
+
imageId?: string;
|
|
10396
|
+
};
|
|
10397
|
+
keywords: {
|
|
10398
|
+
[key: string]: Keyword[];
|
|
10399
|
+
};
|
|
10400
|
+
type: StreamItemTypes.Post;
|
|
10401
|
+
isUnread: boolean;
|
|
10402
|
+
keywordsList?: Keyword[];
|
|
10403
|
+
groupIds?: string[];
|
|
10404
|
+
postAttachments?: StreamAttachment[];
|
|
10405
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10406
|
+
hasMoreUnreadComments: boolean;
|
|
10407
|
+
id: string;
|
|
10408
|
+
comments?: PaginatedList<Comment>;
|
|
10409
|
+
groupId: string;
|
|
10410
|
+
content: string;
|
|
10411
|
+
permalink?: string;
|
|
10412
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10413
|
+
publishingDate: string;
|
|
10414
|
+
modified?: string;
|
|
10415
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10416
|
+
contentLanguageCode?: string;
|
|
10417
|
+
isLiked?: boolean;
|
|
10418
|
+
isDemoContent?: boolean;
|
|
10419
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10420
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10421
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10422
|
+
fileAccessToken?: string;
|
|
10423
|
+
attachmentContainerId?: string;
|
|
10424
|
+
} | {
|
|
10425
|
+
knownState?: undefined;
|
|
10426
|
+
pageType: PageType;
|
|
10427
|
+
navigationContext: PageNavigationContext;
|
|
10428
|
+
userResponse: EventResponse;
|
|
10429
|
+
channels: {
|
|
10430
|
+
name: string;
|
|
10431
|
+
}[];
|
|
10432
|
+
contents: {};
|
|
10433
|
+
bannerInfo: {
|
|
10434
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10435
|
+
type: "video" | "image";
|
|
10436
|
+
videoId?: string;
|
|
10437
|
+
videoUrl?: string;
|
|
10438
|
+
isDirectVideoUrl?: boolean;
|
|
10439
|
+
imageId?: string;
|
|
10440
|
+
};
|
|
10441
|
+
keywords: {
|
|
10442
|
+
[key: string]: Keyword[];
|
|
10443
|
+
};
|
|
10444
|
+
type: StreamItemTypes.Post;
|
|
10445
|
+
isUnread: boolean;
|
|
10446
|
+
keywordsList?: Keyword[];
|
|
10447
|
+
groupIds?: string[];
|
|
10448
|
+
postAttachments?: StreamAttachment[];
|
|
10449
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10450
|
+
hasMoreUnreadComments: boolean;
|
|
10451
|
+
id: string;
|
|
10452
|
+
comments?: PaginatedList<Comment>;
|
|
10453
|
+
groupId: string;
|
|
10454
|
+
content: string;
|
|
10455
|
+
permalink?: string;
|
|
10456
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10457
|
+
publishingDate: string;
|
|
10458
|
+
modified?: string;
|
|
10459
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10460
|
+
contentLanguageCode?: string;
|
|
10461
|
+
isLiked?: boolean;
|
|
10462
|
+
isDemoContent?: boolean;
|
|
10463
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10464
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10465
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10466
|
+
fileAccessToken?: string;
|
|
10467
|
+
attachmentContainerId?: string;
|
|
10468
|
+
} | {
|
|
10469
|
+
knownState: KnownNewsState;
|
|
10470
|
+
pageType: PageType;
|
|
10471
|
+
navigationContext: PageNavigationContext;
|
|
10472
|
+
userResponse: EventResponse;
|
|
10473
|
+
channels: {
|
|
10474
|
+
name: string;
|
|
10475
|
+
}[];
|
|
10476
|
+
contents: {};
|
|
10477
|
+
bannerInfo: {
|
|
10478
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10479
|
+
type: "video" | "image";
|
|
10480
|
+
videoId?: string;
|
|
10481
|
+
videoUrl?: string;
|
|
10482
|
+
isDirectVideoUrl?: boolean;
|
|
10483
|
+
imageId?: string;
|
|
10484
|
+
};
|
|
10485
|
+
keywords: {
|
|
10486
|
+
[key: string]: Keyword[];
|
|
10487
|
+
};
|
|
10488
|
+
type: StreamItemTypes.Post;
|
|
10489
|
+
isUnread: boolean;
|
|
10490
|
+
keywordsList?: Keyword[];
|
|
10491
|
+
groupIds?: string[];
|
|
10492
|
+
postAttachments?: StreamAttachment[];
|
|
10493
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10494
|
+
hasMoreUnreadComments: boolean;
|
|
10495
|
+
id: string;
|
|
10496
|
+
comments?: PaginatedList<Comment>;
|
|
10497
|
+
groupId: string;
|
|
10498
|
+
content: string;
|
|
10499
|
+
permalink?: string;
|
|
10500
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10501
|
+
publishingDate: string;
|
|
10502
|
+
modified?: string;
|
|
10503
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10504
|
+
contentLanguageCode?: string;
|
|
10505
|
+
isLiked?: boolean;
|
|
10506
|
+
isDemoContent?: boolean;
|
|
10507
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10508
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10509
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10510
|
+
fileAccessToken?: string;
|
|
10511
|
+
attachmentContainerId?: string;
|
|
10512
|
+
} | {
|
|
10513
|
+
knownState: KnownNewsState;
|
|
10514
|
+
pageType?: undefined;
|
|
10515
|
+
navigationContext?: undefined;
|
|
10516
|
+
userResponse: EventResponse;
|
|
10517
|
+
channels: {
|
|
10518
|
+
name: string;
|
|
10519
|
+
}[];
|
|
10520
|
+
contents: {};
|
|
10521
|
+
bannerInfo: {
|
|
10522
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10523
|
+
type: "video" | "image";
|
|
10524
|
+
videoId?: string;
|
|
10525
|
+
videoUrl?: string;
|
|
10526
|
+
isDirectVideoUrl?: boolean;
|
|
10527
|
+
imageId?: string;
|
|
10528
|
+
};
|
|
10529
|
+
keywords: {
|
|
10530
|
+
[key: string]: Keyword[];
|
|
10531
|
+
};
|
|
10532
|
+
type: StreamItemTypes.News;
|
|
10533
|
+
contentsList: StreamPublishableItemContents[];
|
|
10534
|
+
channelsList: string[];
|
|
10535
|
+
isUnread: boolean;
|
|
10536
|
+
keywordsList?: Keyword[];
|
|
10537
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10538
|
+
source?: string;
|
|
10539
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10540
|
+
expiryDate?: string;
|
|
10541
|
+
hasNewComments?: boolean;
|
|
10542
|
+
isLiked?: boolean;
|
|
10543
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10544
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10545
|
+
id?: string;
|
|
10546
|
+
versionId?: string;
|
|
10547
|
+
publishingDate?: string;
|
|
10548
|
+
deleted?: string;
|
|
10549
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10550
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10551
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10552
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10553
|
+
fileAccessToken?: string;
|
|
10554
|
+
customProperties?: {
|
|
10555
|
+
[key: string]: any;
|
|
10556
|
+
};
|
|
10557
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10558
|
+
modified: string;
|
|
10559
|
+
created: string;
|
|
10560
|
+
publishedVersionId?: string;
|
|
10561
|
+
isCurrentPublishedVersion?: boolean;
|
|
10562
|
+
isLatestVersion?: boolean;
|
|
10563
|
+
permalink?: string;
|
|
10564
|
+
groupIds: string[];
|
|
10565
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10566
|
+
useExternalContent?: boolean;
|
|
10567
|
+
isDemoContent?: boolean;
|
|
10568
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10569
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10570
|
+
} | {
|
|
10571
|
+
knownState: KnownNewsState;
|
|
10572
|
+
pageType: PageType;
|
|
10573
|
+
navigationContext: PageNavigationContext;
|
|
10574
|
+
userResponse: EventResponse;
|
|
10575
|
+
channels: {
|
|
10576
|
+
name: string;
|
|
10577
|
+
}[];
|
|
10578
|
+
contents: {};
|
|
10579
|
+
bannerInfo: {
|
|
10580
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10581
|
+
type: "video" | "image";
|
|
10582
|
+
videoId?: string;
|
|
10583
|
+
videoUrl?: string;
|
|
10584
|
+
isDirectVideoUrl?: boolean;
|
|
10585
|
+
imageId?: string;
|
|
10586
|
+
};
|
|
10587
|
+
keywords: {
|
|
10588
|
+
[key: string]: Keyword[];
|
|
10589
|
+
};
|
|
10590
|
+
type: StreamItemTypes.News;
|
|
10591
|
+
contentsList: StreamPublishableItemContents[];
|
|
10592
|
+
channelsList: string[];
|
|
10593
|
+
isUnread: boolean;
|
|
10594
|
+
keywordsList?: Keyword[];
|
|
10595
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10596
|
+
source?: string;
|
|
10597
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10598
|
+
expiryDate?: string;
|
|
10599
|
+
hasNewComments?: boolean;
|
|
10600
|
+
isLiked?: boolean;
|
|
10601
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10602
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10603
|
+
id?: string;
|
|
10604
|
+
versionId?: string;
|
|
10605
|
+
publishingDate?: string;
|
|
10606
|
+
deleted?: string;
|
|
10607
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10608
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10609
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10610
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10611
|
+
fileAccessToken?: string;
|
|
10612
|
+
customProperties?: {
|
|
10613
|
+
[key: string]: any;
|
|
10614
|
+
};
|
|
10615
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10616
|
+
modified: string;
|
|
10617
|
+
created: string;
|
|
10618
|
+
publishedVersionId?: string;
|
|
10619
|
+
isCurrentPublishedVersion?: boolean;
|
|
10620
|
+
isLatestVersion?: boolean;
|
|
10621
|
+
permalink?: string;
|
|
10622
|
+
groupIds: string[];
|
|
10623
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10624
|
+
useExternalContent?: boolean;
|
|
10625
|
+
isDemoContent?: boolean;
|
|
10626
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10627
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10628
|
+
} | {
|
|
10629
|
+
knownState?: undefined;
|
|
10630
|
+
pageType?: undefined;
|
|
10631
|
+
navigationContext?: undefined;
|
|
10632
|
+
userResponse: EventResponse;
|
|
10633
|
+
channels: {
|
|
10634
|
+
name: string;
|
|
10635
|
+
}[];
|
|
10636
|
+
contents: {};
|
|
10637
|
+
bannerInfo: {
|
|
10638
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10639
|
+
type: "video" | "image";
|
|
10640
|
+
videoId?: string;
|
|
10641
|
+
videoUrl?: string;
|
|
10642
|
+
isDirectVideoUrl?: boolean;
|
|
10643
|
+
imageId?: string;
|
|
10644
|
+
};
|
|
10645
|
+
keywords: {
|
|
10646
|
+
[key: string]: Keyword[];
|
|
10647
|
+
};
|
|
10648
|
+
type: StreamItemTypes.Event;
|
|
10649
|
+
contentsList: StreamPublishableItemContents[];
|
|
10650
|
+
channelsList: string[];
|
|
10651
|
+
isUnread: boolean;
|
|
10652
|
+
keywordsList?: Keyword[];
|
|
10653
|
+
userResponseType?: StreamEventResponse;
|
|
10654
|
+
startDate?: string;
|
|
10655
|
+
endDate?: string;
|
|
10656
|
+
timeZone?: string;
|
|
10657
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10658
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10659
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10660
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10661
|
+
hasNewComments?: boolean;
|
|
10662
|
+
isLiked?: boolean;
|
|
10663
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10664
|
+
recurrenceSeriesId?: string;
|
|
10665
|
+
isSeriesMaster?: string;
|
|
10666
|
+
isVirtual?: boolean;
|
|
10667
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10668
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10669
|
+
id?: string;
|
|
10670
|
+
versionId?: string;
|
|
10671
|
+
publishingDate?: string;
|
|
10672
|
+
deleted?: string;
|
|
10673
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10674
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10675
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10676
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10677
|
+
fileAccessToken?: string;
|
|
10678
|
+
customProperties?: {
|
|
10679
|
+
[key: string]: any;
|
|
10680
|
+
};
|
|
10681
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10682
|
+
modified: string;
|
|
10683
|
+
created: string;
|
|
10684
|
+
publishedVersionId?: string;
|
|
10685
|
+
isCurrentPublishedVersion?: boolean;
|
|
10686
|
+
isLatestVersion?: boolean;
|
|
10687
|
+
permalink?: string;
|
|
10688
|
+
groupIds: string[];
|
|
10689
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10690
|
+
useExternalContent?: boolean;
|
|
10691
|
+
isDemoContent?: boolean;
|
|
10692
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10693
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10694
|
+
} | {
|
|
10695
|
+
knownState: KnownNewsState;
|
|
10696
|
+
pageType?: undefined;
|
|
10697
|
+
navigationContext?: undefined;
|
|
10698
|
+
userResponse: EventResponse;
|
|
10699
|
+
channels: {
|
|
10700
|
+
name: string;
|
|
10701
|
+
}[];
|
|
10702
|
+
contents: {};
|
|
10703
|
+
bannerInfo: {
|
|
10704
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10705
|
+
type: "video" | "image";
|
|
10706
|
+
videoId?: string;
|
|
10707
|
+
videoUrl?: string;
|
|
10708
|
+
isDirectVideoUrl?: boolean;
|
|
10709
|
+
imageId?: string;
|
|
10710
|
+
};
|
|
10711
|
+
keywords: {
|
|
10712
|
+
[key: string]: Keyword[];
|
|
10713
|
+
};
|
|
10714
|
+
type: StreamItemTypes.Event;
|
|
10715
|
+
contentsList: StreamPublishableItemContents[];
|
|
10716
|
+
channelsList: string[];
|
|
10717
|
+
isUnread: boolean;
|
|
10718
|
+
keywordsList?: Keyword[];
|
|
10719
|
+
userResponseType?: StreamEventResponse;
|
|
10720
|
+
startDate?: string;
|
|
10721
|
+
endDate?: string;
|
|
10722
|
+
timeZone?: string;
|
|
10723
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10724
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10725
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10726
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10727
|
+
hasNewComments?: boolean;
|
|
10728
|
+
isLiked?: boolean;
|
|
10729
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10730
|
+
recurrenceSeriesId?: string;
|
|
10731
|
+
isSeriesMaster?: string;
|
|
10732
|
+
isVirtual?: boolean;
|
|
10733
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10734
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10735
|
+
id?: string;
|
|
10736
|
+
versionId?: string;
|
|
10737
|
+
publishingDate?: string;
|
|
10738
|
+
deleted?: string;
|
|
10739
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10740
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10741
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10742
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10743
|
+
fileAccessToken?: string;
|
|
10744
|
+
customProperties?: {
|
|
10745
|
+
[key: string]: any;
|
|
10746
|
+
};
|
|
10747
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10748
|
+
modified: string;
|
|
10749
|
+
created: string;
|
|
10750
|
+
publishedVersionId?: string;
|
|
10751
|
+
isCurrentPublishedVersion?: boolean;
|
|
10752
|
+
isLatestVersion?: boolean;
|
|
10753
|
+
permalink?: string;
|
|
10754
|
+
groupIds: string[];
|
|
10755
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10756
|
+
useExternalContent?: boolean;
|
|
10757
|
+
isDemoContent?: boolean;
|
|
10758
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10759
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10760
|
+
} | {
|
|
10761
|
+
knownState?: undefined;
|
|
10762
|
+
pageType: PageType;
|
|
10763
|
+
navigationContext: PageNavigationContext;
|
|
10764
|
+
userResponse: EventResponse;
|
|
10765
|
+
channels: {
|
|
10766
|
+
name: string;
|
|
10767
|
+
}[];
|
|
10768
|
+
contents: {};
|
|
10769
|
+
bannerInfo: {
|
|
10770
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10771
|
+
type: "video" | "image";
|
|
10772
|
+
videoId?: string;
|
|
10773
|
+
videoUrl?: string;
|
|
10774
|
+
isDirectVideoUrl?: boolean;
|
|
10775
|
+
imageId?: string;
|
|
10776
|
+
};
|
|
10777
|
+
keywords: {
|
|
10778
|
+
[key: string]: Keyword[];
|
|
10779
|
+
};
|
|
10780
|
+
type: StreamItemTypes.Event;
|
|
10781
|
+
contentsList: StreamPublishableItemContents[];
|
|
10782
|
+
channelsList: string[];
|
|
10783
|
+
isUnread: boolean;
|
|
10784
|
+
keywordsList?: Keyword[];
|
|
10785
|
+
userResponseType?: StreamEventResponse;
|
|
10786
|
+
startDate?: string;
|
|
10787
|
+
endDate?: string;
|
|
10788
|
+
timeZone?: string;
|
|
10789
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10790
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10791
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10792
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10793
|
+
hasNewComments?: boolean;
|
|
10794
|
+
isLiked?: boolean;
|
|
10795
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10796
|
+
recurrenceSeriesId?: string;
|
|
10797
|
+
isSeriesMaster?: string;
|
|
10798
|
+
isVirtual?: boolean;
|
|
10799
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10800
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10801
|
+
id?: string;
|
|
10802
|
+
versionId?: string;
|
|
10803
|
+
publishingDate?: string;
|
|
10804
|
+
deleted?: string;
|
|
10805
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10806
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10807
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10808
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10809
|
+
fileAccessToken?: string;
|
|
10810
|
+
customProperties?: {
|
|
10811
|
+
[key: string]: any;
|
|
10812
|
+
};
|
|
10813
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10814
|
+
modified: string;
|
|
10815
|
+
created: string;
|
|
10816
|
+
publishedVersionId?: string;
|
|
10817
|
+
isCurrentPublishedVersion?: boolean;
|
|
10818
|
+
isLatestVersion?: boolean;
|
|
10819
|
+
permalink?: string;
|
|
10820
|
+
groupIds: string[];
|
|
10821
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10822
|
+
useExternalContent?: boolean;
|
|
10823
|
+
isDemoContent?: boolean;
|
|
10824
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10825
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10826
|
+
} | {
|
|
10827
|
+
knownState: KnownNewsState;
|
|
10828
|
+
pageType: PageType;
|
|
10829
|
+
navigationContext: PageNavigationContext;
|
|
10830
|
+
userResponse: EventResponse;
|
|
10831
|
+
channels: {
|
|
10832
|
+
name: string;
|
|
10833
|
+
}[];
|
|
10834
|
+
contents: {};
|
|
10835
|
+
bannerInfo: {
|
|
10836
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10837
|
+
type: "video" | "image";
|
|
10838
|
+
videoId?: string;
|
|
10839
|
+
videoUrl?: string;
|
|
10840
|
+
isDirectVideoUrl?: boolean;
|
|
10841
|
+
imageId?: string;
|
|
10842
|
+
};
|
|
10843
|
+
keywords: {
|
|
10844
|
+
[key: string]: Keyword[];
|
|
9546
10845
|
};
|
|
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[];
|
|
10846
|
+
type: StreamItemTypes.Event;
|
|
10847
|
+
contentsList: StreamPublishableItemContents[];
|
|
10848
|
+
channelsList: string[];
|
|
10849
|
+
isUnread: boolean;
|
|
10850
|
+
keywordsList?: Keyword[];
|
|
10851
|
+
userResponseType?: StreamEventResponse;
|
|
10852
|
+
startDate?: string;
|
|
10853
|
+
endDate?: string;
|
|
10854
|
+
timeZone?: string;
|
|
10855
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10856
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10857
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10858
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10859
|
+
hasNewComments?: boolean;
|
|
10860
|
+
isLiked?: boolean;
|
|
10861
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10862
|
+
recurrenceSeriesId?: string;
|
|
10863
|
+
isSeriesMaster?: string;
|
|
10864
|
+
isVirtual?: boolean;
|
|
10865
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10866
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10867
|
+
id?: string;
|
|
10868
|
+
versionId?: string;
|
|
10869
|
+
publishingDate?: string;
|
|
10870
|
+
deleted?: string;
|
|
10871
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10872
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10873
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10874
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10875
|
+
fileAccessToken?: string;
|
|
10876
|
+
customProperties?: {
|
|
10877
|
+
[key: string]: any;
|
|
9583
10878
|
};
|
|
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
|
-
|
|
10879
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10880
|
+
modified: string;
|
|
10881
|
+
created: string;
|
|
10882
|
+
publishedVersionId?: string;
|
|
10883
|
+
isCurrentPublishedVersion?: boolean;
|
|
10884
|
+
isLatestVersion?: boolean;
|
|
10885
|
+
permalink?: string;
|
|
10886
|
+
groupIds: string[];
|
|
10887
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10888
|
+
useExternalContent?: boolean;
|
|
10889
|
+
isDemoContent?: boolean;
|
|
10890
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10891
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10892
|
+
} | {
|
|
10893
|
+
knownState?: undefined;
|
|
10894
|
+
pageType?: PageType;
|
|
10895
|
+
navigationContext?: PageNavigationContext;
|
|
10896
|
+
userResponse: EventResponse;
|
|
10897
|
+
channels: {
|
|
10898
|
+
name: string;
|
|
10899
|
+
}[];
|
|
10900
|
+
contents: {};
|
|
10901
|
+
bannerInfo: {
|
|
10902
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10903
|
+
type: "video" | "image";
|
|
10904
|
+
videoId?: string;
|
|
10905
|
+
videoUrl?: string;
|
|
10906
|
+
isDirectVideoUrl?: boolean;
|
|
10907
|
+
imageId?: string;
|
|
9609
10908
|
};
|
|
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[];
|
|
10909
|
+
keywords: {
|
|
10910
|
+
[key: string]: Keyword[];
|
|
9628
10911
|
};
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
10912
|
+
type: StreamItemTypes.Page;
|
|
10913
|
+
contentsList: StreamPublishableItemContents[];
|
|
10914
|
+
channelsList: string[];
|
|
10915
|
+
isUnread: boolean;
|
|
10916
|
+
keywordsList?: Keyword[];
|
|
10917
|
+
streamPageType?: string;
|
|
10918
|
+
path?: (PageNavigationNode & {
|
|
10919
|
+
parentId?: string;
|
|
10920
|
+
})[];
|
|
10921
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10922
|
+
parentId?: string;
|
|
10923
|
+
pathIds?: string[];
|
|
10924
|
+
position?: number;
|
|
10925
|
+
hasHiddenAncestor?: boolean;
|
|
10926
|
+
isUnlinked?: boolean;
|
|
10927
|
+
firstChildId?: string;
|
|
10928
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10929
|
+
id?: string;
|
|
10930
|
+
versionId?: string;
|
|
10931
|
+
publishingDate?: string;
|
|
10932
|
+
deleted?: string;
|
|
10933
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10934
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10935
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10936
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10937
|
+
fileAccessToken?: string;
|
|
10938
|
+
customProperties?: {
|
|
10939
|
+
[key: string]: any;
|
|
10940
|
+
};
|
|
10941
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10942
|
+
modified: string;
|
|
10943
|
+
created: string;
|
|
10944
|
+
publishedVersionId?: string;
|
|
10945
|
+
isCurrentPublishedVersion?: boolean;
|
|
10946
|
+
isLatestVersion?: boolean;
|
|
10947
|
+
permalink?: string;
|
|
10948
|
+
groupIds: string[];
|
|
10949
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10950
|
+
useExternalContent?: boolean;
|
|
10951
|
+
isDemoContent?: boolean;
|
|
10952
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10953
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10954
|
+
} | {
|
|
10955
|
+
knownState: KnownNewsState;
|
|
10956
|
+
pageType?: PageType;
|
|
10957
|
+
navigationContext?: PageNavigationContext;
|
|
10958
|
+
userResponse: EventResponse;
|
|
10959
|
+
channels: {
|
|
10960
|
+
name: string;
|
|
10961
|
+
}[];
|
|
10962
|
+
contents: {};
|
|
10963
|
+
bannerInfo: {
|
|
10964
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10965
|
+
type: "video" | "image";
|
|
10966
|
+
videoId?: string;
|
|
10967
|
+
videoUrl?: string;
|
|
10968
|
+
isDirectVideoUrl?: boolean;
|
|
10969
|
+
imageId?: string;
|
|
10970
|
+
};
|
|
10971
|
+
keywords: {
|
|
10972
|
+
[key: string]: Keyword[];
|
|
10973
|
+
};
|
|
10974
|
+
type: StreamItemTypes.Page;
|
|
10975
|
+
contentsList: StreamPublishableItemContents[];
|
|
10976
|
+
channelsList: string[];
|
|
10977
|
+
isUnread: boolean;
|
|
10978
|
+
keywordsList?: Keyword[];
|
|
10979
|
+
streamPageType?: string;
|
|
10980
|
+
path?: (PageNavigationNode & {
|
|
10981
|
+
parentId?: string;
|
|
10982
|
+
})[];
|
|
10983
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10984
|
+
parentId?: string;
|
|
10985
|
+
pathIds?: string[];
|
|
10986
|
+
position?: number;
|
|
10987
|
+
hasHiddenAncestor?: boolean;
|
|
10988
|
+
isUnlinked?: boolean;
|
|
10989
|
+
firstChildId?: string;
|
|
10990
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10991
|
+
id?: string;
|
|
10992
|
+
versionId?: string;
|
|
10993
|
+
publishingDate?: string;
|
|
10994
|
+
deleted?: string;
|
|
10995
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10996
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10997
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10998
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10999
|
+
fileAccessToken?: string;
|
|
11000
|
+
customProperties?: {
|
|
11001
|
+
[key: string]: any;
|
|
11002
|
+
};
|
|
11003
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
11004
|
+
modified: string;
|
|
11005
|
+
created: string;
|
|
11006
|
+
publishedVersionId?: string;
|
|
11007
|
+
isCurrentPublishedVersion?: boolean;
|
|
11008
|
+
isLatestVersion?: boolean;
|
|
11009
|
+
permalink?: string;
|
|
11010
|
+
groupIds: string[];
|
|
11011
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
11012
|
+
useExternalContent?: boolean;
|
|
11013
|
+
isDemoContent?: boolean;
|
|
11014
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11015
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11016
|
+
})[];
|
|
9633
11017
|
}
|
|
9634
|
-
declare module "libs/reach/feature/content/src/stream/
|
|
9635
|
-
|
|
11018
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
11019
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11020
|
+
import { DocumentNode } from '@apollo/client';
|
|
11021
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
11022
|
+
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition, FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
11023
|
+
export enum StreamEventResponse {
|
|
11024
|
+
NotSet = "NOTSET",
|
|
11025
|
+
Registered = "REGISTERED",
|
|
11026
|
+
Declined = "DECLINED"
|
|
11027
|
+
}
|
|
11028
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
11029
|
+
}
|
|
11030
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
11031
|
+
items: StreamItem[];
|
|
11032
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
11033
|
+
loadMore: () => Promise<void>;
|
|
11034
|
+
pageInfo: {
|
|
11035
|
+
errors?: any;
|
|
11036
|
+
hasNextPage: boolean;
|
|
11037
|
+
skip: number;
|
|
11038
|
+
};
|
|
11039
|
+
refresh: () => Promise<void>;
|
|
11040
|
+
isLoadingFirstPage: boolean;
|
|
11041
|
+
};
|
|
11042
|
+
export const getStreamQuery: () => DocumentNode;
|
|
11043
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11044
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11045
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
11046
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
11047
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
11048
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
11049
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
11050
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
11051
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
11052
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
9636
11053
|
}
|
|
9637
11054
|
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
9638
11055
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9652,6 +11069,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
9652
11069
|
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
9653
11070
|
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
9654
11071
|
export * from "libs/reach/feature/content/src/posts/PostGroupsSelector";
|
|
11072
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
9655
11073
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
9656
11074
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
9657
11075
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
@@ -9675,7 +11093,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
|
9675
11093
|
onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
|
|
9676
11094
|
onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
|
|
9677
11095
|
className?: string;
|
|
9678
|
-
useLargeAvatar?: boolean;
|
|
9679
11096
|
useExternalLink?: boolean;
|
|
9680
11097
|
}
|
|
9681
11098
|
export const EditorListItem: FC<Props>;
|
|
@@ -9720,12 +11137,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
9720
11137
|
}
|
|
9721
11138
|
}
|
|
9722
11139
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
9723
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11140
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9724
11141
|
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
11142
|
import { Observable } from 'rxjs';
|
|
9730
11143
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
9731
11144
|
export function useEditorApi(): {
|
|
@@ -9745,6 +11158,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
|
9745
11158
|
keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
|
|
9746
11159
|
saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
|
|
9747
11160
|
updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
|
|
11161
|
+
translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
|
|
9748
11162
|
};
|
|
9749
11163
|
}
|
|
9750
11164
|
declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
@@ -9768,6 +11182,59 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
9768
11182
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
9769
11183
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
9770
11184
|
}
|
|
11185
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
11186
|
+
import { FC } from 'react';
|
|
11187
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11188
|
+
export const StreamPostItemCard: FC<{
|
|
11189
|
+
post: PostStreamItem;
|
|
11190
|
+
onPostDelete: (id: string) => unknown;
|
|
11191
|
+
}>;
|
|
11192
|
+
}
|
|
11193
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
11194
|
+
import { FC } from 'react';
|
|
11195
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11196
|
+
export const StreamNewsItemCard: FC<{
|
|
11197
|
+
news: NewsStreamItem;
|
|
11198
|
+
}>;
|
|
11199
|
+
}
|
|
11200
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
11201
|
+
import { FC } from 'react';
|
|
11202
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11203
|
+
export const StreamEventItemCard: FC<{
|
|
11204
|
+
event: EventStreamItem;
|
|
11205
|
+
}>;
|
|
11206
|
+
}
|
|
11207
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11208
|
+
import { FC } from 'react';
|
|
11209
|
+
export const GlobalSearchButton: FC;
|
|
11210
|
+
}
|
|
11211
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11212
|
+
import { FC } from 'react';
|
|
11213
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11214
|
+
export type StreamQueryResult = {
|
|
11215
|
+
items: StreamItem[];
|
|
11216
|
+
};
|
|
11217
|
+
export const StreamList: FC;
|
|
11218
|
+
}
|
|
11219
|
+
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
11220
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
11221
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
11222
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11223
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
|
|
11224
|
+
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11225
|
+
}
|
|
11226
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11227
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
11228
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11229
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11230
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
11231
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
11232
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
11233
|
+
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
11234
|
+
}
|
|
11235
|
+
declare module "libs/reach/feature/content/src/search/index" {
|
|
11236
|
+
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11237
|
+
}
|
|
9771
11238
|
declare module "libs/reach/feature/content/src/index" {
|
|
9772
11239
|
export * from "libs/reach/feature/content/src/comments/index";
|
|
9773
11240
|
export * from "libs/reach/feature/content/src/common/index";
|
|
@@ -9780,6 +11247,8 @@ declare module "libs/reach/feature/content/src/index" {
|
|
|
9780
11247
|
export * from "libs/reach/feature/content/src/posts/index";
|
|
9781
11248
|
export * from "libs/reach/feature/content/src/editor/index";
|
|
9782
11249
|
export * from "libs/reach/feature/content/src/public-user/index";
|
|
11250
|
+
export * from "libs/reach/feature/content/src/stream/index";
|
|
11251
|
+
export * from "libs/reach/feature/content/src/search/index";
|
|
9783
11252
|
}
|
|
9784
11253
|
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
9785
11254
|
import { FC } from 'react';
|
|
@@ -9850,20 +11319,22 @@ declare module "apps/reach-app/src/app/AppLoader" {
|
|
|
9850
11319
|
}
|
|
9851
11320
|
declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
|
|
9852
11321
|
import './ContainerWithLogo.scss';
|
|
11322
|
+
import { LogoInfo } from "libs/reach/util/common/src/index";
|
|
11323
|
+
import { FC, ReactNode } from 'react';
|
|
9853
11324
|
export enum DefaultLogoColor {
|
|
9854
11325
|
Default = 0,
|
|
9855
11326
|
White = 1
|
|
9856
11327
|
}
|
|
9857
|
-
type RenderChildren =
|
|
9858
|
-
export const ContainerWithLogo:
|
|
9859
|
-
|
|
9860
|
-
logoColor?: DefaultLogoColor;
|
|
11328
|
+
type RenderChildren = ReactNode | (() => ReactNode);
|
|
11329
|
+
export const ContainerWithLogo: FC<{
|
|
11330
|
+
logoInfo?: LogoInfo;
|
|
9861
11331
|
text?: string;
|
|
9862
11332
|
headerClassName?: string;
|
|
9863
11333
|
additionalClasses?: string;
|
|
9864
11334
|
children: RenderChildren;
|
|
9865
11335
|
className?: string;
|
|
9866
11336
|
additionalContent?: RenderChildren;
|
|
11337
|
+
isBrandedContainer?: boolean;
|
|
9867
11338
|
}>;
|
|
9868
11339
|
}
|
|
9869
11340
|
declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
|
|
@@ -9895,7 +11366,11 @@ declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
|
9895
11366
|
MobileHidden = 1
|
|
9896
11367
|
}
|
|
9897
11368
|
export function shutdownZendesk(): void;
|
|
9898
|
-
export function
|
|
11369
|
+
export function useZendeskWithSubscription(): {
|
|
11370
|
+
showZendeskChat: () => void;
|
|
11371
|
+
toggleIcon: (show: boolean) => void;
|
|
11372
|
+
};
|
|
11373
|
+
export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
|
|
9899
11374
|
showZendeskChat: () => void;
|
|
9900
11375
|
toggleIcon: (show: boolean) => void;
|
|
9901
11376
|
};
|
|
@@ -9910,27 +11385,8 @@ declare module "apps/reach-app/src/app/EnforcedSubscriptionContextProvider" {
|
|
|
9910
11385
|
}
|
|
9911
11386
|
declare module "apps/reach-app/src/app/chrome/PageMenuActionItem" {
|
|
9912
11387
|
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>;
|
|
11388
|
+
import { PageNavigationNodeProps } from "libs/reach/util/common/src/index";
|
|
11389
|
+
export const PageMenuActionItem: FC<PageNavigationNodeProps>;
|
|
9934
11390
|
}
|
|
9935
11391
|
declare module "apps/reach-app/src/app/admin/ManagePluginsPage" {
|
|
9936
11392
|
import { FC } from 'react';
|
|
@@ -9940,7 +11396,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
|
|
|
9940
11396
|
import { FC } from 'react';
|
|
9941
11397
|
export const AdminActionItem: FC<{
|
|
9942
11398
|
submenuContents: JSX.Element;
|
|
9943
|
-
onClick
|
|
11399
|
+
onClick?: () => unknown;
|
|
9944
11400
|
title?: string;
|
|
9945
11401
|
}>;
|
|
9946
11402
|
const AdminRoutes: FC;
|
|
@@ -9954,7 +11410,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
|
|
|
9954
11410
|
import { FC } from 'react';
|
|
9955
11411
|
export const ChatMenuNode: FC<{
|
|
9956
11412
|
title: string;
|
|
9957
|
-
onClick
|
|
11413
|
+
onClick?: () => void;
|
|
9958
11414
|
}>;
|
|
9959
11415
|
}
|
|
9960
11416
|
declare module "apps/reach-app/src/app/chrome/Sidebar" {
|
|
@@ -9981,20 +11437,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
|
|
|
9981
11437
|
className?: string;
|
|
9982
11438
|
}>;
|
|
9983
11439
|
}
|
|
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
11440
|
declare module "apps/reach-app/src/AppLoaderContextProvider" {
|
|
9999
11441
|
import { FC, ReactNode } from 'react';
|
|
10000
11442
|
export const AppLoaderContext: import("react").Context<{
|
|
@@ -10140,6 +11582,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
10140
11582
|
}
|
|
10141
11583
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
10142
11584
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|
|
11585
|
+
import { PageMenuActionItem } from "apps/reach-app/src/app/chrome/PageMenuActionItem";
|
|
10143
11586
|
import { NavLinkSidebarItem } from "apps/reach-app/src/app/chrome/SidebarItem";
|
|
10144
|
-
export { Page, NavLinkSidebarItem };
|
|
11587
|
+
export { Page, NavLinkSidebarItem, PageMenuActionItem };
|
|
10145
11588
|
}
|