@livetiles/reach-plugin-types 0.4.0-preview.38 → 0.4.0-preview.382
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 +2438 -1047
- 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?: {
|
|
@@ -1475,7 +1496,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1475
1496
|
export interface UserInvitationResult {
|
|
1476
1497
|
type: UserInvitationResultType;
|
|
1477
1498
|
message?: string;
|
|
1478
|
-
user?:
|
|
1499
|
+
user?: Account;
|
|
1479
1500
|
isSuccess: boolean;
|
|
1480
1501
|
}
|
|
1481
1502
|
export enum UserRegistrationResultType {
|
|
@@ -1705,6 +1726,7 @@ declare module "libs/reach/util/common/src/content/VideoSource" {
|
|
|
1705
1726
|
GenericUrl = 3,
|
|
1706
1727
|
Kaltura = 4
|
|
1707
1728
|
}
|
|
1729
|
+
export function convertStringToVideoSource(videoSource: string): VideoSource;
|
|
1708
1730
|
}
|
|
1709
1731
|
declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
1710
1732
|
import { ItemStatistics } from "libs/reach/util/common/src/content/ItemStatistics";
|
|
@@ -1712,6 +1734,19 @@ declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
|
1712
1734
|
id?: string;
|
|
1713
1735
|
statistics?: ItemStatistics;
|
|
1714
1736
|
poll?: Poll;
|
|
1737
|
+
searchHighlights?: SearchHighlightSummary;
|
|
1738
|
+
}
|
|
1739
|
+
export interface SearchHighlightSummary {
|
|
1740
|
+
title: SearchHighlight[];
|
|
1741
|
+
content: SearchHighlight[];
|
|
1742
|
+
}
|
|
1743
|
+
export interface SearchHighlight {
|
|
1744
|
+
language: string;
|
|
1745
|
+
texts: {
|
|
1746
|
+
value: string;
|
|
1747
|
+
type: 'text' | 'hit';
|
|
1748
|
+
}[];
|
|
1749
|
+
score: number;
|
|
1715
1750
|
}
|
|
1716
1751
|
export interface Poll {
|
|
1717
1752
|
questions: PollQuestion[];
|
|
@@ -1779,7 +1814,6 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1779
1814
|
headline?: string;
|
|
1780
1815
|
intro?: string;
|
|
1781
1816
|
body?: string;
|
|
1782
|
-
bodyRaw?: string;
|
|
1783
1817
|
customProperties?: {
|
|
1784
1818
|
[key: string]: any;
|
|
1785
1819
|
};
|
|
@@ -2049,7 +2083,7 @@ declare module "libs/reach/util/common/src/content/Comment" {
|
|
|
2049
2083
|
hasUnreadReplies?: boolean;
|
|
2050
2084
|
isDemoContent?: boolean;
|
|
2051
2085
|
}
|
|
2052
|
-
interface CommentStatistics {
|
|
2086
|
+
export interface CommentStatistics {
|
|
2053
2087
|
likeCount?: number;
|
|
2054
2088
|
replyCount?: number;
|
|
2055
2089
|
}
|
|
@@ -2135,14 +2169,82 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2135
2169
|
}
|
|
2136
2170
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
2137
2171
|
import { CurrentUser } from "libs/reach/util/common/src/user/User";
|
|
2172
|
+
import { SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2138
2173
|
export function useCurrentUserCache(): {
|
|
2139
2174
|
clear: () => Promise<void>;
|
|
2140
2175
|
setEssentials: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2141
2176
|
setUser: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2142
|
-
get: () => Promise<
|
|
2177
|
+
get: () => Promise<{
|
|
2178
|
+
subscription: {
|
|
2179
|
+
logoInfo: {
|
|
2180
|
+
smallUrl: any;
|
|
2181
|
+
largeUrl: string;
|
|
2182
|
+
isLegacyLogo: boolean;
|
|
2183
|
+
};
|
|
2184
|
+
languages: import("@livetiles/reach/util/common").LanguageBase[];
|
|
2185
|
+
featureMask: string;
|
|
2186
|
+
company: string;
|
|
2187
|
+
directories: import("libs/reach/util/common/src/user/Subscription").DirectoryConfiguration[];
|
|
2188
|
+
webPluginDefinitions: import("libs/reach/util/common/src/user/Subscription").WebPluginDefinition[];
|
|
2189
|
+
userPropertyDefinitions: import("libs/reach/util/common/src/user/Subscription").UserPropertyDefinition[];
|
|
2190
|
+
userFlowSettings?: import("libs/reach/util/common/src/user/Subscription").UserFlowSettings;
|
|
2191
|
+
customDomain?: string;
|
|
2192
|
+
allowSelfRegistration?: boolean;
|
|
2193
|
+
id: string;
|
|
2194
|
+
subscriptionName: string;
|
|
2195
|
+
subscriptionHandle?: string;
|
|
2196
|
+
contact: import("@livetiles/reach/util/common").Account;
|
|
2197
|
+
theme: import("libs/reach/util/common/src/user/Subscription").Theme;
|
|
2198
|
+
defaultLanguage: string;
|
|
2199
|
+
faviconUrl?: string;
|
|
2200
|
+
navigation: import("libs/reach/util/common/src/user/Subscription").NavigationNode[];
|
|
2201
|
+
regionSettings?: import("libs/reach/util/common/src/user/Subscription").RegionSettings;
|
|
2202
|
+
signInSettings?: import("libs/reach/util/common/src/user/Subscription").SignInSettings;
|
|
2203
|
+
useInAppBrowser?: boolean;
|
|
2204
|
+
hasUnreadItems: boolean;
|
|
2205
|
+
pageTrackingInfo: import("libs/reach/util/common/src/user/Subscription").PageTrackingInfo;
|
|
2206
|
+
termsAndConditionsHash?: string;
|
|
2207
|
+
};
|
|
2208
|
+
isEmailVerificationPending?: boolean;
|
|
2209
|
+
isSubscriptionOwner: boolean;
|
|
2210
|
+
givenName: string;
|
|
2211
|
+
surname: string;
|
|
2212
|
+
preferredUiLanguage: string;
|
|
2213
|
+
preferredContentLanguage?: string;
|
|
2214
|
+
preferredLocale?: string;
|
|
2215
|
+
bookmarks: string[];
|
|
2216
|
+
groups: import("libs/reach/util/common/src/user/User").UserGroup[];
|
|
2217
|
+
availableSubscriptions: SubscriptionSummary[];
|
|
2218
|
+
channels: import("@livetiles/reach/util/common").UserChannelSubscription[];
|
|
2219
|
+
userHash: string;
|
|
2220
|
+
unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2221
|
+
unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2222
|
+
unreadPosts: {
|
|
2223
|
+
groupId: string;
|
|
2224
|
+
itemId: string;
|
|
2225
|
+
}[];
|
|
2226
|
+
unreadFeedItemsCount?: number;
|
|
2227
|
+
notificationTypeSettings: import("libs/reach/util/common/src/user/User").NotificationTypeSettings;
|
|
2228
|
+
hasPendingRegistration?: boolean;
|
|
2229
|
+
minRoles: import("libs/reach/util/common/src/user/User").UserMinRoles;
|
|
2230
|
+
hasDirectory: boolean;
|
|
2231
|
+
contacts: import("libs/reach/util/common/src/user/User").UserContact[];
|
|
2232
|
+
termsAndConditionsApprovedHash: string;
|
|
2233
|
+
isPublicUser?: boolean;
|
|
2234
|
+
hasUnreadChats?: boolean;
|
|
2235
|
+
id?: string;
|
|
2236
|
+
type?: import("@livetiles/reach/util/common").AccountType;
|
|
2237
|
+
tenantId?: string;
|
|
2238
|
+
displayName?: string;
|
|
2239
|
+
userPrincipalName?: string;
|
|
2240
|
+
mail?: string;
|
|
2241
|
+
tokenUniqueId?: string;
|
|
2242
|
+
authenticationType?: import("@livetiles/shared/util/authentication").AuthenticationType;
|
|
2243
|
+
created?: string;
|
|
2244
|
+
}>;
|
|
2143
2245
|
};
|
|
2144
2246
|
export function getUserDetailFields(user: Partial<CurrentUser>): {
|
|
2145
|
-
availableSubscriptions:
|
|
2247
|
+
availableSubscriptions: SubscriptionSummary[];
|
|
2146
2248
|
bookmarks: string[];
|
|
2147
2249
|
unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2148
2250
|
unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
@@ -2222,9 +2324,9 @@ declare module "libs/reach/util/common/src/user/index" {
|
|
|
2222
2324
|
export * from "libs/reach/util/common/src/user/LanguageUtils";
|
|
2223
2325
|
export * from "libs/reach/util/common/src/user/content-languages-util";
|
|
2224
2326
|
}
|
|
2225
|
-
declare module "libs/reach/util/common/src/plugins/
|
|
2327
|
+
declare module "libs/reach/util/common/src/plugins/usePluginDeviceStore" {
|
|
2226
2328
|
import { Storage } from "libs/reach/util/context/src/index";
|
|
2227
|
-
export function
|
|
2329
|
+
export function usePluginDeviceStore(): PluginStorage;
|
|
2228
2330
|
export function getStorageWrapper(pluginId: string, storage: Storage): PluginStorage;
|
|
2229
2331
|
export interface PluginStorage {
|
|
2230
2332
|
getAllKeys(): Promise<string[]>;
|
|
@@ -2234,12 +2336,36 @@ declare module "libs/reach/util/common/src/plugins/usePluginStorage" {
|
|
|
2234
2336
|
clearAll(): Promise<void>;
|
|
2235
2337
|
}
|
|
2236
2338
|
}
|
|
2339
|
+
declare module "libs/reach/util/common/src/plugins/usePluginUserStore" {
|
|
2340
|
+
import { Api } from 'restful.js';
|
|
2341
|
+
export function usePluginUserStore(): PluginUserStore;
|
|
2342
|
+
export function getPluginUserStoreWrapper(pluginId: string, api: Api): PluginUserStore;
|
|
2343
|
+
export interface PluginUserStore {
|
|
2344
|
+
getPluginUserValue(key: string): Promise<string>;
|
|
2345
|
+
setPluginUserValue(key: string, value: string | object): Promise<unknown>;
|
|
2346
|
+
deletePluginUserValue(key: string): Promise<unknown>;
|
|
2347
|
+
}
|
|
2348
|
+
}
|
|
2349
|
+
declare module "libs/reach/util/common/src/plugins/usePluginSubscriptionStore" {
|
|
2350
|
+
import { Api } from 'restful.js';
|
|
2351
|
+
export function usePluginSubscriptionStore(): PluginSubscriptionStore;
|
|
2352
|
+
export function getPluginSubscriptionStoreWrapper(pluginId: string, api: Api): PluginSubscriptionStore;
|
|
2353
|
+
export interface PluginSubscriptionStore {
|
|
2354
|
+
getPluginSubscriptionValue(key: string): Promise<string>;
|
|
2355
|
+
setPluginSubscriptionValue(key: string, value: string | object): Promise<unknown>;
|
|
2356
|
+
deletePluginSubscriptionValue(key: string): Promise<unknown>;
|
|
2357
|
+
}
|
|
2358
|
+
}
|
|
2237
2359
|
declare module "libs/reach/util/common/src/plugins/PluginContext" {
|
|
2238
2360
|
import { PluginSettings } from "libs/reach/util/common/src/user/Subscription";
|
|
2239
|
-
import { PluginStorage } from "libs/reach/util/common/src/plugins/
|
|
2361
|
+
import { PluginStorage } from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
2362
|
+
import { PluginUserStore } from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
2363
|
+
import { PluginSubscriptionStore } from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
2240
2364
|
export const PluginContext: import("react").Context<{
|
|
2241
2365
|
settings: PluginSettings;
|
|
2242
2366
|
storage: PluginStorage;
|
|
2367
|
+
userStore: PluginUserStore;
|
|
2368
|
+
subscriptionStore: PluginSubscriptionStore;
|
|
2243
2369
|
}>;
|
|
2244
2370
|
export function usePluginSettings<T>(): T;
|
|
2245
2371
|
export function useReachApiEndPoints(): {
|
|
@@ -2265,15 +2391,133 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
|
|
|
2265
2391
|
unlinkPlugin: (pluginId: string) => Promise<any>;
|
|
2266
2392
|
};
|
|
2267
2393
|
}
|
|
2394
|
+
declare module "libs/reach/util/common/src/content/GraphQLAttachmentType" {
|
|
2395
|
+
export enum GraphQLAttachmentType {
|
|
2396
|
+
Image = "IMAGE",
|
|
2397
|
+
File = "FILE",
|
|
2398
|
+
YouTubeVideo = "YOU_TUBE_VIDEO",
|
|
2399
|
+
VimeoVideo = "VIMEO_VIDEO",
|
|
2400
|
+
News = "NEWS",
|
|
2401
|
+
Event = "EVENT",
|
|
2402
|
+
Page = "PAGE",
|
|
2403
|
+
Post = "POST",
|
|
2404
|
+
Giphy = "GIPHY"
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2407
|
+
declare module "libs/reach/util/common/src/Models" {
|
|
2408
|
+
import { BaseAttachment } from "libs/reach/util/common/src/content/Attachment";
|
|
2409
|
+
import { GraphQLAttachmentType } from "libs/reach/util/common/src/content/GraphQLAttachmentType";
|
|
2410
|
+
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2411
|
+
export interface ColorStyleDefinition {
|
|
2412
|
+
backgroundColor: string;
|
|
2413
|
+
color: string;
|
|
2414
|
+
}
|
|
2415
|
+
export interface PageNavigationNodeProps {
|
|
2416
|
+
title?: string;
|
|
2417
|
+
iconName?: string;
|
|
2418
|
+
to?: string;
|
|
2419
|
+
onClick?: () => void;
|
|
2420
|
+
isActive?: boolean;
|
|
2421
|
+
exact?: boolean;
|
|
2422
|
+
cannotBeActive?: boolean;
|
|
2423
|
+
submenuContents?: JSX.Element;
|
|
2424
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
2425
|
+
badgeInfo?: number | boolean;
|
|
2426
|
+
domIdentifier?: string;
|
|
2427
|
+
secondaryIconName?: string;
|
|
2428
|
+
secondaryIconTooltipResourceKey?: string;
|
|
2429
|
+
onSecondaryIconClick?: () => void;
|
|
2430
|
+
iconColor?: string;
|
|
2431
|
+
className?: string;
|
|
2432
|
+
}
|
|
2433
|
+
export interface Chat {
|
|
2434
|
+
id: string;
|
|
2435
|
+
members: (Account & ChatMember)[];
|
|
2436
|
+
memberIds: string[];
|
|
2437
|
+
groupName?: string;
|
|
2438
|
+
lastMessageInfo?: {
|
|
2439
|
+
received: string;
|
|
2440
|
+
senderId: string;
|
|
2441
|
+
content?: string;
|
|
2442
|
+
attachments: ChatAttachment[];
|
|
2443
|
+
deleteDate?: string;
|
|
2444
|
+
deleteState?: DeleteState;
|
|
2445
|
+
messageType?: ChatMessageType;
|
|
2446
|
+
messageValues?: {
|
|
2447
|
+
groupName?: string;
|
|
2448
|
+
userId?: string;
|
|
2449
|
+
};
|
|
2450
|
+
};
|
|
2451
|
+
messages: ChatMessage[];
|
|
2452
|
+
hasNewMessages: boolean;
|
|
2453
|
+
fileAccessToken: string;
|
|
2454
|
+
}
|
|
2455
|
+
export enum DeleteState {
|
|
2456
|
+
NotDeleted = "NOT_DELETED",
|
|
2457
|
+
RecycleBin = "RECYCLE_BIN",
|
|
2458
|
+
Deleted = "DELETED"
|
|
2459
|
+
}
|
|
2460
|
+
export enum ChatMessageType {
|
|
2461
|
+
Default = "DEFAULT",
|
|
2462
|
+
GroupNameChange = "GROUP_NAME_CHANGE",
|
|
2463
|
+
UserLeftGroup = "USER_LEFT_GROUP"
|
|
2464
|
+
}
|
|
2465
|
+
export enum MemberStatus {
|
|
2466
|
+
Normal = "NORMAL",
|
|
2467
|
+
LeftGroupChat = "LEFT_GROUP_CHAT",
|
|
2468
|
+
LeftOneToOneChat = "LEFT_ONE_TO_ONE_CHAT"
|
|
2469
|
+
}
|
|
2470
|
+
export interface ChatMember {
|
|
2471
|
+
id?: string;
|
|
2472
|
+
status?: MemberStatus;
|
|
2473
|
+
joinDate?: string;
|
|
2474
|
+
leftDate?: string;
|
|
2475
|
+
}
|
|
2476
|
+
export interface ChatMessage {
|
|
2477
|
+
itemId: string;
|
|
2478
|
+
content: string;
|
|
2479
|
+
senderId?: string;
|
|
2480
|
+
chatId?: string;
|
|
2481
|
+
received?: string;
|
|
2482
|
+
attachments?: ChatAttachment[];
|
|
2483
|
+
attachmentContainerId?: string;
|
|
2484
|
+
fileAccessToken?: string;
|
|
2485
|
+
deleteDate?: string;
|
|
2486
|
+
deleteState?: DeleteState;
|
|
2487
|
+
modifiedDate?: string;
|
|
2488
|
+
chat?: Chat;
|
|
2489
|
+
messageType?: ChatMessageType;
|
|
2490
|
+
messageValues?: {
|
|
2491
|
+
groupName?: string;
|
|
2492
|
+
};
|
|
2493
|
+
}
|
|
2494
|
+
export interface ChatIsTypingInfo {
|
|
2495
|
+
sender: Account;
|
|
2496
|
+
chatId: string;
|
|
2497
|
+
sentOn: string;
|
|
2498
|
+
}
|
|
2499
|
+
export interface ChatView {
|
|
2500
|
+
chatId: string;
|
|
2501
|
+
timestamp: Date;
|
|
2502
|
+
isActive: boolean;
|
|
2503
|
+
}
|
|
2504
|
+
export interface ChatAttachment extends BaseAttachment {
|
|
2505
|
+
type: GraphQLAttachmentType;
|
|
2506
|
+
}
|
|
2507
|
+
}
|
|
2268
2508
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
2269
2509
|
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
2510
|
+
import { PageNavigationNodeProps } from "libs/reach/util/common/src/Models";
|
|
2270
2511
|
export enum ExtensionArea {
|
|
2271
2512
|
global = "Global",
|
|
2272
2513
|
page = "Page",
|
|
2273
2514
|
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
2274
2515
|
eventDetailViewSection = "EventDetailViewSection"
|
|
2275
2516
|
}
|
|
2276
|
-
export
|
|
2517
|
+
export interface PluginNavigationNodeProps {
|
|
2518
|
+
navigationNodeProps?: PageNavigationNodeProps;
|
|
2519
|
+
}
|
|
2520
|
+
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
2277
2521
|
type DevPlugin = {
|
|
2278
2522
|
pluginId: string;
|
|
2279
2523
|
port: number;
|
|
@@ -2281,15 +2525,15 @@ declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
|
2281
2525
|
linkPlugin?: boolean;
|
|
2282
2526
|
};
|
|
2283
2527
|
export function usePlugins(): WebPluginDefinition[];
|
|
2284
|
-
export function usePluginExtensions(area?: ExtensionArea):
|
|
2528
|
+
export function usePluginExtensions(area?: ExtensionArea): PluginProps[];
|
|
2285
2529
|
export function removeInjectedRemotePlugin(pluginId: string): void;
|
|
2286
2530
|
export function useInjectedRemotePlugins(): DevPlugin[];
|
|
2287
2531
|
export function useRemotePlugins(): WebPluginDefinition[];
|
|
2288
2532
|
}
|
|
2289
2533
|
declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
2290
2534
|
import { FC } from 'react';
|
|
2291
|
-
import {
|
|
2292
|
-
export const PluginWrapper: FC<
|
|
2535
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2536
|
+
export const PluginWrapper: FC<PluginProps & any>;
|
|
2293
2537
|
}
|
|
2294
2538
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2295
2539
|
import { FC } from 'react';
|
|
@@ -2305,7 +2549,9 @@ declare module "libs/reach/util/common/src/plugins/index" {
|
|
|
2305
2549
|
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
2306
2550
|
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
2307
2551
|
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2308
|
-
export * from "libs/reach/util/common/src/plugins/
|
|
2552
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
2553
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
2554
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
2309
2555
|
}
|
|
2310
2556
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
2311
2557
|
export class Color {
|
|
@@ -2324,6 +2570,7 @@ declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
|
2324
2570
|
declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
2325
2571
|
import { IPartialTheme } from 'office-ui-fabric-react';
|
|
2326
2572
|
import { Theme } from "libs/reach/util/common/src/user/Subscription";
|
|
2573
|
+
import * as wcag from 'wcag-contrast';
|
|
2327
2574
|
export const defaultThemeColors: Theme;
|
|
2328
2575
|
export const defaultPageBackgroundColor: string;
|
|
2329
2576
|
export const defaultLightColor = "#ffffff";
|
|
@@ -2420,6 +2667,12 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
|
2420
2667
|
}
|
|
2421
2668
|
export function getDarkAltColor(color: string): string;
|
|
2422
2669
|
export function getTextColor(bgColor: string): "#333333" | "#ffffff";
|
|
2670
|
+
export function shouldUseDarkForegroundColor(bgColor: string): boolean;
|
|
2671
|
+
export function getContrastInfo(backgroundColor: string, foregroundColor: string): {
|
|
2672
|
+
contrast: string;
|
|
2673
|
+
score: wcag.Score;
|
|
2674
|
+
isGood: boolean;
|
|
2675
|
+
};
|
|
2423
2676
|
}
|
|
2424
2677
|
declare module "libs/reach/util/common/src/theme/ThemeContext" {
|
|
2425
2678
|
import { FC, ReactNode } from 'react';
|
|
@@ -2440,19 +2693,6 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
2440
2693
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
2441
2694
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
2442
2695
|
}
|
|
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
2696
|
declare module "libs/reach/util/common/src/content/EventItem" {
|
|
2457
2697
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2458
2698
|
import { PollResult } from "libs/reach/util/common/src/content/BaseItem";
|
|
@@ -2610,10 +2850,11 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2610
2850
|
useExternalContent?: boolean;
|
|
2611
2851
|
isSearchMatch?: boolean;
|
|
2612
2852
|
topLevelFolderName?: string;
|
|
2853
|
+
uploadToken?: string;
|
|
2613
2854
|
}
|
|
2614
2855
|
export interface PageNavigationContext {
|
|
2615
2856
|
parent?: PageNavigationNode;
|
|
2616
|
-
siblings
|
|
2857
|
+
siblings?: PageNavigationNode[];
|
|
2617
2858
|
children?: PageNavigationNode[];
|
|
2618
2859
|
}
|
|
2619
2860
|
export enum PageType {
|
|
@@ -2715,7 +2956,17 @@ declare module "libs/reach/util/common/src/content/useClearUnreadItems" {
|
|
|
2715
2956
|
onStarted?: () => unknown;
|
|
2716
2957
|
onFinished?: () => unknown;
|
|
2717
2958
|
}
|
|
2718
|
-
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers): () => Promise<void>;
|
|
2959
|
+
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
2960
|
+
}
|
|
2961
|
+
declare module "libs/reach/util/common/src/content/useClearUnreadOnlyFilter" {
|
|
2962
|
+
export function useClearUnreadOnlyFilter(): {
|
|
2963
|
+
clearUnreadOnlyFilter: () => void;
|
|
2964
|
+
};
|
|
2965
|
+
}
|
|
2966
|
+
declare module "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler" {
|
|
2967
|
+
export function useUnreadItemsTogglerHandler(): {
|
|
2968
|
+
toggleUnreadItems: () => void;
|
|
2969
|
+
};
|
|
2719
2970
|
}
|
|
2720
2971
|
declare module "libs/reach/util/common/src/content/index" {
|
|
2721
2972
|
export * from "libs/reach/util/common/src/content/Attachment";
|
|
@@ -2740,6 +2991,8 @@ declare module "libs/reach/util/common/src/content/index" {
|
|
|
2740
2991
|
export * from "libs/reach/util/common/src/content/useFileApi";
|
|
2741
2992
|
export * from "libs/reach/util/common/src/content/content-keyword-utils";
|
|
2742
2993
|
export * from "libs/reach/util/common/src/content/useClearUnreadItems";
|
|
2994
|
+
export * from "libs/reach/util/common/src/content/useClearUnreadOnlyFilter";
|
|
2995
|
+
export * from "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler";
|
|
2743
2996
|
}
|
|
2744
2997
|
declare module "libs/reach/util/common/src/Variables" {
|
|
2745
2998
|
export const maxContentWidth = 985;
|
|
@@ -2840,6 +3093,7 @@ declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
|
2840
3093
|
}
|
|
2841
3094
|
declare module "libs/reach/util/common/src/notification/ToastNotificationHost" {
|
|
2842
3095
|
import { FC } from 'react';
|
|
3096
|
+
import 'react-toastify/dist/ReactToastify.min.css';
|
|
2843
3097
|
export const ToastNotificationHost: FC;
|
|
2844
3098
|
}
|
|
2845
3099
|
declare module "libs/reach/util/common/src/notification/index" {
|
|
@@ -2858,6 +3112,7 @@ declare module "libs/reach/util/common/src/keywords/SubscriptionContext" {
|
|
|
2858
3112
|
selectedKeywordGroups?: KeywordGroup[];
|
|
2859
3113
|
}
|
|
2860
3114
|
export const LazySubscriptionContext: import("react").Context<SubscriptionData & {
|
|
3115
|
+
getChannels: () => Promise<Channel[]>;
|
|
2861
3116
|
refreshSubscription: () => void;
|
|
2862
3117
|
}>;
|
|
2863
3118
|
export const EnforcedSubscriptionContext: import("react").Context<SubscriptionData & {
|
|
@@ -2903,69 +3158,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
|
2903
3158
|
}
|
|
2904
3159
|
export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
|
|
2905
3160
|
}
|
|
2906
|
-
declare module "libs/reach/util/common/src/Models" {
|
|
2907
|
-
import { BaseAttachment } from "libs/reach/util/common/src/content/Attachment";
|
|
2908
|
-
import { GraphQLAttachmentType } from "libs/reach/util/common/src/content/GraphQLAttachmentType";
|
|
2909
|
-
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2910
|
-
export interface Chat {
|
|
2911
|
-
id: string;
|
|
2912
|
-
members: Account[];
|
|
2913
|
-
memberIds: string[];
|
|
2914
|
-
groupName?: string;
|
|
2915
|
-
lastMessageInfo?: {
|
|
2916
|
-
received: string;
|
|
2917
|
-
senderId: string;
|
|
2918
|
-
content?: string;
|
|
2919
|
-
attachments: ChatAttachment[];
|
|
2920
|
-
deleteDate?: string;
|
|
2921
|
-
deleteState?: DeleteState;
|
|
2922
|
-
messageType?: ChatMessageType;
|
|
2923
|
-
};
|
|
2924
|
-
messages: ChatMessage[];
|
|
2925
|
-
hasNewMessages: boolean;
|
|
2926
|
-
fileAccessToken: string;
|
|
2927
|
-
}
|
|
2928
|
-
export enum DeleteState {
|
|
2929
|
-
NotDeleted = "NOT_DELETED",
|
|
2930
|
-
RecycleBin = "RECYCLE_BIN",
|
|
2931
|
-
Deleted = "DELETED"
|
|
2932
|
-
}
|
|
2933
|
-
export enum ChatMessageType {
|
|
2934
|
-
Default = "DEFAULT",
|
|
2935
|
-
GroupNameChange = "GROUP_NAME_CHANGE"
|
|
2936
|
-
}
|
|
2937
|
-
export interface ChatMessage {
|
|
2938
|
-
itemId: string;
|
|
2939
|
-
content: string;
|
|
2940
|
-
senderId?: string;
|
|
2941
|
-
chatId?: string;
|
|
2942
|
-
received?: string;
|
|
2943
|
-
attachments?: ChatAttachment[];
|
|
2944
|
-
attachmentContainerId?: string;
|
|
2945
|
-
fileAccessToken?: string;
|
|
2946
|
-
deleteDate?: string;
|
|
2947
|
-
deleteState?: DeleteState;
|
|
2948
|
-
modifiedDate?: string;
|
|
2949
|
-
chat?: Chat;
|
|
2950
|
-
messageType?: ChatMessageType;
|
|
2951
|
-
messageValues?: {
|
|
2952
|
-
groupName?: string;
|
|
2953
|
-
};
|
|
2954
|
-
}
|
|
2955
|
-
export interface ChatIsTypingInfo {
|
|
2956
|
-
sender: Account;
|
|
2957
|
-
chatId: string;
|
|
2958
|
-
sentOn: string;
|
|
2959
|
-
}
|
|
2960
|
-
export interface ChatView {
|
|
2961
|
-
chatId: string;
|
|
2962
|
-
timestamp: Date;
|
|
2963
|
-
isActive: boolean;
|
|
2964
|
-
}
|
|
2965
|
-
export interface ChatAttachment extends BaseAttachment {
|
|
2966
|
-
type: GraphQLAttachmentType;
|
|
2967
|
-
}
|
|
2968
|
-
}
|
|
2969
3161
|
declare module "libs/reach/util/common/src/PagingService" {
|
|
2970
3162
|
import { Observable } from 'rxjs';
|
|
2971
3163
|
export const onPageScroll: Observable<number>;
|
|
@@ -3069,13 +3261,13 @@ declare module "libs/reach/ui/common/src/EditorSettingsDialog" {
|
|
|
3069
3261
|
}>, import("styled-components").DefaultTheme, {}, never>;
|
|
3070
3262
|
}
|
|
3071
3263
|
declare module "libs/reach/ui/common/src/Tooltip" {
|
|
3072
|
-
|
|
3264
|
+
import { ITooltipHostProps } from 'office-ui-fabric-react';
|
|
3265
|
+
export interface TooltipProps extends ITooltipHostProps {
|
|
3073
3266
|
text?: string;
|
|
3074
3267
|
resourceKey?: string;
|
|
3075
3268
|
values?: {
|
|
3076
3269
|
[key: string]: string | number | boolean | Date;
|
|
3077
3270
|
};
|
|
3078
|
-
className?: string;
|
|
3079
3271
|
width?: number;
|
|
3080
3272
|
onClick?: () => unknown;
|
|
3081
3273
|
role?: string;
|
|
@@ -3146,12 +3338,14 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3146
3338
|
placeholderStringResourceKey?: string;
|
|
3147
3339
|
autoFocus?: boolean;
|
|
3148
3340
|
inputId?: string;
|
|
3341
|
+
inputAriaLabelResourceKey?: string;
|
|
3342
|
+
required?: boolean;
|
|
3149
3343
|
className?: string;
|
|
3150
3344
|
}
|
|
3151
3345
|
export const PeoplePicker: FC<Props>;
|
|
3152
3346
|
}
|
|
3153
3347
|
declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
3154
|
-
import { Account, AccountType, useCurrentUser, useNotificationContext, usePluginSettings,
|
|
3348
|
+
import { Account, AccountType, PluginProps, PluginNavigationNodeProps, useCurrentUser, useNotificationContext, usePluginSettings, usePluginDeviceStore, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useTheme, usePluginSubscriptionStore, usePluginUserStore } from "libs/reach/util/common/src/index";
|
|
3155
3349
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3156
3350
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3157
3351
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3164,8 +3358,12 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3164
3358
|
import { GutterToggle } from "libs/reach/ui/common/src/GutterToggle";
|
|
3165
3359
|
import { PeoplePicker } from "libs/reach/ui/common/src/PeoplePicker";
|
|
3166
3360
|
import { useAccountApi } from "libs/reach/util/common/src/index";
|
|
3167
|
-
export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings,
|
|
3168
|
-
|
|
3361
|
+
export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings,
|
|
3362
|
+
/**
|
|
3363
|
+
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3364
|
+
*/
|
|
3365
|
+
usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginUserStore, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, };
|
|
3366
|
+
export type { Account, PluginNavigationNodeProps, PluginProps };
|
|
3169
3367
|
}
|
|
3170
3368
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3171
3369
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3183,7 +3381,6 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3183
3381
|
}
|
|
3184
3382
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3185
3383
|
import { FC } from 'react';
|
|
3186
|
-
import 'react-toastify/dist/ReactToastify.min.css';
|
|
3187
3384
|
export const NotificationBar: FC;
|
|
3188
3385
|
}
|
|
3189
3386
|
declare module "libs/reach/ui/common/src/common/AttachedMediaDownloadLink" {
|
|
@@ -3228,7 +3425,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
|
3228
3425
|
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3229
3426
|
}
|
|
3230
3427
|
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3231
|
-
import { BaseSubscription, CurrentUser, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3428
|
+
import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3232
3429
|
import { IntlShape } from 'react-intl';
|
|
3233
3430
|
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3234
3431
|
export function isValidUrl(url: string): boolean;
|
|
@@ -3240,9 +3437,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
|
|
|
3240
3437
|
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3241
3438
|
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3242
3439
|
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:
|
|
3440
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3441
|
+
logoInfo: LogoInfo;
|
|
3442
|
+
subscriptionName: string;
|
|
3246
3443
|
};
|
|
3247
3444
|
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3248
3445
|
export function delay(delayInMs: number): Promise<unknown>;
|
|
@@ -3262,8 +3459,8 @@ declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
|
3262
3459
|
}
|
|
3263
3460
|
declare module "libs/reach/ui/common/src/common/Callout" {
|
|
3264
3461
|
import { FC } from 'react';
|
|
3265
|
-
import {
|
|
3266
|
-
export const Callout: FC<
|
|
3462
|
+
import { IFocusTrapCalloutProps } from 'office-ui-fabric-react';
|
|
3463
|
+
export const Callout: FC<IFocusTrapCalloutProps>;
|
|
3267
3464
|
}
|
|
3268
3465
|
declare module "libs/reach/ui/common/src/common/CommentInputTheme" {
|
|
3269
3466
|
export type CommentInputTheme = 'light' | 'dark';
|
|
@@ -3275,6 +3472,7 @@ declare module "libs/reach/ui/common/src/common/ConfirmDeleteDialog" {
|
|
|
3275
3472
|
titleResourceValues?: any;
|
|
3276
3473
|
infoResourceKey: string;
|
|
3277
3474
|
infoResourceValues?: any;
|
|
3475
|
+
inputAriaLabelResourceKey: string;
|
|
3278
3476
|
compareValue: string;
|
|
3279
3477
|
onConfirm: () => any;
|
|
3280
3478
|
onCancel: () => any;
|
|
@@ -3340,12 +3538,13 @@ declare module "libs/reach/ui/common/src/common/Dropdown" {
|
|
|
3340
3538
|
export const Dropdown: FC<IDropdownProps>;
|
|
3341
3539
|
}
|
|
3342
3540
|
declare module "libs/reach/ui/common/src/common/EmptyList" {
|
|
3541
|
+
import { FC } from 'react';
|
|
3343
3542
|
interface EmptyListProps {
|
|
3344
3543
|
icon?: string;
|
|
3345
3544
|
emptyMessageResources?: string[];
|
|
3346
3545
|
className?: string;
|
|
3347
3546
|
}
|
|
3348
|
-
export const EmptyList:
|
|
3547
|
+
export const EmptyList: FC<EmptyListProps>;
|
|
3349
3548
|
}
|
|
3350
3549
|
declare module "libs/reach/ui/common/src/common/EnumHelpers" {
|
|
3351
3550
|
export const hasFlag: (baseValue: any, flag: any) => boolean;
|
|
@@ -3496,18 +3695,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
|
|
|
3496
3695
|
date: string;
|
|
3497
3696
|
}>;
|
|
3498
3697
|
}
|
|
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
3698
|
declare module "libs/reach/ui/common/src/common/IconLabel" {
|
|
3512
3699
|
import { FC, ReactNode } from 'react';
|
|
3513
3700
|
export const IconLabel: FC<{
|
|
@@ -3546,8 +3733,11 @@ declare module "libs/reach/ui/common/src/common/KeywordTitle" {
|
|
|
3546
3733
|
groupName?: string;
|
|
3547
3734
|
groupId?: string;
|
|
3548
3735
|
keywordName?: string;
|
|
3736
|
+
keywordId?: string;
|
|
3549
3737
|
language?: string;
|
|
3550
3738
|
underlined?: boolean;
|
|
3739
|
+
onClick?: (keyword: string) => unknown;
|
|
3740
|
+
tabIndex?: number;
|
|
3551
3741
|
}
|
|
3552
3742
|
export const KeywordTitle: FC<Props>;
|
|
3553
3743
|
export const GridKeywordTitle: FC<{
|
|
@@ -3562,7 +3752,7 @@ declare module "libs/reach/ui/common/src/common/Logos" {
|
|
|
3562
3752
|
export { ReactComponent as WhiteDefaultLogoWithText } from './logos/logo-white-with-name.svg';
|
|
3563
3753
|
export { ReactComponent as LogoPurpleXL } from './logos/logo-purple-xl.svg';
|
|
3564
3754
|
export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
|
|
3565
|
-
export { ReactComponent as
|
|
3755
|
+
export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
|
|
3566
3756
|
}
|
|
3567
3757
|
declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
|
|
3568
3758
|
import { FC } from 'react';
|
|
@@ -3622,11 +3812,24 @@ declare module "libs/reach/ui/common/src/common/Prompt" {
|
|
|
3622
3812
|
}
|
|
3623
3813
|
export const Prompt: FC<Props>;
|
|
3624
3814
|
}
|
|
3815
|
+
declare module "libs/reach/ui/common/src/common/buttons/IconHeaderButton" {
|
|
3816
|
+
import { FC } from 'react';
|
|
3817
|
+
export const IconHeaderButton: FC<{
|
|
3818
|
+
icon: string;
|
|
3819
|
+
isActive?: boolean;
|
|
3820
|
+
disabled?: boolean;
|
|
3821
|
+
tooltipResourceKey?: string;
|
|
3822
|
+
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3823
|
+
link?: string;
|
|
3824
|
+
className?: string;
|
|
3825
|
+
}>;
|
|
3826
|
+
}
|
|
3625
3827
|
declare module "libs/reach/ui/common/src/common/toolbar/ToolbarIconButtonWithToolTip" {
|
|
3626
3828
|
import { FC } from 'react';
|
|
3627
3829
|
export interface ToolbarIconButtonProps {
|
|
3628
3830
|
iconName: string;
|
|
3629
|
-
|
|
3831
|
+
ariaLabel?: string;
|
|
3832
|
+
ariaLabelResourceKey?: string;
|
|
3630
3833
|
onClick?: () => unknown;
|
|
3631
3834
|
to?: string;
|
|
3632
3835
|
target?: string;
|
|
@@ -3655,6 +3858,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
|
|
|
3655
3858
|
onSearchTextChange?: (text: string) => void;
|
|
3656
3859
|
onExecuteSearch?: (text: string) => void;
|
|
3657
3860
|
searchText?: string;
|
|
3861
|
+
showSearchBoxInput?: boolean;
|
|
3658
3862
|
}
|
|
3659
3863
|
export const SearchBox: FC<SearchBoxProps & {
|
|
3660
3864
|
onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
|
|
@@ -3733,8 +3937,7 @@ declare module "libs/reach/ui/common/src/common/buttons/ChoiceGroup" {
|
|
|
3733
3937
|
}
|
|
3734
3938
|
declare module "libs/reach/ui/common/src/common/buttons/CommentActionMenu" {
|
|
3735
3939
|
import { FC } from 'react';
|
|
3736
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
3737
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
3940
|
+
import { Account, Comment } from "libs/reach/util/common/src/index";
|
|
3738
3941
|
export const CommentActionMenu: FC<{
|
|
3739
3942
|
comment: Comment;
|
|
3740
3943
|
showEdit: boolean;
|
|
@@ -3780,6 +3983,21 @@ declare module "libs/reach/ui/common/src/common/buttons/TopActionButton" {
|
|
|
3780
3983
|
}
|
|
3781
3984
|
export const TopActionButton: import("styled-components").StyledComponent<import("react").FC<Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
3782
3985
|
}
|
|
3986
|
+
declare module "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler" {
|
|
3987
|
+
import { FC } from 'react';
|
|
3988
|
+
export const UnreadItemsToggler: FC<{
|
|
3989
|
+
disabled: boolean;
|
|
3990
|
+
className?: string;
|
|
3991
|
+
}>;
|
|
3992
|
+
}
|
|
3993
|
+
declare module "libs/reach/ui/common/src/common/buttons/HeaderMenuButton" {
|
|
3994
|
+
import { FC } from 'react';
|
|
3995
|
+
import { IContextualMenuItem } from 'office-ui-fabric-react';
|
|
3996
|
+
export const HeaderMenuButton: FC<{
|
|
3997
|
+
items: IContextualMenuItem[];
|
|
3998
|
+
className?: string;
|
|
3999
|
+
}>;
|
|
4000
|
+
}
|
|
3783
4001
|
declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
|
|
3784
4002
|
import { FC } from 'react';
|
|
3785
4003
|
import { Channel } from "libs/reach/util/common/src/index";
|
|
@@ -3830,6 +4048,7 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelList" {
|
|
|
3830
4048
|
language: string;
|
|
3831
4049
|
channelStyleDefinition?: ChannelStyleDefinition;
|
|
3832
4050
|
visibleChannelsCount?: number;
|
|
4051
|
+
onChannelClick?: (channel: string) => unknown;
|
|
3833
4052
|
className?: string;
|
|
3834
4053
|
}>;
|
|
3835
4054
|
}
|
|
@@ -3848,6 +4067,8 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelSelector" {
|
|
|
3848
4067
|
showSelectionToggle?: boolean;
|
|
3849
4068
|
placeholder?: string;
|
|
3850
4069
|
inlineControls?: boolean;
|
|
4070
|
+
required?: boolean;
|
|
4071
|
+
id?: string;
|
|
3851
4072
|
}
|
|
3852
4073
|
export const ChannelSelector: FC<Props>;
|
|
3853
4074
|
}
|
|
@@ -3859,6 +4080,7 @@ declare module "libs/reach/ui/common/src/common/channels/ClickableChannelTitles"
|
|
|
3859
4080
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
3860
4081
|
language?: string;
|
|
3861
4082
|
channelBackgroundColor?: string;
|
|
4083
|
+
onClick?: (channel: string) => unknown;
|
|
3862
4084
|
className?: string;
|
|
3863
4085
|
}>;
|
|
3864
4086
|
}
|
|
@@ -4104,7 +4326,7 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
|
|
|
4104
4326
|
declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
|
|
4105
4327
|
import { DependencyList } from 'react';
|
|
4106
4328
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4107
|
-
export function useItemLoaderWithPreFetch(pageSize: number, handler: (pageSize: number,
|
|
4329
|
+
export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: (pageSize: number, token?: TTokenType) => Promise<PaginatedList<TItem>>, deps?: DependencyList): {
|
|
4108
4330
|
items: any[];
|
|
4109
4331
|
isInitialLoading: boolean;
|
|
4110
4332
|
isLoadingNextPage: boolean;
|
|
@@ -4117,6 +4339,21 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
|
|
|
4117
4339
|
isEmpty: boolean;
|
|
4118
4340
|
};
|
|
4119
4341
|
}
|
|
4342
|
+
declare module "libs/reach/ui/common/src/common/paging/PaginationStatus" {
|
|
4343
|
+
import { FC } from 'react';
|
|
4344
|
+
export const PaginationStatus: FC<{
|
|
4345
|
+
allLoadedResourceId: string;
|
|
4346
|
+
showAllLoaded: boolean;
|
|
4347
|
+
showSpinner?: boolean;
|
|
4348
|
+
showPlaceholder?: boolean;
|
|
4349
|
+
}>;
|
|
4350
|
+
}
|
|
4351
|
+
declare module "libs/reach/ui/common/src/common/paging/usePageScrollPagination" {
|
|
4352
|
+
import { DependencyList } from 'react';
|
|
4353
|
+
export function usePageScrollPagination(loadMoreItems: () => Promise<void>, allItemsLoaded?: boolean, additionalDeps?: DependencyList): {
|
|
4354
|
+
isLoadingMore: boolean;
|
|
4355
|
+
};
|
|
4356
|
+
}
|
|
4120
4357
|
declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
|
|
4121
4358
|
import { FC, ReactNode } from 'react';
|
|
4122
4359
|
export const PullToRefreshContext: import("react").Context<{
|
|
@@ -4168,6 +4405,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarMarkAllAsReadButt
|
|
|
4168
4405
|
onMarkAsReadStarted?: () => unknown;
|
|
4169
4406
|
onMarkAsReadFinished?: () => unknown;
|
|
4170
4407
|
disabled?: boolean;
|
|
4408
|
+
unreadCount?: number;
|
|
4171
4409
|
}
|
|
4172
4410
|
export const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
4173
4411
|
export const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
@@ -4351,7 +4589,6 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4351
4589
|
export * from "libs/reach/ui/common/src/common/FloatingActionButton";
|
|
4352
4590
|
export * from "libs/reach/ui/common/src/common/FormattedMessageWithStyle";
|
|
4353
4591
|
export * from "libs/reach/ui/common/src/common/GroupedByDateTitles";
|
|
4354
|
-
export * from "libs/reach/ui/common/src/common/IconHeaderButton";
|
|
4355
4592
|
export * from "libs/reach/ui/common/src/common/IconLabel";
|
|
4356
4593
|
export * from "libs/reach/ui/common/src/common/ItemStatisticsCache";
|
|
4357
4594
|
export * from "libs/reach/ui/common/src/common/KeywordTitle";
|
|
@@ -4382,6 +4619,9 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4382
4619
|
export * from "libs/reach/ui/common/src/common/buttons/DeleteAttachmentButton";
|
|
4383
4620
|
export * from "libs/reach/ui/common/src/common/buttons/ToggleAllButtons";
|
|
4384
4621
|
export * from "libs/reach/ui/common/src/common/buttons/TopActionButton";
|
|
4622
|
+
export * from "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler";
|
|
4623
|
+
export * from "libs/reach/ui/common/src/common/buttons/IconHeaderButton";
|
|
4624
|
+
export * from "libs/reach/ui/common/src/common/buttons/HeaderMenuButton";
|
|
4385
4625
|
export * from "libs/reach/ui/common/src/common/channels/ChannelItem";
|
|
4386
4626
|
export * from "libs/reach/ui/common/src/common/channels/ChannelList";
|
|
4387
4627
|
export * from "libs/reach/ui/common/src/common/channels/ChannelSelector";
|
|
@@ -4410,6 +4650,8 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4410
4650
|
export * from "libs/reach/ui/common/src/common/paging/HorizontalPager";
|
|
4411
4651
|
export * from "libs/reach/ui/common/src/common/paging/VerticalPager";
|
|
4412
4652
|
export * from "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch";
|
|
4653
|
+
export * from "libs/reach/ui/common/src/common/paging/PaginationStatus";
|
|
4654
|
+
export * from "libs/reach/ui/common/src/common/paging/usePageScrollPagination";
|
|
4413
4655
|
export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
|
|
4414
4656
|
export * from "libs/reach/ui/common/src/common/refreshScripts";
|
|
4415
4657
|
export * from "libs/reach/ui/common/src/common/toolbar/Toolbar";
|
|
@@ -4490,10 +4732,10 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4490
4732
|
export function useEscapeOnClose(onClose: Function): void;
|
|
4491
4733
|
}
|
|
4492
4734
|
declare module "apps/reach-app/src/app/chrome/Header" {
|
|
4493
|
-
import { FC, ReactNode } from 'react';
|
|
4735
|
+
import { FC, Dispatch, SetStateAction, ReactNode, HTMLProps } from 'react';
|
|
4494
4736
|
import './Header.scss';
|
|
4495
4737
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
4496
|
-
interface Props extends
|
|
4738
|
+
interface Props extends HTMLProps<HTMLElement>, SearchBoxProps {
|
|
4497
4739
|
iconLeft?: string;
|
|
4498
4740
|
onToggleLeft?: () => void;
|
|
4499
4741
|
onToggleRight?: () => void;
|
|
@@ -4509,6 +4751,14 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
4509
4751
|
disableGoBack?: boolean;
|
|
4510
4752
|
route?: string;
|
|
4511
4753
|
}
|
|
4754
|
+
export interface HeaderContextType {
|
|
4755
|
+
setIsSearchInputFieldVisible: Dispatch<SetStateAction<boolean>>;
|
|
4756
|
+
isSearchInputFieldVisible: boolean;
|
|
4757
|
+
}
|
|
4758
|
+
export const HeaderContext: import("react").Context<HeaderContextType>;
|
|
4759
|
+
export const HeaderContextProvider: FC<{
|
|
4760
|
+
children: ReactNode;
|
|
4761
|
+
}>;
|
|
4512
4762
|
export const Header: FC<Props>;
|
|
4513
4763
|
}
|
|
4514
4764
|
declare module "apps/reach-app/src/app/chrome/FloatingPageActions" {
|
|
@@ -4623,17 +4873,19 @@ declare module "apps/reach-app/src/app/admin/AddButton" {
|
|
|
4623
4873
|
icon?: string;
|
|
4624
4874
|
tooltipResourceKey?: string;
|
|
4625
4875
|
labelResourceKey?: string;
|
|
4876
|
+
domIdentifier?: string;
|
|
4626
4877
|
className?: string;
|
|
4627
4878
|
}
|
|
4628
4879
|
export const AddButton: FC<AddButtonProps>;
|
|
4629
4880
|
}
|
|
4630
4881
|
declare module "apps/reach-app/src/app/admin/common" {
|
|
4631
|
-
|
|
4632
|
-
|
|
4882
|
+
import { FC, ReactNode } from 'react';
|
|
4883
|
+
export const AdminPage: FC<{
|
|
4884
|
+
children: ReactNode;
|
|
4633
4885
|
className?: string;
|
|
4634
4886
|
domIdentifier?: string;
|
|
4635
4887
|
}>;
|
|
4636
|
-
export const
|
|
4888
|
+
export const AdminPageTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
|
|
4637
4889
|
}
|
|
4638
4890
|
declare module "apps/reach-app/src/app/admin/keywords/useKeywordsApi" {
|
|
4639
4891
|
import { KeywordGroup } from "libs/reach/util/common/src/index";
|
|
@@ -4665,7 +4917,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
|
|
|
4665
4917
|
}
|
|
4666
4918
|
declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
4667
4919
|
import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
|
|
4668
|
-
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions } from "libs/reach/util/common/src/index";
|
|
4920
|
+
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
|
|
4669
4921
|
import { Account } from "libs/reach/util/common/src/index";
|
|
4670
4922
|
import { Language } from "libs/reach/util/common/src/index";
|
|
4671
4923
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -4680,7 +4932,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
4680
4932
|
setSubscriptionName: (name: string) => Promise<string>;
|
|
4681
4933
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
4682
4934
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
4683
|
-
updateLogo: (file?: File) => Promise<void>;
|
|
4935
|
+
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
4684
4936
|
updateFavicon: (file?: File) => Promise<void>;
|
|
4685
4937
|
updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
|
|
4686
4938
|
linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
|
|
@@ -4720,6 +4972,30 @@ declare module "apps/reach-app/src/app/admin/themes/ColorEditor" {
|
|
|
4720
4972
|
className?: string;
|
|
4721
4973
|
}>;
|
|
4722
4974
|
}
|
|
4975
|
+
declare module "apps/reach-app/src/app/admin/themes/ContrastInfo" {
|
|
4976
|
+
import { FC } from 'react';
|
|
4977
|
+
export const ContrastInfo: FC<{
|
|
4978
|
+
foregroundColor: string;
|
|
4979
|
+
backgroundColor: string;
|
|
4980
|
+
className?: string;
|
|
4981
|
+
}>;
|
|
4982
|
+
}
|
|
4983
|
+
declare module "apps/reach-app/src/app/admin/themes/ColorButton" {
|
|
4984
|
+
import { FC } from 'react';
|
|
4985
|
+
export const ColorButton: FC<{
|
|
4986
|
+
onClick: () => void;
|
|
4987
|
+
text: string;
|
|
4988
|
+
backgroundColor: string;
|
|
4989
|
+
color: string;
|
|
4990
|
+
}>;
|
|
4991
|
+
}
|
|
4992
|
+
declare module "apps/reach-app/src/app/admin/themes/ThemeContrastPreview" {
|
|
4993
|
+
import { FC } from 'react';
|
|
4994
|
+
export const ThemeContrastPreview: FC<{
|
|
4995
|
+
backgroundColor: string;
|
|
4996
|
+
foregroundColor: string;
|
|
4997
|
+
}>;
|
|
4998
|
+
}
|
|
4723
4999
|
declare module "apps/reach-app/src/app/admin/themes/Themes" {
|
|
4724
5000
|
import { FC } from 'react';
|
|
4725
5001
|
export const Themes: FC;
|
|
@@ -4729,6 +5005,42 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
|
|
|
4729
5005
|
import './ApplicationName.scss';
|
|
4730
5006
|
export const ApplicationName: FC;
|
|
4731
5007
|
}
|
|
5008
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
|
|
5009
|
+
import { FC } from 'react';
|
|
5010
|
+
export const AppBarLogoPreview: FC<{
|
|
5011
|
+
src: string;
|
|
5012
|
+
subscriptionName: string;
|
|
5013
|
+
}>;
|
|
5014
|
+
export const SidePanelLogoPreview: FC<{
|
|
5015
|
+
src: string;
|
|
5016
|
+
subscriptionName: string;
|
|
5017
|
+
}>;
|
|
5018
|
+
export const EmailLogoPreview: FC<{
|
|
5019
|
+
src: string;
|
|
5020
|
+
subscriptionName: string;
|
|
5021
|
+
}>;
|
|
5022
|
+
export const SignInLogoPreview: FC<{
|
|
5023
|
+
src: string;
|
|
5024
|
+
}>;
|
|
5025
|
+
}
|
|
5026
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
|
|
5027
|
+
import { FC } from 'react';
|
|
5028
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5029
|
+
export const LogoPreviewDialog: FC<{
|
|
5030
|
+
canSave: boolean;
|
|
5031
|
+
onDismiss: () => unknown;
|
|
5032
|
+
onSave: (logoSize: LogoSize) => unknown;
|
|
5033
|
+
source: string;
|
|
5034
|
+
logoType: LogoSize;
|
|
5035
|
+
}>;
|
|
5036
|
+
}
|
|
5037
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
|
|
5038
|
+
import { FC } from 'react';
|
|
5039
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5040
|
+
export const LogoEditor: FC<{
|
|
5041
|
+
logoType: LogoSize;
|
|
5042
|
+
}>;
|
|
5043
|
+
}
|
|
4732
5044
|
declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
|
|
4733
5045
|
import { FC } from 'react';
|
|
4734
5046
|
export const ApplicationLogo: FC;
|
|
@@ -5490,6 +5802,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
|
|
|
5490
5802
|
}
|
|
5491
5803
|
export const GoToAdminConsentButton: React.FC<Props>;
|
|
5492
5804
|
}
|
|
5805
|
+
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
5806
|
+
import { IntlShape } from 'react-intl';
|
|
5807
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
5808
|
+
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
5809
|
+
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
5810
|
+
export const systemAccountGroupIds: {
|
|
5811
|
+
everyone: string;
|
|
5812
|
+
directoryUsers: string;
|
|
5813
|
+
nonDirectoryUsers: string;
|
|
5814
|
+
allGroups: string[];
|
|
5815
|
+
};
|
|
5816
|
+
export function getDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5817
|
+
export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5818
|
+
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
5819
|
+
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
5820
|
+
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
5821
|
+
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
5822
|
+
export const isAdGroup: (account: Account) => boolean;
|
|
5823
|
+
export const isUser: (account: Account) => boolean;
|
|
5824
|
+
}
|
|
5493
5825
|
declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
|
|
5494
5826
|
import { FC } from 'react';
|
|
5495
5827
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -5855,23 +6187,19 @@ declare module "apps/reach-app/src/app/chrome/BaseSidebarItem" {
|
|
|
5855
6187
|
}
|
|
5856
6188
|
declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
5857
6189
|
import { FC } from 'react';
|
|
5858
|
-
|
|
5859
|
-
backgroundColor: string;
|
|
5860
|
-
color: string;
|
|
5861
|
-
}
|
|
6190
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
5862
6191
|
export const SidebarItemSection: FC<{
|
|
5863
|
-
styleDefinition?:
|
|
6192
|
+
styleDefinition?: ColorStyleDefinition;
|
|
5864
6193
|
}>;
|
|
5865
6194
|
}
|
|
5866
6195
|
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
5867
|
-
import
|
|
6196
|
+
import { FC, ReactNode } from 'react';
|
|
6197
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
5868
6198
|
import './SidebarItem.scss';
|
|
5869
|
-
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
5870
6199
|
import { LocationDescriptor } from 'history';
|
|
5871
|
-
import {
|
|
5872
|
-
import { ReactNode } from 'react';
|
|
6200
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
5873
6201
|
interface CommonSidebarItemProps {
|
|
5874
|
-
title?:
|
|
6202
|
+
title?: string | JSX.Element;
|
|
5875
6203
|
titleResource?: string;
|
|
5876
6204
|
icon?: ReactNode;
|
|
5877
6205
|
iconName?: string;
|
|
@@ -5883,14 +6211,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5883
6211
|
reverse?: boolean;
|
|
5884
6212
|
notHighlightable?: boolean;
|
|
5885
6213
|
onClick?: () => void;
|
|
5886
|
-
children?: any;
|
|
5887
6214
|
className?: string;
|
|
5888
6215
|
isActive?: boolean;
|
|
5889
6216
|
activeClassName?: string;
|
|
5890
6217
|
readOnly?: boolean;
|
|
5891
6218
|
submenu?: JSX.Element;
|
|
5892
6219
|
submenuClassName?: string;
|
|
5893
|
-
submenuStyleDefinition?:
|
|
6220
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
5894
6221
|
badgeInfo?: number | boolean;
|
|
5895
6222
|
domIdentifier?: string;
|
|
5896
6223
|
}
|
|
@@ -5902,13 +6229,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5902
6229
|
secondaryIconRoute?: LocationDescriptor;
|
|
5903
6230
|
isHoverable?: boolean;
|
|
5904
6231
|
}
|
|
5905
|
-
export const SidebarItem:
|
|
6232
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
5906
6233
|
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
5907
|
-
route:
|
|
6234
|
+
route: LocationDescriptor;
|
|
5908
6235
|
exact?: boolean;
|
|
5909
6236
|
linkClassName?: string;
|
|
5910
6237
|
}
|
|
5911
|
-
export const NavLinkSidebarItem:
|
|
6238
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
5912
6239
|
}
|
|
5913
6240
|
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
5914
6241
|
import { WrappedComponentProps } from 'react-intl';
|
|
@@ -6001,24 +6328,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
|
6001
6328
|
import { FC } from 'react';
|
|
6002
6329
|
export const GroupListPage: FC;
|
|
6003
6330
|
}
|
|
6004
|
-
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
6005
|
-
import { IntlShape } from 'react-intl';
|
|
6006
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
6007
|
-
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
6008
|
-
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
6009
|
-
export const systemAccountGroupIds: {
|
|
6010
|
-
everyone: string;
|
|
6011
|
-
directoryUsers: string;
|
|
6012
|
-
nonDirectoryUsers: string;
|
|
6013
|
-
allGroups: string[];
|
|
6014
|
-
};
|
|
6015
|
-
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
6016
|
-
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
6017
|
-
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
6018
|
-
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
6019
|
-
export const isAdGroup: (account: Account) => boolean;
|
|
6020
|
-
export const isUser: (account: Account) => boolean;
|
|
6021
|
-
}
|
|
6022
6331
|
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
6023
6332
|
import { FC } from 'react';
|
|
6024
6333
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -6197,7 +6506,6 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
|
6197
6506
|
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
6198
6507
|
import { ReactNode } from 'react';
|
|
6199
6508
|
import { Account } from "libs/reach/util/common/src/index";
|
|
6200
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
6201
6509
|
export interface UserSuggestion {
|
|
6202
6510
|
id: string;
|
|
6203
6511
|
upn: string;
|
|
@@ -6217,13 +6525,18 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
|
6217
6525
|
onCtrlEnter?: () => unknown;
|
|
6218
6526
|
onChange?: (value: string) => void;
|
|
6219
6527
|
onFocus?: () => void;
|
|
6220
|
-
|
|
6528
|
+
additionalInputControl?: ReactNode;
|
|
6529
|
+
buttons?: {
|
|
6530
|
+
leftSide?: ReactNode;
|
|
6531
|
+
rightSide?: ReactNode;
|
|
6532
|
+
};
|
|
6221
6533
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6222
|
-
inputTheme?: CommentInputTheme;
|
|
6223
6534
|
placeHolderStringResourceKey?: string;
|
|
6224
6535
|
placeHolderStringResourceValues?: {
|
|
6225
6536
|
[key: string]: string | number | boolean | Date;
|
|
6226
6537
|
};
|
|
6538
|
+
disableBoxShadow?: boolean;
|
|
6539
|
+
ariaLabel?: string;
|
|
6227
6540
|
}
|
|
6228
6541
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6229
6542
|
}
|
|
@@ -6237,18 +6550,6 @@ declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
|
6237
6550
|
isLarge: boolean;
|
|
6238
6551
|
}>;
|
|
6239
6552
|
}
|
|
6240
|
-
declare module "libs/reach/feature/content/src/comments/KeywordsPicker" {
|
|
6241
|
-
import { FC } from 'react';
|
|
6242
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6243
|
-
export const KeywordsPicker: FC<{
|
|
6244
|
-
defaultKeywords?: {
|
|
6245
|
-
[key: string]: Keyword[];
|
|
6246
|
-
};
|
|
6247
|
-
availableKeywords?: Keyword[];
|
|
6248
|
-
mandatoryKeywords?: Keyword[];
|
|
6249
|
-
onChangeKeywords: (keywords: Keyword[]) => void;
|
|
6250
|
-
}>;
|
|
6251
|
-
}
|
|
6252
6553
|
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
6253
6554
|
import { VideoSource } from "libs/reach/util/common/src/index";
|
|
6254
6555
|
export interface KalturaProperties {
|
|
@@ -6263,6 +6564,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6263
6564
|
private static vimeoRegex;
|
|
6264
6565
|
private static microsoftStreamRegex;
|
|
6265
6566
|
private static vimeoDirectLinkRegex;
|
|
6567
|
+
private static vimeoRedirectLinkRegex;
|
|
6266
6568
|
private static kalturaRegex;
|
|
6267
6569
|
readonly source: VideoSource | null;
|
|
6268
6570
|
readonly id: string | null;
|
|
@@ -6270,9 +6572,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6270
6572
|
readonly videoProperties: any;
|
|
6271
6573
|
readonly thumbnailUrl: string;
|
|
6272
6574
|
constructor(url: string);
|
|
6273
|
-
isValid(): boolean;
|
|
6575
|
+
isValid(features?: any): boolean;
|
|
6274
6576
|
}
|
|
6577
|
+
export function getVideoSources(features: any): any[];
|
|
6275
6578
|
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6579
|
+
export function getAllVideoSources(features: any): any[];
|
|
6276
6580
|
}
|
|
6277
6581
|
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6278
6582
|
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
@@ -6300,9 +6604,9 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
|
6300
6604
|
}
|
|
6301
6605
|
}
|
|
6302
6606
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
6303
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6607
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6304
6608
|
export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
|
|
6305
|
-
keywords?:
|
|
6609
|
+
keywords?: FilterWithLogicalOperator;
|
|
6306
6610
|
}
|
|
6307
6611
|
}
|
|
6308
6612
|
declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
|
|
@@ -6327,6 +6631,14 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6327
6631
|
export interface IndexableFilterDefinition {
|
|
6328
6632
|
[key: string]: any;
|
|
6329
6633
|
}
|
|
6634
|
+
export interface FilterWithLogicalOperator {
|
|
6635
|
+
items?: string[];
|
|
6636
|
+
operator?: LogicalOperator;
|
|
6637
|
+
}
|
|
6638
|
+
export enum LogicalOperator {
|
|
6639
|
+
Or = "or",
|
|
6640
|
+
And = "and"
|
|
6641
|
+
}
|
|
6330
6642
|
}
|
|
6331
6643
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6332
6644
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
@@ -6349,12 +6661,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
|
|
|
6349
6661
|
contacts?: string[];
|
|
6350
6662
|
}
|
|
6351
6663
|
}
|
|
6664
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6665
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6666
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6667
|
+
channels?: FilterWithLogicalOperator;
|
|
6668
|
+
}
|
|
6669
|
+
}
|
|
6352
6670
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6353
6671
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6354
6672
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6355
6673
|
import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6356
6674
|
import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6357
|
-
|
|
6675
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6676
|
+
export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
|
|
6358
6677
|
excludePastEvents?: boolean;
|
|
6359
6678
|
pastEventsOnly?: boolean;
|
|
6360
6679
|
}
|
|
@@ -6365,26 +6684,19 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6365
6684
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6366
6685
|
export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6367
6686
|
}
|
|
6368
|
-
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6369
|
-
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6370
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6371
|
-
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6372
|
-
export function useEventsApi(): {
|
|
6373
|
-
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6374
|
-
getEvent: (id: string) => Promise<EventItem>;
|
|
6375
|
-
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6376
|
-
};
|
|
6377
|
-
}
|
|
6378
6687
|
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6379
6688
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6380
6689
|
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6381
6690
|
author?: string;
|
|
6382
6691
|
}
|
|
6383
6692
|
}
|
|
6384
|
-
declare module "libs/reach/feature/content/src/filter/
|
|
6693
|
+
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6385
6694
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6386
|
-
export interface
|
|
6387
|
-
|
|
6695
|
+
export interface FilteringProps {
|
|
6696
|
+
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6697
|
+
onShowFilterPanel?: () => unknown;
|
|
6698
|
+
onToggleFilterSidebar?: () => unknown;
|
|
6699
|
+
isFilterActive?: boolean;
|
|
6388
6700
|
}
|
|
6389
6701
|
}
|
|
6390
6702
|
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
@@ -6405,6 +6717,95 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6405
6717
|
unreadOnly?: boolean;
|
|
6406
6718
|
}
|
|
6407
6719
|
}
|
|
6720
|
+
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6721
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6722
|
+
export enum ItemType {
|
|
6723
|
+
None = 0,
|
|
6724
|
+
News = 1,
|
|
6725
|
+
Post = 2,
|
|
6726
|
+
Page = 4,
|
|
6727
|
+
Event = 8
|
|
6728
|
+
}
|
|
6729
|
+
export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
|
|
6730
|
+
itemType?: ItemType;
|
|
6731
|
+
}
|
|
6732
|
+
}
|
|
6733
|
+
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
6734
|
+
import { FC } from 'react';
|
|
6735
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6736
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6737
|
+
export interface InjectedFilterProps {
|
|
6738
|
+
filter: IndexableFilterDefinition;
|
|
6739
|
+
hasFilter: boolean;
|
|
6740
|
+
isSearchActive: boolean;
|
|
6741
|
+
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6742
|
+
onSearchChange: (text: string) => void;
|
|
6743
|
+
onClearFilter: () => void;
|
|
6744
|
+
}
|
|
6745
|
+
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
6746
|
+
filter: Partial<IndexableFilterDefinition>;
|
|
6747
|
+
hasFilter: boolean;
|
|
6748
|
+
isSearchActive: boolean;
|
|
6749
|
+
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
6750
|
+
onSearchChange: (search: string) => void;
|
|
6751
|
+
onClearFilter: () => void;
|
|
6752
|
+
};
|
|
6753
|
+
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
6754
|
+
export const FilterContextProvider: FC<{
|
|
6755
|
+
addFilters?: (locationParams: {
|
|
6756
|
+
[paramName: string]: any;
|
|
6757
|
+
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
6758
|
+
additionalExcludedFilterProperties?: string[];
|
|
6759
|
+
onClearQueryString?: (prev: any, next: any) => any;
|
|
6760
|
+
}>;
|
|
6761
|
+
export interface FilterVisibilityState {
|
|
6762
|
+
showFilterAsPanel?: boolean;
|
|
6763
|
+
showFilterSidebar?: boolean;
|
|
6764
|
+
}
|
|
6765
|
+
}
|
|
6766
|
+
declare module "libs/reach/feature/content/src/filter/index" {
|
|
6767
|
+
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6768
|
+
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6769
|
+
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6770
|
+
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6771
|
+
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6772
|
+
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6773
|
+
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6774
|
+
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
6775
|
+
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6776
|
+
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6777
|
+
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
6778
|
+
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6779
|
+
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6780
|
+
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6781
|
+
export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
|
|
6782
|
+
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
6783
|
+
export * from "libs/reach/feature/content/src/filter/utils";
|
|
6784
|
+
}
|
|
6785
|
+
declare module "libs/reach/feature/content/src/filter/utils" {
|
|
6786
|
+
import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
6787
|
+
export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
|
|
6788
|
+
channels?: undefined;
|
|
6789
|
+
} | {
|
|
6790
|
+
channels: string;
|
|
6791
|
+
};
|
|
6792
|
+
export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
|
|
6793
|
+
keywords?: undefined;
|
|
6794
|
+
} | {
|
|
6795
|
+
keywords: string;
|
|
6796
|
+
};
|
|
6797
|
+
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6798
|
+
}
|
|
6799
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6800
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6801
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6802
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6803
|
+
export function useEventsApi(): {
|
|
6804
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6805
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
6806
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6807
|
+
};
|
|
6808
|
+
}
|
|
6408
6809
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6409
6810
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6410
6811
|
import { Observable } from 'rxjs';
|
|
@@ -6494,6 +6895,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6494
6895
|
import { Account, BaseItem, CurrentUser, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
6495
6896
|
import { Comment, ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
6496
6897
|
import { ItemStatistics } from "libs/reach/util/common/src/index";
|
|
6898
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6497
6899
|
export interface Post extends BaseItem, ItemWithAttachments {
|
|
6498
6900
|
id: string;
|
|
6499
6901
|
comments?: PaginatedList<Comment>;
|
|
@@ -6516,6 +6918,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6516
6918
|
token?: string;
|
|
6517
6919
|
pageSize?: string;
|
|
6518
6920
|
search?: string;
|
|
6921
|
+
keywords?: FilterWithLogicalOperator;
|
|
6519
6922
|
}
|
|
6520
6923
|
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
6521
6924
|
export function getPostsBaseRoute(post: Post, user: CurrentUser): string;
|
|
@@ -6548,7 +6951,6 @@ declare module "libs/reach/feature/content/src/common/useEmbeddedObjectValidator
|
|
|
6548
6951
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
6549
6952
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
6550
6953
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
6551
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6552
6954
|
export interface ClientAttachment extends Attachment {
|
|
6553
6955
|
file?: File;
|
|
6554
6956
|
}
|
|
@@ -6562,14 +6964,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6562
6964
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6563
6965
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6564
6966
|
placeHolderStringResourceKey?: string;
|
|
6565
|
-
allowKeywords?: boolean;
|
|
6566
|
-
defaultKeywords?: {
|
|
6567
|
-
[key: string]: Keyword[];
|
|
6568
|
-
};
|
|
6569
|
-
availableKeywords?: Keyword[];
|
|
6570
|
-
mandatoryKeywords?: Keyword[];
|
|
6571
|
-
showKeywordsPicker?: boolean;
|
|
6572
|
-
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
6573
6967
|
disableAddGif?: boolean;
|
|
6574
6968
|
disableAddFiles?: boolean;
|
|
6575
6969
|
};
|
|
@@ -6582,14 +6976,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6582
6976
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6583
6977
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6584
6978
|
placeHolderStringResourceKey?: string;
|
|
6585
|
-
allowKeywords?: boolean;
|
|
6586
|
-
defaultKeywords?: {
|
|
6587
|
-
[key: string]: Keyword[];
|
|
6588
|
-
};
|
|
6589
|
-
availableKeywords?: Keyword[];
|
|
6590
|
-
mandatoryKeywords?: Keyword[];
|
|
6591
|
-
showKeywordsPicker?: boolean;
|
|
6592
|
-
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
6593
6979
|
disableAddGif?: boolean;
|
|
6594
6980
|
disableAddFiles?: boolean;
|
|
6595
6981
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -6618,7 +7004,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
6618
7004
|
private getVideoElement;
|
|
6619
7005
|
private getNotSupportedElement;
|
|
6620
7006
|
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
6621
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "
|
|
7007
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
6622
7008
|
}
|
|
6623
7009
|
}
|
|
6624
7010
|
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
@@ -6667,8 +7053,7 @@ declare module "libs/reach/feature/content/src/posts/VideoList" {
|
|
|
6667
7053
|
}
|
|
6668
7054
|
declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
6669
7055
|
import { FC } from 'react';
|
|
6670
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6671
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
7056
|
+
import { Keyword, PublishableItem } from "libs/reach/util/common/src/index";
|
|
6672
7057
|
export interface KeywordsInfoProps {
|
|
6673
7058
|
keywords: {
|
|
6674
7059
|
[key: string]: Keyword[];
|
|
@@ -6688,18 +7073,21 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
6688
7073
|
className?: string;
|
|
6689
7074
|
filterBaseUrl?: string;
|
|
6690
7075
|
}>;
|
|
6691
|
-
export const FlatKeywords:
|
|
7076
|
+
export const FlatKeywords: FC<{
|
|
6692
7077
|
item: PublishableItem;
|
|
6693
7078
|
filterBaseUrl?: string;
|
|
6694
7079
|
className?: string;
|
|
6695
7080
|
useGridKeywordTitle?: boolean;
|
|
6696
|
-
|
|
7081
|
+
onClick?: (keyword: string) => unknown;
|
|
7082
|
+
showAllKeywordsInCallout?: boolean;
|
|
7083
|
+
}>;
|
|
6697
7084
|
}
|
|
6698
7085
|
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
6699
7086
|
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6700
7087
|
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
6701
7088
|
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
6702
7089
|
export class NewsService {
|
|
7090
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6703
7091
|
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6704
7092
|
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
6705
7093
|
static getContentLanguages(contents: {
|
|
@@ -6807,12 +7195,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
6807
7195
|
}
|
|
6808
7196
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
6809
7197
|
import { FC } from 'react';
|
|
6810
|
-
import { BannerInfo } from "libs/reach/util/common/src/index";
|
|
6811
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7198
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6812
7199
|
interface Props {
|
|
6813
7200
|
itemId: string;
|
|
6814
7201
|
bannerInfo: BannerInfo;
|
|
6815
|
-
|
|
7202
|
+
useEditorRoutes?: boolean;
|
|
6816
7203
|
width: number;
|
|
6817
7204
|
resourceType: ItemResourceTypes;
|
|
6818
7205
|
token?: string;
|
|
@@ -7243,7 +7630,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7243
7630
|
updateSelectedLanguage: (lang: string) => unknown;
|
|
7244
7631
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7245
7632
|
handleLanguageChange: (language: string) => unknown;
|
|
7246
|
-
|
|
7633
|
+
isEditorPreview?: boolean;
|
|
7247
7634
|
}
|
|
7248
7635
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7249
7636
|
}
|
|
@@ -7439,6 +7826,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7439
7826
|
buttons?: ReactNode;
|
|
7440
7827
|
openTargetInNewWindow?: boolean;
|
|
7441
7828
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7829
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7830
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
7442
7831
|
styleDefinition?: StyleDefinition;
|
|
7443
7832
|
readOnly?: boolean;
|
|
7444
7833
|
className?: string;
|
|
@@ -7525,14 +7914,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7525
7914
|
onAttachmentsChange: (attachments: import("libs/reach/feature/content/src/comments/RichCommentInput").Attachments) => void;
|
|
7526
7915
|
onDeleteAttachment?: (attachment: import("@livetiles/reach/util/common").Attachment) => void;
|
|
7527
7916
|
placeHolderStringResourceKey?: string;
|
|
7528
|
-
allowKeywords?: boolean;
|
|
7529
|
-
defaultKeywords?: {
|
|
7530
|
-
[key: string]: import("@livetiles/reach/util/common").Keyword[];
|
|
7531
|
-
};
|
|
7532
|
-
availableKeywords?: import("@livetiles/reach/util/common").Keyword[];
|
|
7533
|
-
mandatoryKeywords?: import("@livetiles/reach/util/common").Keyword[];
|
|
7534
|
-
showKeywordsPicker?: boolean;
|
|
7535
|
-
onKeywordsChange?: (keywords: import("@livetiles/reach/util/common").Keyword[]) => void;
|
|
7536
7917
|
disableAddGif?: boolean;
|
|
7537
7918
|
disableAddFiles?: boolean;
|
|
7538
7919
|
} & {
|
|
@@ -7541,6 +7922,53 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7541
7922
|
attachmentPreviewTheme?: CommentInputTheme;
|
|
7542
7923
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7543
7924
|
}
|
|
7925
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
7926
|
+
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
7927
|
+
import { FC } from 'react';
|
|
7928
|
+
interface Props {
|
|
7929
|
+
group: KeywordGroup;
|
|
7930
|
+
keywords?: Keyword[];
|
|
7931
|
+
expanded?: boolean;
|
|
7932
|
+
selectedKeywords: Keyword[];
|
|
7933
|
+
onChange?: (keywords: Keyword[]) => void;
|
|
7934
|
+
mandatoryKeywordIds?: string[];
|
|
7935
|
+
}
|
|
7936
|
+
export const KeywordPickerGroup: FC<Props>;
|
|
7937
|
+
}
|
|
7938
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
|
|
7939
|
+
import { FC } from 'react';
|
|
7940
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7941
|
+
interface Props {
|
|
7942
|
+
value?: Keyword[] | string[];
|
|
7943
|
+
onChange: (keywords: Keyword[]) => void;
|
|
7944
|
+
showSelectionToggle?: boolean;
|
|
7945
|
+
availableKeywords?: Keyword[];
|
|
7946
|
+
mandatoryKeywordIds?: string[];
|
|
7947
|
+
className?: string;
|
|
7948
|
+
}
|
|
7949
|
+
export const KeywordPicker: FC<Props>;
|
|
7950
|
+
}
|
|
7951
|
+
declare module "libs/reach/feature/content/src/common/keywords/AddKeywordsButton" {
|
|
7952
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7953
|
+
import { FC } from 'react';
|
|
7954
|
+
export const AddKeywordsButton: FC<{
|
|
7955
|
+
availableKeywords?: Keyword[];
|
|
7956
|
+
mandatoryKeywords?: Keyword[];
|
|
7957
|
+
preselectedKeywords?: Keyword[];
|
|
7958
|
+
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
7959
|
+
disabled?: boolean;
|
|
7960
|
+
keywordPickerTitleResourceKey?: string;
|
|
7961
|
+
}>;
|
|
7962
|
+
}
|
|
7963
|
+
declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsList" {
|
|
7964
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7965
|
+
import { FC } from 'react';
|
|
7966
|
+
export const EditableKeywordsList: FC<{
|
|
7967
|
+
keywords?: Keyword[];
|
|
7968
|
+
mandatoryKeywordIds?: string[];
|
|
7969
|
+
onRemoveKeyword?: (id: string) => void;
|
|
7970
|
+
}>;
|
|
7971
|
+
}
|
|
7544
7972
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
7545
7973
|
import { FC } from 'react';
|
|
7546
7974
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -7572,6 +8000,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7572
8000
|
defaultKeywords?: Keyword[];
|
|
7573
8001
|
mandatoryKeywords?: Keyword[];
|
|
7574
8002
|
};
|
|
8003
|
+
disableBoxShadow?: boolean;
|
|
8004
|
+
ariaLabel?: string;
|
|
7575
8005
|
}
|
|
7576
8006
|
interface Props extends BaseProps {
|
|
7577
8007
|
allowAttachments?: boolean;
|
|
@@ -7662,9 +8092,9 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7662
8092
|
deletedFileUrls?: string[];
|
|
7663
8093
|
onCancel?: () => void;
|
|
7664
8094
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7665
|
-
inputTheme?: CommentInputTheme;
|
|
7666
8095
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
7667
8096
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8097
|
+
ariaLabel?: string;
|
|
7668
8098
|
}
|
|
7669
8099
|
interface Props extends BaseProps {
|
|
7670
8100
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -7672,14 +8102,18 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7672
8102
|
}) => void;
|
|
7673
8103
|
allowAttachments?: boolean;
|
|
7674
8104
|
allowKeywords?: boolean;
|
|
7675
|
-
|
|
7676
|
-
|
|
7677
|
-
|
|
7678
|
-
|
|
7679
|
-
};
|
|
8105
|
+
keywordSettings?: {
|
|
8106
|
+
availableKeywords?: Keyword[];
|
|
8107
|
+
defaultKeywords?: Keyword[];
|
|
8108
|
+
mandatoryKeywords?: Keyword[];
|
|
8109
|
+
};
|
|
8110
|
+
keywords?: {
|
|
8111
|
+
[key: string]: Keyword[];
|
|
8112
|
+
};
|
|
7680
8113
|
allowSaveWithoutContent?: boolean;
|
|
7681
8114
|
saveOnEnter?: boolean;
|
|
7682
8115
|
saveOnCtrlEnter?: boolean;
|
|
8116
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7683
8117
|
}
|
|
7684
8118
|
export const EditComment: FC<Props>;
|
|
7685
8119
|
}
|
|
@@ -7701,6 +8135,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7701
8135
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7702
8136
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
7703
8137
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8138
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7704
8139
|
interface Props extends CreateCommentProps {
|
|
7705
8140
|
onSave: (newContent: string, attachments?: Attachment[], keywords?: {
|
|
7706
8141
|
[key: string]: Keyword[];
|
|
@@ -7708,14 +8143,18 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7708
8143
|
item: ItemWithAttachments;
|
|
7709
8144
|
basePath: string;
|
|
7710
8145
|
allowKeywords?: boolean;
|
|
7711
|
-
|
|
7712
|
-
|
|
8146
|
+
keywordSettings?: {
|
|
8147
|
+
availableKeywords?: Keyword[];
|
|
8148
|
+
defaultKeywords?: Keyword[];
|
|
8149
|
+
mandatoryKeywords?: Keyword[];
|
|
8150
|
+
};
|
|
7713
8151
|
keywords?: {
|
|
7714
8152
|
[key: string]: Keyword[];
|
|
7715
8153
|
};
|
|
7716
8154
|
allowSaveWithoutContent?: boolean;
|
|
7717
8155
|
saveOnEnter?: boolean;
|
|
7718
8156
|
saveOnCtrlEnter?: boolean;
|
|
8157
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7719
8158
|
}
|
|
7720
8159
|
export const EditCommentWithAttachments: FC<Props>;
|
|
7721
8160
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
@@ -7795,34 +8234,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
7795
8234
|
}>;
|
|
7796
8235
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
7797
8236
|
}
|
|
7798
|
-
declare module "libs/reach/feature/content/src/
|
|
7799
|
-
import { FC
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
className?: string;
|
|
8237
|
+
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8238
|
+
import { FC } from 'react';
|
|
8239
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8240
|
+
export const DetailViewContextProvider: FC<{
|
|
8241
|
+
itemId: string;
|
|
8242
|
+
type?: ItemResourceTypes;
|
|
8243
|
+
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8244
|
+
isEditorPreview?: boolean;
|
|
7807
8245
|
}>;
|
|
7808
8246
|
}
|
|
7809
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7810
|
-
import {
|
|
7811
|
-
export
|
|
8247
|
+
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8248
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8249
|
+
export interface EmbeddedObjectPreviewData {
|
|
8250
|
+
itemId: string;
|
|
8251
|
+
type: string;
|
|
8252
|
+
subscriptionIdentifier: string;
|
|
8253
|
+
}
|
|
8254
|
+
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
7812
8255
|
}
|
|
7813
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7814
|
-
import {
|
|
7815
|
-
export const
|
|
8256
|
+
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8257
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8258
|
+
export const InlineImageMapper: HtmlComponentMapper;
|
|
7816
8259
|
}
|
|
7817
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7818
|
-
import {
|
|
7819
|
-
export
|
|
8260
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
8261
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8262
|
+
export interface ContactDetails {
|
|
8263
|
+
id: string;
|
|
8264
|
+
upn?: string;
|
|
8265
|
+
tenantId?: string;
|
|
8266
|
+
properties?: {
|
|
8267
|
+
[key: string]: {
|
|
8268
|
+
value: string;
|
|
8269
|
+
shouldAutoLoad?: boolean;
|
|
8270
|
+
};
|
|
8271
|
+
};
|
|
8272
|
+
}
|
|
8273
|
+
export const InlineContactMapper: HtmlComponentMapper;
|
|
7820
8274
|
}
|
|
7821
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7822
|
-
import { FC
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
8275
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
|
|
8276
|
+
import { FC } from 'react';
|
|
8277
|
+
import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8278
|
+
export const InlineContactViewer: FC<{
|
|
8279
|
+
contact: ContactDetails;
|
|
7826
8280
|
}>;
|
|
7827
8281
|
}
|
|
7828
8282
|
declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
|
|
@@ -7848,6 +8302,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
|
|
|
7848
8302
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7849
8303
|
export const InlineQuoteMapper: HtmlComponentMapper;
|
|
7850
8304
|
}
|
|
8305
|
+
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
8306
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8307
|
+
export const InlineVideoMapper: HtmlComponentMapper;
|
|
8308
|
+
}
|
|
8309
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
8310
|
+
import { FC } from 'react';
|
|
8311
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8312
|
+
export const InlinePageListViewer: FC<{
|
|
8313
|
+
items: PageItem[];
|
|
8314
|
+
baseRoute: string;
|
|
8315
|
+
filterBaseUrl?: string;
|
|
8316
|
+
isInitialLoading?: boolean;
|
|
8317
|
+
}>;
|
|
8318
|
+
}
|
|
8319
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
8320
|
+
import { FC } from 'react';
|
|
8321
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8322
|
+
export interface ListPagingProps {
|
|
8323
|
+
getNextPage: () => unknown;
|
|
8324
|
+
getPrevPage: () => unknown;
|
|
8325
|
+
getFirstPage: () => unknown;
|
|
8326
|
+
isLoadingNextPage: boolean;
|
|
8327
|
+
isInitialLoading: boolean;
|
|
8328
|
+
isFirstPage: boolean;
|
|
8329
|
+
hideNextButton: boolean;
|
|
8330
|
+
}
|
|
8331
|
+
export const InlinePageListWithPaging: FC<{
|
|
8332
|
+
pages: PageItem[];
|
|
8333
|
+
baseRoute: string;
|
|
8334
|
+
pagingProps?: ListPagingProps;
|
|
8335
|
+
filterBaseUrl?: string;
|
|
8336
|
+
}>;
|
|
8337
|
+
}
|
|
8338
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8339
|
+
import { DependencyList } from 'react';
|
|
8340
|
+
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8341
|
+
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8342
|
+
showPages: boolean;
|
|
8343
|
+
showDocuments: boolean;
|
|
8344
|
+
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8345
|
+
pageItems: any[];
|
|
8346
|
+
pagingProps: {
|
|
8347
|
+
hideNextButton: boolean;
|
|
8348
|
+
isInitialLoading: boolean;
|
|
8349
|
+
isLoadingNextPage: boolean;
|
|
8350
|
+
error: any;
|
|
8351
|
+
getFirstPage: () => void;
|
|
8352
|
+
getPrevPage: () => void;
|
|
8353
|
+
getNextPage: () => Promise<void>;
|
|
8354
|
+
isFirstPage: boolean;
|
|
8355
|
+
isLastPage: boolean;
|
|
8356
|
+
isEmpty: boolean;
|
|
8357
|
+
};
|
|
8358
|
+
};
|
|
8359
|
+
}
|
|
8360
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8361
|
+
import { FC } from 'react';
|
|
8362
|
+
export const InlinePageListSkeleton: FC<{
|
|
8363
|
+
isDataLoaded: boolean;
|
|
8364
|
+
pageSize?: number;
|
|
8365
|
+
}>;
|
|
8366
|
+
}
|
|
7851
8367
|
declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
|
|
7852
8368
|
export interface CodeDetails {
|
|
7853
8369
|
id: string;
|
|
@@ -7869,20 +8385,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
|
|
|
7869
8385
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7870
8386
|
export const InlineCodeMapper: HtmlComponentMapper;
|
|
7871
8387
|
}
|
|
7872
|
-
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
7873
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7874
|
-
export const InlineVideoMapper: HtmlComponentMapper;
|
|
7875
|
-
}
|
|
7876
|
-
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
7877
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7878
|
-
export const InlineImageMapper: HtmlComponentMapper;
|
|
7879
|
-
}
|
|
7880
|
-
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
7881
|
-
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
7882
|
-
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
7883
|
-
format: TableFormat;
|
|
7884
|
-
}, never>;
|
|
7885
|
-
}
|
|
7886
8388
|
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
7887
8389
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7888
8390
|
import { CSSProperties } from 'react';
|
|
@@ -7923,213 +8425,70 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
|
7923
8425
|
export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
|
|
7924
8426
|
export const InlineTable: HtmlComponentMapper;
|
|
7925
8427
|
}
|
|
7926
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7927
|
-
import {
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
8428
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
8429
|
+
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8430
|
+
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
8431
|
+
format: TableFormat;
|
|
8432
|
+
}, never>;
|
|
8433
|
+
}
|
|
8434
|
+
declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
8435
|
+
import { FC, ReactNode } from 'react';
|
|
8436
|
+
export const ItemBodyWrapper: FC<{
|
|
8437
|
+
className?: string;
|
|
8438
|
+
children?: ReactNode;
|
|
7931
8439
|
}>;
|
|
7932
8440
|
}
|
|
7933
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7934
|
-
import {
|
|
7935
|
-
export
|
|
7936
|
-
id: string;
|
|
7937
|
-
upn?: string;
|
|
7938
|
-
tenantId?: string;
|
|
7939
|
-
properties?: {
|
|
7940
|
-
[key: string]: {
|
|
7941
|
-
value: string;
|
|
7942
|
-
shouldAutoLoad?: boolean;
|
|
7943
|
-
};
|
|
7944
|
-
};
|
|
7945
|
-
}
|
|
7946
|
-
export const InlineContactMapper: HtmlComponentMapper;
|
|
8441
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8442
|
+
import { FC } from 'react';
|
|
8443
|
+
export const EventDetailViewPeopleInfo: FC;
|
|
7947
8444
|
}
|
|
7948
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8445
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
7949
8446
|
import { FC } from 'react';
|
|
7950
|
-
|
|
7951
|
-
|
|
7952
|
-
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
|
|
8447
|
+
export const EventDetailViewLocationInfo: FC;
|
|
8448
|
+
}
|
|
8449
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
8450
|
+
import { FC } from 'react';
|
|
8451
|
+
export const EventDetailViewMetaInfo: FC<{
|
|
8452
|
+
allowFilterByChannels?: boolean;
|
|
7956
8453
|
}>;
|
|
7957
8454
|
}
|
|
7958
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8455
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
7959
8456
|
import { FC } from 'react';
|
|
7960
|
-
|
|
7961
|
-
|
|
7962
|
-
getNextPage: () => unknown;
|
|
7963
|
-
getPrevPage: () => unknown;
|
|
7964
|
-
getFirstPage: () => unknown;
|
|
7965
|
-
isLoadingNextPage: boolean;
|
|
7966
|
-
isInitialLoading: boolean;
|
|
7967
|
-
isFirstPage: boolean;
|
|
7968
|
-
hideNextButton: boolean;
|
|
7969
|
-
}
|
|
7970
|
-
export const InlinePageListWithPaging: FC<{
|
|
7971
|
-
pages: PageItem[];
|
|
7972
|
-
baseRoute: string;
|
|
7973
|
-
pagingProps?: ListPagingProps;
|
|
7974
|
-
filterBaseUrl?: string;
|
|
8457
|
+
export const EventDetailViewDatesInfo: FC<{
|
|
8458
|
+
className?: string;
|
|
7975
8459
|
}>;
|
|
7976
8460
|
}
|
|
7977
|
-
declare module "libs/reach/feature/content/src/
|
|
7978
|
-
import {
|
|
7979
|
-
|
|
8461
|
+
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8462
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8463
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8464
|
+
import { PollQuestion, PollQuestionAnswer, PollResult, QuestionResult } from "libs/reach/util/common/src/index";
|
|
8465
|
+
export interface PollUserContextType {
|
|
8466
|
+
item: PublishableItem;
|
|
8467
|
+
resourceType: ItemResourceTypes;
|
|
8468
|
+
questions: PollQuestion[];
|
|
8469
|
+
answers: PollQuestionAnswer[];
|
|
8470
|
+
addAnswer: (questionId: string, selectedChoiceIds: string[]) => unknown;
|
|
8471
|
+
setAnswers: (answers: PollQuestionAnswer[]) => unknown;
|
|
8472
|
+
hasMissingAnswers: boolean;
|
|
8473
|
+
hasMissingUnsavedAnswer: boolean;
|
|
8474
|
+
pollResult: PollResult;
|
|
8475
|
+
isLoadingPollResult: boolean;
|
|
8476
|
+
showResult: boolean;
|
|
8477
|
+
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
8478
|
+
getQuestionResult: (questionId: string) => QuestionResult;
|
|
8479
|
+
reset: () => Promise<void>;
|
|
8480
|
+
fetchPollResults: () => Promise<void>;
|
|
8481
|
+
onBehalfOfUpn: string;
|
|
8482
|
+
}
|
|
8483
|
+
export const PollUserContext: import("react").Context<PollUserContextType>;
|
|
7980
8484
|
}
|
|
7981
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8485
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollsSubmitButton" {
|
|
7982
8486
|
import { FC } from 'react';
|
|
7983
|
-
export const
|
|
7984
|
-
|
|
7985
|
-
pageSize?: number;
|
|
8487
|
+
export const DetailViewPollsSubmitButton: FC<{
|
|
8488
|
+
isReadOnly?: boolean;
|
|
7986
8489
|
}>;
|
|
7987
8490
|
}
|
|
7988
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7989
|
-
import { FC } from 'react';
|
|
7990
|
-
export const InlinePageListByKeywords: FC<{
|
|
7991
|
-
keywords: string;
|
|
7992
|
-
showDocuments?: boolean;
|
|
7993
|
-
showPages?: boolean;
|
|
7994
|
-
}>;
|
|
7995
|
-
}
|
|
7996
|
-
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
7997
|
-
import { PageType } from "libs/reach/util/common/src/index";
|
|
7998
|
-
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>>;
|
|
7999
|
-
}
|
|
8000
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
8001
|
-
import { FC } from 'react';
|
|
8002
|
-
export const InlinePageListByPageId: FC<{
|
|
8003
|
-
pageId: string;
|
|
8004
|
-
showDocuments: boolean;
|
|
8005
|
-
showPages: boolean;
|
|
8006
|
-
}>;
|
|
8007
|
-
}
|
|
8008
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8009
|
-
import { DependencyList } from 'react';
|
|
8010
|
-
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8011
|
-
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8012
|
-
showPages: boolean;
|
|
8013
|
-
showDocuments: boolean;
|
|
8014
|
-
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8015
|
-
pageItems: any[];
|
|
8016
|
-
pagingProps: {
|
|
8017
|
-
hideNextButton: boolean;
|
|
8018
|
-
isInitialLoading: boolean;
|
|
8019
|
-
isLoadingNextPage: boolean;
|
|
8020
|
-
error: any;
|
|
8021
|
-
getFirstPage: () => void;
|
|
8022
|
-
getPrevPage: () => void;
|
|
8023
|
-
getNextPage: () => Promise<void>;
|
|
8024
|
-
isFirstPage: boolean;
|
|
8025
|
-
isLastPage: boolean;
|
|
8026
|
-
isEmpty: boolean;
|
|
8027
|
-
};
|
|
8028
|
-
};
|
|
8029
|
-
}
|
|
8030
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
8031
|
-
import { FC } from 'react';
|
|
8032
|
-
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8033
|
-
export const InlinePageListByCurrentPage: FC<{
|
|
8034
|
-
blockProps?: PageListDetails;
|
|
8035
|
-
}>;
|
|
8036
|
-
}
|
|
8037
|
-
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
8038
|
-
import { FC } from 'react';
|
|
8039
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8040
|
-
export interface PageListDetails {
|
|
8041
|
-
id?: string;
|
|
8042
|
-
showChildren?: boolean;
|
|
8043
|
-
showDocuments?: boolean;
|
|
8044
|
-
showPages?: boolean;
|
|
8045
|
-
pageId?: string;
|
|
8046
|
-
keywords?: string;
|
|
8047
|
-
}
|
|
8048
|
-
export const InlinePageList: FC<{
|
|
8049
|
-
blockProps?: PageListDetails;
|
|
8050
|
-
}>;
|
|
8051
|
-
export const InlinePageListMapper: HtmlComponentMapper;
|
|
8052
|
-
}
|
|
8053
|
-
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8054
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8055
|
-
export interface EmbeddedObjectPreviewData {
|
|
8056
|
-
itemId: string;
|
|
8057
|
-
type: string;
|
|
8058
|
-
subscriptionIdentifier: string;
|
|
8059
|
-
}
|
|
8060
|
-
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
8061
|
-
}
|
|
8062
|
-
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
8063
|
-
import { FC } from 'react';
|
|
8064
|
-
export const RichTextViewer: FC<{
|
|
8065
|
-
html: string;
|
|
8066
|
-
}>;
|
|
8067
|
-
}
|
|
8068
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
8069
|
-
import { FC } from 'react';
|
|
8070
|
-
export const DetailViewBody: FC;
|
|
8071
|
-
}
|
|
8072
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
8073
|
-
import { FC } from 'react';
|
|
8074
|
-
export const DetailViewKeywords: FC<{
|
|
8075
|
-
filterBaseUrl: string;
|
|
8076
|
-
}>;
|
|
8077
|
-
}
|
|
8078
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
8079
|
-
import { FC } from 'react';
|
|
8080
|
-
export const EventDetailViewDatesInfo: FC<{
|
|
8081
|
-
className?: string;
|
|
8082
|
-
}>;
|
|
8083
|
-
}
|
|
8084
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8085
|
-
import { FC } from 'react';
|
|
8086
|
-
export const EventDetailViewPeopleInfo: FC;
|
|
8087
|
-
}
|
|
8088
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
8089
|
-
import { FC } from 'react';
|
|
8090
|
-
export const EventDetailViewLocationInfo: FC;
|
|
8091
|
-
}
|
|
8092
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
8093
|
-
import { FC } from 'react';
|
|
8094
|
-
export const EventDetailViewMetaInfo: FC<{
|
|
8095
|
-
allowFilterByChannels?: boolean;
|
|
8096
|
-
}>;
|
|
8097
|
-
}
|
|
8098
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8099
|
-
import { FC } from 'react';
|
|
8100
|
-
export const EventDetailViewCancelInformation: FC;
|
|
8101
|
-
}
|
|
8102
|
-
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8103
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8104
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8105
|
-
import { PollQuestion, PollQuestionAnswer, PollResult, QuestionResult } from "libs/reach/util/common/src/index";
|
|
8106
|
-
export interface PollUserContextType {
|
|
8107
|
-
item: PublishableItem;
|
|
8108
|
-
resourceType: ItemResourceTypes;
|
|
8109
|
-
questions: PollQuestion[];
|
|
8110
|
-
answers: PollQuestionAnswer[];
|
|
8111
|
-
addAnswer: (questionId: string, selectedChoiceIds: string[]) => unknown;
|
|
8112
|
-
setAnswers: (answers: PollQuestionAnswer[]) => unknown;
|
|
8113
|
-
hasMissingAnswers: boolean;
|
|
8114
|
-
hasMissingUnsavedAnswer: boolean;
|
|
8115
|
-
pollResult: PollResult;
|
|
8116
|
-
isLoadingPollResult: boolean;
|
|
8117
|
-
showResult: boolean;
|
|
8118
|
-
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
8119
|
-
getQuestionResult: (questionId: string) => QuestionResult;
|
|
8120
|
-
reset: () => Promise<void>;
|
|
8121
|
-
fetchPollResults: () => Promise<void>;
|
|
8122
|
-
onBehalfOfUpn: string;
|
|
8123
|
-
}
|
|
8124
|
-
export const PollUserContext: import("react").Context<PollUserContextType>;
|
|
8125
|
-
}
|
|
8126
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollsSubmitButton" {
|
|
8127
|
-
import { FC } from 'react';
|
|
8128
|
-
export const DetailViewPollsSubmitButton: FC<{
|
|
8129
|
-
isReadOnly?: boolean;
|
|
8130
|
-
}>;
|
|
8131
|
-
}
|
|
8132
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewCsvExportButton" {
|
|
8491
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewCsvExportButton" {
|
|
8133
8492
|
import { FC } from 'react';
|
|
8134
8493
|
export const DetailViewCsvExportButton: FC<{
|
|
8135
8494
|
path: string;
|
|
@@ -8209,8 +8568,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8209
8568
|
}
|
|
8210
8569
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
|
|
8211
8570
|
import { FC } from 'react';
|
|
8212
|
-
import { EventParticipant } from "libs/reach/util/common/src/index";
|
|
8213
|
-
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
8571
|
+
import { EventParticipant, EventResponse } from "libs/reach/util/common/src/index";
|
|
8214
8572
|
export const EventRegistrationRegisterSomeoneElseDialog: FC<{
|
|
8215
8573
|
show: boolean;
|
|
8216
8574
|
onDismiss: () => unknown;
|
|
@@ -8256,6 +8614,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8256
8614
|
import { FC } from 'react';
|
|
8257
8615
|
export const EventDetailViewRegistration: FC;
|
|
8258
8616
|
}
|
|
8617
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8618
|
+
import { FC } from 'react';
|
|
8619
|
+
export const EventDetailViewCancelInformation: FC;
|
|
8620
|
+
}
|
|
8259
8621
|
declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
8260
8622
|
import { FC } from 'react';
|
|
8261
8623
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
@@ -8511,92 +8873,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
|
|
|
8511
8873
|
eventItem: EventItem;
|
|
8512
8874
|
}>;
|
|
8513
8875
|
}
|
|
8514
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
8515
|
-
import { FC } from 'react';
|
|
8516
|
-
export const DetailViewPageViewTracker: FC;
|
|
8517
|
-
}
|
|
8518
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
8519
|
-
import { FC } from 'react';
|
|
8520
|
-
export const DetailViewIntro: FC;
|
|
8521
|
-
}
|
|
8522
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
8523
|
-
import { FC } from 'react';
|
|
8524
|
-
export const ConfirmationBox: FC<{
|
|
8525
|
-
disabled?: boolean;
|
|
8526
|
-
onChange?: (value: boolean) => void;
|
|
8527
|
-
checked: boolean;
|
|
8528
|
-
}>;
|
|
8529
|
-
}
|
|
8530
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
8531
|
-
import { FC } from 'react';
|
|
8532
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8533
|
-
export const ConfirmationSection: FC<{
|
|
8534
|
-
item?: NewsItem;
|
|
8535
|
-
showDescription: boolean;
|
|
8536
|
-
readOnly?: boolean;
|
|
8537
|
-
className?: string;
|
|
8538
|
-
}>;
|
|
8539
|
-
}
|
|
8540
|
-
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
8541
|
-
import { FC } from 'react';
|
|
8542
|
-
export const DetailViewConfirmations: FC;
|
|
8543
|
-
}
|
|
8544
|
-
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
8545
|
-
import { FC } from 'react';
|
|
8546
|
-
export const FeedbackButtonBookmark: FC<{
|
|
8547
|
-
isReadOnly?: boolean;
|
|
8548
|
-
}>;
|
|
8549
|
-
}
|
|
8550
|
-
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
8551
|
-
import { FC } from 'react';
|
|
8552
|
-
export const NewsDetailViewFeedbackSection: FC<{
|
|
8553
|
-
hideLikes?: boolean;
|
|
8554
|
-
hideComments?: boolean;
|
|
8555
|
-
hideProfileUrl?: boolean;
|
|
8556
|
-
disableLoginForPublicUser?: boolean;
|
|
8557
|
-
}>;
|
|
8558
|
-
}
|
|
8559
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
8560
|
-
import { FC } from 'react';
|
|
8561
|
-
export const DetailViewHeadline: FC;
|
|
8562
|
-
}
|
|
8563
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
8564
|
-
import { FC } from 'react';
|
|
8565
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8566
|
-
export const DetailViewBodyExternalContent: FC<{
|
|
8567
|
-
itemType: ItemResourceTypes;
|
|
8568
|
-
}>;
|
|
8569
|
-
}
|
|
8570
|
-
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8571
|
-
import { FC } from 'react';
|
|
8572
|
-
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8573
|
-
export const DetailViewContextProvider: FC<{
|
|
8574
|
-
itemId: string;
|
|
8575
|
-
type?: ItemResourceTypes;
|
|
8576
|
-
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8577
|
-
isReadOnly?: boolean;
|
|
8578
|
-
}>;
|
|
8579
|
-
}
|
|
8580
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8581
|
-
import { FC } from 'react';
|
|
8582
|
-
export const PageDetailViewFeedbackSection: FC<{
|
|
8583
|
-
hideLikes?: boolean;
|
|
8584
|
-
hideComments?: boolean;
|
|
8585
|
-
hideProfileUrl?: boolean;
|
|
8586
|
-
disableLoginForPublicUser?: boolean;
|
|
8587
|
-
}>;
|
|
8588
|
-
}
|
|
8589
|
-
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
8590
|
-
import { FC } from 'react';
|
|
8591
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8592
|
-
export const PageBreadcrumb: FC<{
|
|
8593
|
-
page: PageItem;
|
|
8594
|
-
target?: string;
|
|
8595
|
-
language?: string;
|
|
8596
|
-
hideCurrentPageNode?: boolean;
|
|
8597
|
-
className?: string;
|
|
8598
|
-
}>;
|
|
8599
|
-
}
|
|
8600
8876
|
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8601
8877
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8602
8878
|
interface DateInfoProps {
|
|
@@ -8636,51 +8912,13 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8636
8912
|
import { FC } from 'react';
|
|
8637
8913
|
export const PageDetailViewMetaInfo: FC;
|
|
8638
8914
|
}
|
|
8639
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/
|
|
8915
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8640
8916
|
import { FC } from 'react';
|
|
8641
|
-
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
content: PublishableItemContent;
|
|
8647
|
-
basePath?: string;
|
|
8648
|
-
}>;
|
|
8649
|
-
}
|
|
8650
|
-
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8651
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8652
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8653
|
-
interface Props {
|
|
8654
|
-
id: string;
|
|
8655
|
-
item: PublishableItem;
|
|
8656
|
-
itemResourceType: ItemResourceTypes;
|
|
8657
|
-
}
|
|
8658
|
-
export const CardBanner: React.FC<Props>;
|
|
8659
|
-
}
|
|
8660
|
-
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8661
|
-
import { FC, ReactNode } from 'react';
|
|
8662
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8663
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8664
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8665
|
-
interface CardProps {
|
|
8666
|
-
item: PublishableItem;
|
|
8667
|
-
itemResourceType: ItemResourceTypes;
|
|
8668
|
-
additionalMetadata?: ReactNode;
|
|
8669
|
-
highlight?: boolean;
|
|
8670
|
-
className?: string;
|
|
8671
|
-
}
|
|
8672
|
-
export const Card: FC<CardProps>;
|
|
8673
|
-
export interface CardItem<TItem = PublishableItem> {
|
|
8674
|
-
item: TItem;
|
|
8675
|
-
language: string;
|
|
8676
|
-
}
|
|
8677
|
-
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8678
|
-
}
|
|
8679
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
8680
|
-
import { FC, ReactNode } from 'react';
|
|
8681
|
-
export const DetailViewNavigation: FC<{
|
|
8682
|
-
children?: ReactNode;
|
|
8683
|
-
callout?: ReactNode;
|
|
8917
|
+
export const PageDetailViewFeedbackSection: FC<{
|
|
8918
|
+
hideLikes?: boolean;
|
|
8919
|
+
hideComments?: boolean;
|
|
8920
|
+
hideProfileUrl?: boolean;
|
|
8921
|
+
disableLoginForPublicUser?: boolean;
|
|
8684
8922
|
}>;
|
|
8685
8923
|
}
|
|
8686
8924
|
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
@@ -8789,6 +9027,104 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8789
9027
|
import { FC } from 'react';
|
|
8790
9028
|
export const PageDetailViewTableOfContentsButton: FC;
|
|
8791
9029
|
}
|
|
9030
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
9031
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9032
|
+
export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
9033
|
+
}
|
|
9034
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
9035
|
+
import { FC } from 'react';
|
|
9036
|
+
export const InlinePageListByKeywords: FC<{
|
|
9037
|
+
keywords: string[];
|
|
9038
|
+
showDocuments?: boolean;
|
|
9039
|
+
showPages?: boolean;
|
|
9040
|
+
}>;
|
|
9041
|
+
}
|
|
9042
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
9043
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9044
|
+
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
9045
|
+
}
|
|
9046
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
9047
|
+
import { FC } from 'react';
|
|
9048
|
+
export const InlinePageListByPageId: FC<{
|
|
9049
|
+
pageId: string;
|
|
9050
|
+
showDocuments: boolean;
|
|
9051
|
+
showPages: boolean;
|
|
9052
|
+
}>;
|
|
9053
|
+
}
|
|
9054
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
9055
|
+
import { FC } from 'react';
|
|
9056
|
+
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9057
|
+
export const InlinePageListByCurrentPage: FC<{
|
|
9058
|
+
blockProps?: PageListDetails;
|
|
9059
|
+
}>;
|
|
9060
|
+
}
|
|
9061
|
+
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
9062
|
+
import { FC } from 'react';
|
|
9063
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9064
|
+
export interface PageListDetails {
|
|
9065
|
+
id?: string;
|
|
9066
|
+
showChildren?: boolean;
|
|
9067
|
+
showDocuments?: boolean;
|
|
9068
|
+
showPages?: boolean;
|
|
9069
|
+
pageId?: string;
|
|
9070
|
+
keywords?: string;
|
|
9071
|
+
}
|
|
9072
|
+
export const InlinePageList: FC<{
|
|
9073
|
+
blockProps?: PageListDetails;
|
|
9074
|
+
}>;
|
|
9075
|
+
export const InlinePageListMapper: HtmlComponentMapper;
|
|
9076
|
+
}
|
|
9077
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
9078
|
+
import { FC } from 'react';
|
|
9079
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9080
|
+
export const PageBreadcrumb: FC<{
|
|
9081
|
+
page: PageItem;
|
|
9082
|
+
target?: string;
|
|
9083
|
+
language?: string;
|
|
9084
|
+
hideCurrentPageNode?: boolean;
|
|
9085
|
+
className?: string;
|
|
9086
|
+
}>;
|
|
9087
|
+
}
|
|
9088
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
9089
|
+
import { FC } from 'react';
|
|
9090
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9091
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
9092
|
+
export const DetailViewPageDocumentDownload: FC;
|
|
9093
|
+
export const PageDocumentDownloadButton: FC<{
|
|
9094
|
+
item: PageItem;
|
|
9095
|
+
content: PublishableItemContent;
|
|
9096
|
+
basePath?: string;
|
|
9097
|
+
}>;
|
|
9098
|
+
}
|
|
9099
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
9100
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9101
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9102
|
+
interface Props {
|
|
9103
|
+
id: string;
|
|
9104
|
+
item: PublishableItem;
|
|
9105
|
+
itemResourceType: ItemResourceTypes;
|
|
9106
|
+
}
|
|
9107
|
+
export const CardBanner: React.FC<Props>;
|
|
9108
|
+
}
|
|
9109
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
9110
|
+
import { FC, ReactNode } from 'react';
|
|
9111
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9112
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9113
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9114
|
+
interface CardProps {
|
|
9115
|
+
item: PublishableItem;
|
|
9116
|
+
itemResourceType: ItemResourceTypes;
|
|
9117
|
+
additionalMetadata?: ReactNode;
|
|
9118
|
+
highlight?: boolean;
|
|
9119
|
+
className?: string;
|
|
9120
|
+
}
|
|
9121
|
+
export const Card: FC<CardProps>;
|
|
9122
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
9123
|
+
item: TItem;
|
|
9124
|
+
language: string;
|
|
9125
|
+
}
|
|
9126
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
9127
|
+
}
|
|
8792
9128
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
8793
9129
|
import { FC } from 'react';
|
|
8794
9130
|
interface LanguageSelectorProps {
|
|
@@ -8810,10 +9146,112 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8810
9146
|
className?: string;
|
|
8811
9147
|
}>;
|
|
8812
9148
|
}
|
|
9149
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
|
|
9150
|
+
import { FC } from 'react';
|
|
9151
|
+
export const DetailViewBanner: FC;
|
|
9152
|
+
}
|
|
9153
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
9154
|
+
import { FC } from 'react';
|
|
9155
|
+
export const DetailViewIntro: FC;
|
|
9156
|
+
}
|
|
9157
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
9158
|
+
import { FC } from 'react';
|
|
9159
|
+
export const DetailMainSection: FC;
|
|
9160
|
+
}
|
|
9161
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
9162
|
+
import { FC, ReactNode } from 'react';
|
|
9163
|
+
export const GutterMarkerIcon: FC<{
|
|
9164
|
+
iconName: string;
|
|
9165
|
+
children: ReactNode;
|
|
9166
|
+
isActive: boolean;
|
|
9167
|
+
color: string;
|
|
9168
|
+
tooltipResourceKey?: string;
|
|
9169
|
+
className?: string;
|
|
9170
|
+
}>;
|
|
9171
|
+
}
|
|
9172
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9173
|
+
import { FC } from 'react';
|
|
9174
|
+
export const DetailViewTitle: FC;
|
|
9175
|
+
}
|
|
8813
9176
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
|
|
8814
9177
|
import { FC } from 'react';
|
|
8815
9178
|
export const NewsDetailViewMetaInfo: FC;
|
|
8816
9179
|
}
|
|
9180
|
+
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
9181
|
+
import { FC } from 'react';
|
|
9182
|
+
export const RichTextViewer: FC<{
|
|
9183
|
+
html: string;
|
|
9184
|
+
}>;
|
|
9185
|
+
}
|
|
9186
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
9187
|
+
import { FC } from 'react';
|
|
9188
|
+
export const DetailViewBody: FC;
|
|
9189
|
+
}
|
|
9190
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
9191
|
+
import { FC } from 'react';
|
|
9192
|
+
export const DetailViewKeywords: FC<{
|
|
9193
|
+
filterBaseUrl: string;
|
|
9194
|
+
}>;
|
|
9195
|
+
}
|
|
9196
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9197
|
+
import { FC } from 'react';
|
|
9198
|
+
export const ConfirmationBox: FC<{
|
|
9199
|
+
disabled?: boolean;
|
|
9200
|
+
onChange?: (value: boolean) => void;
|
|
9201
|
+
checked: boolean;
|
|
9202
|
+
}>;
|
|
9203
|
+
}
|
|
9204
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9205
|
+
import { FC } from 'react';
|
|
9206
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9207
|
+
export const ConfirmationSection: FC<{
|
|
9208
|
+
item?: NewsItem;
|
|
9209
|
+
showDescription: boolean;
|
|
9210
|
+
readOnly?: boolean;
|
|
9211
|
+
className?: string;
|
|
9212
|
+
}>;
|
|
9213
|
+
}
|
|
9214
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
9215
|
+
import { FC } from 'react';
|
|
9216
|
+
export const DetailViewConfirmations: FC;
|
|
9217
|
+
}
|
|
9218
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
9219
|
+
import { FC } from 'react';
|
|
9220
|
+
export const DetailViewPageViewTracker: FC;
|
|
9221
|
+
}
|
|
9222
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
9223
|
+
import { FC } from 'react';
|
|
9224
|
+
export const FeedbackButtonBookmark: FC<{
|
|
9225
|
+
isReadOnly?: boolean;
|
|
9226
|
+
}>;
|
|
9227
|
+
}
|
|
9228
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
9229
|
+
import { FC } from 'react';
|
|
9230
|
+
export const NewsDetailViewFeedbackSection: FC<{
|
|
9231
|
+
hideLikes?: boolean;
|
|
9232
|
+
hideComments?: boolean;
|
|
9233
|
+
hideProfileUrl?: boolean;
|
|
9234
|
+
disableLoginForPublicUser?: boolean;
|
|
9235
|
+
}>;
|
|
9236
|
+
}
|
|
9237
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
9238
|
+
import { FC, ReactNode } from 'react';
|
|
9239
|
+
export const DetailViewNavigation: FC<{
|
|
9240
|
+
children?: ReactNode;
|
|
9241
|
+
callout?: ReactNode;
|
|
9242
|
+
}>;
|
|
9243
|
+
}
|
|
9244
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9245
|
+
import { FC } from 'react';
|
|
9246
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9247
|
+
export const DetailViewBodyExternalContent: FC<{
|
|
9248
|
+
itemType: ItemResourceTypes;
|
|
9249
|
+
}>;
|
|
9250
|
+
}
|
|
9251
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
9252
|
+
import { FC } from 'react';
|
|
9253
|
+
export const DetailViewHeadline: FC;
|
|
9254
|
+
}
|
|
8817
9255
|
declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
8818
9256
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
8819
9257
|
export const StateIcon: React.FC<{
|
|
@@ -8834,205 +9272,65 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
|
8834
9272
|
}
|
|
8835
9273
|
declare module "libs/reach/feature/content/src/common/index" {
|
|
8836
9274
|
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
8837
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8838
9275
|
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8839
9276
|
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
8840
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
8841
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8842
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8843
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8844
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8845
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8846
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
8847
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8848
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8849
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8850
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
8851
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
8852
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8853
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8854
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8855
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8856
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8857
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
8858
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8859
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8860
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
8861
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
8862
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
8863
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
8864
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8865
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
8866
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8867
9277
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
8868
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8869
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8870
|
-
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
8871
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8872
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
8873
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8874
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8875
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8876
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8877
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8878
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
8879
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8880
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8881
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
8882
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
8883
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
8884
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
8885
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
8886
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8887
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8888
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
8889
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
8890
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8891
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8892
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8893
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
8894
9278
|
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
8895
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8896
9279
|
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
8897
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8898
9280
|
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
8899
9281
|
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
8900
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8901
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8902
|
-
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8903
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8904
9282
|
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
8905
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8906
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8907
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8908
9283
|
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
8909
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8910
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8911
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8912
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8913
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8914
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8915
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8916
9284
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
8917
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8918
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8919
9285
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
8920
9286
|
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
8921
9287
|
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
8922
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8923
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8924
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8925
9288
|
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
8926
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8927
9289
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
8928
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8929
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8930
9290
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
8931
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8932
9291
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
8933
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8934
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
8935
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8936
9292
|
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
8937
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8938
9293
|
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8939
9294
|
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8940
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8941
9295
|
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
8942
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8943
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8944
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8945
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8946
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8947
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8948
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8949
9296
|
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8950
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8951
9297
|
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8952
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8953
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8954
9298
|
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
8955
9299
|
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
8956
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8957
9300
|
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8958
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8959
9301
|
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8960
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8961
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8962
9302
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8963
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8964
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8965
9303
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8966
9304
|
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8967
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
8968
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8969
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
8970
9305
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
8971
9306
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
8972
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8973
9307
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8974
9308
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
8975
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
8976
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8977
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8978
9309
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
8979
9310
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
8980
9311
|
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8981
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8982
9312
|
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8983
9313
|
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8984
9314
|
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8985
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8986
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8987
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8988
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8989
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8990
9315
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8991
9316
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
8992
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8993
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8994
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8995
9317
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8996
9318
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8997
9319
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
8998
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
8999
9320
|
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
9000
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9001
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9002
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9003
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
9004
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
9005
9321
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
9006
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
9007
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
9008
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
9009
9322
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
9010
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9011
9323
|
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9012
9324
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9013
9325
|
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9014
9326
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9015
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9016
9327
|
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
9017
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
9018
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9019
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9020
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
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/useExternalContentHandler";
|
|
9024
9328
|
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9025
9329
|
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9026
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9027
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9028
|
-
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9029
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9030
9330
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9031
9331
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9032
9332
|
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9033
9333
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
9034
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9035
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9036
9334
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9037
9335
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9038
9336
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
@@ -9049,7 +9347,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9049
9347
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9050
9348
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9051
9349
|
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9052
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9053
9350
|
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9054
9351
|
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9055
9352
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
@@ -9071,91 +9368,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
|
|
|
9071
9368
|
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9072
9369
|
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9073
9370
|
}
|
|
9074
|
-
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
9075
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9076
|
-
export interface FilteringProps {
|
|
9077
|
-
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
9078
|
-
onShowFilterPanel?: () => unknown;
|
|
9079
|
-
onToggleFilterSidebar?: () => unknown;
|
|
9080
|
-
isFilterActive?: boolean;
|
|
9081
|
-
}
|
|
9082
|
-
}
|
|
9083
|
-
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
9084
|
-
import { FC } from 'react';
|
|
9085
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9086
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9087
|
-
export interface InjectedFilterProps {
|
|
9088
|
-
filter: IndexableFilterDefinition;
|
|
9089
|
-
hasFilter: boolean;
|
|
9090
|
-
isSearchActive: boolean;
|
|
9091
|
-
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
9092
|
-
onSearchChange: (text: string) => void;
|
|
9093
|
-
onClearFilter: () => void;
|
|
9094
|
-
}
|
|
9095
|
-
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
9096
|
-
filter: Partial<IndexableFilterDefinition>;
|
|
9097
|
-
hasFilter: boolean;
|
|
9098
|
-
isSearchActive: boolean;
|
|
9099
|
-
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
9100
|
-
onSearchChange: (search: string) => void;
|
|
9101
|
-
onClearFilter: () => void;
|
|
9102
|
-
};
|
|
9103
|
-
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
9104
|
-
export const FilterContextProvider: FC<{
|
|
9105
|
-
addFilters?: (locationParams: {
|
|
9106
|
-
[paramName: string]: any;
|
|
9107
|
-
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
9108
|
-
additionalExcludedFilterProperties?: string[];
|
|
9109
|
-
onClearQueryString?: (prev: any, next: any) => any;
|
|
9110
|
-
}>;
|
|
9111
|
-
export interface FilterVisibilityState {
|
|
9112
|
-
showFilterAsPanel?: boolean;
|
|
9113
|
-
showFilterSidebar?: boolean;
|
|
9114
|
-
}
|
|
9115
|
-
}
|
|
9116
|
-
declare module "libs/reach/feature/content/src/filter/index" {
|
|
9117
|
-
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
9118
|
-
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9119
|
-
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
9120
|
-
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
9121
|
-
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
9122
|
-
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
9123
|
-
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
9124
|
-
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
9125
|
-
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
9126
|
-
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
9127
|
-
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
9128
|
-
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
9129
|
-
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
9130
|
-
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
9131
|
-
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
9132
|
-
}
|
|
9133
|
-
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
9134
|
-
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
9135
|
-
import { FC } from 'react';
|
|
9136
|
-
interface Props {
|
|
9137
|
-
group: KeywordGroup;
|
|
9138
|
-
keywords?: Keyword[];
|
|
9139
|
-
expanded?: boolean;
|
|
9140
|
-
selectedKeywords: Keyword[];
|
|
9141
|
-
onChange?: (keywords: Keyword[]) => void;
|
|
9142
|
-
mandatoryKeywordIds?: string[];
|
|
9143
|
-
}
|
|
9144
|
-
export const KeywordPickerGroup: FC<Props>;
|
|
9145
|
-
}
|
|
9146
|
-
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
|
|
9147
|
-
import { FC } from 'react';
|
|
9148
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9149
|
-
interface Props {
|
|
9150
|
-
value?: Keyword[] | string[];
|
|
9151
|
-
onChange: (keywords: Keyword[]) => void;
|
|
9152
|
-
showSelectionToggle?: boolean;
|
|
9153
|
-
availableKeywords?: Keyword[];
|
|
9154
|
-
mandatoryKeywordIds?: string[];
|
|
9155
|
-
className?: string;
|
|
9156
|
-
}
|
|
9157
|
-
export const KeywordPicker: FC<Props>;
|
|
9158
|
-
}
|
|
9159
9371
|
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
9160
9372
|
import { FC, ReactNode } from 'react';
|
|
9161
9373
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -9204,26 +9416,6 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
9204
9416
|
*/
|
|
9205
9417
|
export const Textarea: FC<TextareaProps>;
|
|
9206
9418
|
}
|
|
9207
|
-
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9208
|
-
import { FC } from 'react';
|
|
9209
|
-
interface DateTimePickerProps {
|
|
9210
|
-
date: string;
|
|
9211
|
-
maxDate?: string;
|
|
9212
|
-
minDate?: string;
|
|
9213
|
-
dateValidationResourceKey?: string;
|
|
9214
|
-
timeValidationResourceKey?: string;
|
|
9215
|
-
readOnly?: boolean;
|
|
9216
|
-
onChanged: (date: string, isValid: boolean) => void;
|
|
9217
|
-
noDateResourceKey: string;
|
|
9218
|
-
selectDateResourceKey: string;
|
|
9219
|
-
dateOnly?: boolean;
|
|
9220
|
-
initialPickerDate?: string;
|
|
9221
|
-
label?: string;
|
|
9222
|
-
className?: string;
|
|
9223
|
-
}
|
|
9224
|
-
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9225
|
-
export default DateTimePicker;
|
|
9226
|
-
}
|
|
9227
9419
|
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9228
9420
|
import { FC } from 'react';
|
|
9229
9421
|
interface Props {
|
|
@@ -9248,6 +9440,27 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
|
9248
9440
|
}
|
|
9249
9441
|
export const InsertImagesButton: FC<Props>;
|
|
9250
9442
|
}
|
|
9443
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9444
|
+
import { FC } from 'react';
|
|
9445
|
+
interface DateTimePickerProps {
|
|
9446
|
+
date: string;
|
|
9447
|
+
maxDate?: string;
|
|
9448
|
+
minDate?: string;
|
|
9449
|
+
dateValidationResourceKey?: string;
|
|
9450
|
+
timeValidationResourceKey?: string;
|
|
9451
|
+
readOnly?: boolean;
|
|
9452
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
9453
|
+
noDateResourceKey: string;
|
|
9454
|
+
selectDateResourceKey: string;
|
|
9455
|
+
dateOnly?: boolean;
|
|
9456
|
+
initialPickerDate?: string;
|
|
9457
|
+
label?: string;
|
|
9458
|
+
isRequired?: boolean;
|
|
9459
|
+
className?: string;
|
|
9460
|
+
}
|
|
9461
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9462
|
+
export default DateTimePicker;
|
|
9463
|
+
}
|
|
9251
9464
|
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
9252
9465
|
import moment, { Moment } from 'moment';
|
|
9253
9466
|
export enum DateRange {
|
|
@@ -9290,37 +9503,22 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
|
9290
9503
|
allowEmptyValue: boolean;
|
|
9291
9504
|
includePendingInvitationUsers?: boolean;
|
|
9292
9505
|
placeholderStringResourceKey?: string;
|
|
9506
|
+
inputAriaLabelResourceKey: string;
|
|
9293
9507
|
}
|
|
9294
9508
|
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
9295
9509
|
}
|
|
9296
9510
|
declare module "libs/reach/feature/content/src/forms/index" {
|
|
9297
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9298
9511
|
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9299
9512
|
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9300
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9301
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9302
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9303
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9304
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
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/Textarea";
|
|
9308
9513
|
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
9309
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9310
9514
|
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
9311
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9312
9515
|
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
9313
9516
|
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
9314
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9315
9517
|
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9316
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9317
9518
|
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9318
9519
|
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9319
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9320
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9321
9520
|
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
9322
9521
|
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
9323
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9324
9522
|
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9325
9523
|
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9326
9524
|
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
@@ -9400,6 +9598,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9400
9598
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9401
9599
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9402
9600
|
}
|
|
9601
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9602
|
+
import { FC } from 'react';
|
|
9603
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9604
|
+
export const SearchHighlighter: FC<{
|
|
9605
|
+
highlight: SearchHighlight;
|
|
9606
|
+
}>;
|
|
9607
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9608
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9609
|
+
}
|
|
9403
9610
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9404
9611
|
import { FC } from 'react';
|
|
9405
9612
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9428,11 +9635,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9428
9635
|
}
|
|
9429
9636
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9430
9637
|
import { FC } from 'react';
|
|
9431
|
-
import {
|
|
9638
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9432
9639
|
export const PageListItemBody: FC<{
|
|
9433
|
-
|
|
9434
|
-
[key: string]: PublishableItemContent;
|
|
9435
|
-
};
|
|
9640
|
+
page: PageItem;
|
|
9436
9641
|
search?: string;
|
|
9437
9642
|
}>;
|
|
9438
9643
|
}
|
|
@@ -9498,7 +9703,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9498
9703
|
import { FC } from 'react';
|
|
9499
9704
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9500
9705
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9501
|
-
export
|
|
9706
|
+
export interface PostCreatorProps {
|
|
9502
9707
|
groupId: string;
|
|
9503
9708
|
disabled: boolean;
|
|
9504
9709
|
disableDragAndDrop?: boolean;
|
|
@@ -9509,134 +9714,1295 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9509
9714
|
defaultKeywords?: Keyword[];
|
|
9510
9715
|
mandatoryKeywords?: Keyword[];
|
|
9511
9716
|
};
|
|
9512
|
-
|
|
9513
|
-
}
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
import {
|
|
9518
|
-
import {
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
}
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
import {
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9717
|
+
disableAutoFocus?: boolean;
|
|
9718
|
+
}
|
|
9719
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9720
|
+
}
|
|
9721
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9722
|
+
import { FC } from 'react';
|
|
9723
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9724
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
9725
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9726
|
+
interface Props {
|
|
9727
|
+
className?: string;
|
|
9728
|
+
post: Post;
|
|
9729
|
+
initialPageSize?: number;
|
|
9730
|
+
comments?: PaginatedList<Comment>;
|
|
9731
|
+
autoFocusReplyField?: boolean;
|
|
9732
|
+
onReplyAdded: () => void;
|
|
9733
|
+
onReplyDeleted: () => void;
|
|
9734
|
+
onThreadReply?: (threadId: string) => void;
|
|
9735
|
+
}
|
|
9736
|
+
export const PostReplies: FC<Props>;
|
|
9737
|
+
}
|
|
9738
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
9739
|
+
import { FC } from 'react';
|
|
9740
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9741
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9742
|
+
export const PostEditor: FC<{
|
|
9743
|
+
className?: string;
|
|
9744
|
+
post: Post;
|
|
9745
|
+
onCancel: () => void;
|
|
9746
|
+
onBeforeSave: (post: Post) => void;
|
|
9747
|
+
onSaved: (post: Post) => void;
|
|
9748
|
+
keywordSettings?: {
|
|
9749
|
+
availableKeywords?: Keyword[];
|
|
9750
|
+
defaultKeywords?: Keyword[];
|
|
9751
|
+
mandatoryKeywords?: Keyword[];
|
|
9752
|
+
};
|
|
9753
|
+
}>;
|
|
9754
|
+
}
|
|
9755
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9756
|
+
import { FC } from 'react';
|
|
9757
|
+
export const PostFollowButton: FC<{
|
|
9758
|
+
itemId: string;
|
|
9759
|
+
}>;
|
|
9760
|
+
}
|
|
9761
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9762
|
+
import { FC } from 'react';
|
|
9763
|
+
import { NavLink } from 'react-router-dom';
|
|
9764
|
+
export const PostGroup: FC<{
|
|
9765
|
+
groupId: string;
|
|
9766
|
+
to: string;
|
|
9767
|
+
className?: string;
|
|
9768
|
+
}>;
|
|
9769
|
+
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9770
|
+
}
|
|
9771
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9772
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9773
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9774
|
+
interface Props {
|
|
9775
|
+
post: Post;
|
|
9776
|
+
className?: string;
|
|
9777
|
+
threadId?: string;
|
|
9778
|
+
onCustomPostDelete?: () => void;
|
|
9779
|
+
comments?: PaginatedList<Comment>;
|
|
9780
|
+
initialCommentsPageSize?: number;
|
|
9781
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9782
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9783
|
+
onThreadCommentDelete?: () => void;
|
|
9784
|
+
onThreadReply?: (threadId: string) => void;
|
|
9785
|
+
keywordSettings?: {
|
|
9786
|
+
availableKeywords?: Keyword[];
|
|
9787
|
+
defaultKeywords?: Keyword[];
|
|
9788
|
+
mandatoryKeywords?: Keyword[];
|
|
9789
|
+
};
|
|
9790
|
+
showGroup?: boolean;
|
|
9791
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9792
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9793
|
+
}
|
|
9794
|
+
export const PostDisplay: React.FC<Props>;
|
|
9795
|
+
}
|
|
9796
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
|
|
9797
|
+
import { FC } from 'react';
|
|
9798
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
9799
|
+
export const PostGroupsSelector: FC<{
|
|
9800
|
+
groups: UserGroup[];
|
|
9801
|
+
}>;
|
|
9802
|
+
}
|
|
9803
|
+
declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
9804
|
+
import { FC } from 'react';
|
|
9805
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9806
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9807
|
+
interface Props {
|
|
9808
|
+
post: Post;
|
|
9809
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9810
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9811
|
+
keywordSettings?: {
|
|
9812
|
+
availableKeywords?: Keyword[];
|
|
9813
|
+
defaultKeywords?: Keyword[];
|
|
9814
|
+
mandatoryKeywords?: Keyword[];
|
|
9815
|
+
};
|
|
9816
|
+
showGroup: boolean;
|
|
9817
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9818
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9819
|
+
}
|
|
9820
|
+
export const PostListItem: FC<Props>;
|
|
9821
|
+
}
|
|
9822
|
+
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9823
|
+
import { FC } from 'react';
|
|
9824
|
+
import { Post } from "libs/reach/feature/content/src/index";
|
|
9825
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9826
|
+
export const PostWithSelfThreadHandling: FC<{
|
|
9827
|
+
post: Post;
|
|
9828
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9829
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9830
|
+
keywordSettings?: {
|
|
9831
|
+
availableKeywords?: Keyword[];
|
|
9832
|
+
defaultKeywords?: Keyword[];
|
|
9833
|
+
mandatoryKeywords?: Keyword[];
|
|
9834
|
+
};
|
|
9835
|
+
showGroup: boolean;
|
|
9836
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9837
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9838
|
+
}>;
|
|
9839
|
+
}
|
|
9840
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
9841
|
+
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";
|
|
9842
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9843
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9844
|
+
enum StreamItemTypes {
|
|
9845
|
+
Post = "POST",
|
|
9846
|
+
News = "NEWS",
|
|
9847
|
+
Event = "EVENT",
|
|
9848
|
+
Page = "PAGE"
|
|
9849
|
+
}
|
|
9850
|
+
export enum StreamConversationScope {
|
|
9851
|
+
Public = "PUBLIC",
|
|
9852
|
+
Editor = "EDITOR",
|
|
9853
|
+
Posts = "POSTS"
|
|
9854
|
+
}
|
|
9855
|
+
export interface PostStreamItem extends Post {
|
|
9856
|
+
type: StreamItemTypes.Post;
|
|
9857
|
+
isUnread: boolean;
|
|
9858
|
+
keywordsList?: Keyword[];
|
|
9859
|
+
groupIds?: string[];
|
|
9860
|
+
postAttachments?: StreamAttachment[];
|
|
9861
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9862
|
+
hasMoreUnreadComments: boolean;
|
|
9863
|
+
}
|
|
9864
|
+
export interface StreamPostComment extends Comment {
|
|
9865
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9866
|
+
streamConversationScope?: StreamConversationScope;
|
|
9867
|
+
}
|
|
9868
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
9869
|
+
type: GraphQLAttachmentType;
|
|
9870
|
+
}
|
|
9871
|
+
export interface NewsStreamItem extends NewsItem {
|
|
9872
|
+
type: StreamItemTypes.News;
|
|
9873
|
+
contentsList: StreamPublishableItemContents[];
|
|
9874
|
+
channelsList: string[];
|
|
9875
|
+
isUnread: boolean;
|
|
9876
|
+
keywordsList?: Keyword[];
|
|
9877
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9878
|
+
}
|
|
9879
|
+
export enum StreamKnownNewsState {
|
|
9880
|
+
Unconfirmed = "UNCONFIRMED",
|
|
9881
|
+
Alert = "ALERT"
|
|
9882
|
+
}
|
|
9883
|
+
export interface EventStreamItem extends EventItem {
|
|
9884
|
+
type: StreamItemTypes.Event;
|
|
9885
|
+
contentsList: StreamPublishableItemContents[];
|
|
9886
|
+
channelsList: string[];
|
|
9887
|
+
isUnread: boolean;
|
|
9888
|
+
keywordsList?: Keyword[];
|
|
9889
|
+
userResponseType?: StreamEventResponse;
|
|
9890
|
+
}
|
|
9891
|
+
export interface PageStreamItem extends PageItem {
|
|
9892
|
+
type: StreamItemTypes.Page;
|
|
9893
|
+
contentsList: StreamPublishableItemContents[];
|
|
9894
|
+
channelsList: string[];
|
|
9895
|
+
isUnread: boolean;
|
|
9896
|
+
keywordsList?: Keyword[];
|
|
9897
|
+
streamPageType?: string;
|
|
9898
|
+
path?: (PageNavigationNode & {
|
|
9899
|
+
parentId?: string;
|
|
9900
|
+
})[];
|
|
9901
|
+
}
|
|
9902
|
+
interface StreamPublishableItemContents {
|
|
9903
|
+
language: string;
|
|
9904
|
+
title: string;
|
|
9905
|
+
intro?: string;
|
|
9906
|
+
headline?: string;
|
|
9907
|
+
}
|
|
9908
|
+
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9909
|
+
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9910
|
+
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
9911
|
+
export function isEvent(item: StreamItem): item is EventStreamItem;
|
|
9912
|
+
export function isPage(item: StreamItem): item is PageStreamItem;
|
|
9913
|
+
export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
|
|
9914
|
+
groupId: string;
|
|
9915
|
+
attachments: {
|
|
9916
|
+
type: AttachmentType;
|
|
9917
|
+
id: string;
|
|
9918
|
+
filename?: string;
|
|
9919
|
+
previewUrl?: string;
|
|
9920
|
+
url?: string;
|
|
9921
|
+
isUploadInProgress?: boolean;
|
|
9922
|
+
hasError?: boolean;
|
|
9923
|
+
width?: number;
|
|
9924
|
+
height?: number;
|
|
9925
|
+
}[];
|
|
9926
|
+
comments: {
|
|
9927
|
+
items: {
|
|
9928
|
+
conversationScope: ConversationScope;
|
|
9929
|
+
fileAccessToken: string;
|
|
9930
|
+
attachments: {
|
|
9931
|
+
type: AttachmentType;
|
|
9932
|
+
id: string;
|
|
9933
|
+
filename?: string;
|
|
9934
|
+
previewUrl?: string;
|
|
9935
|
+
url?: string;
|
|
9936
|
+
isUploadInProgress?: boolean;
|
|
9937
|
+
hasError?: boolean;
|
|
9938
|
+
width?: number;
|
|
9939
|
+
height?: number;
|
|
9940
|
+
}[];
|
|
9941
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9942
|
+
streamConversationScope?: StreamConversationScope;
|
|
9943
|
+
id: string;
|
|
9944
|
+
parentItemId: string;
|
|
9945
|
+
content: string;
|
|
9946
|
+
contentLanguageCode?: string;
|
|
9947
|
+
receivedDateTime: string;
|
|
9948
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9949
|
+
modified?: string;
|
|
9950
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9951
|
+
isLiked?: boolean;
|
|
9952
|
+
threadId?: string;
|
|
9953
|
+
isUnread?: boolean;
|
|
9954
|
+
hasUnreadReplies?: boolean;
|
|
9955
|
+
isDemoContent?: boolean;
|
|
9956
|
+
attachmentContainerId?: string;
|
|
9957
|
+
}[];
|
|
9958
|
+
paginationToken?: any;
|
|
9959
|
+
nextItem?: StreamPostComment;
|
|
9960
|
+
hasMoreUnreadComments?: boolean;
|
|
9961
|
+
hasNextPage?: boolean;
|
|
9962
|
+
};
|
|
9963
|
+
keywords: {
|
|
9964
|
+
[key: string]: Keyword[];
|
|
9965
|
+
};
|
|
9966
|
+
type: StreamItemTypes.Post;
|
|
9967
|
+
isUnread: boolean;
|
|
9968
|
+
keywordsList?: Keyword[];
|
|
9969
|
+
groupIds?: string[];
|
|
9970
|
+
postAttachments?: StreamAttachment[];
|
|
9971
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9972
|
+
hasMoreUnreadComments: boolean;
|
|
9973
|
+
id: string;
|
|
9974
|
+
content: string;
|
|
9975
|
+
permalink?: string;
|
|
9976
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
9977
|
+
publishingDate: string;
|
|
9978
|
+
modified?: string;
|
|
9979
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
9980
|
+
contentLanguageCode?: string;
|
|
9981
|
+
isLiked?: boolean;
|
|
9982
|
+
isDemoContent?: boolean;
|
|
9983
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
9984
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9985
|
+
fileAccessToken?: string;
|
|
9986
|
+
attachmentContainerId?: string;
|
|
9987
|
+
} | {
|
|
9988
|
+
groupId: string;
|
|
9989
|
+
attachments: {
|
|
9990
|
+
type: AttachmentType;
|
|
9991
|
+
id: string;
|
|
9992
|
+
filename?: string;
|
|
9993
|
+
previewUrl?: string;
|
|
9994
|
+
url?: string;
|
|
9995
|
+
isUploadInProgress?: boolean;
|
|
9996
|
+
hasError?: boolean;
|
|
9997
|
+
width?: number;
|
|
9998
|
+
height?: number;
|
|
9999
|
+
}[];
|
|
10000
|
+
comments: {
|
|
10001
|
+
items: {
|
|
10002
|
+
conversationScope: ConversationScope;
|
|
10003
|
+
fileAccessToken: string;
|
|
10004
|
+
attachments: {
|
|
10005
|
+
type: AttachmentType;
|
|
10006
|
+
id: string;
|
|
10007
|
+
filename?: string;
|
|
10008
|
+
previewUrl?: string;
|
|
10009
|
+
url?: string;
|
|
10010
|
+
isUploadInProgress?: boolean;
|
|
10011
|
+
hasError?: boolean;
|
|
10012
|
+
width?: number;
|
|
10013
|
+
height?: number;
|
|
10014
|
+
}[];
|
|
10015
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10016
|
+
streamConversationScope?: StreamConversationScope;
|
|
10017
|
+
id: string;
|
|
10018
|
+
parentItemId: string;
|
|
10019
|
+
content: string;
|
|
10020
|
+
contentLanguageCode?: string;
|
|
10021
|
+
receivedDateTime: string;
|
|
10022
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10023
|
+
modified?: string;
|
|
10024
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10025
|
+
isLiked?: boolean;
|
|
10026
|
+
threadId?: string;
|
|
10027
|
+
isUnread?: boolean;
|
|
10028
|
+
hasUnreadReplies?: boolean;
|
|
10029
|
+
isDemoContent?: boolean;
|
|
10030
|
+
attachmentContainerId?: string;
|
|
10031
|
+
}[];
|
|
10032
|
+
paginationToken?: any;
|
|
10033
|
+
nextItem?: StreamPostComment;
|
|
10034
|
+
hasMoreUnreadComments?: boolean;
|
|
10035
|
+
hasNextPage?: boolean;
|
|
10036
|
+
};
|
|
10037
|
+
keywords: {
|
|
10038
|
+
[key: string]: Keyword[];
|
|
10039
|
+
};
|
|
10040
|
+
type: StreamItemTypes.News;
|
|
10041
|
+
contentsList: StreamPublishableItemContents[];
|
|
10042
|
+
channelsList: string[];
|
|
10043
|
+
isUnread: boolean;
|
|
10044
|
+
keywordsList?: Keyword[];
|
|
10045
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10046
|
+
source?: string;
|
|
10047
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10048
|
+
expiryDate?: string;
|
|
10049
|
+
knownState: KnownNewsState;
|
|
10050
|
+
hasNewComments?: boolean;
|
|
10051
|
+
isLiked?: boolean;
|
|
10052
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10053
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10054
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10055
|
+
id?: string;
|
|
10056
|
+
versionId?: string;
|
|
10057
|
+
publishingDate?: string;
|
|
10058
|
+
deleted?: string;
|
|
10059
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10060
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10061
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10062
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10063
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10064
|
+
fileAccessToken?: string;
|
|
10065
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10066
|
+
customProperties?: {
|
|
10067
|
+
[key: string]: any;
|
|
10068
|
+
};
|
|
10069
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10070
|
+
modified: string;
|
|
10071
|
+
created: string;
|
|
10072
|
+
publishedVersionId?: string;
|
|
10073
|
+
isCurrentPublishedVersion?: boolean;
|
|
10074
|
+
isLatestVersion?: boolean;
|
|
10075
|
+
permalink?: string;
|
|
10076
|
+
groupIds: string[];
|
|
10077
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10078
|
+
useExternalContent?: boolean;
|
|
10079
|
+
isDemoContent?: boolean;
|
|
10080
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10081
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10082
|
+
} | {
|
|
10083
|
+
groupId: string;
|
|
10084
|
+
attachments: {
|
|
10085
|
+
type: AttachmentType;
|
|
10086
|
+
id: string;
|
|
10087
|
+
filename?: string;
|
|
10088
|
+
previewUrl?: string;
|
|
10089
|
+
url?: string;
|
|
10090
|
+
isUploadInProgress?: boolean;
|
|
10091
|
+
hasError?: boolean;
|
|
10092
|
+
width?: number;
|
|
10093
|
+
height?: number;
|
|
10094
|
+
}[];
|
|
10095
|
+
comments: {
|
|
10096
|
+
items: {
|
|
10097
|
+
conversationScope: ConversationScope;
|
|
10098
|
+
fileAccessToken: string;
|
|
10099
|
+
attachments: {
|
|
10100
|
+
type: AttachmentType;
|
|
10101
|
+
id: string;
|
|
10102
|
+
filename?: string;
|
|
10103
|
+
previewUrl?: string;
|
|
10104
|
+
url?: string;
|
|
10105
|
+
isUploadInProgress?: boolean;
|
|
10106
|
+
hasError?: boolean;
|
|
10107
|
+
width?: number;
|
|
10108
|
+
height?: number;
|
|
10109
|
+
}[];
|
|
10110
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10111
|
+
streamConversationScope?: StreamConversationScope;
|
|
10112
|
+
id: string;
|
|
10113
|
+
parentItemId: string;
|
|
10114
|
+
content: string;
|
|
10115
|
+
contentLanguageCode?: string;
|
|
10116
|
+
receivedDateTime: string;
|
|
10117
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10118
|
+
modified?: string;
|
|
10119
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10120
|
+
isLiked?: boolean;
|
|
10121
|
+
threadId?: string;
|
|
10122
|
+
isUnread?: boolean;
|
|
10123
|
+
hasUnreadReplies?: boolean;
|
|
10124
|
+
isDemoContent?: boolean;
|
|
10125
|
+
attachmentContainerId?: string;
|
|
10126
|
+
}[];
|
|
10127
|
+
paginationToken?: any;
|
|
10128
|
+
nextItem?: StreamPostComment;
|
|
10129
|
+
hasMoreUnreadComments?: boolean;
|
|
10130
|
+
hasNextPage?: boolean;
|
|
10131
|
+
};
|
|
10132
|
+
keywords: {
|
|
10133
|
+
[key: string]: Keyword[];
|
|
10134
|
+
};
|
|
10135
|
+
type: StreamItemTypes.Event;
|
|
10136
|
+
contentsList: StreamPublishableItemContents[];
|
|
10137
|
+
channelsList: string[];
|
|
10138
|
+
isUnread: boolean;
|
|
10139
|
+
keywordsList?: Keyword[];
|
|
10140
|
+
userResponseType?: StreamEventResponse;
|
|
10141
|
+
startDate?: string;
|
|
10142
|
+
endDate?: string;
|
|
10143
|
+
timeZone?: string;
|
|
10144
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10145
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10146
|
+
userResponse?: EventResponse;
|
|
10147
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10148
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10149
|
+
hasNewComments?: boolean;
|
|
10150
|
+
isLiked?: boolean;
|
|
10151
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10152
|
+
recurrenceSeriesId?: string;
|
|
10153
|
+
isSeriesMaster?: string;
|
|
10154
|
+
isVirtual?: boolean;
|
|
10155
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10156
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10157
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10158
|
+
id?: string;
|
|
10159
|
+
versionId?: string;
|
|
10160
|
+
publishingDate?: string;
|
|
10161
|
+
deleted?: string;
|
|
10162
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10163
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10164
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10165
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10166
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10167
|
+
fileAccessToken?: string;
|
|
10168
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10169
|
+
customProperties?: {
|
|
10170
|
+
[key: string]: any;
|
|
10171
|
+
};
|
|
10172
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10173
|
+
modified: string;
|
|
10174
|
+
created: string;
|
|
10175
|
+
publishedVersionId?: string;
|
|
10176
|
+
isCurrentPublishedVersion?: boolean;
|
|
10177
|
+
isLatestVersion?: boolean;
|
|
10178
|
+
permalink?: string;
|
|
10179
|
+
groupIds: string[];
|
|
10180
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10181
|
+
useExternalContent?: boolean;
|
|
10182
|
+
isDemoContent?: boolean;
|
|
10183
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10184
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10185
|
+
} | {
|
|
10186
|
+
groupId: string;
|
|
10187
|
+
attachments: {
|
|
10188
|
+
type: AttachmentType;
|
|
10189
|
+
id: string;
|
|
10190
|
+
filename?: string;
|
|
10191
|
+
previewUrl?: string;
|
|
10192
|
+
url?: string;
|
|
10193
|
+
isUploadInProgress?: boolean;
|
|
10194
|
+
hasError?: boolean;
|
|
10195
|
+
width?: number;
|
|
10196
|
+
height?: number;
|
|
10197
|
+
}[];
|
|
10198
|
+
comments: {
|
|
10199
|
+
items: {
|
|
10200
|
+
conversationScope: ConversationScope;
|
|
10201
|
+
fileAccessToken: string;
|
|
10202
|
+
attachments: {
|
|
10203
|
+
type: AttachmentType;
|
|
10204
|
+
id: string;
|
|
10205
|
+
filename?: string;
|
|
10206
|
+
previewUrl?: string;
|
|
10207
|
+
url?: string;
|
|
10208
|
+
isUploadInProgress?: boolean;
|
|
10209
|
+
hasError?: boolean;
|
|
10210
|
+
width?: number;
|
|
10211
|
+
height?: number;
|
|
10212
|
+
}[];
|
|
10213
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10214
|
+
streamConversationScope?: StreamConversationScope;
|
|
10215
|
+
id: string;
|
|
10216
|
+
parentItemId: string;
|
|
10217
|
+
content: string;
|
|
10218
|
+
contentLanguageCode?: string;
|
|
10219
|
+
receivedDateTime: string;
|
|
10220
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10221
|
+
modified?: string;
|
|
10222
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10223
|
+
isLiked?: boolean;
|
|
10224
|
+
threadId?: string;
|
|
10225
|
+
isUnread?: boolean;
|
|
10226
|
+
hasUnreadReplies?: boolean;
|
|
10227
|
+
isDemoContent?: boolean;
|
|
10228
|
+
attachmentContainerId?: string;
|
|
10229
|
+
}[];
|
|
10230
|
+
paginationToken?: any;
|
|
10231
|
+
nextItem?: StreamPostComment;
|
|
10232
|
+
hasMoreUnreadComments?: boolean;
|
|
10233
|
+
hasNextPage?: boolean;
|
|
10234
|
+
};
|
|
10235
|
+
keywords: {
|
|
10236
|
+
[key: string]: Keyword[];
|
|
10237
|
+
};
|
|
10238
|
+
type: StreamItemTypes.Page;
|
|
10239
|
+
contentsList: StreamPublishableItemContents[];
|
|
10240
|
+
channelsList: string[];
|
|
10241
|
+
isUnread: boolean;
|
|
10242
|
+
keywordsList?: Keyword[];
|
|
10243
|
+
streamPageType?: string;
|
|
10244
|
+
path?: (PageNavigationNode & {
|
|
10245
|
+
parentId?: string;
|
|
10246
|
+
})[];
|
|
10247
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10248
|
+
parentId?: string;
|
|
10249
|
+
pathIds?: string[];
|
|
10250
|
+
position?: number;
|
|
10251
|
+
navigationContext?: PageNavigationContext;
|
|
10252
|
+
hasHiddenAncestor?: boolean;
|
|
10253
|
+
isUnlinked?: boolean;
|
|
10254
|
+
pageType?: PageType;
|
|
10255
|
+
firstChildId?: string;
|
|
10256
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10257
|
+
id?: string;
|
|
10258
|
+
versionId?: string;
|
|
10259
|
+
publishingDate?: string;
|
|
10260
|
+
deleted?: string;
|
|
10261
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10262
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10263
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10264
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10265
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10266
|
+
fileAccessToken?: string;
|
|
10267
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10268
|
+
customProperties?: {
|
|
10269
|
+
[key: string]: any;
|
|
10270
|
+
};
|
|
10271
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10272
|
+
modified: string;
|
|
10273
|
+
created: string;
|
|
10274
|
+
publishedVersionId?: string;
|
|
10275
|
+
isCurrentPublishedVersion?: boolean;
|
|
10276
|
+
isLatestVersion?: boolean;
|
|
10277
|
+
permalink?: string;
|
|
10278
|
+
groupIds: string[];
|
|
10279
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10280
|
+
useExternalContent?: boolean;
|
|
10281
|
+
isDemoContent?: boolean;
|
|
10282
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10283
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10284
|
+
} | {
|
|
10285
|
+
knownState?: undefined;
|
|
10286
|
+
pageType?: undefined;
|
|
10287
|
+
navigationContext?: undefined;
|
|
10288
|
+
userResponse: EventResponse;
|
|
10289
|
+
channels: {
|
|
10290
|
+
name: string;
|
|
10291
|
+
}[];
|
|
10292
|
+
contents: {};
|
|
10293
|
+
bannerInfo: {
|
|
10294
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10295
|
+
type: "video" | "image";
|
|
10296
|
+
videoId?: string;
|
|
10297
|
+
videoUrl?: string;
|
|
10298
|
+
isDirectVideoUrl?: boolean;
|
|
10299
|
+
imageId?: string;
|
|
10300
|
+
};
|
|
10301
|
+
keywords: {
|
|
10302
|
+
[key: string]: Keyword[];
|
|
10303
|
+
};
|
|
10304
|
+
type: StreamItemTypes.Post;
|
|
10305
|
+
isUnread: boolean;
|
|
10306
|
+
keywordsList?: Keyword[];
|
|
10307
|
+
groupIds?: string[];
|
|
10308
|
+
postAttachments?: StreamAttachment[];
|
|
10309
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10310
|
+
hasMoreUnreadComments: boolean;
|
|
10311
|
+
id: string;
|
|
10312
|
+
comments?: PaginatedList<Comment>;
|
|
10313
|
+
groupId: string;
|
|
10314
|
+
content: string;
|
|
10315
|
+
permalink?: string;
|
|
10316
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10317
|
+
publishingDate: string;
|
|
10318
|
+
modified?: string;
|
|
10319
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10320
|
+
contentLanguageCode?: string;
|
|
10321
|
+
isLiked?: boolean;
|
|
10322
|
+
isDemoContent?: boolean;
|
|
10323
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10324
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10325
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10326
|
+
fileAccessToken?: string;
|
|
10327
|
+
attachmentContainerId?: string;
|
|
10328
|
+
} | {
|
|
10329
|
+
knownState: KnownNewsState;
|
|
10330
|
+
pageType?: undefined;
|
|
10331
|
+
navigationContext?: undefined;
|
|
10332
|
+
userResponse: EventResponse;
|
|
10333
|
+
channels: {
|
|
10334
|
+
name: string;
|
|
10335
|
+
}[];
|
|
10336
|
+
contents: {};
|
|
10337
|
+
bannerInfo: {
|
|
10338
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10339
|
+
type: "video" | "image";
|
|
10340
|
+
videoId?: string;
|
|
10341
|
+
videoUrl?: string;
|
|
10342
|
+
isDirectVideoUrl?: boolean;
|
|
10343
|
+
imageId?: string;
|
|
10344
|
+
};
|
|
10345
|
+
keywords: {
|
|
10346
|
+
[key: string]: Keyword[];
|
|
10347
|
+
};
|
|
10348
|
+
type: StreamItemTypes.Post;
|
|
10349
|
+
isUnread: boolean;
|
|
10350
|
+
keywordsList?: Keyword[];
|
|
10351
|
+
groupIds?: string[];
|
|
10352
|
+
postAttachments?: StreamAttachment[];
|
|
10353
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10354
|
+
hasMoreUnreadComments: boolean;
|
|
10355
|
+
id: string;
|
|
10356
|
+
comments?: PaginatedList<Comment>;
|
|
10357
|
+
groupId: string;
|
|
10358
|
+
content: string;
|
|
10359
|
+
permalink?: string;
|
|
10360
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10361
|
+
publishingDate: string;
|
|
10362
|
+
modified?: string;
|
|
10363
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10364
|
+
contentLanguageCode?: string;
|
|
10365
|
+
isLiked?: boolean;
|
|
10366
|
+
isDemoContent?: boolean;
|
|
10367
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10368
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10369
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10370
|
+
fileAccessToken?: string;
|
|
10371
|
+
attachmentContainerId?: string;
|
|
10372
|
+
} | {
|
|
10373
|
+
knownState?: undefined;
|
|
10374
|
+
pageType: PageType;
|
|
10375
|
+
navigationContext: PageNavigationContext;
|
|
10376
|
+
userResponse: EventResponse;
|
|
10377
|
+
channels: {
|
|
10378
|
+
name: string;
|
|
10379
|
+
}[];
|
|
10380
|
+
contents: {};
|
|
10381
|
+
bannerInfo: {
|
|
10382
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10383
|
+
type: "video" | "image";
|
|
10384
|
+
videoId?: string;
|
|
10385
|
+
videoUrl?: string;
|
|
10386
|
+
isDirectVideoUrl?: boolean;
|
|
10387
|
+
imageId?: string;
|
|
10388
|
+
};
|
|
10389
|
+
keywords: {
|
|
10390
|
+
[key: string]: Keyword[];
|
|
10391
|
+
};
|
|
10392
|
+
type: StreamItemTypes.Post;
|
|
10393
|
+
isUnread: boolean;
|
|
10394
|
+
keywordsList?: Keyword[];
|
|
10395
|
+
groupIds?: string[];
|
|
10396
|
+
postAttachments?: StreamAttachment[];
|
|
10397
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10398
|
+
hasMoreUnreadComments: boolean;
|
|
10399
|
+
id: string;
|
|
10400
|
+
comments?: PaginatedList<Comment>;
|
|
10401
|
+
groupId: string;
|
|
10402
|
+
content: string;
|
|
10403
|
+
permalink?: string;
|
|
10404
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10405
|
+
publishingDate: string;
|
|
10406
|
+
modified?: string;
|
|
10407
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10408
|
+
contentLanguageCode?: string;
|
|
10409
|
+
isLiked?: boolean;
|
|
10410
|
+
isDemoContent?: boolean;
|
|
10411
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10412
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10413
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10414
|
+
fileAccessToken?: string;
|
|
10415
|
+
attachmentContainerId?: string;
|
|
10416
|
+
} | {
|
|
10417
|
+
knownState: KnownNewsState;
|
|
10418
|
+
pageType: PageType;
|
|
10419
|
+
navigationContext: PageNavigationContext;
|
|
10420
|
+
userResponse: EventResponse;
|
|
10421
|
+
channels: {
|
|
10422
|
+
name: string;
|
|
10423
|
+
}[];
|
|
10424
|
+
contents: {};
|
|
10425
|
+
bannerInfo: {
|
|
10426
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10427
|
+
type: "video" | "image";
|
|
10428
|
+
videoId?: string;
|
|
10429
|
+
videoUrl?: string;
|
|
10430
|
+
isDirectVideoUrl?: boolean;
|
|
10431
|
+
imageId?: string;
|
|
10432
|
+
};
|
|
10433
|
+
keywords: {
|
|
10434
|
+
[key: string]: Keyword[];
|
|
10435
|
+
};
|
|
10436
|
+
type: StreamItemTypes.Post;
|
|
10437
|
+
isUnread: boolean;
|
|
10438
|
+
keywordsList?: Keyword[];
|
|
10439
|
+
groupIds?: string[];
|
|
10440
|
+
postAttachments?: StreamAttachment[];
|
|
10441
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10442
|
+
hasMoreUnreadComments: boolean;
|
|
10443
|
+
id: string;
|
|
10444
|
+
comments?: PaginatedList<Comment>;
|
|
10445
|
+
groupId: string;
|
|
10446
|
+
content: string;
|
|
10447
|
+
permalink?: string;
|
|
10448
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10449
|
+
publishingDate: string;
|
|
10450
|
+
modified?: string;
|
|
10451
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10452
|
+
contentLanguageCode?: string;
|
|
10453
|
+
isLiked?: boolean;
|
|
10454
|
+
isDemoContent?: boolean;
|
|
10455
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10456
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10457
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10458
|
+
fileAccessToken?: string;
|
|
10459
|
+
attachmentContainerId?: string;
|
|
10460
|
+
} | {
|
|
10461
|
+
knownState: KnownNewsState;
|
|
10462
|
+
pageType?: undefined;
|
|
10463
|
+
navigationContext?: undefined;
|
|
10464
|
+
userResponse: EventResponse;
|
|
10465
|
+
channels: {
|
|
10466
|
+
name: string;
|
|
10467
|
+
}[];
|
|
10468
|
+
contents: {};
|
|
10469
|
+
bannerInfo: {
|
|
10470
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10471
|
+
type: "video" | "image";
|
|
10472
|
+
videoId?: string;
|
|
10473
|
+
videoUrl?: string;
|
|
10474
|
+
isDirectVideoUrl?: boolean;
|
|
10475
|
+
imageId?: string;
|
|
10476
|
+
};
|
|
10477
|
+
keywords: {
|
|
10478
|
+
[key: string]: Keyword[];
|
|
10479
|
+
};
|
|
10480
|
+
type: StreamItemTypes.News;
|
|
10481
|
+
contentsList: StreamPublishableItemContents[];
|
|
10482
|
+
channelsList: string[];
|
|
10483
|
+
isUnread: boolean;
|
|
10484
|
+
keywordsList?: Keyword[];
|
|
10485
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10486
|
+
source?: string;
|
|
10487
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10488
|
+
expiryDate?: string;
|
|
10489
|
+
hasNewComments?: boolean;
|
|
10490
|
+
isLiked?: boolean;
|
|
10491
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10492
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10493
|
+
id?: string;
|
|
10494
|
+
versionId?: string;
|
|
10495
|
+
publishingDate?: string;
|
|
10496
|
+
deleted?: string;
|
|
10497
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10498
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10499
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10500
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10501
|
+
fileAccessToken?: string;
|
|
10502
|
+
customProperties?: {
|
|
10503
|
+
[key: string]: any;
|
|
10504
|
+
};
|
|
10505
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10506
|
+
modified: string;
|
|
10507
|
+
created: string;
|
|
10508
|
+
publishedVersionId?: string;
|
|
10509
|
+
isCurrentPublishedVersion?: boolean;
|
|
10510
|
+
isLatestVersion?: boolean;
|
|
10511
|
+
permalink?: string;
|
|
10512
|
+
groupIds: string[];
|
|
10513
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10514
|
+
useExternalContent?: boolean;
|
|
10515
|
+
isDemoContent?: boolean;
|
|
10516
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10517
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10518
|
+
} | {
|
|
10519
|
+
knownState: KnownNewsState;
|
|
10520
|
+
pageType: PageType;
|
|
10521
|
+
navigationContext: PageNavigationContext;
|
|
10522
|
+
userResponse: EventResponse;
|
|
10523
|
+
channels: {
|
|
10524
|
+
name: string;
|
|
10525
|
+
}[];
|
|
10526
|
+
contents: {};
|
|
10527
|
+
bannerInfo: {
|
|
10528
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10529
|
+
type: "video" | "image";
|
|
10530
|
+
videoId?: string;
|
|
10531
|
+
videoUrl?: string;
|
|
10532
|
+
isDirectVideoUrl?: boolean;
|
|
10533
|
+
imageId?: string;
|
|
10534
|
+
};
|
|
10535
|
+
keywords: {
|
|
10536
|
+
[key: string]: Keyword[];
|
|
10537
|
+
};
|
|
10538
|
+
type: StreamItemTypes.News;
|
|
10539
|
+
contentsList: StreamPublishableItemContents[];
|
|
10540
|
+
channelsList: string[];
|
|
10541
|
+
isUnread: boolean;
|
|
10542
|
+
keywordsList?: Keyword[];
|
|
10543
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10544
|
+
source?: string;
|
|
10545
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10546
|
+
expiryDate?: string;
|
|
10547
|
+
hasNewComments?: boolean;
|
|
10548
|
+
isLiked?: boolean;
|
|
10549
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10550
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10551
|
+
id?: string;
|
|
10552
|
+
versionId?: string;
|
|
10553
|
+
publishingDate?: string;
|
|
10554
|
+
deleted?: string;
|
|
10555
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10556
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10557
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10558
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10559
|
+
fileAccessToken?: string;
|
|
10560
|
+
customProperties?: {
|
|
10561
|
+
[key: string]: any;
|
|
10562
|
+
};
|
|
10563
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10564
|
+
modified: string;
|
|
10565
|
+
created: string;
|
|
10566
|
+
publishedVersionId?: string;
|
|
10567
|
+
isCurrentPublishedVersion?: boolean;
|
|
10568
|
+
isLatestVersion?: boolean;
|
|
10569
|
+
permalink?: string;
|
|
10570
|
+
groupIds: string[];
|
|
10571
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10572
|
+
useExternalContent?: boolean;
|
|
10573
|
+
isDemoContent?: boolean;
|
|
10574
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10575
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10576
|
+
} | {
|
|
10577
|
+
knownState?: undefined;
|
|
10578
|
+
pageType?: undefined;
|
|
10579
|
+
navigationContext?: undefined;
|
|
10580
|
+
userResponse: EventResponse;
|
|
10581
|
+
channels: {
|
|
10582
|
+
name: string;
|
|
10583
|
+
}[];
|
|
10584
|
+
contents: {};
|
|
10585
|
+
bannerInfo: {
|
|
10586
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10587
|
+
type: "video" | "image";
|
|
10588
|
+
videoId?: string;
|
|
10589
|
+
videoUrl?: string;
|
|
10590
|
+
isDirectVideoUrl?: boolean;
|
|
10591
|
+
imageId?: string;
|
|
10592
|
+
};
|
|
10593
|
+
keywords: {
|
|
10594
|
+
[key: string]: Keyword[];
|
|
10595
|
+
};
|
|
10596
|
+
type: StreamItemTypes.Event;
|
|
10597
|
+
contentsList: StreamPublishableItemContents[];
|
|
10598
|
+
channelsList: string[];
|
|
10599
|
+
isUnread: boolean;
|
|
10600
|
+
keywordsList?: Keyword[];
|
|
10601
|
+
userResponseType?: StreamEventResponse;
|
|
10602
|
+
startDate?: string;
|
|
10603
|
+
endDate?: string;
|
|
10604
|
+
timeZone?: string;
|
|
10605
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10606
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10607
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10608
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10609
|
+
hasNewComments?: boolean;
|
|
10610
|
+
isLiked?: boolean;
|
|
10611
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10612
|
+
recurrenceSeriesId?: string;
|
|
10613
|
+
isSeriesMaster?: string;
|
|
10614
|
+
isVirtual?: boolean;
|
|
10615
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10616
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10617
|
+
id?: string;
|
|
10618
|
+
versionId?: string;
|
|
10619
|
+
publishingDate?: string;
|
|
10620
|
+
deleted?: string;
|
|
10621
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10622
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10623
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10624
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10625
|
+
fileAccessToken?: string;
|
|
10626
|
+
customProperties?: {
|
|
10627
|
+
[key: string]: any;
|
|
10628
|
+
};
|
|
10629
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10630
|
+
modified: string;
|
|
10631
|
+
created: string;
|
|
10632
|
+
publishedVersionId?: string;
|
|
10633
|
+
isCurrentPublishedVersion?: boolean;
|
|
10634
|
+
isLatestVersion?: boolean;
|
|
10635
|
+
permalink?: string;
|
|
10636
|
+
groupIds: string[];
|
|
10637
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10638
|
+
useExternalContent?: boolean;
|
|
10639
|
+
isDemoContent?: boolean;
|
|
10640
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10641
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10642
|
+
} | {
|
|
10643
|
+
knownState: KnownNewsState;
|
|
10644
|
+
pageType?: undefined;
|
|
10645
|
+
navigationContext?: undefined;
|
|
10646
|
+
userResponse: EventResponse;
|
|
10647
|
+
channels: {
|
|
10648
|
+
name: string;
|
|
10649
|
+
}[];
|
|
10650
|
+
contents: {};
|
|
10651
|
+
bannerInfo: {
|
|
10652
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10653
|
+
type: "video" | "image";
|
|
10654
|
+
videoId?: string;
|
|
10655
|
+
videoUrl?: string;
|
|
10656
|
+
isDirectVideoUrl?: boolean;
|
|
10657
|
+
imageId?: string;
|
|
10658
|
+
};
|
|
10659
|
+
keywords: {
|
|
10660
|
+
[key: string]: Keyword[];
|
|
10661
|
+
};
|
|
10662
|
+
type: StreamItemTypes.Event;
|
|
10663
|
+
contentsList: StreamPublishableItemContents[];
|
|
10664
|
+
channelsList: string[];
|
|
10665
|
+
isUnread: boolean;
|
|
10666
|
+
keywordsList?: Keyword[];
|
|
10667
|
+
userResponseType?: StreamEventResponse;
|
|
10668
|
+
startDate?: string;
|
|
10669
|
+
endDate?: string;
|
|
10670
|
+
timeZone?: string;
|
|
10671
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10672
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10673
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10674
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10675
|
+
hasNewComments?: boolean;
|
|
10676
|
+
isLiked?: boolean;
|
|
10677
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10678
|
+
recurrenceSeriesId?: string;
|
|
10679
|
+
isSeriesMaster?: string;
|
|
10680
|
+
isVirtual?: boolean;
|
|
10681
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10682
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10683
|
+
id?: string;
|
|
10684
|
+
versionId?: string;
|
|
10685
|
+
publishingDate?: string;
|
|
10686
|
+
deleted?: string;
|
|
10687
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10688
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10689
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10690
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10691
|
+
fileAccessToken?: string;
|
|
10692
|
+
customProperties?: {
|
|
10693
|
+
[key: string]: any;
|
|
10694
|
+
};
|
|
10695
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10696
|
+
modified: string;
|
|
10697
|
+
created: string;
|
|
10698
|
+
publishedVersionId?: string;
|
|
10699
|
+
isCurrentPublishedVersion?: boolean;
|
|
10700
|
+
isLatestVersion?: boolean;
|
|
10701
|
+
permalink?: string;
|
|
10702
|
+
groupIds: string[];
|
|
10703
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10704
|
+
useExternalContent?: boolean;
|
|
10705
|
+
isDemoContent?: boolean;
|
|
10706
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10707
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10708
|
+
} | {
|
|
10709
|
+
knownState?: undefined;
|
|
10710
|
+
pageType: PageType;
|
|
10711
|
+
navigationContext: PageNavigationContext;
|
|
10712
|
+
userResponse: EventResponse;
|
|
10713
|
+
channels: {
|
|
10714
|
+
name: string;
|
|
10715
|
+
}[];
|
|
10716
|
+
contents: {};
|
|
10717
|
+
bannerInfo: {
|
|
10718
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10719
|
+
type: "video" | "image";
|
|
10720
|
+
videoId?: string;
|
|
10721
|
+
videoUrl?: string;
|
|
10722
|
+
isDirectVideoUrl?: boolean;
|
|
10723
|
+
imageId?: string;
|
|
10724
|
+
};
|
|
10725
|
+
keywords: {
|
|
10726
|
+
[key: string]: Keyword[];
|
|
10727
|
+
};
|
|
10728
|
+
type: StreamItemTypes.Event;
|
|
10729
|
+
contentsList: StreamPublishableItemContents[];
|
|
10730
|
+
channelsList: string[];
|
|
10731
|
+
isUnread: boolean;
|
|
10732
|
+
keywordsList?: Keyword[];
|
|
10733
|
+
userResponseType?: StreamEventResponse;
|
|
10734
|
+
startDate?: string;
|
|
10735
|
+
endDate?: string;
|
|
10736
|
+
timeZone?: string;
|
|
10737
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10738
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10739
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10740
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10741
|
+
hasNewComments?: boolean;
|
|
10742
|
+
isLiked?: boolean;
|
|
10743
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10744
|
+
recurrenceSeriesId?: string;
|
|
10745
|
+
isSeriesMaster?: string;
|
|
10746
|
+
isVirtual?: boolean;
|
|
10747
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10748
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10749
|
+
id?: string;
|
|
10750
|
+
versionId?: string;
|
|
10751
|
+
publishingDate?: string;
|
|
10752
|
+
deleted?: string;
|
|
10753
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10754
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10755
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10756
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10757
|
+
fileAccessToken?: string;
|
|
10758
|
+
customProperties?: {
|
|
10759
|
+
[key: string]: any;
|
|
10760
|
+
};
|
|
10761
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10762
|
+
modified: string;
|
|
10763
|
+
created: string;
|
|
10764
|
+
publishedVersionId?: string;
|
|
10765
|
+
isCurrentPublishedVersion?: boolean;
|
|
10766
|
+
isLatestVersion?: boolean;
|
|
10767
|
+
permalink?: string;
|
|
10768
|
+
groupIds: string[];
|
|
10769
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10770
|
+
useExternalContent?: boolean;
|
|
10771
|
+
isDemoContent?: boolean;
|
|
10772
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10773
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10774
|
+
} | {
|
|
10775
|
+
knownState: KnownNewsState;
|
|
10776
|
+
pageType: PageType;
|
|
10777
|
+
navigationContext: PageNavigationContext;
|
|
10778
|
+
userResponse: EventResponse;
|
|
10779
|
+
channels: {
|
|
10780
|
+
name: string;
|
|
10781
|
+
}[];
|
|
10782
|
+
contents: {};
|
|
10783
|
+
bannerInfo: {
|
|
10784
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10785
|
+
type: "video" | "image";
|
|
10786
|
+
videoId?: string;
|
|
10787
|
+
videoUrl?: string;
|
|
10788
|
+
isDirectVideoUrl?: boolean;
|
|
10789
|
+
imageId?: string;
|
|
10790
|
+
};
|
|
10791
|
+
keywords: {
|
|
10792
|
+
[key: string]: Keyword[];
|
|
9545
10793
|
};
|
|
9546
|
-
|
|
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
|
-
keywordSettings?: {
|
|
9579
|
-
availableKeywords?: Keyword[];
|
|
9580
|
-
defaultKeywords?: Keyword[];
|
|
9581
|
-
mandatoryKeywords?: Keyword[];
|
|
10794
|
+
type: StreamItemTypes.Event;
|
|
10795
|
+
contentsList: StreamPublishableItemContents[];
|
|
10796
|
+
channelsList: string[];
|
|
10797
|
+
isUnread: boolean;
|
|
10798
|
+
keywordsList?: Keyword[];
|
|
10799
|
+
userResponseType?: StreamEventResponse;
|
|
10800
|
+
startDate?: string;
|
|
10801
|
+
endDate?: string;
|
|
10802
|
+
timeZone?: string;
|
|
10803
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10804
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10805
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10806
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10807
|
+
hasNewComments?: boolean;
|
|
10808
|
+
isLiked?: boolean;
|
|
10809
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10810
|
+
recurrenceSeriesId?: string;
|
|
10811
|
+
isSeriesMaster?: string;
|
|
10812
|
+
isVirtual?: boolean;
|
|
10813
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10814
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10815
|
+
id?: string;
|
|
10816
|
+
versionId?: string;
|
|
10817
|
+
publishingDate?: string;
|
|
10818
|
+
deleted?: string;
|
|
10819
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10820
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10821
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10822
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10823
|
+
fileAccessToken?: string;
|
|
10824
|
+
customProperties?: {
|
|
10825
|
+
[key: string]: any;
|
|
9582
10826
|
};
|
|
9583
|
-
|
|
9584
|
-
|
|
9585
|
-
|
|
9586
|
-
|
|
9587
|
-
|
|
9588
|
-
|
|
9589
|
-
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
|
|
9593
|
-
|
|
9594
|
-
|
|
9595
|
-
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
|
|
9599
|
-
|
|
9600
|
-
|
|
9601
|
-
|
|
9602
|
-
|
|
9603
|
-
|
|
9604
|
-
|
|
9605
|
-
|
|
9606
|
-
|
|
9607
|
-
|
|
10827
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10828
|
+
modified: string;
|
|
10829
|
+
created: string;
|
|
10830
|
+
publishedVersionId?: string;
|
|
10831
|
+
isCurrentPublishedVersion?: boolean;
|
|
10832
|
+
isLatestVersion?: boolean;
|
|
10833
|
+
permalink?: string;
|
|
10834
|
+
groupIds: string[];
|
|
10835
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10836
|
+
useExternalContent?: boolean;
|
|
10837
|
+
isDemoContent?: boolean;
|
|
10838
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10839
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10840
|
+
} | {
|
|
10841
|
+
knownState?: undefined;
|
|
10842
|
+
pageType?: PageType;
|
|
10843
|
+
navigationContext?: PageNavigationContext;
|
|
10844
|
+
userResponse: EventResponse;
|
|
10845
|
+
channels: {
|
|
10846
|
+
name: string;
|
|
10847
|
+
}[];
|
|
10848
|
+
contents: {};
|
|
10849
|
+
bannerInfo: {
|
|
10850
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10851
|
+
type: "video" | "image";
|
|
10852
|
+
videoId?: string;
|
|
10853
|
+
videoUrl?: string;
|
|
10854
|
+
isDirectVideoUrl?: boolean;
|
|
10855
|
+
imageId?: string;
|
|
9608
10856
|
};
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
onAfterDelete?: (id: string) => unknown;
|
|
9612
|
-
}
|
|
9613
|
-
export const PostListItem: FC<Props>;
|
|
9614
|
-
}
|
|
9615
|
-
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9616
|
-
import { FC } from 'react';
|
|
9617
|
-
import { Post } from "libs/reach/feature/content/src/index";
|
|
9618
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9619
|
-
export const PostWithSelfThreadHandling: FC<{
|
|
9620
|
-
post: Post;
|
|
9621
|
-
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9622
|
-
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9623
|
-
keywordSettings?: {
|
|
9624
|
-
availableKeywords?: Keyword[];
|
|
9625
|
-
defaultKeywords?: Keyword[];
|
|
9626
|
-
mandatoryKeywords?: Keyword[];
|
|
10857
|
+
keywords: {
|
|
10858
|
+
[key: string]: Keyword[];
|
|
9627
10859
|
};
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
9634
|
-
|
|
10860
|
+
type: StreamItemTypes.Page;
|
|
10861
|
+
contentsList: StreamPublishableItemContents[];
|
|
10862
|
+
channelsList: string[];
|
|
10863
|
+
isUnread: boolean;
|
|
10864
|
+
keywordsList?: Keyword[];
|
|
10865
|
+
streamPageType?: string;
|
|
10866
|
+
path?: (PageNavigationNode & {
|
|
10867
|
+
parentId?: string;
|
|
10868
|
+
})[];
|
|
10869
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10870
|
+
parentId?: string;
|
|
10871
|
+
pathIds?: string[];
|
|
10872
|
+
position?: number;
|
|
10873
|
+
hasHiddenAncestor?: boolean;
|
|
10874
|
+
isUnlinked?: boolean;
|
|
10875
|
+
firstChildId?: string;
|
|
10876
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10877
|
+
id?: string;
|
|
10878
|
+
versionId?: string;
|
|
10879
|
+
publishingDate?: string;
|
|
10880
|
+
deleted?: string;
|
|
10881
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10882
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10883
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10884
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10885
|
+
fileAccessToken?: string;
|
|
10886
|
+
customProperties?: {
|
|
10887
|
+
[key: string]: any;
|
|
10888
|
+
};
|
|
10889
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10890
|
+
modified: string;
|
|
10891
|
+
created: string;
|
|
10892
|
+
publishedVersionId?: string;
|
|
10893
|
+
isCurrentPublishedVersion?: boolean;
|
|
10894
|
+
isLatestVersion?: boolean;
|
|
10895
|
+
permalink?: string;
|
|
10896
|
+
groupIds: string[];
|
|
10897
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10898
|
+
useExternalContent?: boolean;
|
|
10899
|
+
isDemoContent?: boolean;
|
|
10900
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10901
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10902
|
+
} | {
|
|
10903
|
+
knownState: KnownNewsState;
|
|
10904
|
+
pageType?: PageType;
|
|
10905
|
+
navigationContext?: PageNavigationContext;
|
|
10906
|
+
userResponse: EventResponse;
|
|
10907
|
+
channels: {
|
|
10908
|
+
name: string;
|
|
10909
|
+
}[];
|
|
10910
|
+
contents: {};
|
|
10911
|
+
bannerInfo: {
|
|
10912
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10913
|
+
type: "video" | "image";
|
|
10914
|
+
videoId?: string;
|
|
10915
|
+
videoUrl?: string;
|
|
10916
|
+
isDirectVideoUrl?: boolean;
|
|
10917
|
+
imageId?: string;
|
|
10918
|
+
};
|
|
10919
|
+
keywords: {
|
|
10920
|
+
[key: string]: Keyword[];
|
|
10921
|
+
};
|
|
10922
|
+
type: StreamItemTypes.Page;
|
|
10923
|
+
contentsList: StreamPublishableItemContents[];
|
|
10924
|
+
channelsList: string[];
|
|
10925
|
+
isUnread: boolean;
|
|
10926
|
+
keywordsList?: Keyword[];
|
|
10927
|
+
streamPageType?: string;
|
|
10928
|
+
path?: (PageNavigationNode & {
|
|
10929
|
+
parentId?: string;
|
|
10930
|
+
})[];
|
|
10931
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10932
|
+
parentId?: string;
|
|
10933
|
+
pathIds?: string[];
|
|
10934
|
+
position?: number;
|
|
10935
|
+
hasHiddenAncestor?: boolean;
|
|
10936
|
+
isUnlinked?: boolean;
|
|
10937
|
+
firstChildId?: string;
|
|
10938
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10939
|
+
id?: string;
|
|
10940
|
+
versionId?: string;
|
|
10941
|
+
publishingDate?: string;
|
|
10942
|
+
deleted?: string;
|
|
10943
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10944
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10945
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10946
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10947
|
+
fileAccessToken?: string;
|
|
10948
|
+
customProperties?: {
|
|
10949
|
+
[key: string]: any;
|
|
10950
|
+
};
|
|
10951
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10952
|
+
modified: string;
|
|
10953
|
+
created: string;
|
|
10954
|
+
publishedVersionId?: string;
|
|
10955
|
+
isCurrentPublishedVersion?: boolean;
|
|
10956
|
+
isLatestVersion?: boolean;
|
|
10957
|
+
permalink?: string;
|
|
10958
|
+
groupIds: string[];
|
|
10959
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10960
|
+
useExternalContent?: boolean;
|
|
10961
|
+
isDemoContent?: boolean;
|
|
10962
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10963
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10964
|
+
})[];
|
|
9635
10965
|
}
|
|
9636
|
-
declare module "libs/reach/feature/content/src/
|
|
10966
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10967
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10968
|
+
import { DocumentNode } from '@apollo/client';
|
|
10969
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10970
|
+
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition, FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
10971
|
+
export enum StreamEventResponse {
|
|
10972
|
+
NotSet = "NOTSET",
|
|
10973
|
+
Registered = "REGISTERED",
|
|
10974
|
+
Declined = "DECLINED"
|
|
10975
|
+
}
|
|
10976
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10977
|
+
}
|
|
10978
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10979
|
+
items: StreamItem[];
|
|
10980
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10981
|
+
loadMore: () => Promise<void>;
|
|
10982
|
+
pageInfo: {
|
|
10983
|
+
errors?: any;
|
|
10984
|
+
hasNextPage: boolean;
|
|
10985
|
+
skip: number;
|
|
10986
|
+
};
|
|
10987
|
+
refresh: () => Promise<void>;
|
|
10988
|
+
isLoadingFirstPage: boolean;
|
|
10989
|
+
};
|
|
10990
|
+
export const getStreamQuery: () => DocumentNode;
|
|
10991
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10992
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10993
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10994
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10995
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10996
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10997
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10998
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
10999
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
11000
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
11001
|
+
}
|
|
11002
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
9637
11003
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9638
11004
|
import { DependencyList } from 'react';
|
|
9639
|
-
export function
|
|
11005
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
9640
11006
|
}
|
|
9641
11007
|
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
9642
11008
|
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -9654,7 +11020,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
9654
11020
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
9655
11021
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
9656
11022
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
9657
|
-
export * from "libs/reach/feature/content/src/posts/
|
|
11023
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
9658
11024
|
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
9659
11025
|
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
9660
11026
|
export * from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9674,7 +11040,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
|
9674
11040
|
onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
|
|
9675
11041
|
onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
|
|
9676
11042
|
className?: string;
|
|
9677
|
-
useLargeAvatar?: boolean;
|
|
9678
11043
|
useExternalLink?: boolean;
|
|
9679
11044
|
}
|
|
9680
11045
|
export const EditorListItem: FC<Props>;
|
|
@@ -9719,12 +11084,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
9719
11084
|
}
|
|
9720
11085
|
}
|
|
9721
11086
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
9722
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11087
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9723
11088
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
9724
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9725
|
-
import { PublishableItem, ItemVersionSummary, PublishableItemVersion } from "libs/reach/util/common/src/index";
|
|
9726
|
-
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9727
|
-
import { ResponseItem } from "libs/reach/util/common/src/index";
|
|
9728
11089
|
import { Observable } from 'rxjs';
|
|
9729
11090
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
9730
11091
|
export function useEditorApi(): {
|
|
@@ -9744,6 +11105,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
|
9744
11105
|
keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
|
|
9745
11106
|
saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
|
|
9746
11107
|
updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
|
|
11108
|
+
translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
|
|
9747
11109
|
};
|
|
9748
11110
|
}
|
|
9749
11111
|
declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
@@ -9767,6 +11129,59 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
9767
11129
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
9768
11130
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
9769
11131
|
}
|
|
11132
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
11133
|
+
import { FC } from 'react';
|
|
11134
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11135
|
+
export const StreamPostItemCard: FC<{
|
|
11136
|
+
post: PostStreamItem;
|
|
11137
|
+
onPostDelete: (id: string) => unknown;
|
|
11138
|
+
}>;
|
|
11139
|
+
}
|
|
11140
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
11141
|
+
import { FC } from 'react';
|
|
11142
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11143
|
+
export const StreamNewsItemCard: FC<{
|
|
11144
|
+
news: NewsStreamItem;
|
|
11145
|
+
}>;
|
|
11146
|
+
}
|
|
11147
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
11148
|
+
import { FC } from 'react';
|
|
11149
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11150
|
+
export const StreamEventItemCard: FC<{
|
|
11151
|
+
event: EventStreamItem;
|
|
11152
|
+
}>;
|
|
11153
|
+
}
|
|
11154
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11155
|
+
import { FC } from 'react';
|
|
11156
|
+
export const GlobalSearchButton: FC;
|
|
11157
|
+
}
|
|
11158
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11159
|
+
import { FC } from 'react';
|
|
11160
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11161
|
+
export type StreamQueryResult = {
|
|
11162
|
+
items: StreamItem[];
|
|
11163
|
+
};
|
|
11164
|
+
export const StreamList: FC;
|
|
11165
|
+
}
|
|
11166
|
+
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
11167
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
11168
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
11169
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11170
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
|
|
11171
|
+
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11172
|
+
}
|
|
11173
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11174
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
11175
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11176
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11177
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
11178
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
11179
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
11180
|
+
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
11181
|
+
}
|
|
11182
|
+
declare module "libs/reach/feature/content/src/search/index" {
|
|
11183
|
+
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11184
|
+
}
|
|
9770
11185
|
declare module "libs/reach/feature/content/src/index" {
|
|
9771
11186
|
export * from "libs/reach/feature/content/src/comments/index";
|
|
9772
11187
|
export * from "libs/reach/feature/content/src/common/index";
|
|
@@ -9779,6 +11194,8 @@ declare module "libs/reach/feature/content/src/index" {
|
|
|
9779
11194
|
export * from "libs/reach/feature/content/src/posts/index";
|
|
9780
11195
|
export * from "libs/reach/feature/content/src/editor/index";
|
|
9781
11196
|
export * from "libs/reach/feature/content/src/public-user/index";
|
|
11197
|
+
export * from "libs/reach/feature/content/src/stream/index";
|
|
11198
|
+
export * from "libs/reach/feature/content/src/search/index";
|
|
9782
11199
|
}
|
|
9783
11200
|
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
9784
11201
|
import { FC } from 'react';
|
|
@@ -9849,20 +11266,22 @@ declare module "apps/reach-app/src/app/AppLoader" {
|
|
|
9849
11266
|
}
|
|
9850
11267
|
declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
|
|
9851
11268
|
import './ContainerWithLogo.scss';
|
|
11269
|
+
import { LogoInfo } from "libs/reach/util/common/src/index";
|
|
11270
|
+
import { FC, ReactNode } from 'react';
|
|
9852
11271
|
export enum DefaultLogoColor {
|
|
9853
11272
|
Default = 0,
|
|
9854
11273
|
White = 1
|
|
9855
11274
|
}
|
|
9856
|
-
type RenderChildren =
|
|
9857
|
-
export const ContainerWithLogo:
|
|
9858
|
-
|
|
9859
|
-
logoColor?: DefaultLogoColor;
|
|
11275
|
+
type RenderChildren = ReactNode | (() => ReactNode);
|
|
11276
|
+
export const ContainerWithLogo: FC<{
|
|
11277
|
+
logoInfo?: LogoInfo;
|
|
9860
11278
|
text?: string;
|
|
9861
11279
|
headerClassName?: string;
|
|
9862
11280
|
additionalClasses?: string;
|
|
9863
11281
|
children: RenderChildren;
|
|
9864
11282
|
className?: string;
|
|
9865
11283
|
additionalContent?: RenderChildren;
|
|
11284
|
+
isBrandedContainer?: boolean;
|
|
9866
11285
|
}>;
|
|
9867
11286
|
}
|
|
9868
11287
|
declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
|
|
@@ -9894,7 +11313,11 @@ declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
|
9894
11313
|
MobileHidden = 1
|
|
9895
11314
|
}
|
|
9896
11315
|
export function shutdownZendesk(): void;
|
|
9897
|
-
export function
|
|
11316
|
+
export function useZendeskWithSubscription(): {
|
|
11317
|
+
showZendeskChat: () => void;
|
|
11318
|
+
toggleIcon: (show: boolean) => void;
|
|
11319
|
+
};
|
|
11320
|
+
export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
|
|
9898
11321
|
showZendeskChat: () => void;
|
|
9899
11322
|
toggleIcon: (show: boolean) => void;
|
|
9900
11323
|
};
|
|
@@ -9909,27 +11332,8 @@ declare module "apps/reach-app/src/app/EnforcedSubscriptionContextProvider" {
|
|
|
9909
11332
|
}
|
|
9910
11333
|
declare module "apps/reach-app/src/app/chrome/PageMenuActionItem" {
|
|
9911
11334
|
import { FC } from 'react';
|
|
9912
|
-
import {
|
|
9913
|
-
export
|
|
9914
|
-
key?: string | number;
|
|
9915
|
-
title?: string;
|
|
9916
|
-
iconName?: string;
|
|
9917
|
-
to?: string;
|
|
9918
|
-
onClick?: () => void;
|
|
9919
|
-
isActive?: boolean;
|
|
9920
|
-
exact?: boolean;
|
|
9921
|
-
cannotBeActive?: boolean;
|
|
9922
|
-
submenuContents?: JSX.Element;
|
|
9923
|
-
submenuStyleDefinition?: StyleDefinition;
|
|
9924
|
-
badgeInfo?: number | boolean;
|
|
9925
|
-
domIdentifier?: string;
|
|
9926
|
-
secondaryIconName?: string;
|
|
9927
|
-
secondaryIconTooltipResourceKey?: string;
|
|
9928
|
-
onSecondaryIconClick?: () => void;
|
|
9929
|
-
iconColor?: string;
|
|
9930
|
-
className?: string;
|
|
9931
|
-
}
|
|
9932
|
-
export const PageMenuActionItem: FC<PageAction>;
|
|
11335
|
+
import { PageNavigationNodeProps } from "libs/reach/util/common/src/index";
|
|
11336
|
+
export const PageMenuActionItem: FC<PageNavigationNodeProps>;
|
|
9933
11337
|
}
|
|
9934
11338
|
declare module "apps/reach-app/src/app/admin/ManagePluginsPage" {
|
|
9935
11339
|
import { FC } from 'react';
|
|
@@ -9939,7 +11343,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
|
|
|
9939
11343
|
import { FC } from 'react';
|
|
9940
11344
|
export const AdminActionItem: FC<{
|
|
9941
11345
|
submenuContents: JSX.Element;
|
|
9942
|
-
onClick
|
|
11346
|
+
onClick?: () => unknown;
|
|
9943
11347
|
title?: string;
|
|
9944
11348
|
}>;
|
|
9945
11349
|
const AdminRoutes: FC;
|
|
@@ -9953,7 +11357,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
|
|
|
9953
11357
|
import { FC } from 'react';
|
|
9954
11358
|
export const ChatMenuNode: FC<{
|
|
9955
11359
|
title: string;
|
|
9956
|
-
onClick
|
|
11360
|
+
onClick?: () => void;
|
|
9957
11361
|
}>;
|
|
9958
11362
|
}
|
|
9959
11363
|
declare module "apps/reach-app/src/app/chrome/Sidebar" {
|
|
@@ -9980,20 +11384,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
|
|
|
9980
11384
|
className?: string;
|
|
9981
11385
|
}>;
|
|
9982
11386
|
}
|
|
9983
|
-
declare module "apps/reach-app/src/app/about/ApplicationVersion" {
|
|
9984
|
-
export default interface ApplicationVersion {
|
|
9985
|
-
description: string;
|
|
9986
|
-
version: string;
|
|
9987
|
-
commitId: string;
|
|
9988
|
-
}
|
|
9989
|
-
}
|
|
9990
|
-
declare module "apps/reach-app/src/app/chrome/VersionInfo" {
|
|
9991
|
-
import { FC } from 'react';
|
|
9992
|
-
export const VersionInfo: FC<{
|
|
9993
|
-
className?: string;
|
|
9994
|
-
renderCommitId?: boolean;
|
|
9995
|
-
}>;
|
|
9996
|
-
}
|
|
9997
11387
|
declare module "apps/reach-app/src/AppLoaderContextProvider" {
|
|
9998
11388
|
import { FC, ReactNode } from 'react';
|
|
9999
11389
|
export const AppLoaderContext: import("react").Context<{
|
|
@@ -10139,6 +11529,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
10139
11529
|
}
|
|
10140
11530
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
10141
11531
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|
|
11532
|
+
import { PageMenuActionItem } from "apps/reach-app/src/app/chrome/PageMenuActionItem";
|
|
10142
11533
|
import { NavLinkSidebarItem } from "apps/reach-app/src/app/chrome/SidebarItem";
|
|
10143
|
-
export { Page, NavLinkSidebarItem };
|
|
11534
|
+
export { Page, NavLinkSidebarItem, PageMenuActionItem };
|
|
10144
11535
|
}
|