@livetiles/reach-plugin-types 0.4.0-preview.39 → 0.4.0-preview.390
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 +2472 -1077
- 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,34 @@ 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/ColorOnWhitePreview" {
|
|
4993
|
+
import { FC } from 'react';
|
|
4994
|
+
export const ColorOnWhitePreview: FC;
|
|
4995
|
+
}
|
|
4996
|
+
declare module "apps/reach-app/src/app/admin/themes/ThemeContrastPreview" {
|
|
4997
|
+
import { FC } from 'react';
|
|
4998
|
+
export const ThemeContrastPreview: FC<{
|
|
4999
|
+
backgroundColor: string;
|
|
5000
|
+
foregroundColor: string;
|
|
5001
|
+
}>;
|
|
5002
|
+
}
|
|
4723
5003
|
declare module "apps/reach-app/src/app/admin/themes/Themes" {
|
|
4724
5004
|
import { FC } from 'react';
|
|
4725
5005
|
export const Themes: FC;
|
|
@@ -4729,6 +5009,42 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
|
|
|
4729
5009
|
import './ApplicationName.scss';
|
|
4730
5010
|
export const ApplicationName: FC;
|
|
4731
5011
|
}
|
|
5012
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
|
|
5013
|
+
import { FC } from 'react';
|
|
5014
|
+
export const AppBarLogoPreview: FC<{
|
|
5015
|
+
src: string;
|
|
5016
|
+
subscriptionName: string;
|
|
5017
|
+
}>;
|
|
5018
|
+
export const SidePanelLogoPreview: FC<{
|
|
5019
|
+
src: string;
|
|
5020
|
+
subscriptionName: string;
|
|
5021
|
+
}>;
|
|
5022
|
+
export const EmailLogoPreview: FC<{
|
|
5023
|
+
src: string;
|
|
5024
|
+
subscriptionName: string;
|
|
5025
|
+
}>;
|
|
5026
|
+
export const SignInLogoPreview: FC<{
|
|
5027
|
+
src: string;
|
|
5028
|
+
}>;
|
|
5029
|
+
}
|
|
5030
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
|
|
5031
|
+
import { FC } from 'react';
|
|
5032
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5033
|
+
export const LogoPreviewDialog: FC<{
|
|
5034
|
+
canSave: boolean;
|
|
5035
|
+
onDismiss: () => unknown;
|
|
5036
|
+
onSave: (logoSize: LogoSize) => unknown;
|
|
5037
|
+
source: string;
|
|
5038
|
+
logoType: LogoSize;
|
|
5039
|
+
}>;
|
|
5040
|
+
}
|
|
5041
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
|
|
5042
|
+
import { FC } from 'react';
|
|
5043
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5044
|
+
export const LogoEditor: FC<{
|
|
5045
|
+
logoType: LogoSize;
|
|
5046
|
+
}>;
|
|
5047
|
+
}
|
|
4732
5048
|
declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
|
|
4733
5049
|
import { FC } from 'react';
|
|
4734
5050
|
export const ApplicationLogo: FC;
|
|
@@ -5490,6 +5806,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
|
|
|
5490
5806
|
}
|
|
5491
5807
|
export const GoToAdminConsentButton: React.FC<Props>;
|
|
5492
5808
|
}
|
|
5809
|
+
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
5810
|
+
import { IntlShape } from 'react-intl';
|
|
5811
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
5812
|
+
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
5813
|
+
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
5814
|
+
export const systemAccountGroupIds: {
|
|
5815
|
+
everyone: string;
|
|
5816
|
+
directoryUsers: string;
|
|
5817
|
+
nonDirectoryUsers: string;
|
|
5818
|
+
allGroups: string[];
|
|
5819
|
+
};
|
|
5820
|
+
export function getDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5821
|
+
export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5822
|
+
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
5823
|
+
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
5824
|
+
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
5825
|
+
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
5826
|
+
export const isAdGroup: (account: Account) => boolean;
|
|
5827
|
+
export const isUser: (account: Account) => boolean;
|
|
5828
|
+
}
|
|
5493
5829
|
declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
|
|
5494
5830
|
import { FC } from 'react';
|
|
5495
5831
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -5855,23 +6191,19 @@ declare module "apps/reach-app/src/app/chrome/BaseSidebarItem" {
|
|
|
5855
6191
|
}
|
|
5856
6192
|
declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
5857
6193
|
import { FC } from 'react';
|
|
5858
|
-
|
|
5859
|
-
backgroundColor: string;
|
|
5860
|
-
color: string;
|
|
5861
|
-
}
|
|
6194
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
5862
6195
|
export const SidebarItemSection: FC<{
|
|
5863
|
-
styleDefinition?:
|
|
6196
|
+
styleDefinition?: ColorStyleDefinition;
|
|
5864
6197
|
}>;
|
|
5865
6198
|
}
|
|
5866
6199
|
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
5867
|
-
import
|
|
6200
|
+
import { FC, ReactNode } from 'react';
|
|
6201
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
5868
6202
|
import './SidebarItem.scss';
|
|
5869
|
-
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
5870
6203
|
import { LocationDescriptor } from 'history';
|
|
5871
|
-
import {
|
|
5872
|
-
import { ReactNode } from 'react';
|
|
6204
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
5873
6205
|
interface CommonSidebarItemProps {
|
|
5874
|
-
title?:
|
|
6206
|
+
title?: string | JSX.Element;
|
|
5875
6207
|
titleResource?: string;
|
|
5876
6208
|
icon?: ReactNode;
|
|
5877
6209
|
iconName?: string;
|
|
@@ -5883,14 +6215,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5883
6215
|
reverse?: boolean;
|
|
5884
6216
|
notHighlightable?: boolean;
|
|
5885
6217
|
onClick?: () => void;
|
|
5886
|
-
children?: any;
|
|
5887
6218
|
className?: string;
|
|
5888
6219
|
isActive?: boolean;
|
|
5889
6220
|
activeClassName?: string;
|
|
5890
6221
|
readOnly?: boolean;
|
|
5891
6222
|
submenu?: JSX.Element;
|
|
5892
6223
|
submenuClassName?: string;
|
|
5893
|
-
submenuStyleDefinition?:
|
|
6224
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
5894
6225
|
badgeInfo?: number | boolean;
|
|
5895
6226
|
domIdentifier?: string;
|
|
5896
6227
|
}
|
|
@@ -5902,13 +6233,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5902
6233
|
secondaryIconRoute?: LocationDescriptor;
|
|
5903
6234
|
isHoverable?: boolean;
|
|
5904
6235
|
}
|
|
5905
|
-
export const SidebarItem:
|
|
6236
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
5906
6237
|
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
5907
|
-
route:
|
|
6238
|
+
route: LocationDescriptor;
|
|
5908
6239
|
exact?: boolean;
|
|
5909
6240
|
linkClassName?: string;
|
|
5910
6241
|
}
|
|
5911
|
-
export const NavLinkSidebarItem:
|
|
6242
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
5912
6243
|
}
|
|
5913
6244
|
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
5914
6245
|
import { WrappedComponentProps } from 'react-intl';
|
|
@@ -6001,24 +6332,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
|
6001
6332
|
import { FC } from 'react';
|
|
6002
6333
|
export const GroupListPage: FC;
|
|
6003
6334
|
}
|
|
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
6335
|
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
6023
6336
|
import { FC } from 'react';
|
|
6024
6337
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -6197,7 +6510,6 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
|
6197
6510
|
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
6198
6511
|
import { ReactNode } from 'react';
|
|
6199
6512
|
import { Account } from "libs/reach/util/common/src/index";
|
|
6200
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
6201
6513
|
export interface UserSuggestion {
|
|
6202
6514
|
id: string;
|
|
6203
6515
|
upn: string;
|
|
@@ -6217,13 +6529,18 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
|
6217
6529
|
onCtrlEnter?: () => unknown;
|
|
6218
6530
|
onChange?: (value: string) => void;
|
|
6219
6531
|
onFocus?: () => void;
|
|
6220
|
-
|
|
6532
|
+
additionalInputControl?: ReactNode;
|
|
6533
|
+
buttons?: {
|
|
6534
|
+
leftSide?: ReactNode;
|
|
6535
|
+
rightSide?: ReactNode;
|
|
6536
|
+
};
|
|
6221
6537
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6222
|
-
inputTheme?: CommentInputTheme;
|
|
6223
6538
|
placeHolderStringResourceKey?: string;
|
|
6224
6539
|
placeHolderStringResourceValues?: {
|
|
6225
6540
|
[key: string]: string | number | boolean | Date;
|
|
6226
6541
|
};
|
|
6542
|
+
disableBoxShadow?: boolean;
|
|
6543
|
+
ariaLabel?: string;
|
|
6227
6544
|
}
|
|
6228
6545
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6229
6546
|
}
|
|
@@ -6237,18 +6554,6 @@ declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
|
6237
6554
|
isLarge: boolean;
|
|
6238
6555
|
}>;
|
|
6239
6556
|
}
|
|
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
6557
|
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
6253
6558
|
import { VideoSource } from "libs/reach/util/common/src/index";
|
|
6254
6559
|
export interface KalturaProperties {
|
|
@@ -6263,6 +6568,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6263
6568
|
private static vimeoRegex;
|
|
6264
6569
|
private static microsoftStreamRegex;
|
|
6265
6570
|
private static vimeoDirectLinkRegex;
|
|
6571
|
+
private static vimeoRedirectLinkRegex;
|
|
6266
6572
|
private static kalturaRegex;
|
|
6267
6573
|
readonly source: VideoSource | null;
|
|
6268
6574
|
readonly id: string | null;
|
|
@@ -6270,9 +6576,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6270
6576
|
readonly videoProperties: any;
|
|
6271
6577
|
readonly thumbnailUrl: string;
|
|
6272
6578
|
constructor(url: string);
|
|
6273
|
-
isValid(): boolean;
|
|
6579
|
+
isValid(features?: any): boolean;
|
|
6274
6580
|
}
|
|
6581
|
+
export function getVideoSources(features: any): any[];
|
|
6275
6582
|
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6583
|
+
export function getAllVideoSources(features: any): any[];
|
|
6276
6584
|
}
|
|
6277
6585
|
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6278
6586
|
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
@@ -6300,9 +6608,9 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
|
6300
6608
|
}
|
|
6301
6609
|
}
|
|
6302
6610
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
6303
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6611
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6304
6612
|
export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
|
|
6305
|
-
keywords?:
|
|
6613
|
+
keywords?: FilterWithLogicalOperator;
|
|
6306
6614
|
}
|
|
6307
6615
|
}
|
|
6308
6616
|
declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
|
|
@@ -6327,6 +6635,14 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6327
6635
|
export interface IndexableFilterDefinition {
|
|
6328
6636
|
[key: string]: any;
|
|
6329
6637
|
}
|
|
6638
|
+
export interface FilterWithLogicalOperator {
|
|
6639
|
+
items?: string[];
|
|
6640
|
+
operator?: LogicalOperator;
|
|
6641
|
+
}
|
|
6642
|
+
export enum LogicalOperator {
|
|
6643
|
+
Or = "or",
|
|
6644
|
+
And = "and"
|
|
6645
|
+
}
|
|
6330
6646
|
}
|
|
6331
6647
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6332
6648
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
@@ -6349,12 +6665,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
|
|
|
6349
6665
|
contacts?: string[];
|
|
6350
6666
|
}
|
|
6351
6667
|
}
|
|
6668
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6669
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6670
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6671
|
+
channels?: FilterWithLogicalOperator;
|
|
6672
|
+
}
|
|
6673
|
+
}
|
|
6352
6674
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6353
6675
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6354
6676
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6355
6677
|
import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6356
6678
|
import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6357
|
-
|
|
6679
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6680
|
+
export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
|
|
6358
6681
|
excludePastEvents?: boolean;
|
|
6359
6682
|
pastEventsOnly?: boolean;
|
|
6360
6683
|
}
|
|
@@ -6365,26 +6688,19 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6365
6688
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6366
6689
|
export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6367
6690
|
}
|
|
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
6691
|
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6379
6692
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6380
6693
|
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6381
6694
|
author?: string;
|
|
6382
6695
|
}
|
|
6383
6696
|
}
|
|
6384
|
-
declare module "libs/reach/feature/content/src/filter/
|
|
6697
|
+
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6385
6698
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6386
|
-
export interface
|
|
6387
|
-
|
|
6699
|
+
export interface FilteringProps {
|
|
6700
|
+
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6701
|
+
onShowFilterPanel?: () => unknown;
|
|
6702
|
+
onToggleFilterSidebar?: () => unknown;
|
|
6703
|
+
isFilterActive?: boolean;
|
|
6388
6704
|
}
|
|
6389
6705
|
}
|
|
6390
6706
|
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
@@ -6405,6 +6721,95 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6405
6721
|
unreadOnly?: boolean;
|
|
6406
6722
|
}
|
|
6407
6723
|
}
|
|
6724
|
+
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6725
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6726
|
+
export enum ItemType {
|
|
6727
|
+
None = 0,
|
|
6728
|
+
News = 1,
|
|
6729
|
+
Post = 2,
|
|
6730
|
+
Page = 4,
|
|
6731
|
+
Event = 8
|
|
6732
|
+
}
|
|
6733
|
+
export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
|
|
6734
|
+
itemType?: ItemType;
|
|
6735
|
+
}
|
|
6736
|
+
}
|
|
6737
|
+
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
6738
|
+
import { FC } from 'react';
|
|
6739
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6740
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6741
|
+
export interface InjectedFilterProps {
|
|
6742
|
+
filter: IndexableFilterDefinition;
|
|
6743
|
+
hasFilter: boolean;
|
|
6744
|
+
isSearchActive: boolean;
|
|
6745
|
+
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6746
|
+
onSearchChange: (text: string) => void;
|
|
6747
|
+
onClearFilter: () => void;
|
|
6748
|
+
}
|
|
6749
|
+
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
6750
|
+
filter: Partial<IndexableFilterDefinition>;
|
|
6751
|
+
hasFilter: boolean;
|
|
6752
|
+
isSearchActive: boolean;
|
|
6753
|
+
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
6754
|
+
onSearchChange: (search: string) => void;
|
|
6755
|
+
onClearFilter: () => void;
|
|
6756
|
+
};
|
|
6757
|
+
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
6758
|
+
export const FilterContextProvider: FC<{
|
|
6759
|
+
addFilters?: (locationParams: {
|
|
6760
|
+
[paramName: string]: any;
|
|
6761
|
+
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
6762
|
+
additionalExcludedFilterProperties?: string[];
|
|
6763
|
+
onClearQueryString?: (prev: any, next: any) => any;
|
|
6764
|
+
}>;
|
|
6765
|
+
export interface FilterVisibilityState {
|
|
6766
|
+
showFilterAsPanel?: boolean;
|
|
6767
|
+
showFilterSidebar?: boolean;
|
|
6768
|
+
}
|
|
6769
|
+
}
|
|
6770
|
+
declare module "libs/reach/feature/content/src/filter/index" {
|
|
6771
|
+
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6772
|
+
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6773
|
+
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6774
|
+
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6775
|
+
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6776
|
+
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6777
|
+
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6778
|
+
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
6779
|
+
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6780
|
+
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6781
|
+
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
6782
|
+
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6783
|
+
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6784
|
+
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6785
|
+
export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
|
|
6786
|
+
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
6787
|
+
export * from "libs/reach/feature/content/src/filter/utils";
|
|
6788
|
+
}
|
|
6789
|
+
declare module "libs/reach/feature/content/src/filter/utils" {
|
|
6790
|
+
import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
6791
|
+
export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
|
|
6792
|
+
channels?: undefined;
|
|
6793
|
+
} | {
|
|
6794
|
+
channels: string;
|
|
6795
|
+
};
|
|
6796
|
+
export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
|
|
6797
|
+
keywords?: undefined;
|
|
6798
|
+
} | {
|
|
6799
|
+
keywords: string;
|
|
6800
|
+
};
|
|
6801
|
+
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6802
|
+
}
|
|
6803
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6804
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6805
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6806
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6807
|
+
export function useEventsApi(): {
|
|
6808
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6809
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
6810
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6811
|
+
};
|
|
6812
|
+
}
|
|
6408
6813
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6409
6814
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6410
6815
|
import { Observable } from 'rxjs';
|
|
@@ -6494,6 +6899,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6494
6899
|
import { Account, BaseItem, CurrentUser, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
6495
6900
|
import { Comment, ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
6496
6901
|
import { ItemStatistics } from "libs/reach/util/common/src/index";
|
|
6902
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6497
6903
|
export interface Post extends BaseItem, ItemWithAttachments {
|
|
6498
6904
|
id: string;
|
|
6499
6905
|
comments?: PaginatedList<Comment>;
|
|
@@ -6516,6 +6922,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6516
6922
|
token?: string;
|
|
6517
6923
|
pageSize?: string;
|
|
6518
6924
|
search?: string;
|
|
6925
|
+
keywords?: FilterWithLogicalOperator;
|
|
6519
6926
|
}
|
|
6520
6927
|
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
6521
6928
|
export function getPostsBaseRoute(post: Post, user: CurrentUser): string;
|
|
@@ -6548,7 +6955,6 @@ declare module "libs/reach/feature/content/src/common/useEmbeddedObjectValidator
|
|
|
6548
6955
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
6549
6956
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
6550
6957
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
6551
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6552
6958
|
export interface ClientAttachment extends Attachment {
|
|
6553
6959
|
file?: File;
|
|
6554
6960
|
}
|
|
@@ -6562,14 +6968,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6562
6968
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6563
6969
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6564
6970
|
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
6971
|
disableAddGif?: boolean;
|
|
6574
6972
|
disableAddFiles?: boolean;
|
|
6575
6973
|
};
|
|
@@ -6582,14 +6980,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6582
6980
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6583
6981
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6584
6982
|
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
6983
|
disableAddGif?: boolean;
|
|
6594
6984
|
disableAddFiles?: boolean;
|
|
6595
6985
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -6618,7 +7008,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
6618
7008
|
private getVideoElement;
|
|
6619
7009
|
private getNotSupportedElement;
|
|
6620
7010
|
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
6621
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "
|
|
7011
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
6622
7012
|
}
|
|
6623
7013
|
}
|
|
6624
7014
|
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
@@ -6667,8 +7057,7 @@ declare module "libs/reach/feature/content/src/posts/VideoList" {
|
|
|
6667
7057
|
}
|
|
6668
7058
|
declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
6669
7059
|
import { FC } from 'react';
|
|
6670
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6671
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
7060
|
+
import { Keyword, PublishableItem } from "libs/reach/util/common/src/index";
|
|
6672
7061
|
export interface KeywordsInfoProps {
|
|
6673
7062
|
keywords: {
|
|
6674
7063
|
[key: string]: Keyword[];
|
|
@@ -6688,18 +7077,21 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
6688
7077
|
className?: string;
|
|
6689
7078
|
filterBaseUrl?: string;
|
|
6690
7079
|
}>;
|
|
6691
|
-
export const FlatKeywords:
|
|
7080
|
+
export const FlatKeywords: FC<{
|
|
6692
7081
|
item: PublishableItem;
|
|
6693
7082
|
filterBaseUrl?: string;
|
|
6694
7083
|
className?: string;
|
|
6695
7084
|
useGridKeywordTitle?: boolean;
|
|
6696
|
-
|
|
7085
|
+
onClick?: (keyword: string) => unknown;
|
|
7086
|
+
showAllKeywordsInCallout?: boolean;
|
|
7087
|
+
}>;
|
|
6697
7088
|
}
|
|
6698
7089
|
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
6699
7090
|
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6700
7091
|
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
6701
7092
|
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
6702
7093
|
export class NewsService {
|
|
7094
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6703
7095
|
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6704
7096
|
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
6705
7097
|
static getContentLanguages(contents: {
|
|
@@ -6807,12 +7199,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
6807
7199
|
}
|
|
6808
7200
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
6809
7201
|
import { FC } from 'react';
|
|
6810
|
-
import { BannerInfo } from "libs/reach/util/common/src/index";
|
|
6811
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7202
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6812
7203
|
interface Props {
|
|
6813
7204
|
itemId: string;
|
|
6814
7205
|
bannerInfo: BannerInfo;
|
|
6815
|
-
|
|
7206
|
+
useEditorRoutes?: boolean;
|
|
6816
7207
|
width: number;
|
|
6817
7208
|
resourceType: ItemResourceTypes;
|
|
6818
7209
|
token?: string;
|
|
@@ -7243,7 +7634,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7243
7634
|
updateSelectedLanguage: (lang: string) => unknown;
|
|
7244
7635
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7245
7636
|
handleLanguageChange: (language: string) => unknown;
|
|
7246
|
-
|
|
7637
|
+
isEditorPreview?: boolean;
|
|
7247
7638
|
}
|
|
7248
7639
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7249
7640
|
}
|
|
@@ -7439,6 +7830,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7439
7830
|
buttons?: ReactNode;
|
|
7440
7831
|
openTargetInNewWindow?: boolean;
|
|
7441
7832
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7833
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7834
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
7442
7835
|
styleDefinition?: StyleDefinition;
|
|
7443
7836
|
readOnly?: boolean;
|
|
7444
7837
|
className?: string;
|
|
@@ -7525,14 +7918,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7525
7918
|
onAttachmentsChange: (attachments: import("libs/reach/feature/content/src/comments/RichCommentInput").Attachments) => void;
|
|
7526
7919
|
onDeleteAttachment?: (attachment: import("@livetiles/reach/util/common").Attachment) => void;
|
|
7527
7920
|
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
7921
|
disableAddGif?: boolean;
|
|
7537
7922
|
disableAddFiles?: boolean;
|
|
7538
7923
|
} & {
|
|
@@ -7541,6 +7926,53 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7541
7926
|
attachmentPreviewTheme?: CommentInputTheme;
|
|
7542
7927
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7543
7928
|
}
|
|
7929
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
7930
|
+
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
7931
|
+
import { FC } from 'react';
|
|
7932
|
+
interface Props {
|
|
7933
|
+
group: KeywordGroup;
|
|
7934
|
+
keywords?: Keyword[];
|
|
7935
|
+
expanded?: boolean;
|
|
7936
|
+
selectedKeywords: Keyword[];
|
|
7937
|
+
onChange?: (keywords: Keyword[]) => void;
|
|
7938
|
+
mandatoryKeywordIds?: string[];
|
|
7939
|
+
}
|
|
7940
|
+
export const KeywordPickerGroup: FC<Props>;
|
|
7941
|
+
}
|
|
7942
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
|
|
7943
|
+
import { FC } from 'react';
|
|
7944
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7945
|
+
interface Props {
|
|
7946
|
+
value?: Keyword[] | string[];
|
|
7947
|
+
onChange: (keywords: Keyword[]) => void;
|
|
7948
|
+
showSelectionToggle?: boolean;
|
|
7949
|
+
availableKeywords?: Keyword[];
|
|
7950
|
+
mandatoryKeywordIds?: string[];
|
|
7951
|
+
className?: string;
|
|
7952
|
+
}
|
|
7953
|
+
export const KeywordPicker: FC<Props>;
|
|
7954
|
+
}
|
|
7955
|
+
declare module "libs/reach/feature/content/src/common/keywords/AddKeywordsButton" {
|
|
7956
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7957
|
+
import { FC } from 'react';
|
|
7958
|
+
export const AddKeywordsButton: FC<{
|
|
7959
|
+
availableKeywords?: Keyword[];
|
|
7960
|
+
mandatoryKeywords?: Keyword[];
|
|
7961
|
+
preselectedKeywords?: Keyword[];
|
|
7962
|
+
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
7963
|
+
disabled?: boolean;
|
|
7964
|
+
keywordPickerTitleResourceKey?: string;
|
|
7965
|
+
}>;
|
|
7966
|
+
}
|
|
7967
|
+
declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsList" {
|
|
7968
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7969
|
+
import { FC } from 'react';
|
|
7970
|
+
export const EditableKeywordsList: FC<{
|
|
7971
|
+
keywords?: Keyword[];
|
|
7972
|
+
mandatoryKeywordIds?: string[];
|
|
7973
|
+
onRemoveKeyword?: (id: string) => void;
|
|
7974
|
+
}>;
|
|
7975
|
+
}
|
|
7544
7976
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
7545
7977
|
import { FC } from 'react';
|
|
7546
7978
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -7572,6 +8004,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7572
8004
|
defaultKeywords?: Keyword[];
|
|
7573
8005
|
mandatoryKeywords?: Keyword[];
|
|
7574
8006
|
};
|
|
8007
|
+
disableBoxShadow?: boolean;
|
|
8008
|
+
ariaLabel?: string;
|
|
7575
8009
|
}
|
|
7576
8010
|
interface Props extends BaseProps {
|
|
7577
8011
|
allowAttachments?: boolean;
|
|
@@ -7662,9 +8096,9 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7662
8096
|
deletedFileUrls?: string[];
|
|
7663
8097
|
onCancel?: () => void;
|
|
7664
8098
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7665
|
-
inputTheme?: CommentInputTheme;
|
|
7666
8099
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
7667
8100
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8101
|
+
ariaLabel?: string;
|
|
7668
8102
|
}
|
|
7669
8103
|
interface Props extends BaseProps {
|
|
7670
8104
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -7672,14 +8106,18 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7672
8106
|
}) => void;
|
|
7673
8107
|
allowAttachments?: boolean;
|
|
7674
8108
|
allowKeywords?: boolean;
|
|
7675
|
-
|
|
7676
|
-
|
|
7677
|
-
|
|
8109
|
+
keywordSettings?: {
|
|
8110
|
+
availableKeywords?: Keyword[];
|
|
8111
|
+
defaultKeywords?: Keyword[];
|
|
8112
|
+
mandatoryKeywords?: Keyword[];
|
|
8113
|
+
};
|
|
8114
|
+
keywords?: {
|
|
7678
8115
|
[key: string]: Keyword[];
|
|
7679
8116
|
};
|
|
7680
8117
|
allowSaveWithoutContent?: boolean;
|
|
7681
8118
|
saveOnEnter?: boolean;
|
|
7682
8119
|
saveOnCtrlEnter?: boolean;
|
|
8120
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7683
8121
|
}
|
|
7684
8122
|
export const EditComment: FC<Props>;
|
|
7685
8123
|
}
|
|
@@ -7701,6 +8139,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7701
8139
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7702
8140
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
7703
8141
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8142
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7704
8143
|
interface Props extends CreateCommentProps {
|
|
7705
8144
|
onSave: (newContent: string, attachments?: Attachment[], keywords?: {
|
|
7706
8145
|
[key: string]: Keyword[];
|
|
@@ -7708,14 +8147,18 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7708
8147
|
item: ItemWithAttachments;
|
|
7709
8148
|
basePath: string;
|
|
7710
8149
|
allowKeywords?: boolean;
|
|
7711
|
-
|
|
7712
|
-
|
|
8150
|
+
keywordSettings?: {
|
|
8151
|
+
availableKeywords?: Keyword[];
|
|
8152
|
+
defaultKeywords?: Keyword[];
|
|
8153
|
+
mandatoryKeywords?: Keyword[];
|
|
8154
|
+
};
|
|
7713
8155
|
keywords?: {
|
|
7714
8156
|
[key: string]: Keyword[];
|
|
7715
8157
|
};
|
|
7716
8158
|
allowSaveWithoutContent?: boolean;
|
|
7717
8159
|
saveOnEnter?: boolean;
|
|
7718
8160
|
saveOnCtrlEnter?: boolean;
|
|
8161
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7719
8162
|
}
|
|
7720
8163
|
export const EditCommentWithAttachments: FC<Props>;
|
|
7721
8164
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
@@ -7795,34 +8238,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
7795
8238
|
}>;
|
|
7796
8239
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
7797
8240
|
}
|
|
7798
|
-
declare module "libs/reach/feature/content/src/
|
|
7799
|
-
import { FC
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
className?: string;
|
|
8241
|
+
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8242
|
+
import { FC } from 'react';
|
|
8243
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8244
|
+
export const DetailViewContextProvider: FC<{
|
|
8245
|
+
itemId: string;
|
|
8246
|
+
type?: ItemResourceTypes;
|
|
8247
|
+
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8248
|
+
isEditorPreview?: boolean;
|
|
7807
8249
|
}>;
|
|
7808
8250
|
}
|
|
7809
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7810
|
-
import {
|
|
7811
|
-
export
|
|
8251
|
+
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8252
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8253
|
+
export interface EmbeddedObjectPreviewData {
|
|
8254
|
+
itemId: string;
|
|
8255
|
+
type: string;
|
|
8256
|
+
subscriptionIdentifier: string;
|
|
8257
|
+
}
|
|
8258
|
+
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
7812
8259
|
}
|
|
7813
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7814
|
-
import {
|
|
7815
|
-
export const
|
|
8260
|
+
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8261
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8262
|
+
export const InlineImageMapper: HtmlComponentMapper;
|
|
7816
8263
|
}
|
|
7817
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7818
|
-
import {
|
|
7819
|
-
export
|
|
8264
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
8265
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8266
|
+
export interface ContactDetails {
|
|
8267
|
+
id: string;
|
|
8268
|
+
upn?: string;
|
|
8269
|
+
tenantId?: string;
|
|
8270
|
+
properties?: {
|
|
8271
|
+
[key: string]: {
|
|
8272
|
+
value: string;
|
|
8273
|
+
shouldAutoLoad?: boolean;
|
|
8274
|
+
};
|
|
8275
|
+
};
|
|
8276
|
+
}
|
|
8277
|
+
export const InlineContactMapper: HtmlComponentMapper;
|
|
7820
8278
|
}
|
|
7821
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7822
|
-
import { FC
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
8279
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
|
|
8280
|
+
import { FC } from 'react';
|
|
8281
|
+
import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8282
|
+
export const InlineContactViewer: FC<{
|
|
8283
|
+
contact: ContactDetails;
|
|
7826
8284
|
}>;
|
|
7827
8285
|
}
|
|
7828
8286
|
declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
|
|
@@ -7848,6 +8306,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
|
|
|
7848
8306
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7849
8307
|
export const InlineQuoteMapper: HtmlComponentMapper;
|
|
7850
8308
|
}
|
|
8309
|
+
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
8310
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8311
|
+
export const InlineVideoMapper: HtmlComponentMapper;
|
|
8312
|
+
}
|
|
8313
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
8314
|
+
import { FC } from 'react';
|
|
8315
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8316
|
+
export const InlinePageListViewer: FC<{
|
|
8317
|
+
items: PageItem[];
|
|
8318
|
+
baseRoute: string;
|
|
8319
|
+
filterBaseUrl?: string;
|
|
8320
|
+
isInitialLoading?: boolean;
|
|
8321
|
+
}>;
|
|
8322
|
+
}
|
|
8323
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
8324
|
+
import { FC } from 'react';
|
|
8325
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8326
|
+
export interface ListPagingProps {
|
|
8327
|
+
getNextPage: () => unknown;
|
|
8328
|
+
getPrevPage: () => unknown;
|
|
8329
|
+
getFirstPage: () => unknown;
|
|
8330
|
+
isLoadingNextPage: boolean;
|
|
8331
|
+
isInitialLoading: boolean;
|
|
8332
|
+
isFirstPage: boolean;
|
|
8333
|
+
hideNextButton: boolean;
|
|
8334
|
+
}
|
|
8335
|
+
export const InlinePageListWithPaging: FC<{
|
|
8336
|
+
pages: PageItem[];
|
|
8337
|
+
baseRoute: string;
|
|
8338
|
+
pagingProps?: ListPagingProps;
|
|
8339
|
+
filterBaseUrl?: string;
|
|
8340
|
+
}>;
|
|
8341
|
+
}
|
|
8342
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8343
|
+
import { DependencyList } from 'react';
|
|
8344
|
+
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8345
|
+
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8346
|
+
showPages: boolean;
|
|
8347
|
+
showDocuments: boolean;
|
|
8348
|
+
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8349
|
+
pageItems: any[];
|
|
8350
|
+
pagingProps: {
|
|
8351
|
+
hideNextButton: boolean;
|
|
8352
|
+
isInitialLoading: boolean;
|
|
8353
|
+
isLoadingNextPage: boolean;
|
|
8354
|
+
error: any;
|
|
8355
|
+
getFirstPage: () => void;
|
|
8356
|
+
getPrevPage: () => void;
|
|
8357
|
+
getNextPage: () => Promise<void>;
|
|
8358
|
+
isFirstPage: boolean;
|
|
8359
|
+
isLastPage: boolean;
|
|
8360
|
+
isEmpty: boolean;
|
|
8361
|
+
};
|
|
8362
|
+
};
|
|
8363
|
+
}
|
|
8364
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8365
|
+
import { FC } from 'react';
|
|
8366
|
+
export const InlinePageListSkeleton: FC<{
|
|
8367
|
+
isDataLoaded: boolean;
|
|
8368
|
+
pageSize?: number;
|
|
8369
|
+
}>;
|
|
8370
|
+
}
|
|
7851
8371
|
declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
|
|
7852
8372
|
export interface CodeDetails {
|
|
7853
8373
|
id: string;
|
|
@@ -7869,20 +8389,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
|
|
|
7869
8389
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7870
8390
|
export const InlineCodeMapper: HtmlComponentMapper;
|
|
7871
8391
|
}
|
|
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
8392
|
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
7887
8393
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7888
8394
|
import { CSSProperties } from 'react';
|
|
@@ -7923,210 +8429,67 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
|
7923
8429
|
export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
|
|
7924
8430
|
export const InlineTable: HtmlComponentMapper;
|
|
7925
8431
|
}
|
|
7926
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7927
|
-
import {
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
8432
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
8433
|
+
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8434
|
+
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
8435
|
+
format: TableFormat;
|
|
8436
|
+
}, never>;
|
|
8437
|
+
}
|
|
8438
|
+
declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
8439
|
+
import { FC, ReactNode } from 'react';
|
|
8440
|
+
export const ItemBodyWrapper: FC<{
|
|
8441
|
+
className?: string;
|
|
8442
|
+
children?: ReactNode;
|
|
7931
8443
|
}>;
|
|
7932
8444
|
}
|
|
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;
|
|
8445
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8446
|
+
import { FC } from 'react';
|
|
8447
|
+
export const EventDetailViewPeopleInfo: FC;
|
|
7947
8448
|
}
|
|
7948
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8449
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
7949
8450
|
import { FC } from 'react';
|
|
7950
|
-
|
|
7951
|
-
export const InlinePageListViewer: FC<{
|
|
7952
|
-
items: PageItem[];
|
|
7953
|
-
baseRoute: string;
|
|
7954
|
-
filterBaseUrl?: string;
|
|
7955
|
-
isInitialLoading?: boolean;
|
|
7956
|
-
}>;
|
|
8451
|
+
export const EventDetailViewLocationInfo: FC;
|
|
7957
8452
|
}
|
|
7958
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8453
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
7959
8454
|
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;
|
|
8455
|
+
export const EventDetailViewMetaInfo: FC<{
|
|
8456
|
+
allowFilterByChannels?: boolean;
|
|
7975
8457
|
}>;
|
|
7976
8458
|
}
|
|
7977
|
-
declare module "libs/reach/feature/content/src/
|
|
7978
|
-
import { PageType } from "libs/reach/util/common/src/index";
|
|
7979
|
-
export function useLoadPublishedItemsByKeywords(keywords: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
|
|
7980
|
-
}
|
|
7981
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8459
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
7982
8460
|
import { FC } from 'react';
|
|
7983
|
-
export const
|
|
7984
|
-
|
|
7985
|
-
pageSize?: number;
|
|
8461
|
+
export const EventDetailViewDatesInfo: FC<{
|
|
8462
|
+
className?: string;
|
|
7986
8463
|
}>;
|
|
7987
8464
|
}
|
|
7988
|
-
declare module "libs/reach/feature/content/src/
|
|
8465
|
+
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8466
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8467
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8468
|
+
import { PollQuestion, PollQuestionAnswer, PollResult, QuestionResult } from "libs/reach/util/common/src/index";
|
|
8469
|
+
export interface PollUserContextType {
|
|
8470
|
+
item: PublishableItem;
|
|
8471
|
+
resourceType: ItemResourceTypes;
|
|
8472
|
+
questions: PollQuestion[];
|
|
8473
|
+
answers: PollQuestionAnswer[];
|
|
8474
|
+
addAnswer: (questionId: string, selectedChoiceIds: string[]) => unknown;
|
|
8475
|
+
setAnswers: (answers: PollQuestionAnswer[]) => unknown;
|
|
8476
|
+
hasMissingAnswers: boolean;
|
|
8477
|
+
hasMissingUnsavedAnswer: boolean;
|
|
8478
|
+
pollResult: PollResult;
|
|
8479
|
+
isLoadingPollResult: boolean;
|
|
8480
|
+
showResult: boolean;
|
|
8481
|
+
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
8482
|
+
getQuestionResult: (questionId: string) => QuestionResult;
|
|
8483
|
+
reset: () => Promise<void>;
|
|
8484
|
+
fetchPollResults: () => Promise<void>;
|
|
8485
|
+
onBehalfOfUpn: string;
|
|
8486
|
+
}
|
|
8487
|
+
export const PollUserContext: import("react").Context<PollUserContextType>;
|
|
8488
|
+
}
|
|
8489
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollsSubmitButton" {
|
|
7989
8490
|
import { FC } from 'react';
|
|
7990
|
-
export const
|
|
7991
|
-
|
|
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;
|
|
8491
|
+
export const DetailViewPollsSubmitButton: FC<{
|
|
8492
|
+
isReadOnly?: boolean;
|
|
8130
8493
|
}>;
|
|
8131
8494
|
}
|
|
8132
8495
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewCsvExportButton" {
|
|
@@ -8209,8 +8572,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8209
8572
|
}
|
|
8210
8573
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
|
|
8211
8574
|
import { FC } from 'react';
|
|
8212
|
-
import { EventParticipant } from "libs/reach/util/common/src/index";
|
|
8213
|
-
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
8575
|
+
import { EventParticipant, EventResponse } from "libs/reach/util/common/src/index";
|
|
8214
8576
|
export const EventRegistrationRegisterSomeoneElseDialog: FC<{
|
|
8215
8577
|
show: boolean;
|
|
8216
8578
|
onDismiss: () => unknown;
|
|
@@ -8256,6 +8618,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8256
8618
|
import { FC } from 'react';
|
|
8257
8619
|
export const EventDetailViewRegistration: FC;
|
|
8258
8620
|
}
|
|
8621
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8622
|
+
import { FC } from 'react';
|
|
8623
|
+
export const EventDetailViewCancelInformation: FC;
|
|
8624
|
+
}
|
|
8259
8625
|
declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
8260
8626
|
import { FC } from 'react';
|
|
8261
8627
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
@@ -8511,92 +8877,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
|
|
|
8511
8877
|
eventItem: EventItem;
|
|
8512
8878
|
}>;
|
|
8513
8879
|
}
|
|
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
8880
|
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8601
8881
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8602
8882
|
interface DateInfoProps {
|
|
@@ -8636,69 +8916,31 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8636
8916
|
import { FC } from 'react';
|
|
8637
8917
|
export const PageDetailViewMetaInfo: FC;
|
|
8638
8918
|
}
|
|
8639
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/
|
|
8919
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8640
8920
|
import { FC } from 'react';
|
|
8921
|
+
export const PageDetailViewFeedbackSection: FC<{
|
|
8922
|
+
hideLikes?: boolean;
|
|
8923
|
+
hideComments?: boolean;
|
|
8924
|
+
hideProfileUrl?: boolean;
|
|
8925
|
+
disableLoginForPublicUser?: boolean;
|
|
8926
|
+
}>;
|
|
8927
|
+
}
|
|
8928
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
8641
8929
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8642
|
-
import
|
|
8643
|
-
export
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
|
|
8649
|
-
|
|
8650
|
-
|
|
8651
|
-
import {
|
|
8652
|
-
import {
|
|
8653
|
-
|
|
8654
|
-
|
|
8655
|
-
|
|
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;
|
|
8684
|
-
}>;
|
|
8685
|
-
}
|
|
8686
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
8687
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8688
|
-
import * as H from 'history';
|
|
8689
|
-
export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
|
|
8690
|
-
showSearch: boolean;
|
|
8691
|
-
handleSearchTextChange: (searchText: string) => void;
|
|
8692
|
-
redirectToSearchPage: (searchText: string) => void;
|
|
8693
|
-
};
|
|
8694
|
-
}
|
|
8695
|
-
declare module "libs/reach/feature/content/src/pages/PageTocSearch" {
|
|
8696
|
-
import { FC } from 'react';
|
|
8697
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
8698
|
-
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8699
|
-
export const PageTocSearch: FC<{
|
|
8700
|
-
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8701
|
-
onSearchResultChange: (pages: PageNavigationNode[]) => unknown;
|
|
8930
|
+
import * as H from 'history';
|
|
8931
|
+
export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
|
|
8932
|
+
showSearch: boolean;
|
|
8933
|
+
handleSearchTextChange: (searchText: string) => void;
|
|
8934
|
+
redirectToSearchPage: (searchText: string) => void;
|
|
8935
|
+
};
|
|
8936
|
+
}
|
|
8937
|
+
declare module "libs/reach/feature/content/src/pages/PageTocSearch" {
|
|
8938
|
+
import { FC } from 'react';
|
|
8939
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
8940
|
+
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8941
|
+
export const PageTocSearch: FC<{
|
|
8942
|
+
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8943
|
+
onSearchResultChange: (pages: PageNavigationNode[]) => unknown;
|
|
8702
8944
|
}>;
|
|
8703
8945
|
}
|
|
8704
8946
|
declare module "libs/reach/feature/content/src/pages/pageTocUtils" {
|
|
@@ -8789,6 +9031,104 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8789
9031
|
import { FC } from 'react';
|
|
8790
9032
|
export const PageDetailViewTableOfContentsButton: FC;
|
|
8791
9033
|
}
|
|
9034
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
9035
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9036
|
+
export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
9037
|
+
}
|
|
9038
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
9039
|
+
import { FC } from 'react';
|
|
9040
|
+
export const InlinePageListByKeywords: FC<{
|
|
9041
|
+
keywords: string[];
|
|
9042
|
+
showDocuments?: boolean;
|
|
9043
|
+
showPages?: boolean;
|
|
9044
|
+
}>;
|
|
9045
|
+
}
|
|
9046
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
9047
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9048
|
+
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
9049
|
+
}
|
|
9050
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
9051
|
+
import { FC } from 'react';
|
|
9052
|
+
export const InlinePageListByPageId: FC<{
|
|
9053
|
+
pageId: string;
|
|
9054
|
+
showDocuments: boolean;
|
|
9055
|
+
showPages: boolean;
|
|
9056
|
+
}>;
|
|
9057
|
+
}
|
|
9058
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
9059
|
+
import { FC } from 'react';
|
|
9060
|
+
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9061
|
+
export const InlinePageListByCurrentPage: FC<{
|
|
9062
|
+
blockProps?: PageListDetails;
|
|
9063
|
+
}>;
|
|
9064
|
+
}
|
|
9065
|
+
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
9066
|
+
import { FC } from 'react';
|
|
9067
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9068
|
+
export interface PageListDetails {
|
|
9069
|
+
id?: string;
|
|
9070
|
+
showChildren?: boolean;
|
|
9071
|
+
showDocuments?: boolean;
|
|
9072
|
+
showPages?: boolean;
|
|
9073
|
+
pageId?: string;
|
|
9074
|
+
keywords?: string;
|
|
9075
|
+
}
|
|
9076
|
+
export const InlinePageList: FC<{
|
|
9077
|
+
blockProps?: PageListDetails;
|
|
9078
|
+
}>;
|
|
9079
|
+
export const InlinePageListMapper: HtmlComponentMapper;
|
|
9080
|
+
}
|
|
9081
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
9082
|
+
import { FC } from 'react';
|
|
9083
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9084
|
+
export const PageBreadcrumb: FC<{
|
|
9085
|
+
page: PageItem;
|
|
9086
|
+
target?: string;
|
|
9087
|
+
language?: string;
|
|
9088
|
+
hideCurrentPageNode?: boolean;
|
|
9089
|
+
className?: string;
|
|
9090
|
+
}>;
|
|
9091
|
+
}
|
|
9092
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
9093
|
+
import { FC } from 'react';
|
|
9094
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9095
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
9096
|
+
export const DetailViewPageDocumentDownload: FC;
|
|
9097
|
+
export const PageDocumentDownloadButton: FC<{
|
|
9098
|
+
item: PageItem;
|
|
9099
|
+
content: PublishableItemContent;
|
|
9100
|
+
basePath?: string;
|
|
9101
|
+
}>;
|
|
9102
|
+
}
|
|
9103
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
9104
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9105
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9106
|
+
interface Props {
|
|
9107
|
+
id: string;
|
|
9108
|
+
item: PublishableItem;
|
|
9109
|
+
itemResourceType: ItemResourceTypes;
|
|
9110
|
+
}
|
|
9111
|
+
export const CardBanner: React.FC<Props>;
|
|
9112
|
+
}
|
|
9113
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
9114
|
+
import { FC, ReactNode } from 'react';
|
|
9115
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9116
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9117
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9118
|
+
interface CardProps {
|
|
9119
|
+
item: PublishableItem;
|
|
9120
|
+
itemResourceType: ItemResourceTypes;
|
|
9121
|
+
additionalMetadata?: ReactNode;
|
|
9122
|
+
highlight?: boolean;
|
|
9123
|
+
className?: string;
|
|
9124
|
+
}
|
|
9125
|
+
export const Card: FC<CardProps>;
|
|
9126
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
9127
|
+
item: TItem;
|
|
9128
|
+
language: string;
|
|
9129
|
+
}
|
|
9130
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
9131
|
+
}
|
|
8792
9132
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
8793
9133
|
import { FC } from 'react';
|
|
8794
9134
|
interface LanguageSelectorProps {
|
|
@@ -8810,10 +9150,112 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8810
9150
|
className?: string;
|
|
8811
9151
|
}>;
|
|
8812
9152
|
}
|
|
9153
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
|
|
9154
|
+
import { FC } from 'react';
|
|
9155
|
+
export const DetailViewBanner: FC;
|
|
9156
|
+
}
|
|
9157
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
9158
|
+
import { FC } from 'react';
|
|
9159
|
+
export const DetailViewIntro: FC;
|
|
9160
|
+
}
|
|
9161
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
9162
|
+
import { FC } from 'react';
|
|
9163
|
+
export const DetailMainSection: FC;
|
|
9164
|
+
}
|
|
9165
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
9166
|
+
import { FC, ReactNode } from 'react';
|
|
9167
|
+
export const GutterMarkerIcon: FC<{
|
|
9168
|
+
iconName: string;
|
|
9169
|
+
children: ReactNode;
|
|
9170
|
+
isActive: boolean;
|
|
9171
|
+
color: string;
|
|
9172
|
+
tooltipResourceKey?: string;
|
|
9173
|
+
className?: string;
|
|
9174
|
+
}>;
|
|
9175
|
+
}
|
|
9176
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9177
|
+
import { FC } from 'react';
|
|
9178
|
+
export const DetailViewTitle: FC;
|
|
9179
|
+
}
|
|
8813
9180
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
|
|
8814
9181
|
import { FC } from 'react';
|
|
8815
9182
|
export const NewsDetailViewMetaInfo: FC;
|
|
8816
9183
|
}
|
|
9184
|
+
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
9185
|
+
import { FC } from 'react';
|
|
9186
|
+
export const RichTextViewer: FC<{
|
|
9187
|
+
html: string;
|
|
9188
|
+
}>;
|
|
9189
|
+
}
|
|
9190
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
9191
|
+
import { FC } from 'react';
|
|
9192
|
+
export const DetailViewBody: FC;
|
|
9193
|
+
}
|
|
9194
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
9195
|
+
import { FC } from 'react';
|
|
9196
|
+
export const DetailViewKeywords: FC<{
|
|
9197
|
+
filterBaseUrl: string;
|
|
9198
|
+
}>;
|
|
9199
|
+
}
|
|
9200
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9201
|
+
import { FC } from 'react';
|
|
9202
|
+
export const ConfirmationBox: FC<{
|
|
9203
|
+
disabled?: boolean;
|
|
9204
|
+
onChange?: (value: boolean) => void;
|
|
9205
|
+
checked: boolean;
|
|
9206
|
+
}>;
|
|
9207
|
+
}
|
|
9208
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9209
|
+
import { FC } from 'react';
|
|
9210
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9211
|
+
export const ConfirmationSection: FC<{
|
|
9212
|
+
item?: NewsItem;
|
|
9213
|
+
showDescription: boolean;
|
|
9214
|
+
readOnly?: boolean;
|
|
9215
|
+
className?: string;
|
|
9216
|
+
}>;
|
|
9217
|
+
}
|
|
9218
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
9219
|
+
import { FC } from 'react';
|
|
9220
|
+
export const DetailViewConfirmations: FC;
|
|
9221
|
+
}
|
|
9222
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
9223
|
+
import { FC } from 'react';
|
|
9224
|
+
export const DetailViewPageViewTracker: FC;
|
|
9225
|
+
}
|
|
9226
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
9227
|
+
import { FC } from 'react';
|
|
9228
|
+
export const FeedbackButtonBookmark: FC<{
|
|
9229
|
+
isReadOnly?: boolean;
|
|
9230
|
+
}>;
|
|
9231
|
+
}
|
|
9232
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
9233
|
+
import { FC } from 'react';
|
|
9234
|
+
export const NewsDetailViewFeedbackSection: FC<{
|
|
9235
|
+
hideLikes?: boolean;
|
|
9236
|
+
hideComments?: boolean;
|
|
9237
|
+
hideProfileUrl?: boolean;
|
|
9238
|
+
disableLoginForPublicUser?: boolean;
|
|
9239
|
+
}>;
|
|
9240
|
+
}
|
|
9241
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
9242
|
+
import { FC, ReactNode } from 'react';
|
|
9243
|
+
export const DetailViewNavigation: FC<{
|
|
9244
|
+
children?: ReactNode;
|
|
9245
|
+
callout?: ReactNode;
|
|
9246
|
+
}>;
|
|
9247
|
+
}
|
|
9248
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9249
|
+
import { FC } from 'react';
|
|
9250
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9251
|
+
export const DetailViewBodyExternalContent: FC<{
|
|
9252
|
+
itemType: ItemResourceTypes;
|
|
9253
|
+
}>;
|
|
9254
|
+
}
|
|
9255
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
9256
|
+
import { FC } from 'react';
|
|
9257
|
+
export const DetailViewHeadline: FC;
|
|
9258
|
+
}
|
|
8817
9259
|
declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
8818
9260
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
8819
9261
|
export const StateIcon: React.FC<{
|
|
@@ -8834,205 +9276,65 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
|
8834
9276
|
}
|
|
8835
9277
|
declare module "libs/reach/feature/content/src/common/index" {
|
|
8836
9278
|
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
8837
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8838
9279
|
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8839
9280
|
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
9281
|
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
9282
|
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
8895
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8896
9283
|
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
8897
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8898
9284
|
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
8899
9285
|
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
9286
|
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
9287
|
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
9288
|
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
9289
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
8920
9290
|
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
8921
9291
|
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
9292
|
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
8926
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8927
9293
|
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
9294
|
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
9295
|
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
9296
|
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
8937
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8938
9297
|
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8939
9298
|
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8940
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8941
9299
|
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
9300
|
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8950
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8951
9301
|
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
9302
|
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
8955
9303
|
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
8956
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8957
9304
|
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8958
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8959
9305
|
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
9306
|
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
9307
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8966
9308
|
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
9309
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
8971
9310
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
8972
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8973
9311
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8974
9312
|
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
9313
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
8979
9314
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
8980
9315
|
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8981
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8982
9316
|
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8983
9317
|
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8984
9318
|
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
9319
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8991
9320
|
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
9321
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8996
9322
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8997
9323
|
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
9324
|
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
9325
|
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
9326
|
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
9327
|
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9012
9328
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9013
9329
|
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9014
9330
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9015
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9016
9331
|
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
9332
|
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9025
9333
|
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
9334
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9031
9335
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9032
9336
|
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9033
9337
|
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
9338
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9037
9339
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9038
9340
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
@@ -9049,7 +9351,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9049
9351
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9050
9352
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9051
9353
|
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9052
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9053
9354
|
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9054
9355
|
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9055
9356
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
@@ -9071,91 +9372,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
|
|
|
9071
9372
|
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9072
9373
|
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9073
9374
|
}
|
|
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
9375
|
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
9160
9376
|
import { FC, ReactNode } from 'react';
|
|
9161
9377
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -9204,26 +9420,6 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
9204
9420
|
*/
|
|
9205
9421
|
export const Textarea: FC<TextareaProps>;
|
|
9206
9422
|
}
|
|
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
9423
|
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9228
9424
|
import { FC } from 'react';
|
|
9229
9425
|
interface Props {
|
|
@@ -9248,23 +9444,44 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
|
9248
9444
|
}
|
|
9249
9445
|
export const InsertImagesButton: FC<Props>;
|
|
9250
9446
|
}
|
|
9251
|
-
declare module "libs/reach/feature/content/src/forms/
|
|
9252
|
-
import
|
|
9253
|
-
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9258
|
-
|
|
9259
|
-
|
|
9260
|
-
|
|
9261
|
-
|
|
9262
|
-
|
|
9263
|
-
|
|
9264
|
-
|
|
9265
|
-
|
|
9266
|
-
|
|
9267
|
-
|
|
9447
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9448
|
+
import { FC } from 'react';
|
|
9449
|
+
interface DateTimePickerProps {
|
|
9450
|
+
date: string;
|
|
9451
|
+
maxDate?: string;
|
|
9452
|
+
minDate?: string;
|
|
9453
|
+
dateValidationResourceKey?: string;
|
|
9454
|
+
timeValidationResourceKey?: string;
|
|
9455
|
+
readOnly?: boolean;
|
|
9456
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
9457
|
+
noDateResourceKey: string;
|
|
9458
|
+
selectDateResourceKey: string;
|
|
9459
|
+
dateOnly?: boolean;
|
|
9460
|
+
initialPickerDate?: string;
|
|
9461
|
+
label?: string;
|
|
9462
|
+
isRequired?: boolean;
|
|
9463
|
+
className?: string;
|
|
9464
|
+
}
|
|
9465
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9466
|
+
export default DateTimePicker;
|
|
9467
|
+
}
|
|
9468
|
+
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
9469
|
+
import moment, { Moment } from 'moment';
|
|
9470
|
+
export enum DateRange {
|
|
9471
|
+
TwoYears = 0,
|
|
9472
|
+
OneYear = 1,
|
|
9473
|
+
SixMonths = 2,
|
|
9474
|
+
TwoMonths = 3,
|
|
9475
|
+
OneMonth = 4,
|
|
9476
|
+
SevenDays = 5,
|
|
9477
|
+
YesterDay = 6,
|
|
9478
|
+
Today = 7
|
|
9479
|
+
}
|
|
9480
|
+
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
9481
|
+
export function dateToDateRange(date: string | moment.Moment): number;
|
|
9482
|
+
export function dateRangeToDate(range: DateRange): Moment;
|
|
9483
|
+
}
|
|
9484
|
+
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
9268
9485
|
import { FC } from 'react';
|
|
9269
9486
|
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
9270
9487
|
export const DateRangeSlider: FC<{
|
|
@@ -9290,37 +9507,22 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
|
9290
9507
|
allowEmptyValue: boolean;
|
|
9291
9508
|
includePendingInvitationUsers?: boolean;
|
|
9292
9509
|
placeholderStringResourceKey?: string;
|
|
9510
|
+
inputAriaLabelResourceKey: string;
|
|
9293
9511
|
}
|
|
9294
9512
|
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
9295
9513
|
}
|
|
9296
9514
|
declare module "libs/reach/feature/content/src/forms/index" {
|
|
9297
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9298
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9299
|
-
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
9515
|
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
9516
|
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9308
9517
|
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
9309
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9310
9518
|
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
9311
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9312
9519
|
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
9313
9520
|
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
9314
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9315
9521
|
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9316
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9317
9522
|
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9318
9523
|
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
9524
|
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
9322
9525
|
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
9323
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9324
9526
|
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9325
9527
|
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9326
9528
|
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
@@ -9400,6 +9602,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9400
9602
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9401
9603
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9402
9604
|
}
|
|
9605
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9606
|
+
import { FC } from 'react';
|
|
9607
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9608
|
+
export const SearchHighlighter: FC<{
|
|
9609
|
+
highlight: SearchHighlight;
|
|
9610
|
+
}>;
|
|
9611
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9612
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9613
|
+
}
|
|
9403
9614
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9404
9615
|
import { FC } from 'react';
|
|
9405
9616
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9428,11 +9639,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9428
9639
|
}
|
|
9429
9640
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9430
9641
|
import { FC } from 'react';
|
|
9431
|
-
import {
|
|
9642
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9432
9643
|
export const PageListItemBody: FC<{
|
|
9433
|
-
|
|
9434
|
-
[key: string]: PublishableItemContent;
|
|
9435
|
-
};
|
|
9644
|
+
page: PageItem;
|
|
9436
9645
|
search?: string;
|
|
9437
9646
|
}>;
|
|
9438
9647
|
}
|
|
@@ -9498,7 +9707,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9498
9707
|
import { FC } from 'react';
|
|
9499
9708
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9500
9709
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9501
|
-
export
|
|
9710
|
+
export interface PostCreatorProps {
|
|
9502
9711
|
groupId: string;
|
|
9503
9712
|
disabled: boolean;
|
|
9504
9713
|
disableDragAndDrop?: boolean;
|
|
@@ -9509,134 +9718,1295 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9509
9718
|
defaultKeywords?: Keyword[];
|
|
9510
9719
|
mandatoryKeywords?: Keyword[];
|
|
9511
9720
|
};
|
|
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
|
-
|
|
9721
|
+
disableAutoFocus?: boolean;
|
|
9722
|
+
}
|
|
9723
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9724
|
+
}
|
|
9725
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9726
|
+
import { FC } from 'react';
|
|
9727
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9728
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
9729
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9730
|
+
interface Props {
|
|
9731
|
+
className?: string;
|
|
9732
|
+
post: Post;
|
|
9733
|
+
initialPageSize?: number;
|
|
9734
|
+
comments?: PaginatedList<Comment>;
|
|
9735
|
+
autoFocusReplyField?: boolean;
|
|
9736
|
+
onReplyAdded: () => void;
|
|
9737
|
+
onReplyDeleted: () => void;
|
|
9738
|
+
onThreadReply?: (threadId: string) => void;
|
|
9739
|
+
}
|
|
9740
|
+
export const PostReplies: FC<Props>;
|
|
9741
|
+
}
|
|
9742
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
9743
|
+
import { FC } from 'react';
|
|
9744
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9745
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9746
|
+
export const PostEditor: FC<{
|
|
9747
|
+
className?: string;
|
|
9748
|
+
post: Post;
|
|
9749
|
+
onCancel: () => void;
|
|
9750
|
+
onBeforeSave: (post: Post) => void;
|
|
9751
|
+
onSaved: (post: Post) => void;
|
|
9752
|
+
keywordSettings?: {
|
|
9753
|
+
availableKeywords?: Keyword[];
|
|
9754
|
+
defaultKeywords?: Keyword[];
|
|
9755
|
+
mandatoryKeywords?: Keyword[];
|
|
9756
|
+
};
|
|
9757
|
+
}>;
|
|
9758
|
+
}
|
|
9759
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9760
|
+
import { FC } from 'react';
|
|
9761
|
+
export const PostFollowButton: FC<{
|
|
9762
|
+
itemId: string;
|
|
9763
|
+
}>;
|
|
9764
|
+
}
|
|
9765
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9766
|
+
import { FC } from 'react';
|
|
9767
|
+
import { NavLink } from 'react-router-dom';
|
|
9768
|
+
export const PostGroup: FC<{
|
|
9769
|
+
groupId: string;
|
|
9770
|
+
to: string;
|
|
9771
|
+
className?: string;
|
|
9772
|
+
}>;
|
|
9773
|
+
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9774
|
+
}
|
|
9775
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9776
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9777
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9778
|
+
interface Props {
|
|
9779
|
+
post: Post;
|
|
9780
|
+
className?: string;
|
|
9781
|
+
threadId?: string;
|
|
9782
|
+
onCustomPostDelete?: () => void;
|
|
9783
|
+
comments?: PaginatedList<Comment>;
|
|
9784
|
+
initialCommentsPageSize?: number;
|
|
9785
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9786
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9787
|
+
onThreadCommentDelete?: () => void;
|
|
9788
|
+
onThreadReply?: (threadId: string) => void;
|
|
9789
|
+
keywordSettings?: {
|
|
9790
|
+
availableKeywords?: Keyword[];
|
|
9791
|
+
defaultKeywords?: Keyword[];
|
|
9792
|
+
mandatoryKeywords?: Keyword[];
|
|
9793
|
+
};
|
|
9794
|
+
showGroup?: boolean;
|
|
9795
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9796
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9797
|
+
}
|
|
9798
|
+
export const PostDisplay: React.FC<Props>;
|
|
9799
|
+
}
|
|
9800
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
|
|
9801
|
+
import { FC } from 'react';
|
|
9802
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
9803
|
+
export const PostGroupsSelector: FC<{
|
|
9804
|
+
groups: UserGroup[];
|
|
9805
|
+
}>;
|
|
9806
|
+
}
|
|
9807
|
+
declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
9808
|
+
import { FC } from 'react';
|
|
9809
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9810
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9811
|
+
interface Props {
|
|
9812
|
+
post: Post;
|
|
9813
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9814
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9815
|
+
keywordSettings?: {
|
|
9816
|
+
availableKeywords?: Keyword[];
|
|
9817
|
+
defaultKeywords?: Keyword[];
|
|
9818
|
+
mandatoryKeywords?: Keyword[];
|
|
9819
|
+
};
|
|
9820
|
+
showGroup: boolean;
|
|
9821
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9822
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9823
|
+
}
|
|
9824
|
+
export const PostListItem: FC<Props>;
|
|
9825
|
+
}
|
|
9826
|
+
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9827
|
+
import { FC } from 'react';
|
|
9828
|
+
import { Post } from "libs/reach/feature/content/src/index";
|
|
9829
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9830
|
+
export const PostWithSelfThreadHandling: FC<{
|
|
9831
|
+
post: Post;
|
|
9832
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9833
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9834
|
+
keywordSettings?: {
|
|
9835
|
+
availableKeywords?: Keyword[];
|
|
9836
|
+
defaultKeywords?: Keyword[];
|
|
9837
|
+
mandatoryKeywords?: Keyword[];
|
|
9838
|
+
};
|
|
9839
|
+
showGroup: boolean;
|
|
9840
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9841
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9842
|
+
}>;
|
|
9843
|
+
}
|
|
9844
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
9845
|
+
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";
|
|
9846
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9847
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9848
|
+
enum StreamItemTypes {
|
|
9849
|
+
Post = "POST",
|
|
9850
|
+
News = "NEWS",
|
|
9851
|
+
Event = "EVENT",
|
|
9852
|
+
Page = "PAGE"
|
|
9853
|
+
}
|
|
9854
|
+
export enum StreamConversationScope {
|
|
9855
|
+
Public = "PUBLIC",
|
|
9856
|
+
Editor = "EDITOR",
|
|
9857
|
+
Posts = "POSTS"
|
|
9858
|
+
}
|
|
9859
|
+
export interface PostStreamItem extends Post {
|
|
9860
|
+
type: StreamItemTypes.Post;
|
|
9861
|
+
isUnread: boolean;
|
|
9862
|
+
keywordsList?: Keyword[];
|
|
9863
|
+
groupIds?: string[];
|
|
9864
|
+
postAttachments?: StreamAttachment[];
|
|
9865
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9866
|
+
hasMoreUnreadComments: boolean;
|
|
9867
|
+
}
|
|
9868
|
+
export interface StreamPostComment extends Comment {
|
|
9869
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9870
|
+
streamConversationScope?: StreamConversationScope;
|
|
9871
|
+
}
|
|
9872
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
9873
|
+
type: GraphQLAttachmentType;
|
|
9874
|
+
}
|
|
9875
|
+
export interface NewsStreamItem extends NewsItem {
|
|
9876
|
+
type: StreamItemTypes.News;
|
|
9877
|
+
contentsList: StreamPublishableItemContents[];
|
|
9878
|
+
channelsList: string[];
|
|
9879
|
+
isUnread: boolean;
|
|
9880
|
+
keywordsList?: Keyword[];
|
|
9881
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9882
|
+
}
|
|
9883
|
+
export enum StreamKnownNewsState {
|
|
9884
|
+
Unconfirmed = "UNCONFIRMED",
|
|
9885
|
+
Alert = "ALERT"
|
|
9886
|
+
}
|
|
9887
|
+
export interface EventStreamItem extends EventItem {
|
|
9888
|
+
type: StreamItemTypes.Event;
|
|
9889
|
+
contentsList: StreamPublishableItemContents[];
|
|
9890
|
+
channelsList: string[];
|
|
9891
|
+
isUnread: boolean;
|
|
9892
|
+
keywordsList?: Keyword[];
|
|
9893
|
+
userResponseType?: StreamEventResponse;
|
|
9894
|
+
}
|
|
9895
|
+
export interface PageStreamItem extends PageItem {
|
|
9896
|
+
type: StreamItemTypes.Page;
|
|
9897
|
+
contentsList: StreamPublishableItemContents[];
|
|
9898
|
+
channelsList: string[];
|
|
9899
|
+
isUnread: boolean;
|
|
9900
|
+
keywordsList?: Keyword[];
|
|
9901
|
+
streamPageType?: string;
|
|
9902
|
+
path?: (PageNavigationNode & {
|
|
9903
|
+
parentId?: string;
|
|
9904
|
+
})[];
|
|
9905
|
+
}
|
|
9906
|
+
interface StreamPublishableItemContents {
|
|
9907
|
+
language: string;
|
|
9908
|
+
title: string;
|
|
9909
|
+
intro?: string;
|
|
9910
|
+
headline?: string;
|
|
9911
|
+
}
|
|
9912
|
+
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9913
|
+
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9914
|
+
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
9915
|
+
export function isEvent(item: StreamItem): item is EventStreamItem;
|
|
9916
|
+
export function isPage(item: StreamItem): item is PageStreamItem;
|
|
9917
|
+
export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
|
|
9918
|
+
groupId: string;
|
|
9919
|
+
attachments: {
|
|
9920
|
+
type: AttachmentType;
|
|
9921
|
+
id: string;
|
|
9922
|
+
filename?: string;
|
|
9923
|
+
previewUrl?: string;
|
|
9924
|
+
url?: string;
|
|
9925
|
+
isUploadInProgress?: boolean;
|
|
9926
|
+
hasError?: boolean;
|
|
9927
|
+
width?: number;
|
|
9928
|
+
height?: number;
|
|
9929
|
+
}[];
|
|
9930
|
+
comments: {
|
|
9931
|
+
items: {
|
|
9932
|
+
conversationScope: ConversationScope;
|
|
9933
|
+
fileAccessToken: string;
|
|
9934
|
+
attachments: {
|
|
9935
|
+
type: AttachmentType;
|
|
9936
|
+
id: string;
|
|
9937
|
+
filename?: string;
|
|
9938
|
+
previewUrl?: string;
|
|
9939
|
+
url?: string;
|
|
9940
|
+
isUploadInProgress?: boolean;
|
|
9941
|
+
hasError?: boolean;
|
|
9942
|
+
width?: number;
|
|
9943
|
+
height?: number;
|
|
9944
|
+
}[];
|
|
9945
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9946
|
+
streamConversationScope?: StreamConversationScope;
|
|
9947
|
+
id: string;
|
|
9948
|
+
parentItemId: string;
|
|
9949
|
+
content: string;
|
|
9950
|
+
contentLanguageCode?: string;
|
|
9951
|
+
receivedDateTime: string;
|
|
9952
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9953
|
+
modified?: string;
|
|
9954
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9955
|
+
isLiked?: boolean;
|
|
9956
|
+
threadId?: string;
|
|
9957
|
+
isUnread?: boolean;
|
|
9958
|
+
hasUnreadReplies?: boolean;
|
|
9959
|
+
isDemoContent?: boolean;
|
|
9960
|
+
attachmentContainerId?: string;
|
|
9961
|
+
}[];
|
|
9962
|
+
paginationToken?: any;
|
|
9963
|
+
nextItem?: StreamPostComment;
|
|
9964
|
+
hasMoreUnreadComments?: boolean;
|
|
9965
|
+
hasNextPage?: boolean;
|
|
9966
|
+
};
|
|
9967
|
+
keywords: {
|
|
9968
|
+
[key: string]: Keyword[];
|
|
9969
|
+
};
|
|
9970
|
+
type: StreamItemTypes.Post;
|
|
9971
|
+
isUnread: boolean;
|
|
9972
|
+
keywordsList?: Keyword[];
|
|
9973
|
+
groupIds?: string[];
|
|
9974
|
+
postAttachments?: StreamAttachment[];
|
|
9975
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9976
|
+
hasMoreUnreadComments: boolean;
|
|
9977
|
+
id: string;
|
|
9978
|
+
content: string;
|
|
9979
|
+
permalink?: string;
|
|
9980
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
9981
|
+
publishingDate: string;
|
|
9982
|
+
modified?: string;
|
|
9983
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
9984
|
+
contentLanguageCode?: string;
|
|
9985
|
+
isLiked?: boolean;
|
|
9986
|
+
isDemoContent?: boolean;
|
|
9987
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
9988
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9989
|
+
fileAccessToken?: string;
|
|
9990
|
+
attachmentContainerId?: string;
|
|
9991
|
+
} | {
|
|
9992
|
+
groupId: string;
|
|
9993
|
+
attachments: {
|
|
9994
|
+
type: AttachmentType;
|
|
9995
|
+
id: string;
|
|
9996
|
+
filename?: string;
|
|
9997
|
+
previewUrl?: string;
|
|
9998
|
+
url?: string;
|
|
9999
|
+
isUploadInProgress?: boolean;
|
|
10000
|
+
hasError?: boolean;
|
|
10001
|
+
width?: number;
|
|
10002
|
+
height?: number;
|
|
10003
|
+
}[];
|
|
10004
|
+
comments: {
|
|
10005
|
+
items: {
|
|
10006
|
+
conversationScope: ConversationScope;
|
|
10007
|
+
fileAccessToken: string;
|
|
10008
|
+
attachments: {
|
|
10009
|
+
type: AttachmentType;
|
|
10010
|
+
id: string;
|
|
10011
|
+
filename?: string;
|
|
10012
|
+
previewUrl?: string;
|
|
10013
|
+
url?: string;
|
|
10014
|
+
isUploadInProgress?: boolean;
|
|
10015
|
+
hasError?: boolean;
|
|
10016
|
+
width?: number;
|
|
10017
|
+
height?: number;
|
|
10018
|
+
}[];
|
|
10019
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10020
|
+
streamConversationScope?: StreamConversationScope;
|
|
10021
|
+
id: string;
|
|
10022
|
+
parentItemId: string;
|
|
10023
|
+
content: string;
|
|
10024
|
+
contentLanguageCode?: string;
|
|
10025
|
+
receivedDateTime: string;
|
|
10026
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10027
|
+
modified?: string;
|
|
10028
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10029
|
+
isLiked?: boolean;
|
|
10030
|
+
threadId?: string;
|
|
10031
|
+
isUnread?: boolean;
|
|
10032
|
+
hasUnreadReplies?: boolean;
|
|
10033
|
+
isDemoContent?: boolean;
|
|
10034
|
+
attachmentContainerId?: string;
|
|
10035
|
+
}[];
|
|
10036
|
+
paginationToken?: any;
|
|
10037
|
+
nextItem?: StreamPostComment;
|
|
10038
|
+
hasMoreUnreadComments?: boolean;
|
|
10039
|
+
hasNextPage?: boolean;
|
|
10040
|
+
};
|
|
10041
|
+
keywords: {
|
|
10042
|
+
[key: string]: Keyword[];
|
|
10043
|
+
};
|
|
10044
|
+
type: StreamItemTypes.News;
|
|
10045
|
+
contentsList: StreamPublishableItemContents[];
|
|
10046
|
+
channelsList: string[];
|
|
10047
|
+
isUnread: boolean;
|
|
10048
|
+
keywordsList?: Keyword[];
|
|
10049
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10050
|
+
source?: string;
|
|
10051
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10052
|
+
expiryDate?: string;
|
|
10053
|
+
knownState: KnownNewsState;
|
|
10054
|
+
hasNewComments?: boolean;
|
|
10055
|
+
isLiked?: boolean;
|
|
10056
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10057
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10058
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10059
|
+
id?: string;
|
|
10060
|
+
versionId?: string;
|
|
10061
|
+
publishingDate?: string;
|
|
10062
|
+
deleted?: string;
|
|
10063
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10064
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10065
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10066
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10067
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10068
|
+
fileAccessToken?: string;
|
|
10069
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10070
|
+
customProperties?: {
|
|
10071
|
+
[key: string]: any;
|
|
10072
|
+
};
|
|
10073
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10074
|
+
modified: string;
|
|
10075
|
+
created: string;
|
|
10076
|
+
publishedVersionId?: string;
|
|
10077
|
+
isCurrentPublishedVersion?: boolean;
|
|
10078
|
+
isLatestVersion?: boolean;
|
|
10079
|
+
permalink?: string;
|
|
10080
|
+
groupIds: string[];
|
|
10081
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10082
|
+
useExternalContent?: boolean;
|
|
10083
|
+
isDemoContent?: boolean;
|
|
10084
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10085
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10086
|
+
} | {
|
|
10087
|
+
groupId: string;
|
|
10088
|
+
attachments: {
|
|
10089
|
+
type: AttachmentType;
|
|
10090
|
+
id: string;
|
|
10091
|
+
filename?: string;
|
|
10092
|
+
previewUrl?: string;
|
|
10093
|
+
url?: string;
|
|
10094
|
+
isUploadInProgress?: boolean;
|
|
10095
|
+
hasError?: boolean;
|
|
10096
|
+
width?: number;
|
|
10097
|
+
height?: number;
|
|
10098
|
+
}[];
|
|
10099
|
+
comments: {
|
|
10100
|
+
items: {
|
|
10101
|
+
conversationScope: ConversationScope;
|
|
10102
|
+
fileAccessToken: string;
|
|
10103
|
+
attachments: {
|
|
10104
|
+
type: AttachmentType;
|
|
10105
|
+
id: string;
|
|
10106
|
+
filename?: string;
|
|
10107
|
+
previewUrl?: string;
|
|
10108
|
+
url?: string;
|
|
10109
|
+
isUploadInProgress?: boolean;
|
|
10110
|
+
hasError?: boolean;
|
|
10111
|
+
width?: number;
|
|
10112
|
+
height?: number;
|
|
10113
|
+
}[];
|
|
10114
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10115
|
+
streamConversationScope?: StreamConversationScope;
|
|
10116
|
+
id: string;
|
|
10117
|
+
parentItemId: string;
|
|
10118
|
+
content: string;
|
|
10119
|
+
contentLanguageCode?: string;
|
|
10120
|
+
receivedDateTime: string;
|
|
10121
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10122
|
+
modified?: string;
|
|
10123
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10124
|
+
isLiked?: boolean;
|
|
10125
|
+
threadId?: string;
|
|
10126
|
+
isUnread?: boolean;
|
|
10127
|
+
hasUnreadReplies?: boolean;
|
|
10128
|
+
isDemoContent?: boolean;
|
|
10129
|
+
attachmentContainerId?: string;
|
|
10130
|
+
}[];
|
|
10131
|
+
paginationToken?: any;
|
|
10132
|
+
nextItem?: StreamPostComment;
|
|
10133
|
+
hasMoreUnreadComments?: boolean;
|
|
10134
|
+
hasNextPage?: boolean;
|
|
10135
|
+
};
|
|
10136
|
+
keywords: {
|
|
10137
|
+
[key: string]: Keyword[];
|
|
10138
|
+
};
|
|
10139
|
+
type: StreamItemTypes.Event;
|
|
10140
|
+
contentsList: StreamPublishableItemContents[];
|
|
10141
|
+
channelsList: string[];
|
|
10142
|
+
isUnread: boolean;
|
|
10143
|
+
keywordsList?: Keyword[];
|
|
10144
|
+
userResponseType?: StreamEventResponse;
|
|
10145
|
+
startDate?: string;
|
|
10146
|
+
endDate?: string;
|
|
10147
|
+
timeZone?: string;
|
|
10148
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10149
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10150
|
+
userResponse?: EventResponse;
|
|
10151
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10152
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10153
|
+
hasNewComments?: boolean;
|
|
10154
|
+
isLiked?: boolean;
|
|
10155
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10156
|
+
recurrenceSeriesId?: string;
|
|
10157
|
+
isSeriesMaster?: string;
|
|
10158
|
+
isVirtual?: boolean;
|
|
10159
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10160
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10161
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10162
|
+
id?: string;
|
|
10163
|
+
versionId?: string;
|
|
10164
|
+
publishingDate?: string;
|
|
10165
|
+
deleted?: string;
|
|
10166
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10167
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10168
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10169
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10170
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10171
|
+
fileAccessToken?: string;
|
|
10172
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10173
|
+
customProperties?: {
|
|
10174
|
+
[key: string]: any;
|
|
10175
|
+
};
|
|
10176
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10177
|
+
modified: string;
|
|
10178
|
+
created: string;
|
|
10179
|
+
publishedVersionId?: string;
|
|
10180
|
+
isCurrentPublishedVersion?: boolean;
|
|
10181
|
+
isLatestVersion?: boolean;
|
|
10182
|
+
permalink?: string;
|
|
10183
|
+
groupIds: string[];
|
|
10184
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10185
|
+
useExternalContent?: boolean;
|
|
10186
|
+
isDemoContent?: boolean;
|
|
10187
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10188
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10189
|
+
} | {
|
|
10190
|
+
groupId: string;
|
|
10191
|
+
attachments: {
|
|
10192
|
+
type: AttachmentType;
|
|
10193
|
+
id: string;
|
|
10194
|
+
filename?: string;
|
|
10195
|
+
previewUrl?: string;
|
|
10196
|
+
url?: string;
|
|
10197
|
+
isUploadInProgress?: boolean;
|
|
10198
|
+
hasError?: boolean;
|
|
10199
|
+
width?: number;
|
|
10200
|
+
height?: number;
|
|
10201
|
+
}[];
|
|
10202
|
+
comments: {
|
|
10203
|
+
items: {
|
|
10204
|
+
conversationScope: ConversationScope;
|
|
10205
|
+
fileAccessToken: string;
|
|
10206
|
+
attachments: {
|
|
10207
|
+
type: AttachmentType;
|
|
10208
|
+
id: string;
|
|
10209
|
+
filename?: string;
|
|
10210
|
+
previewUrl?: string;
|
|
10211
|
+
url?: string;
|
|
10212
|
+
isUploadInProgress?: boolean;
|
|
10213
|
+
hasError?: boolean;
|
|
10214
|
+
width?: number;
|
|
10215
|
+
height?: number;
|
|
10216
|
+
}[];
|
|
10217
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10218
|
+
streamConversationScope?: StreamConversationScope;
|
|
10219
|
+
id: string;
|
|
10220
|
+
parentItemId: string;
|
|
10221
|
+
content: string;
|
|
10222
|
+
contentLanguageCode?: string;
|
|
10223
|
+
receivedDateTime: string;
|
|
10224
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10225
|
+
modified?: string;
|
|
10226
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10227
|
+
isLiked?: boolean;
|
|
10228
|
+
threadId?: string;
|
|
10229
|
+
isUnread?: boolean;
|
|
10230
|
+
hasUnreadReplies?: boolean;
|
|
10231
|
+
isDemoContent?: boolean;
|
|
10232
|
+
attachmentContainerId?: string;
|
|
10233
|
+
}[];
|
|
10234
|
+
paginationToken?: any;
|
|
10235
|
+
nextItem?: StreamPostComment;
|
|
10236
|
+
hasMoreUnreadComments?: boolean;
|
|
10237
|
+
hasNextPage?: boolean;
|
|
10238
|
+
};
|
|
10239
|
+
keywords: {
|
|
10240
|
+
[key: string]: Keyword[];
|
|
10241
|
+
};
|
|
10242
|
+
type: StreamItemTypes.Page;
|
|
10243
|
+
contentsList: StreamPublishableItemContents[];
|
|
10244
|
+
channelsList: string[];
|
|
10245
|
+
isUnread: boolean;
|
|
10246
|
+
keywordsList?: Keyword[];
|
|
10247
|
+
streamPageType?: string;
|
|
10248
|
+
path?: (PageNavigationNode & {
|
|
10249
|
+
parentId?: string;
|
|
10250
|
+
})[];
|
|
10251
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10252
|
+
parentId?: string;
|
|
10253
|
+
pathIds?: string[];
|
|
10254
|
+
position?: number;
|
|
10255
|
+
navigationContext?: PageNavigationContext;
|
|
10256
|
+
hasHiddenAncestor?: boolean;
|
|
10257
|
+
isUnlinked?: boolean;
|
|
10258
|
+
pageType?: PageType;
|
|
10259
|
+
firstChildId?: string;
|
|
10260
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10261
|
+
id?: string;
|
|
10262
|
+
versionId?: string;
|
|
10263
|
+
publishingDate?: string;
|
|
10264
|
+
deleted?: string;
|
|
10265
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10266
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10267
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10268
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10269
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10270
|
+
fileAccessToken?: string;
|
|
10271
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10272
|
+
customProperties?: {
|
|
10273
|
+
[key: string]: any;
|
|
10274
|
+
};
|
|
10275
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10276
|
+
modified: string;
|
|
10277
|
+
created: string;
|
|
10278
|
+
publishedVersionId?: string;
|
|
10279
|
+
isCurrentPublishedVersion?: boolean;
|
|
10280
|
+
isLatestVersion?: boolean;
|
|
10281
|
+
permalink?: string;
|
|
10282
|
+
groupIds: string[];
|
|
10283
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10284
|
+
useExternalContent?: boolean;
|
|
10285
|
+
isDemoContent?: boolean;
|
|
10286
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10287
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10288
|
+
} | {
|
|
10289
|
+
knownState?: undefined;
|
|
10290
|
+
pageType?: undefined;
|
|
10291
|
+
navigationContext?: undefined;
|
|
10292
|
+
userResponse: EventResponse;
|
|
10293
|
+
channels: {
|
|
10294
|
+
name: string;
|
|
10295
|
+
}[];
|
|
10296
|
+
contents: {};
|
|
10297
|
+
bannerInfo: {
|
|
10298
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10299
|
+
type: "video" | "image";
|
|
10300
|
+
videoId?: string;
|
|
10301
|
+
videoUrl?: string;
|
|
10302
|
+
isDirectVideoUrl?: boolean;
|
|
10303
|
+
imageId?: string;
|
|
10304
|
+
};
|
|
10305
|
+
keywords: {
|
|
10306
|
+
[key: string]: Keyword[];
|
|
10307
|
+
};
|
|
10308
|
+
type: StreamItemTypes.Post;
|
|
10309
|
+
isUnread: boolean;
|
|
10310
|
+
keywordsList?: Keyword[];
|
|
10311
|
+
groupIds?: string[];
|
|
10312
|
+
postAttachments?: StreamAttachment[];
|
|
10313
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10314
|
+
hasMoreUnreadComments: boolean;
|
|
10315
|
+
id: string;
|
|
10316
|
+
comments?: PaginatedList<Comment>;
|
|
10317
|
+
groupId: string;
|
|
10318
|
+
content: string;
|
|
10319
|
+
permalink?: string;
|
|
10320
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10321
|
+
publishingDate: string;
|
|
10322
|
+
modified?: string;
|
|
10323
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10324
|
+
contentLanguageCode?: string;
|
|
10325
|
+
isLiked?: boolean;
|
|
10326
|
+
isDemoContent?: boolean;
|
|
10327
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10328
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10329
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10330
|
+
fileAccessToken?: string;
|
|
10331
|
+
attachmentContainerId?: string;
|
|
10332
|
+
} | {
|
|
10333
|
+
knownState: KnownNewsState;
|
|
10334
|
+
pageType?: undefined;
|
|
10335
|
+
navigationContext?: undefined;
|
|
10336
|
+
userResponse: EventResponse;
|
|
10337
|
+
channels: {
|
|
10338
|
+
name: string;
|
|
10339
|
+
}[];
|
|
10340
|
+
contents: {};
|
|
10341
|
+
bannerInfo: {
|
|
10342
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10343
|
+
type: "video" | "image";
|
|
10344
|
+
videoId?: string;
|
|
10345
|
+
videoUrl?: string;
|
|
10346
|
+
isDirectVideoUrl?: boolean;
|
|
10347
|
+
imageId?: string;
|
|
10348
|
+
};
|
|
10349
|
+
keywords: {
|
|
10350
|
+
[key: string]: Keyword[];
|
|
10351
|
+
};
|
|
10352
|
+
type: StreamItemTypes.Post;
|
|
10353
|
+
isUnread: boolean;
|
|
10354
|
+
keywordsList?: Keyword[];
|
|
10355
|
+
groupIds?: string[];
|
|
10356
|
+
postAttachments?: StreamAttachment[];
|
|
10357
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10358
|
+
hasMoreUnreadComments: boolean;
|
|
10359
|
+
id: string;
|
|
10360
|
+
comments?: PaginatedList<Comment>;
|
|
10361
|
+
groupId: string;
|
|
10362
|
+
content: string;
|
|
10363
|
+
permalink?: string;
|
|
10364
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10365
|
+
publishingDate: string;
|
|
10366
|
+
modified?: string;
|
|
10367
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10368
|
+
contentLanguageCode?: string;
|
|
10369
|
+
isLiked?: boolean;
|
|
10370
|
+
isDemoContent?: boolean;
|
|
10371
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10372
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10373
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10374
|
+
fileAccessToken?: string;
|
|
10375
|
+
attachmentContainerId?: string;
|
|
10376
|
+
} | {
|
|
10377
|
+
knownState?: undefined;
|
|
10378
|
+
pageType: PageType;
|
|
10379
|
+
navigationContext: PageNavigationContext;
|
|
10380
|
+
userResponse: EventResponse;
|
|
10381
|
+
channels: {
|
|
10382
|
+
name: string;
|
|
10383
|
+
}[];
|
|
10384
|
+
contents: {};
|
|
10385
|
+
bannerInfo: {
|
|
10386
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10387
|
+
type: "video" | "image";
|
|
10388
|
+
videoId?: string;
|
|
10389
|
+
videoUrl?: string;
|
|
10390
|
+
isDirectVideoUrl?: boolean;
|
|
10391
|
+
imageId?: string;
|
|
10392
|
+
};
|
|
10393
|
+
keywords: {
|
|
10394
|
+
[key: string]: Keyword[];
|
|
10395
|
+
};
|
|
10396
|
+
type: StreamItemTypes.Post;
|
|
10397
|
+
isUnread: boolean;
|
|
10398
|
+
keywordsList?: Keyword[];
|
|
10399
|
+
groupIds?: string[];
|
|
10400
|
+
postAttachments?: StreamAttachment[];
|
|
10401
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10402
|
+
hasMoreUnreadComments: boolean;
|
|
10403
|
+
id: string;
|
|
10404
|
+
comments?: PaginatedList<Comment>;
|
|
10405
|
+
groupId: string;
|
|
10406
|
+
content: string;
|
|
10407
|
+
permalink?: string;
|
|
10408
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10409
|
+
publishingDate: string;
|
|
10410
|
+
modified?: string;
|
|
10411
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10412
|
+
contentLanguageCode?: string;
|
|
10413
|
+
isLiked?: boolean;
|
|
10414
|
+
isDemoContent?: boolean;
|
|
10415
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10416
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10417
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10418
|
+
fileAccessToken?: string;
|
|
10419
|
+
attachmentContainerId?: string;
|
|
10420
|
+
} | {
|
|
10421
|
+
knownState: KnownNewsState;
|
|
10422
|
+
pageType: PageType;
|
|
10423
|
+
navigationContext: PageNavigationContext;
|
|
10424
|
+
userResponse: EventResponse;
|
|
10425
|
+
channels: {
|
|
10426
|
+
name: string;
|
|
10427
|
+
}[];
|
|
10428
|
+
contents: {};
|
|
10429
|
+
bannerInfo: {
|
|
10430
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10431
|
+
type: "video" | "image";
|
|
10432
|
+
videoId?: string;
|
|
10433
|
+
videoUrl?: string;
|
|
10434
|
+
isDirectVideoUrl?: boolean;
|
|
10435
|
+
imageId?: string;
|
|
10436
|
+
};
|
|
10437
|
+
keywords: {
|
|
10438
|
+
[key: string]: Keyword[];
|
|
10439
|
+
};
|
|
10440
|
+
type: StreamItemTypes.Post;
|
|
10441
|
+
isUnread: boolean;
|
|
10442
|
+
keywordsList?: Keyword[];
|
|
10443
|
+
groupIds?: string[];
|
|
10444
|
+
postAttachments?: StreamAttachment[];
|
|
10445
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10446
|
+
hasMoreUnreadComments: boolean;
|
|
10447
|
+
id: string;
|
|
10448
|
+
comments?: PaginatedList<Comment>;
|
|
10449
|
+
groupId: string;
|
|
10450
|
+
content: string;
|
|
10451
|
+
permalink?: string;
|
|
10452
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10453
|
+
publishingDate: string;
|
|
10454
|
+
modified?: string;
|
|
10455
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10456
|
+
contentLanguageCode?: string;
|
|
10457
|
+
isLiked?: boolean;
|
|
10458
|
+
isDemoContent?: boolean;
|
|
10459
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10460
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10461
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10462
|
+
fileAccessToken?: string;
|
|
10463
|
+
attachmentContainerId?: string;
|
|
10464
|
+
} | {
|
|
10465
|
+
knownState: KnownNewsState;
|
|
10466
|
+
pageType?: undefined;
|
|
10467
|
+
navigationContext?: undefined;
|
|
10468
|
+
userResponse: EventResponse;
|
|
10469
|
+
channels: {
|
|
10470
|
+
name: string;
|
|
10471
|
+
}[];
|
|
10472
|
+
contents: {};
|
|
10473
|
+
bannerInfo: {
|
|
10474
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10475
|
+
type: "video" | "image";
|
|
10476
|
+
videoId?: string;
|
|
10477
|
+
videoUrl?: string;
|
|
10478
|
+
isDirectVideoUrl?: boolean;
|
|
10479
|
+
imageId?: string;
|
|
10480
|
+
};
|
|
10481
|
+
keywords: {
|
|
10482
|
+
[key: string]: Keyword[];
|
|
10483
|
+
};
|
|
10484
|
+
type: StreamItemTypes.News;
|
|
10485
|
+
contentsList: StreamPublishableItemContents[];
|
|
10486
|
+
channelsList: string[];
|
|
10487
|
+
isUnread: boolean;
|
|
10488
|
+
keywordsList?: Keyword[];
|
|
10489
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10490
|
+
source?: string;
|
|
10491
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10492
|
+
expiryDate?: string;
|
|
10493
|
+
hasNewComments?: boolean;
|
|
10494
|
+
isLiked?: boolean;
|
|
10495
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10496
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10497
|
+
id?: string;
|
|
10498
|
+
versionId?: string;
|
|
10499
|
+
publishingDate?: string;
|
|
10500
|
+
deleted?: string;
|
|
10501
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10502
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10503
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10504
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10505
|
+
fileAccessToken?: string;
|
|
10506
|
+
customProperties?: {
|
|
10507
|
+
[key: string]: any;
|
|
10508
|
+
};
|
|
10509
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10510
|
+
modified: string;
|
|
10511
|
+
created: string;
|
|
10512
|
+
publishedVersionId?: string;
|
|
10513
|
+
isCurrentPublishedVersion?: boolean;
|
|
10514
|
+
isLatestVersion?: boolean;
|
|
10515
|
+
permalink?: string;
|
|
10516
|
+
groupIds: string[];
|
|
10517
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10518
|
+
useExternalContent?: boolean;
|
|
10519
|
+
isDemoContent?: boolean;
|
|
10520
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10521
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10522
|
+
} | {
|
|
10523
|
+
knownState: KnownNewsState;
|
|
10524
|
+
pageType: PageType;
|
|
10525
|
+
navigationContext: PageNavigationContext;
|
|
10526
|
+
userResponse: EventResponse;
|
|
10527
|
+
channels: {
|
|
10528
|
+
name: string;
|
|
10529
|
+
}[];
|
|
10530
|
+
contents: {};
|
|
10531
|
+
bannerInfo: {
|
|
10532
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10533
|
+
type: "video" | "image";
|
|
10534
|
+
videoId?: string;
|
|
10535
|
+
videoUrl?: string;
|
|
10536
|
+
isDirectVideoUrl?: boolean;
|
|
10537
|
+
imageId?: string;
|
|
10538
|
+
};
|
|
10539
|
+
keywords: {
|
|
10540
|
+
[key: string]: Keyword[];
|
|
10541
|
+
};
|
|
10542
|
+
type: StreamItemTypes.News;
|
|
10543
|
+
contentsList: StreamPublishableItemContents[];
|
|
10544
|
+
channelsList: string[];
|
|
10545
|
+
isUnread: boolean;
|
|
10546
|
+
keywordsList?: Keyword[];
|
|
10547
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10548
|
+
source?: string;
|
|
10549
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10550
|
+
expiryDate?: string;
|
|
10551
|
+
hasNewComments?: boolean;
|
|
10552
|
+
isLiked?: boolean;
|
|
10553
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10554
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10555
|
+
id?: string;
|
|
10556
|
+
versionId?: string;
|
|
10557
|
+
publishingDate?: string;
|
|
10558
|
+
deleted?: string;
|
|
10559
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10560
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10561
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10562
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10563
|
+
fileAccessToken?: string;
|
|
10564
|
+
customProperties?: {
|
|
10565
|
+
[key: string]: any;
|
|
10566
|
+
};
|
|
10567
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10568
|
+
modified: string;
|
|
10569
|
+
created: string;
|
|
10570
|
+
publishedVersionId?: string;
|
|
10571
|
+
isCurrentPublishedVersion?: boolean;
|
|
10572
|
+
isLatestVersion?: boolean;
|
|
10573
|
+
permalink?: string;
|
|
10574
|
+
groupIds: string[];
|
|
10575
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10576
|
+
useExternalContent?: boolean;
|
|
10577
|
+
isDemoContent?: boolean;
|
|
10578
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10579
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10580
|
+
} | {
|
|
10581
|
+
knownState?: undefined;
|
|
10582
|
+
pageType?: undefined;
|
|
10583
|
+
navigationContext?: undefined;
|
|
10584
|
+
userResponse: EventResponse;
|
|
10585
|
+
channels: {
|
|
10586
|
+
name: string;
|
|
10587
|
+
}[];
|
|
10588
|
+
contents: {};
|
|
10589
|
+
bannerInfo: {
|
|
10590
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10591
|
+
type: "video" | "image";
|
|
10592
|
+
videoId?: string;
|
|
10593
|
+
videoUrl?: string;
|
|
10594
|
+
isDirectVideoUrl?: boolean;
|
|
10595
|
+
imageId?: string;
|
|
10596
|
+
};
|
|
10597
|
+
keywords: {
|
|
10598
|
+
[key: string]: Keyword[];
|
|
10599
|
+
};
|
|
10600
|
+
type: StreamItemTypes.Event;
|
|
10601
|
+
contentsList: StreamPublishableItemContents[];
|
|
10602
|
+
channelsList: string[];
|
|
10603
|
+
isUnread: boolean;
|
|
10604
|
+
keywordsList?: Keyword[];
|
|
10605
|
+
userResponseType?: StreamEventResponse;
|
|
10606
|
+
startDate?: string;
|
|
10607
|
+
endDate?: string;
|
|
10608
|
+
timeZone?: string;
|
|
10609
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10610
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10611
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10612
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10613
|
+
hasNewComments?: boolean;
|
|
10614
|
+
isLiked?: boolean;
|
|
10615
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10616
|
+
recurrenceSeriesId?: string;
|
|
10617
|
+
isSeriesMaster?: string;
|
|
10618
|
+
isVirtual?: boolean;
|
|
10619
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10620
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10621
|
+
id?: string;
|
|
10622
|
+
versionId?: string;
|
|
10623
|
+
publishingDate?: string;
|
|
10624
|
+
deleted?: string;
|
|
10625
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10626
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10627
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10628
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10629
|
+
fileAccessToken?: string;
|
|
10630
|
+
customProperties?: {
|
|
10631
|
+
[key: string]: any;
|
|
10632
|
+
};
|
|
10633
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10634
|
+
modified: string;
|
|
10635
|
+
created: string;
|
|
10636
|
+
publishedVersionId?: string;
|
|
10637
|
+
isCurrentPublishedVersion?: boolean;
|
|
10638
|
+
isLatestVersion?: boolean;
|
|
10639
|
+
permalink?: string;
|
|
10640
|
+
groupIds: string[];
|
|
10641
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10642
|
+
useExternalContent?: boolean;
|
|
10643
|
+
isDemoContent?: boolean;
|
|
10644
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10645
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10646
|
+
} | {
|
|
10647
|
+
knownState: KnownNewsState;
|
|
10648
|
+
pageType?: undefined;
|
|
10649
|
+
navigationContext?: undefined;
|
|
10650
|
+
userResponse: EventResponse;
|
|
10651
|
+
channels: {
|
|
10652
|
+
name: string;
|
|
10653
|
+
}[];
|
|
10654
|
+
contents: {};
|
|
10655
|
+
bannerInfo: {
|
|
10656
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10657
|
+
type: "video" | "image";
|
|
10658
|
+
videoId?: string;
|
|
10659
|
+
videoUrl?: string;
|
|
10660
|
+
isDirectVideoUrl?: boolean;
|
|
10661
|
+
imageId?: string;
|
|
10662
|
+
};
|
|
10663
|
+
keywords: {
|
|
10664
|
+
[key: string]: Keyword[];
|
|
10665
|
+
};
|
|
10666
|
+
type: StreamItemTypes.Event;
|
|
10667
|
+
contentsList: StreamPublishableItemContents[];
|
|
10668
|
+
channelsList: string[];
|
|
10669
|
+
isUnread: boolean;
|
|
10670
|
+
keywordsList?: Keyword[];
|
|
10671
|
+
userResponseType?: StreamEventResponse;
|
|
10672
|
+
startDate?: string;
|
|
10673
|
+
endDate?: string;
|
|
10674
|
+
timeZone?: string;
|
|
10675
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10676
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10677
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10678
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10679
|
+
hasNewComments?: boolean;
|
|
10680
|
+
isLiked?: boolean;
|
|
10681
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10682
|
+
recurrenceSeriesId?: string;
|
|
10683
|
+
isSeriesMaster?: string;
|
|
10684
|
+
isVirtual?: boolean;
|
|
10685
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10686
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10687
|
+
id?: string;
|
|
10688
|
+
versionId?: string;
|
|
10689
|
+
publishingDate?: string;
|
|
10690
|
+
deleted?: string;
|
|
10691
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10692
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10693
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10694
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10695
|
+
fileAccessToken?: string;
|
|
10696
|
+
customProperties?: {
|
|
10697
|
+
[key: string]: any;
|
|
10698
|
+
};
|
|
10699
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10700
|
+
modified: string;
|
|
10701
|
+
created: string;
|
|
10702
|
+
publishedVersionId?: string;
|
|
10703
|
+
isCurrentPublishedVersion?: boolean;
|
|
10704
|
+
isLatestVersion?: boolean;
|
|
10705
|
+
permalink?: string;
|
|
10706
|
+
groupIds: string[];
|
|
10707
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10708
|
+
useExternalContent?: boolean;
|
|
10709
|
+
isDemoContent?: boolean;
|
|
10710
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10711
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10712
|
+
} | {
|
|
10713
|
+
knownState?: undefined;
|
|
10714
|
+
pageType: PageType;
|
|
10715
|
+
navigationContext: PageNavigationContext;
|
|
10716
|
+
userResponse: EventResponse;
|
|
10717
|
+
channels: {
|
|
10718
|
+
name: string;
|
|
10719
|
+
}[];
|
|
10720
|
+
contents: {};
|
|
10721
|
+
bannerInfo: {
|
|
10722
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10723
|
+
type: "video" | "image";
|
|
10724
|
+
videoId?: string;
|
|
10725
|
+
videoUrl?: string;
|
|
10726
|
+
isDirectVideoUrl?: boolean;
|
|
10727
|
+
imageId?: string;
|
|
10728
|
+
};
|
|
10729
|
+
keywords: {
|
|
10730
|
+
[key: string]: Keyword[];
|
|
10731
|
+
};
|
|
10732
|
+
type: StreamItemTypes.Event;
|
|
10733
|
+
contentsList: StreamPublishableItemContents[];
|
|
10734
|
+
channelsList: string[];
|
|
10735
|
+
isUnread: boolean;
|
|
10736
|
+
keywordsList?: Keyword[];
|
|
10737
|
+
userResponseType?: StreamEventResponse;
|
|
10738
|
+
startDate?: string;
|
|
10739
|
+
endDate?: string;
|
|
10740
|
+
timeZone?: string;
|
|
10741
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10742
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10743
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10744
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10745
|
+
hasNewComments?: boolean;
|
|
10746
|
+
isLiked?: boolean;
|
|
10747
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10748
|
+
recurrenceSeriesId?: string;
|
|
10749
|
+
isSeriesMaster?: string;
|
|
10750
|
+
isVirtual?: boolean;
|
|
10751
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10752
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10753
|
+
id?: string;
|
|
10754
|
+
versionId?: string;
|
|
10755
|
+
publishingDate?: string;
|
|
10756
|
+
deleted?: string;
|
|
10757
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10758
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10759
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10760
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10761
|
+
fileAccessToken?: string;
|
|
10762
|
+
customProperties?: {
|
|
10763
|
+
[key: string]: any;
|
|
10764
|
+
};
|
|
10765
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10766
|
+
modified: string;
|
|
10767
|
+
created: string;
|
|
10768
|
+
publishedVersionId?: string;
|
|
10769
|
+
isCurrentPublishedVersion?: boolean;
|
|
10770
|
+
isLatestVersion?: boolean;
|
|
10771
|
+
permalink?: string;
|
|
10772
|
+
groupIds: string[];
|
|
10773
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10774
|
+
useExternalContent?: boolean;
|
|
10775
|
+
isDemoContent?: boolean;
|
|
10776
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10777
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10778
|
+
} | {
|
|
10779
|
+
knownState: KnownNewsState;
|
|
10780
|
+
pageType: PageType;
|
|
10781
|
+
navigationContext: PageNavigationContext;
|
|
10782
|
+
userResponse: EventResponse;
|
|
10783
|
+
channels: {
|
|
10784
|
+
name: string;
|
|
10785
|
+
}[];
|
|
10786
|
+
contents: {};
|
|
10787
|
+
bannerInfo: {
|
|
10788
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10789
|
+
type: "video" | "image";
|
|
10790
|
+
videoId?: string;
|
|
10791
|
+
videoUrl?: string;
|
|
10792
|
+
isDirectVideoUrl?: boolean;
|
|
10793
|
+
imageId?: string;
|
|
10794
|
+
};
|
|
10795
|
+
keywords: {
|
|
10796
|
+
[key: string]: Keyword[];
|
|
9545
10797
|
};
|
|
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[];
|
|
10798
|
+
type: StreamItemTypes.Event;
|
|
10799
|
+
contentsList: StreamPublishableItemContents[];
|
|
10800
|
+
channelsList: string[];
|
|
10801
|
+
isUnread: boolean;
|
|
10802
|
+
keywordsList?: Keyword[];
|
|
10803
|
+
userResponseType?: StreamEventResponse;
|
|
10804
|
+
startDate?: string;
|
|
10805
|
+
endDate?: string;
|
|
10806
|
+
timeZone?: string;
|
|
10807
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10808
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10809
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10810
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10811
|
+
hasNewComments?: boolean;
|
|
10812
|
+
isLiked?: boolean;
|
|
10813
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10814
|
+
recurrenceSeriesId?: string;
|
|
10815
|
+
isSeriesMaster?: string;
|
|
10816
|
+
isVirtual?: boolean;
|
|
10817
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10818
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10819
|
+
id?: string;
|
|
10820
|
+
versionId?: string;
|
|
10821
|
+
publishingDate?: string;
|
|
10822
|
+
deleted?: string;
|
|
10823
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10824
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10825
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10826
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10827
|
+
fileAccessToken?: string;
|
|
10828
|
+
customProperties?: {
|
|
10829
|
+
[key: string]: any;
|
|
9582
10830
|
};
|
|
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
|
-
|
|
10831
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10832
|
+
modified: string;
|
|
10833
|
+
created: string;
|
|
10834
|
+
publishedVersionId?: string;
|
|
10835
|
+
isCurrentPublishedVersion?: boolean;
|
|
10836
|
+
isLatestVersion?: boolean;
|
|
10837
|
+
permalink?: string;
|
|
10838
|
+
groupIds: string[];
|
|
10839
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10840
|
+
useExternalContent?: boolean;
|
|
10841
|
+
isDemoContent?: boolean;
|
|
10842
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10843
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10844
|
+
} | {
|
|
10845
|
+
knownState?: undefined;
|
|
10846
|
+
pageType?: PageType;
|
|
10847
|
+
navigationContext?: PageNavigationContext;
|
|
10848
|
+
userResponse: EventResponse;
|
|
10849
|
+
channels: {
|
|
10850
|
+
name: string;
|
|
10851
|
+
}[];
|
|
10852
|
+
contents: {};
|
|
10853
|
+
bannerInfo: {
|
|
10854
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10855
|
+
type: "video" | "image";
|
|
10856
|
+
videoId?: string;
|
|
10857
|
+
videoUrl?: string;
|
|
10858
|
+
isDirectVideoUrl?: boolean;
|
|
10859
|
+
imageId?: string;
|
|
9608
10860
|
};
|
|
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[];
|
|
10861
|
+
keywords: {
|
|
10862
|
+
[key: string]: Keyword[];
|
|
9627
10863
|
};
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
9634
|
-
|
|
10864
|
+
type: StreamItemTypes.Page;
|
|
10865
|
+
contentsList: StreamPublishableItemContents[];
|
|
10866
|
+
channelsList: string[];
|
|
10867
|
+
isUnread: boolean;
|
|
10868
|
+
keywordsList?: Keyword[];
|
|
10869
|
+
streamPageType?: string;
|
|
10870
|
+
path?: (PageNavigationNode & {
|
|
10871
|
+
parentId?: string;
|
|
10872
|
+
})[];
|
|
10873
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10874
|
+
parentId?: string;
|
|
10875
|
+
pathIds?: string[];
|
|
10876
|
+
position?: number;
|
|
10877
|
+
hasHiddenAncestor?: boolean;
|
|
10878
|
+
isUnlinked?: boolean;
|
|
10879
|
+
firstChildId?: string;
|
|
10880
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10881
|
+
id?: string;
|
|
10882
|
+
versionId?: string;
|
|
10883
|
+
publishingDate?: string;
|
|
10884
|
+
deleted?: string;
|
|
10885
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10886
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10887
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10888
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10889
|
+
fileAccessToken?: string;
|
|
10890
|
+
customProperties?: {
|
|
10891
|
+
[key: string]: any;
|
|
10892
|
+
};
|
|
10893
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10894
|
+
modified: string;
|
|
10895
|
+
created: string;
|
|
10896
|
+
publishedVersionId?: string;
|
|
10897
|
+
isCurrentPublishedVersion?: boolean;
|
|
10898
|
+
isLatestVersion?: boolean;
|
|
10899
|
+
permalink?: string;
|
|
10900
|
+
groupIds: string[];
|
|
10901
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10902
|
+
useExternalContent?: boolean;
|
|
10903
|
+
isDemoContent?: boolean;
|
|
10904
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10905
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10906
|
+
} | {
|
|
10907
|
+
knownState: KnownNewsState;
|
|
10908
|
+
pageType?: PageType;
|
|
10909
|
+
navigationContext?: PageNavigationContext;
|
|
10910
|
+
userResponse: EventResponse;
|
|
10911
|
+
channels: {
|
|
10912
|
+
name: string;
|
|
10913
|
+
}[];
|
|
10914
|
+
contents: {};
|
|
10915
|
+
bannerInfo: {
|
|
10916
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10917
|
+
type: "video" | "image";
|
|
10918
|
+
videoId?: string;
|
|
10919
|
+
videoUrl?: string;
|
|
10920
|
+
isDirectVideoUrl?: boolean;
|
|
10921
|
+
imageId?: string;
|
|
10922
|
+
};
|
|
10923
|
+
keywords: {
|
|
10924
|
+
[key: string]: Keyword[];
|
|
10925
|
+
};
|
|
10926
|
+
type: StreamItemTypes.Page;
|
|
10927
|
+
contentsList: StreamPublishableItemContents[];
|
|
10928
|
+
channelsList: string[];
|
|
10929
|
+
isUnread: boolean;
|
|
10930
|
+
keywordsList?: Keyword[];
|
|
10931
|
+
streamPageType?: string;
|
|
10932
|
+
path?: (PageNavigationNode & {
|
|
10933
|
+
parentId?: string;
|
|
10934
|
+
})[];
|
|
10935
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10936
|
+
parentId?: string;
|
|
10937
|
+
pathIds?: string[];
|
|
10938
|
+
position?: number;
|
|
10939
|
+
hasHiddenAncestor?: boolean;
|
|
10940
|
+
isUnlinked?: boolean;
|
|
10941
|
+
firstChildId?: string;
|
|
10942
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10943
|
+
id?: string;
|
|
10944
|
+
versionId?: string;
|
|
10945
|
+
publishingDate?: string;
|
|
10946
|
+
deleted?: string;
|
|
10947
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10948
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10949
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10950
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10951
|
+
fileAccessToken?: string;
|
|
10952
|
+
customProperties?: {
|
|
10953
|
+
[key: string]: any;
|
|
10954
|
+
};
|
|
10955
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10956
|
+
modified: string;
|
|
10957
|
+
created: string;
|
|
10958
|
+
publishedVersionId?: string;
|
|
10959
|
+
isCurrentPublishedVersion?: boolean;
|
|
10960
|
+
isLatestVersion?: boolean;
|
|
10961
|
+
permalink?: string;
|
|
10962
|
+
groupIds: string[];
|
|
10963
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10964
|
+
useExternalContent?: boolean;
|
|
10965
|
+
isDemoContent?: boolean;
|
|
10966
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10967
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10968
|
+
})[];
|
|
9635
10969
|
}
|
|
9636
|
-
declare module "libs/reach/feature/content/src/
|
|
10970
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10971
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10972
|
+
import { DocumentNode } from '@apollo/client';
|
|
10973
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10974
|
+
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition, FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
10975
|
+
export enum StreamEventResponse {
|
|
10976
|
+
NotSet = "NOTSET",
|
|
10977
|
+
Registered = "REGISTERED",
|
|
10978
|
+
Declined = "DECLINED"
|
|
10979
|
+
}
|
|
10980
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10981
|
+
}
|
|
10982
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10983
|
+
items: StreamItem[];
|
|
10984
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10985
|
+
loadMore: () => Promise<void>;
|
|
10986
|
+
pageInfo: {
|
|
10987
|
+
errors?: any;
|
|
10988
|
+
hasNextPage: boolean;
|
|
10989
|
+
skip: number;
|
|
10990
|
+
};
|
|
10991
|
+
refresh: () => Promise<void>;
|
|
10992
|
+
isLoadingFirstPage: boolean;
|
|
10993
|
+
};
|
|
10994
|
+
export const getStreamQuery: () => DocumentNode;
|
|
10995
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10996
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10997
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10998
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10999
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
11000
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
11001
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
11002
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
11003
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
11004
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
11005
|
+
}
|
|
11006
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
9637
11007
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9638
11008
|
import { DependencyList } from 'react';
|
|
9639
|
-
export function
|
|
11009
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
9640
11010
|
}
|
|
9641
11011
|
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
9642
11012
|
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -9654,7 +11024,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
9654
11024
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
9655
11025
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
9656
11026
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
9657
|
-
export * from "libs/reach/feature/content/src/posts/
|
|
11027
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
9658
11028
|
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
9659
11029
|
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
9660
11030
|
export * from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9674,7 +11044,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
|
9674
11044
|
onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
|
|
9675
11045
|
onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
|
|
9676
11046
|
className?: string;
|
|
9677
|
-
useLargeAvatar?: boolean;
|
|
9678
11047
|
useExternalLink?: boolean;
|
|
9679
11048
|
}
|
|
9680
11049
|
export const EditorListItem: FC<Props>;
|
|
@@ -9719,12 +11088,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
9719
11088
|
}
|
|
9720
11089
|
}
|
|
9721
11090
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
9722
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11091
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9723
11092
|
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
11093
|
import { Observable } from 'rxjs';
|
|
9729
11094
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
9730
11095
|
export function useEditorApi(): {
|
|
@@ -9744,6 +11109,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
|
9744
11109
|
keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
|
|
9745
11110
|
saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
|
|
9746
11111
|
updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
|
|
11112
|
+
translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
|
|
9747
11113
|
};
|
|
9748
11114
|
}
|
|
9749
11115
|
declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
@@ -9767,6 +11133,59 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
9767
11133
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
9768
11134
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
9769
11135
|
}
|
|
11136
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
11137
|
+
import { FC } from 'react';
|
|
11138
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11139
|
+
export const StreamPostItemCard: FC<{
|
|
11140
|
+
post: PostStreamItem;
|
|
11141
|
+
onPostDelete: (id: string) => unknown;
|
|
11142
|
+
}>;
|
|
11143
|
+
}
|
|
11144
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
11145
|
+
import { FC } from 'react';
|
|
11146
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11147
|
+
export const StreamNewsItemCard: FC<{
|
|
11148
|
+
news: NewsStreamItem;
|
|
11149
|
+
}>;
|
|
11150
|
+
}
|
|
11151
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
11152
|
+
import { FC } from 'react';
|
|
11153
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11154
|
+
export const StreamEventItemCard: FC<{
|
|
11155
|
+
event: EventStreamItem;
|
|
11156
|
+
}>;
|
|
11157
|
+
}
|
|
11158
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11159
|
+
import { FC } from 'react';
|
|
11160
|
+
export const GlobalSearchButton: FC;
|
|
11161
|
+
}
|
|
11162
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11163
|
+
import { FC } from 'react';
|
|
11164
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11165
|
+
export type StreamQueryResult = {
|
|
11166
|
+
items: StreamItem[];
|
|
11167
|
+
};
|
|
11168
|
+
export const StreamList: FC;
|
|
11169
|
+
}
|
|
11170
|
+
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
11171
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
11172
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
11173
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11174
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
|
|
11175
|
+
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11176
|
+
}
|
|
11177
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11178
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
11179
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11180
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11181
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
11182
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
11183
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
11184
|
+
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
11185
|
+
}
|
|
11186
|
+
declare module "libs/reach/feature/content/src/search/index" {
|
|
11187
|
+
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11188
|
+
}
|
|
9770
11189
|
declare module "libs/reach/feature/content/src/index" {
|
|
9771
11190
|
export * from "libs/reach/feature/content/src/comments/index";
|
|
9772
11191
|
export * from "libs/reach/feature/content/src/common/index";
|
|
@@ -9779,6 +11198,8 @@ declare module "libs/reach/feature/content/src/index" {
|
|
|
9779
11198
|
export * from "libs/reach/feature/content/src/posts/index";
|
|
9780
11199
|
export * from "libs/reach/feature/content/src/editor/index";
|
|
9781
11200
|
export * from "libs/reach/feature/content/src/public-user/index";
|
|
11201
|
+
export * from "libs/reach/feature/content/src/stream/index";
|
|
11202
|
+
export * from "libs/reach/feature/content/src/search/index";
|
|
9782
11203
|
}
|
|
9783
11204
|
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
9784
11205
|
import { FC } from 'react';
|
|
@@ -9849,20 +11270,22 @@ declare module "apps/reach-app/src/app/AppLoader" {
|
|
|
9849
11270
|
}
|
|
9850
11271
|
declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
|
|
9851
11272
|
import './ContainerWithLogo.scss';
|
|
11273
|
+
import { LogoInfo } from "libs/reach/util/common/src/index";
|
|
11274
|
+
import { FC, ReactNode } from 'react';
|
|
9852
11275
|
export enum DefaultLogoColor {
|
|
9853
11276
|
Default = 0,
|
|
9854
11277
|
White = 1
|
|
9855
11278
|
}
|
|
9856
|
-
type RenderChildren =
|
|
9857
|
-
export const ContainerWithLogo:
|
|
9858
|
-
|
|
9859
|
-
logoColor?: DefaultLogoColor;
|
|
11279
|
+
type RenderChildren = ReactNode | (() => ReactNode);
|
|
11280
|
+
export const ContainerWithLogo: FC<{
|
|
11281
|
+
logoInfo?: LogoInfo;
|
|
9860
11282
|
text?: string;
|
|
9861
11283
|
headerClassName?: string;
|
|
9862
11284
|
additionalClasses?: string;
|
|
9863
11285
|
children: RenderChildren;
|
|
9864
11286
|
className?: string;
|
|
9865
11287
|
additionalContent?: RenderChildren;
|
|
11288
|
+
isBrandedContainer?: boolean;
|
|
9866
11289
|
}>;
|
|
9867
11290
|
}
|
|
9868
11291
|
declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
|
|
@@ -9894,7 +11317,11 @@ declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
|
9894
11317
|
MobileHidden = 1
|
|
9895
11318
|
}
|
|
9896
11319
|
export function shutdownZendesk(): void;
|
|
9897
|
-
export function
|
|
11320
|
+
export function useZendeskWithSubscription(): {
|
|
11321
|
+
showZendeskChat: () => void;
|
|
11322
|
+
toggleIcon: (show: boolean) => void;
|
|
11323
|
+
};
|
|
11324
|
+
export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
|
|
9898
11325
|
showZendeskChat: () => void;
|
|
9899
11326
|
toggleIcon: (show: boolean) => void;
|
|
9900
11327
|
};
|
|
@@ -9909,27 +11336,8 @@ declare module "apps/reach-app/src/app/EnforcedSubscriptionContextProvider" {
|
|
|
9909
11336
|
}
|
|
9910
11337
|
declare module "apps/reach-app/src/app/chrome/PageMenuActionItem" {
|
|
9911
11338
|
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>;
|
|
11339
|
+
import { PageNavigationNodeProps } from "libs/reach/util/common/src/index";
|
|
11340
|
+
export const PageMenuActionItem: FC<PageNavigationNodeProps>;
|
|
9933
11341
|
}
|
|
9934
11342
|
declare module "apps/reach-app/src/app/admin/ManagePluginsPage" {
|
|
9935
11343
|
import { FC } from 'react';
|
|
@@ -9939,7 +11347,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
|
|
|
9939
11347
|
import { FC } from 'react';
|
|
9940
11348
|
export const AdminActionItem: FC<{
|
|
9941
11349
|
submenuContents: JSX.Element;
|
|
9942
|
-
onClick
|
|
11350
|
+
onClick?: () => unknown;
|
|
9943
11351
|
title?: string;
|
|
9944
11352
|
}>;
|
|
9945
11353
|
const AdminRoutes: FC;
|
|
@@ -9953,7 +11361,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
|
|
|
9953
11361
|
import { FC } from 'react';
|
|
9954
11362
|
export const ChatMenuNode: FC<{
|
|
9955
11363
|
title: string;
|
|
9956
|
-
onClick
|
|
11364
|
+
onClick?: () => void;
|
|
9957
11365
|
}>;
|
|
9958
11366
|
}
|
|
9959
11367
|
declare module "apps/reach-app/src/app/chrome/Sidebar" {
|
|
@@ -9980,20 +11388,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
|
|
|
9980
11388
|
className?: string;
|
|
9981
11389
|
}>;
|
|
9982
11390
|
}
|
|
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
11391
|
declare module "apps/reach-app/src/AppLoaderContextProvider" {
|
|
9998
11392
|
import { FC, ReactNode } from 'react';
|
|
9999
11393
|
export const AppLoaderContext: import("react").Context<{
|
|
@@ -10139,6 +11533,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
10139
11533
|
}
|
|
10140
11534
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
10141
11535
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|
|
11536
|
+
import { PageMenuActionItem } from "apps/reach-app/src/app/chrome/PageMenuActionItem";
|
|
10142
11537
|
import { NavLinkSidebarItem } from "apps/reach-app/src/app/chrome/SidebarItem";
|
|
10143
|
-
export { Page, NavLinkSidebarItem };
|
|
11538
|
+
export { Page, NavLinkSidebarItem, PageMenuActionItem };
|
|
10144
11539
|
}
|