@livetiles/reach-plugin-types 0.4.0-preview.38 → 0.4.0-preview.380
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 +2444 -1060
- 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,23 @@ 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
|
+
textColor: 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
|
+
}
|
|
4723
4992
|
declare module "apps/reach-app/src/app/admin/themes/Themes" {
|
|
4724
4993
|
import { FC } from 'react';
|
|
4725
4994
|
export const Themes: FC;
|
|
@@ -4729,6 +4998,42 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
|
|
|
4729
4998
|
import './ApplicationName.scss';
|
|
4730
4999
|
export const ApplicationName: FC;
|
|
4731
5000
|
}
|
|
5001
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
|
|
5002
|
+
import { FC } from 'react';
|
|
5003
|
+
export const AppBarLogoPreview: FC<{
|
|
5004
|
+
src: string;
|
|
5005
|
+
subscriptionName: string;
|
|
5006
|
+
}>;
|
|
5007
|
+
export const SidePanelLogoPreview: FC<{
|
|
5008
|
+
src: string;
|
|
5009
|
+
subscriptionName: string;
|
|
5010
|
+
}>;
|
|
5011
|
+
export const EmailLogoPreview: FC<{
|
|
5012
|
+
src: string;
|
|
5013
|
+
subscriptionName: string;
|
|
5014
|
+
}>;
|
|
5015
|
+
export const SignInLogoPreview: FC<{
|
|
5016
|
+
src: string;
|
|
5017
|
+
}>;
|
|
5018
|
+
}
|
|
5019
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
|
|
5020
|
+
import { FC } from 'react';
|
|
5021
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5022
|
+
export const LogoPreviewDialog: FC<{
|
|
5023
|
+
canSave: boolean;
|
|
5024
|
+
onDismiss: () => unknown;
|
|
5025
|
+
onSave: (logoSize: LogoSize) => unknown;
|
|
5026
|
+
source: string;
|
|
5027
|
+
logoType: LogoSize;
|
|
5028
|
+
}>;
|
|
5029
|
+
}
|
|
5030
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
|
|
5031
|
+
import { FC } from 'react';
|
|
5032
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5033
|
+
export const LogoEditor: FC<{
|
|
5034
|
+
logoType: LogoSize;
|
|
5035
|
+
}>;
|
|
5036
|
+
}
|
|
4732
5037
|
declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
|
|
4733
5038
|
import { FC } from 'react';
|
|
4734
5039
|
export const ApplicationLogo: FC;
|
|
@@ -5490,6 +5795,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
|
|
|
5490
5795
|
}
|
|
5491
5796
|
export const GoToAdminConsentButton: React.FC<Props>;
|
|
5492
5797
|
}
|
|
5798
|
+
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
5799
|
+
import { IntlShape } from 'react-intl';
|
|
5800
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
5801
|
+
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
5802
|
+
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
5803
|
+
export const systemAccountGroupIds: {
|
|
5804
|
+
everyone: string;
|
|
5805
|
+
directoryUsers: string;
|
|
5806
|
+
nonDirectoryUsers: string;
|
|
5807
|
+
allGroups: string[];
|
|
5808
|
+
};
|
|
5809
|
+
export function getDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5810
|
+
export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5811
|
+
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
5812
|
+
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
5813
|
+
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
5814
|
+
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
5815
|
+
export const isAdGroup: (account: Account) => boolean;
|
|
5816
|
+
export const isUser: (account: Account) => boolean;
|
|
5817
|
+
}
|
|
5493
5818
|
declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
|
|
5494
5819
|
import { FC } from 'react';
|
|
5495
5820
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -5855,23 +6180,19 @@ declare module "apps/reach-app/src/app/chrome/BaseSidebarItem" {
|
|
|
5855
6180
|
}
|
|
5856
6181
|
declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
5857
6182
|
import { FC } from 'react';
|
|
5858
|
-
|
|
5859
|
-
backgroundColor: string;
|
|
5860
|
-
color: string;
|
|
5861
|
-
}
|
|
6183
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
5862
6184
|
export const SidebarItemSection: FC<{
|
|
5863
|
-
styleDefinition?:
|
|
6185
|
+
styleDefinition?: ColorStyleDefinition;
|
|
5864
6186
|
}>;
|
|
5865
6187
|
}
|
|
5866
6188
|
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
5867
|
-
import
|
|
6189
|
+
import { FC, ReactNode } from 'react';
|
|
6190
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
5868
6191
|
import './SidebarItem.scss';
|
|
5869
|
-
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
5870
6192
|
import { LocationDescriptor } from 'history';
|
|
5871
|
-
import {
|
|
5872
|
-
import { ReactNode } from 'react';
|
|
6193
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
5873
6194
|
interface CommonSidebarItemProps {
|
|
5874
|
-
title?:
|
|
6195
|
+
title?: string | JSX.Element;
|
|
5875
6196
|
titleResource?: string;
|
|
5876
6197
|
icon?: ReactNode;
|
|
5877
6198
|
iconName?: string;
|
|
@@ -5883,14 +6204,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5883
6204
|
reverse?: boolean;
|
|
5884
6205
|
notHighlightable?: boolean;
|
|
5885
6206
|
onClick?: () => void;
|
|
5886
|
-
children?: any;
|
|
5887
6207
|
className?: string;
|
|
5888
6208
|
isActive?: boolean;
|
|
5889
6209
|
activeClassName?: string;
|
|
5890
6210
|
readOnly?: boolean;
|
|
5891
6211
|
submenu?: JSX.Element;
|
|
5892
6212
|
submenuClassName?: string;
|
|
5893
|
-
submenuStyleDefinition?:
|
|
6213
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
5894
6214
|
badgeInfo?: number | boolean;
|
|
5895
6215
|
domIdentifier?: string;
|
|
5896
6216
|
}
|
|
@@ -5902,13 +6222,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5902
6222
|
secondaryIconRoute?: LocationDescriptor;
|
|
5903
6223
|
isHoverable?: boolean;
|
|
5904
6224
|
}
|
|
5905
|
-
export const SidebarItem:
|
|
6225
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
5906
6226
|
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
5907
|
-
route:
|
|
6227
|
+
route: LocationDescriptor;
|
|
5908
6228
|
exact?: boolean;
|
|
5909
6229
|
linkClassName?: string;
|
|
5910
6230
|
}
|
|
5911
|
-
export const NavLinkSidebarItem:
|
|
6231
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
5912
6232
|
}
|
|
5913
6233
|
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
5914
6234
|
import { WrappedComponentProps } from 'react-intl';
|
|
@@ -6001,24 +6321,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
|
6001
6321
|
import { FC } from 'react';
|
|
6002
6322
|
export const GroupListPage: FC;
|
|
6003
6323
|
}
|
|
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
6324
|
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
6023
6325
|
import { FC } from 'react';
|
|
6024
6326
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -6197,7 +6499,6 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
|
6197
6499
|
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
6198
6500
|
import { ReactNode } from 'react';
|
|
6199
6501
|
import { Account } from "libs/reach/util/common/src/index";
|
|
6200
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
6201
6502
|
export interface UserSuggestion {
|
|
6202
6503
|
id: string;
|
|
6203
6504
|
upn: string;
|
|
@@ -6217,13 +6518,18 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
|
6217
6518
|
onCtrlEnter?: () => unknown;
|
|
6218
6519
|
onChange?: (value: string) => void;
|
|
6219
6520
|
onFocus?: () => void;
|
|
6220
|
-
|
|
6521
|
+
additionalInputControl?: ReactNode;
|
|
6522
|
+
buttons?: {
|
|
6523
|
+
leftSide?: ReactNode;
|
|
6524
|
+
rightSide?: ReactNode;
|
|
6525
|
+
};
|
|
6221
6526
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6222
|
-
inputTheme?: CommentInputTheme;
|
|
6223
6527
|
placeHolderStringResourceKey?: string;
|
|
6224
6528
|
placeHolderStringResourceValues?: {
|
|
6225
6529
|
[key: string]: string | number | boolean | Date;
|
|
6226
6530
|
};
|
|
6531
|
+
disableBoxShadow?: boolean;
|
|
6532
|
+
ariaLabel?: string;
|
|
6227
6533
|
}
|
|
6228
6534
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6229
6535
|
}
|
|
@@ -6237,18 +6543,6 @@ declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
|
6237
6543
|
isLarge: boolean;
|
|
6238
6544
|
}>;
|
|
6239
6545
|
}
|
|
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
6546
|
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
6253
6547
|
import { VideoSource } from "libs/reach/util/common/src/index";
|
|
6254
6548
|
export interface KalturaProperties {
|
|
@@ -6263,6 +6557,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6263
6557
|
private static vimeoRegex;
|
|
6264
6558
|
private static microsoftStreamRegex;
|
|
6265
6559
|
private static vimeoDirectLinkRegex;
|
|
6560
|
+
private static vimeoRedirectLinkRegex;
|
|
6266
6561
|
private static kalturaRegex;
|
|
6267
6562
|
readonly source: VideoSource | null;
|
|
6268
6563
|
readonly id: string | null;
|
|
@@ -6270,9 +6565,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6270
6565
|
readonly videoProperties: any;
|
|
6271
6566
|
readonly thumbnailUrl: string;
|
|
6272
6567
|
constructor(url: string);
|
|
6273
|
-
isValid(): boolean;
|
|
6568
|
+
isValid(features?: any): boolean;
|
|
6274
6569
|
}
|
|
6570
|
+
export function getVideoSources(features: any): any[];
|
|
6275
6571
|
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6572
|
+
export function getAllVideoSources(features: any): any[];
|
|
6276
6573
|
}
|
|
6277
6574
|
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6278
6575
|
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
@@ -6300,9 +6597,9 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
|
6300
6597
|
}
|
|
6301
6598
|
}
|
|
6302
6599
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
6303
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6600
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6304
6601
|
export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
|
|
6305
|
-
keywords?:
|
|
6602
|
+
keywords?: FilterWithLogicalOperator;
|
|
6306
6603
|
}
|
|
6307
6604
|
}
|
|
6308
6605
|
declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
|
|
@@ -6327,6 +6624,14 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6327
6624
|
export interface IndexableFilterDefinition {
|
|
6328
6625
|
[key: string]: any;
|
|
6329
6626
|
}
|
|
6627
|
+
export interface FilterWithLogicalOperator {
|
|
6628
|
+
items?: string[];
|
|
6629
|
+
operator?: LogicalOperator;
|
|
6630
|
+
}
|
|
6631
|
+
export enum LogicalOperator {
|
|
6632
|
+
Or = "or",
|
|
6633
|
+
And = "and"
|
|
6634
|
+
}
|
|
6330
6635
|
}
|
|
6331
6636
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6332
6637
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
@@ -6349,12 +6654,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
|
|
|
6349
6654
|
contacts?: string[];
|
|
6350
6655
|
}
|
|
6351
6656
|
}
|
|
6657
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6658
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6659
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6660
|
+
channels?: FilterWithLogicalOperator;
|
|
6661
|
+
}
|
|
6662
|
+
}
|
|
6352
6663
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6353
6664
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6354
6665
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6355
6666
|
import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6356
6667
|
import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6357
|
-
|
|
6668
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6669
|
+
export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
|
|
6358
6670
|
excludePastEvents?: boolean;
|
|
6359
6671
|
pastEventsOnly?: boolean;
|
|
6360
6672
|
}
|
|
@@ -6365,26 +6677,19 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6365
6677
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6366
6678
|
export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6367
6679
|
}
|
|
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
6680
|
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6379
6681
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6380
6682
|
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6381
6683
|
author?: string;
|
|
6382
6684
|
}
|
|
6383
6685
|
}
|
|
6384
|
-
declare module "libs/reach/feature/content/src/filter/
|
|
6686
|
+
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6385
6687
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6386
|
-
export interface
|
|
6387
|
-
|
|
6688
|
+
export interface FilteringProps {
|
|
6689
|
+
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6690
|
+
onShowFilterPanel?: () => unknown;
|
|
6691
|
+
onToggleFilterSidebar?: () => unknown;
|
|
6692
|
+
isFilterActive?: boolean;
|
|
6388
6693
|
}
|
|
6389
6694
|
}
|
|
6390
6695
|
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
@@ -6405,6 +6710,95 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6405
6710
|
unreadOnly?: boolean;
|
|
6406
6711
|
}
|
|
6407
6712
|
}
|
|
6713
|
+
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6714
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6715
|
+
export enum ItemType {
|
|
6716
|
+
None = 0,
|
|
6717
|
+
News = 1,
|
|
6718
|
+
Post = 2,
|
|
6719
|
+
Page = 4,
|
|
6720
|
+
Event = 8
|
|
6721
|
+
}
|
|
6722
|
+
export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
|
|
6723
|
+
itemType?: ItemType;
|
|
6724
|
+
}
|
|
6725
|
+
}
|
|
6726
|
+
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
6727
|
+
import { FC } from 'react';
|
|
6728
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6729
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6730
|
+
export interface InjectedFilterProps {
|
|
6731
|
+
filter: IndexableFilterDefinition;
|
|
6732
|
+
hasFilter: boolean;
|
|
6733
|
+
isSearchActive: boolean;
|
|
6734
|
+
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6735
|
+
onSearchChange: (text: string) => void;
|
|
6736
|
+
onClearFilter: () => void;
|
|
6737
|
+
}
|
|
6738
|
+
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
6739
|
+
filter: Partial<IndexableFilterDefinition>;
|
|
6740
|
+
hasFilter: boolean;
|
|
6741
|
+
isSearchActive: boolean;
|
|
6742
|
+
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
6743
|
+
onSearchChange: (search: string) => void;
|
|
6744
|
+
onClearFilter: () => void;
|
|
6745
|
+
};
|
|
6746
|
+
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
6747
|
+
export const FilterContextProvider: FC<{
|
|
6748
|
+
addFilters?: (locationParams: {
|
|
6749
|
+
[paramName: string]: any;
|
|
6750
|
+
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
6751
|
+
additionalExcludedFilterProperties?: string[];
|
|
6752
|
+
onClearQueryString?: (prev: any, next: any) => any;
|
|
6753
|
+
}>;
|
|
6754
|
+
export interface FilterVisibilityState {
|
|
6755
|
+
showFilterAsPanel?: boolean;
|
|
6756
|
+
showFilterSidebar?: boolean;
|
|
6757
|
+
}
|
|
6758
|
+
}
|
|
6759
|
+
declare module "libs/reach/feature/content/src/filter/index" {
|
|
6760
|
+
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6761
|
+
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6762
|
+
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6763
|
+
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6764
|
+
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6765
|
+
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6766
|
+
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6767
|
+
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
6768
|
+
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6769
|
+
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6770
|
+
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
6771
|
+
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6772
|
+
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6773
|
+
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6774
|
+
export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
|
|
6775
|
+
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
6776
|
+
export * from "libs/reach/feature/content/src/filter/utils";
|
|
6777
|
+
}
|
|
6778
|
+
declare module "libs/reach/feature/content/src/filter/utils" {
|
|
6779
|
+
import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
6780
|
+
export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
|
|
6781
|
+
channels?: undefined;
|
|
6782
|
+
} | {
|
|
6783
|
+
channels: string;
|
|
6784
|
+
};
|
|
6785
|
+
export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
|
|
6786
|
+
keywords?: undefined;
|
|
6787
|
+
} | {
|
|
6788
|
+
keywords: string;
|
|
6789
|
+
};
|
|
6790
|
+
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6791
|
+
}
|
|
6792
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6793
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6794
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6795
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6796
|
+
export function useEventsApi(): {
|
|
6797
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6798
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
6799
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6800
|
+
};
|
|
6801
|
+
}
|
|
6408
6802
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6409
6803
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6410
6804
|
import { Observable } from 'rxjs';
|
|
@@ -6494,6 +6888,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6494
6888
|
import { Account, BaseItem, CurrentUser, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
6495
6889
|
import { Comment, ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
6496
6890
|
import { ItemStatistics } from "libs/reach/util/common/src/index";
|
|
6891
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6497
6892
|
export interface Post extends BaseItem, ItemWithAttachments {
|
|
6498
6893
|
id: string;
|
|
6499
6894
|
comments?: PaginatedList<Comment>;
|
|
@@ -6516,6 +6911,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6516
6911
|
token?: string;
|
|
6517
6912
|
pageSize?: string;
|
|
6518
6913
|
search?: string;
|
|
6914
|
+
keywords?: FilterWithLogicalOperator;
|
|
6519
6915
|
}
|
|
6520
6916
|
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
6521
6917
|
export function getPostsBaseRoute(post: Post, user: CurrentUser): string;
|
|
@@ -6548,7 +6944,6 @@ declare module "libs/reach/feature/content/src/common/useEmbeddedObjectValidator
|
|
|
6548
6944
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
6549
6945
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
6550
6946
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
6551
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6552
6947
|
export interface ClientAttachment extends Attachment {
|
|
6553
6948
|
file?: File;
|
|
6554
6949
|
}
|
|
@@ -6562,14 +6957,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6562
6957
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6563
6958
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6564
6959
|
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
6960
|
disableAddGif?: boolean;
|
|
6574
6961
|
disableAddFiles?: boolean;
|
|
6575
6962
|
};
|
|
@@ -6582,14 +6969,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6582
6969
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6583
6970
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6584
6971
|
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
6972
|
disableAddGif?: boolean;
|
|
6594
6973
|
disableAddFiles?: boolean;
|
|
6595
6974
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -6618,7 +6997,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
6618
6997
|
private getVideoElement;
|
|
6619
6998
|
private getNotSupportedElement;
|
|
6620
6999
|
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
6621
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "
|
|
7000
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
6622
7001
|
}
|
|
6623
7002
|
}
|
|
6624
7003
|
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
@@ -6667,8 +7046,7 @@ declare module "libs/reach/feature/content/src/posts/VideoList" {
|
|
|
6667
7046
|
}
|
|
6668
7047
|
declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
6669
7048
|
import { FC } from 'react';
|
|
6670
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6671
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
7049
|
+
import { Keyword, PublishableItem } from "libs/reach/util/common/src/index";
|
|
6672
7050
|
export interface KeywordsInfoProps {
|
|
6673
7051
|
keywords: {
|
|
6674
7052
|
[key: string]: Keyword[];
|
|
@@ -6688,18 +7066,21 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
6688
7066
|
className?: string;
|
|
6689
7067
|
filterBaseUrl?: string;
|
|
6690
7068
|
}>;
|
|
6691
|
-
export const FlatKeywords:
|
|
7069
|
+
export const FlatKeywords: FC<{
|
|
6692
7070
|
item: PublishableItem;
|
|
6693
7071
|
filterBaseUrl?: string;
|
|
6694
7072
|
className?: string;
|
|
6695
7073
|
useGridKeywordTitle?: boolean;
|
|
6696
|
-
|
|
7074
|
+
onClick?: (keyword: string) => unknown;
|
|
7075
|
+
showAllKeywordsInCallout?: boolean;
|
|
7076
|
+
}>;
|
|
6697
7077
|
}
|
|
6698
7078
|
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
6699
7079
|
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6700
7080
|
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
6701
7081
|
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
6702
7082
|
export class NewsService {
|
|
7083
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6703
7084
|
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6704
7085
|
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
6705
7086
|
static getContentLanguages(contents: {
|
|
@@ -6807,12 +7188,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
6807
7188
|
}
|
|
6808
7189
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
6809
7190
|
import { FC } from 'react';
|
|
6810
|
-
import { BannerInfo } from "libs/reach/util/common/src/index";
|
|
6811
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7191
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6812
7192
|
interface Props {
|
|
6813
7193
|
itemId: string;
|
|
6814
7194
|
bannerInfo: BannerInfo;
|
|
6815
|
-
|
|
7195
|
+
useEditorRoutes?: boolean;
|
|
6816
7196
|
width: number;
|
|
6817
7197
|
resourceType: ItemResourceTypes;
|
|
6818
7198
|
token?: string;
|
|
@@ -7243,7 +7623,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7243
7623
|
updateSelectedLanguage: (lang: string) => unknown;
|
|
7244
7624
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7245
7625
|
handleLanguageChange: (language: string) => unknown;
|
|
7246
|
-
|
|
7626
|
+
isEditorPreview?: boolean;
|
|
7247
7627
|
}
|
|
7248
7628
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7249
7629
|
}
|
|
@@ -7439,6 +7819,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7439
7819
|
buttons?: ReactNode;
|
|
7440
7820
|
openTargetInNewWindow?: boolean;
|
|
7441
7821
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7822
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7823
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
7442
7824
|
styleDefinition?: StyleDefinition;
|
|
7443
7825
|
readOnly?: boolean;
|
|
7444
7826
|
className?: string;
|
|
@@ -7525,14 +7907,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7525
7907
|
onAttachmentsChange: (attachments: import("libs/reach/feature/content/src/comments/RichCommentInput").Attachments) => void;
|
|
7526
7908
|
onDeleteAttachment?: (attachment: import("@livetiles/reach/util/common").Attachment) => void;
|
|
7527
7909
|
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
7910
|
disableAddGif?: boolean;
|
|
7537
7911
|
disableAddFiles?: boolean;
|
|
7538
7912
|
} & {
|
|
@@ -7541,6 +7915,53 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7541
7915
|
attachmentPreviewTheme?: CommentInputTheme;
|
|
7542
7916
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7543
7917
|
}
|
|
7918
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
7919
|
+
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
7920
|
+
import { FC } from 'react';
|
|
7921
|
+
interface Props {
|
|
7922
|
+
group: KeywordGroup;
|
|
7923
|
+
keywords?: Keyword[];
|
|
7924
|
+
expanded?: boolean;
|
|
7925
|
+
selectedKeywords: Keyword[];
|
|
7926
|
+
onChange?: (keywords: Keyword[]) => void;
|
|
7927
|
+
mandatoryKeywordIds?: string[];
|
|
7928
|
+
}
|
|
7929
|
+
export const KeywordPickerGroup: FC<Props>;
|
|
7930
|
+
}
|
|
7931
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
|
|
7932
|
+
import { FC } from 'react';
|
|
7933
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7934
|
+
interface Props {
|
|
7935
|
+
value?: Keyword[] | string[];
|
|
7936
|
+
onChange: (keywords: Keyword[]) => void;
|
|
7937
|
+
showSelectionToggle?: boolean;
|
|
7938
|
+
availableKeywords?: Keyword[];
|
|
7939
|
+
mandatoryKeywordIds?: string[];
|
|
7940
|
+
className?: string;
|
|
7941
|
+
}
|
|
7942
|
+
export const KeywordPicker: FC<Props>;
|
|
7943
|
+
}
|
|
7944
|
+
declare module "libs/reach/feature/content/src/common/keywords/AddKeywordsButton" {
|
|
7945
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7946
|
+
import { FC } from 'react';
|
|
7947
|
+
export const AddKeywordsButton: FC<{
|
|
7948
|
+
availableKeywords?: Keyword[];
|
|
7949
|
+
mandatoryKeywords?: Keyword[];
|
|
7950
|
+
preselectedKeywords?: Keyword[];
|
|
7951
|
+
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
7952
|
+
disabled?: boolean;
|
|
7953
|
+
keywordPickerTitleResourceKey?: string;
|
|
7954
|
+
}>;
|
|
7955
|
+
}
|
|
7956
|
+
declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsList" {
|
|
7957
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7958
|
+
import { FC } from 'react';
|
|
7959
|
+
export const EditableKeywordsList: FC<{
|
|
7960
|
+
keywords?: Keyword[];
|
|
7961
|
+
mandatoryKeywordIds?: string[];
|
|
7962
|
+
onRemoveKeyword?: (id: string) => void;
|
|
7963
|
+
}>;
|
|
7964
|
+
}
|
|
7544
7965
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
7545
7966
|
import { FC } from 'react';
|
|
7546
7967
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -7572,6 +7993,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7572
7993
|
defaultKeywords?: Keyword[];
|
|
7573
7994
|
mandatoryKeywords?: Keyword[];
|
|
7574
7995
|
};
|
|
7996
|
+
disableBoxShadow?: boolean;
|
|
7997
|
+
ariaLabel?: string;
|
|
7575
7998
|
}
|
|
7576
7999
|
interface Props extends BaseProps {
|
|
7577
8000
|
allowAttachments?: boolean;
|
|
@@ -7662,9 +8085,9 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7662
8085
|
deletedFileUrls?: string[];
|
|
7663
8086
|
onCancel?: () => void;
|
|
7664
8087
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7665
|
-
inputTheme?: CommentInputTheme;
|
|
7666
8088
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
7667
8089
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8090
|
+
ariaLabel?: string;
|
|
7668
8091
|
}
|
|
7669
8092
|
interface Props extends BaseProps {
|
|
7670
8093
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -7672,14 +8095,18 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7672
8095
|
}) => void;
|
|
7673
8096
|
allowAttachments?: boolean;
|
|
7674
8097
|
allowKeywords?: boolean;
|
|
7675
|
-
|
|
7676
|
-
|
|
8098
|
+
keywordSettings?: {
|
|
8099
|
+
availableKeywords?: Keyword[];
|
|
8100
|
+
defaultKeywords?: Keyword[];
|
|
8101
|
+
mandatoryKeywords?: Keyword[];
|
|
8102
|
+
};
|
|
7677
8103
|
keywords?: {
|
|
7678
8104
|
[key: string]: Keyword[];
|
|
7679
8105
|
};
|
|
7680
8106
|
allowSaveWithoutContent?: boolean;
|
|
7681
8107
|
saveOnEnter?: boolean;
|
|
7682
8108
|
saveOnCtrlEnter?: boolean;
|
|
8109
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7683
8110
|
}
|
|
7684
8111
|
export const EditComment: FC<Props>;
|
|
7685
8112
|
}
|
|
@@ -7701,6 +8128,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7701
8128
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7702
8129
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
7703
8130
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8131
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7704
8132
|
interface Props extends CreateCommentProps {
|
|
7705
8133
|
onSave: (newContent: string, attachments?: Attachment[], keywords?: {
|
|
7706
8134
|
[key: string]: Keyword[];
|
|
@@ -7708,14 +8136,18 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7708
8136
|
item: ItemWithAttachments;
|
|
7709
8137
|
basePath: string;
|
|
7710
8138
|
allowKeywords?: boolean;
|
|
7711
|
-
|
|
7712
|
-
|
|
8139
|
+
keywordSettings?: {
|
|
8140
|
+
availableKeywords?: Keyword[];
|
|
8141
|
+
defaultKeywords?: Keyword[];
|
|
8142
|
+
mandatoryKeywords?: Keyword[];
|
|
8143
|
+
};
|
|
7713
8144
|
keywords?: {
|
|
7714
8145
|
[key: string]: Keyword[];
|
|
7715
8146
|
};
|
|
7716
8147
|
allowSaveWithoutContent?: boolean;
|
|
7717
8148
|
saveOnEnter?: boolean;
|
|
7718
8149
|
saveOnCtrlEnter?: boolean;
|
|
8150
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7719
8151
|
}
|
|
7720
8152
|
export const EditCommentWithAttachments: FC<Props>;
|
|
7721
8153
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
@@ -7795,34 +8227,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
7795
8227
|
}>;
|
|
7796
8228
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
7797
8229
|
}
|
|
7798
|
-
declare module "libs/reach/feature/content/src/
|
|
7799
|
-
import { FC
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
className?: string;
|
|
8230
|
+
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8231
|
+
import { FC } from 'react';
|
|
8232
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8233
|
+
export const DetailViewContextProvider: FC<{
|
|
8234
|
+
itemId: string;
|
|
8235
|
+
type?: ItemResourceTypes;
|
|
8236
|
+
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8237
|
+
isEditorPreview?: boolean;
|
|
7807
8238
|
}>;
|
|
7808
8239
|
}
|
|
7809
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7810
|
-
import {
|
|
7811
|
-
export
|
|
8240
|
+
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8241
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8242
|
+
export interface EmbeddedObjectPreviewData {
|
|
8243
|
+
itemId: string;
|
|
8244
|
+
type: string;
|
|
8245
|
+
subscriptionIdentifier: string;
|
|
8246
|
+
}
|
|
8247
|
+
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
7812
8248
|
}
|
|
7813
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7814
|
-
import {
|
|
7815
|
-
export const
|
|
8249
|
+
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8250
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8251
|
+
export const InlineImageMapper: HtmlComponentMapper;
|
|
7816
8252
|
}
|
|
7817
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7818
|
-
import {
|
|
7819
|
-
export
|
|
8253
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
8254
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8255
|
+
export interface ContactDetails {
|
|
8256
|
+
id: string;
|
|
8257
|
+
upn?: string;
|
|
8258
|
+
tenantId?: string;
|
|
8259
|
+
properties?: {
|
|
8260
|
+
[key: string]: {
|
|
8261
|
+
value: string;
|
|
8262
|
+
shouldAutoLoad?: boolean;
|
|
8263
|
+
};
|
|
8264
|
+
};
|
|
8265
|
+
}
|
|
8266
|
+
export const InlineContactMapper: HtmlComponentMapper;
|
|
7820
8267
|
}
|
|
7821
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7822
|
-
import { FC
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
8268
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
|
|
8269
|
+
import { FC } from 'react';
|
|
8270
|
+
import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8271
|
+
export const InlineContactViewer: FC<{
|
|
8272
|
+
contact: ContactDetails;
|
|
7826
8273
|
}>;
|
|
7827
8274
|
}
|
|
7828
8275
|
declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
|
|
@@ -7848,6 +8295,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
|
|
|
7848
8295
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7849
8296
|
export const InlineQuoteMapper: HtmlComponentMapper;
|
|
7850
8297
|
}
|
|
8298
|
+
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
8299
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8300
|
+
export const InlineVideoMapper: HtmlComponentMapper;
|
|
8301
|
+
}
|
|
8302
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
8303
|
+
import { FC } from 'react';
|
|
8304
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8305
|
+
export const InlinePageListViewer: FC<{
|
|
8306
|
+
items: PageItem[];
|
|
8307
|
+
baseRoute: string;
|
|
8308
|
+
filterBaseUrl?: string;
|
|
8309
|
+
isInitialLoading?: boolean;
|
|
8310
|
+
}>;
|
|
8311
|
+
}
|
|
8312
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
8313
|
+
import { FC } from 'react';
|
|
8314
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8315
|
+
export interface ListPagingProps {
|
|
8316
|
+
getNextPage: () => unknown;
|
|
8317
|
+
getPrevPage: () => unknown;
|
|
8318
|
+
getFirstPage: () => unknown;
|
|
8319
|
+
isLoadingNextPage: boolean;
|
|
8320
|
+
isInitialLoading: boolean;
|
|
8321
|
+
isFirstPage: boolean;
|
|
8322
|
+
hideNextButton: boolean;
|
|
8323
|
+
}
|
|
8324
|
+
export const InlinePageListWithPaging: FC<{
|
|
8325
|
+
pages: PageItem[];
|
|
8326
|
+
baseRoute: string;
|
|
8327
|
+
pagingProps?: ListPagingProps;
|
|
8328
|
+
filterBaseUrl?: string;
|
|
8329
|
+
}>;
|
|
8330
|
+
}
|
|
8331
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8332
|
+
import { DependencyList } from 'react';
|
|
8333
|
+
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8334
|
+
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8335
|
+
showPages: boolean;
|
|
8336
|
+
showDocuments: boolean;
|
|
8337
|
+
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8338
|
+
pageItems: any[];
|
|
8339
|
+
pagingProps: {
|
|
8340
|
+
hideNextButton: boolean;
|
|
8341
|
+
isInitialLoading: boolean;
|
|
8342
|
+
isLoadingNextPage: boolean;
|
|
8343
|
+
error: any;
|
|
8344
|
+
getFirstPage: () => void;
|
|
8345
|
+
getPrevPage: () => void;
|
|
8346
|
+
getNextPage: () => Promise<void>;
|
|
8347
|
+
isFirstPage: boolean;
|
|
8348
|
+
isLastPage: boolean;
|
|
8349
|
+
isEmpty: boolean;
|
|
8350
|
+
};
|
|
8351
|
+
};
|
|
8352
|
+
}
|
|
8353
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8354
|
+
import { FC } from 'react';
|
|
8355
|
+
export const InlinePageListSkeleton: FC<{
|
|
8356
|
+
isDataLoaded: boolean;
|
|
8357
|
+
pageSize?: number;
|
|
8358
|
+
}>;
|
|
8359
|
+
}
|
|
7851
8360
|
declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
|
|
7852
8361
|
export interface CodeDetails {
|
|
7853
8362
|
id: string;
|
|
@@ -7869,20 +8378,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
|
|
|
7869
8378
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7870
8379
|
export const InlineCodeMapper: HtmlComponentMapper;
|
|
7871
8380
|
}
|
|
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
8381
|
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
7887
8382
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7888
8383
|
import { CSSProperties } from 'react';
|
|
@@ -7923,210 +8418,67 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
|
7923
8418
|
export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
|
|
7924
8419
|
export const InlineTable: HtmlComponentMapper;
|
|
7925
8420
|
}
|
|
7926
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7927
|
-
import {
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
}>;
|
|
7932
|
-
}
|
|
7933
|
-
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
7934
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7935
|
-
export interface ContactDetails {
|
|
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;
|
|
8421
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
8422
|
+
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8423
|
+
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
8424
|
+
format: TableFormat;
|
|
8425
|
+
}, never>;
|
|
7947
8426
|
}
|
|
7948
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7949
|
-
import { FC } from 'react';
|
|
7950
|
-
|
|
7951
|
-
|
|
7952
|
-
|
|
7953
|
-
baseRoute: string;
|
|
7954
|
-
filterBaseUrl?: string;
|
|
7955
|
-
isInitialLoading?: boolean;
|
|
8427
|
+
declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
8428
|
+
import { FC, ReactNode } from 'react';
|
|
8429
|
+
export const ItemBodyWrapper: FC<{
|
|
8430
|
+
className?: string;
|
|
8431
|
+
children?: ReactNode;
|
|
7956
8432
|
}>;
|
|
7957
8433
|
}
|
|
7958
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8434
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
7959
8435
|
import { FC } from 'react';
|
|
7960
|
-
|
|
7961
|
-
export interface ListPagingProps {
|
|
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;
|
|
7975
|
-
}>;
|
|
8436
|
+
export const EventDetailViewPeopleInfo: FC;
|
|
7976
8437
|
}
|
|
7977
|
-
declare module "libs/reach/feature/content/src/
|
|
7978
|
-
import {
|
|
7979
|
-
export
|
|
8438
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
8439
|
+
import { FC } from 'react';
|
|
8440
|
+
export const EventDetailViewLocationInfo: FC;
|
|
7980
8441
|
}
|
|
7981
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8442
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
7982
8443
|
import { FC } from 'react';
|
|
7983
|
-
export const
|
|
7984
|
-
|
|
7985
|
-
pageSize?: number;
|
|
8444
|
+
export const EventDetailViewMetaInfo: FC<{
|
|
8445
|
+
allowFilterByChannels?: boolean;
|
|
7986
8446
|
}>;
|
|
7987
8447
|
}
|
|
7988
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8448
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
7989
8449
|
import { FC } from 'react';
|
|
7990
|
-
export const
|
|
7991
|
-
|
|
7992
|
-
showDocuments?: boolean;
|
|
7993
|
-
showPages?: boolean;
|
|
8450
|
+
export const EventDetailViewDatesInfo: FC<{
|
|
8451
|
+
className?: string;
|
|
7994
8452
|
}>;
|
|
7995
8453
|
}
|
|
7996
|
-
declare module "libs/reach/feature/content/src/
|
|
7997
|
-
import {
|
|
7998
|
-
|
|
8454
|
+
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8455
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8456
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8457
|
+
import { PollQuestion, PollQuestionAnswer, PollResult, QuestionResult } from "libs/reach/util/common/src/index";
|
|
8458
|
+
export interface PollUserContextType {
|
|
8459
|
+
item: PublishableItem;
|
|
8460
|
+
resourceType: ItemResourceTypes;
|
|
8461
|
+
questions: PollQuestion[];
|
|
8462
|
+
answers: PollQuestionAnswer[];
|
|
8463
|
+
addAnswer: (questionId: string, selectedChoiceIds: string[]) => unknown;
|
|
8464
|
+
setAnswers: (answers: PollQuestionAnswer[]) => unknown;
|
|
8465
|
+
hasMissingAnswers: boolean;
|
|
8466
|
+
hasMissingUnsavedAnswer: boolean;
|
|
8467
|
+
pollResult: PollResult;
|
|
8468
|
+
isLoadingPollResult: boolean;
|
|
8469
|
+
showResult: boolean;
|
|
8470
|
+
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
8471
|
+
getQuestionResult: (questionId: string) => QuestionResult;
|
|
8472
|
+
reset: () => Promise<void>;
|
|
8473
|
+
fetchPollResults: () => Promise<void>;
|
|
8474
|
+
onBehalfOfUpn: string;
|
|
8475
|
+
}
|
|
8476
|
+
export const PollUserContext: import("react").Context<PollUserContextType>;
|
|
7999
8477
|
}
|
|
8000
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8478
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollsSubmitButton" {
|
|
8001
8479
|
import { FC } from 'react';
|
|
8002
|
-
export const
|
|
8003
|
-
|
|
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;
|
|
8480
|
+
export const DetailViewPollsSubmitButton: FC<{
|
|
8481
|
+
isReadOnly?: boolean;
|
|
8130
8482
|
}>;
|
|
8131
8483
|
}
|
|
8132
8484
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewCsvExportButton" {
|
|
@@ -8209,8 +8561,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8209
8561
|
}
|
|
8210
8562
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
|
|
8211
8563
|
import { FC } from 'react';
|
|
8212
|
-
import { EventParticipant } from "libs/reach/util/common/src/index";
|
|
8213
|
-
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
8564
|
+
import { EventParticipant, EventResponse } from "libs/reach/util/common/src/index";
|
|
8214
8565
|
export const EventRegistrationRegisterSomeoneElseDialog: FC<{
|
|
8215
8566
|
show: boolean;
|
|
8216
8567
|
onDismiss: () => unknown;
|
|
@@ -8256,6 +8607,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8256
8607
|
import { FC } from 'react';
|
|
8257
8608
|
export const EventDetailViewRegistration: FC;
|
|
8258
8609
|
}
|
|
8610
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8611
|
+
import { FC } from 'react';
|
|
8612
|
+
export const EventDetailViewCancelInformation: FC;
|
|
8613
|
+
}
|
|
8259
8614
|
declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
8260
8615
|
import { FC } from 'react';
|
|
8261
8616
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
@@ -8511,92 +8866,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
|
|
|
8511
8866
|
eventItem: EventItem;
|
|
8512
8867
|
}>;
|
|
8513
8868
|
}
|
|
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
8869
|
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8601
8870
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8602
8871
|
interface DateInfoProps {
|
|
@@ -8636,74 +8905,36 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8636
8905
|
import { FC } from 'react';
|
|
8637
8906
|
export const PageDetailViewMetaInfo: FC;
|
|
8638
8907
|
}
|
|
8639
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/
|
|
8908
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8640
8909
|
import { FC } from 'react';
|
|
8910
|
+
export const PageDetailViewFeedbackSection: FC<{
|
|
8911
|
+
hideLikes?: boolean;
|
|
8912
|
+
hideComments?: boolean;
|
|
8913
|
+
hideProfileUrl?: boolean;
|
|
8914
|
+
disableLoginForPublicUser?: boolean;
|
|
8915
|
+
}>;
|
|
8916
|
+
}
|
|
8917
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
8641
8918
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8642
|
-
import
|
|
8643
|
-
export
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
|
|
8919
|
+
import * as H from 'history';
|
|
8920
|
+
export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
|
|
8921
|
+
showSearch: boolean;
|
|
8922
|
+
handleSearchTextChange: (searchText: string) => void;
|
|
8923
|
+
redirectToSearchPage: (searchText: string) => void;
|
|
8924
|
+
};
|
|
8925
|
+
}
|
|
8926
|
+
declare module "libs/reach/feature/content/src/pages/PageTocSearch" {
|
|
8927
|
+
import { FC } from 'react';
|
|
8928
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
8929
|
+
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8930
|
+
export const PageTocSearch: FC<{
|
|
8931
|
+
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8932
|
+
onSearchResultChange: (pages: PageNavigationNode[]) => unknown;
|
|
8648
8933
|
}>;
|
|
8649
8934
|
}
|
|
8650
|
-
declare module "libs/reach/feature/content/src/
|
|
8651
|
-
import {
|
|
8652
|
-
|
|
8653
|
-
interface Props {
|
|
8654
|
-
id: string;
|
|
8655
|
-
item: PublishableItem;
|
|
8656
|
-
itemResourceType: ItemResourceTypes;
|
|
8657
|
-
}
|
|
8658
|
-
export const CardBanner: React.FC<Props>;
|
|
8659
|
-
}
|
|
8660
|
-
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8661
|
-
import { FC, ReactNode } from 'react';
|
|
8662
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8663
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8664
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8665
|
-
interface CardProps {
|
|
8666
|
-
item: PublishableItem;
|
|
8667
|
-
itemResourceType: ItemResourceTypes;
|
|
8668
|
-
additionalMetadata?: ReactNode;
|
|
8669
|
-
highlight?: boolean;
|
|
8670
|
-
className?: string;
|
|
8671
|
-
}
|
|
8672
|
-
export const Card: FC<CardProps>;
|
|
8673
|
-
export interface CardItem<TItem = PublishableItem> {
|
|
8674
|
-
item: TItem;
|
|
8675
|
-
language: string;
|
|
8676
|
-
}
|
|
8677
|
-
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8678
|
-
}
|
|
8679
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
8680
|
-
import { FC, ReactNode } from 'react';
|
|
8681
|
-
export const DetailViewNavigation: FC<{
|
|
8682
|
-
children?: ReactNode;
|
|
8683
|
-
callout?: ReactNode;
|
|
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;
|
|
8702
|
-
}>;
|
|
8703
|
-
}
|
|
8704
|
-
declare module "libs/reach/feature/content/src/pages/pageTocUtils" {
|
|
8705
|
-
import { PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8706
|
-
export function filterChildren(page: PageNavigationNode, activePage: PageNavigationNode): boolean;
|
|
8935
|
+
declare module "libs/reach/feature/content/src/pages/pageTocUtils" {
|
|
8936
|
+
import { PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8937
|
+
export function filterChildren(page: PageNavigationNode, activePage: PageNavigationNode): boolean;
|
|
8707
8938
|
}
|
|
8708
8939
|
declare module "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton" {
|
|
8709
8940
|
import { FC, MouseEvent } from 'react';
|
|
@@ -8789,6 +9020,104 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8789
9020
|
import { FC } from 'react';
|
|
8790
9021
|
export const PageDetailViewTableOfContentsButton: FC;
|
|
8791
9022
|
}
|
|
9023
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
9024
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9025
|
+
export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
9026
|
+
}
|
|
9027
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
9028
|
+
import { FC } from 'react';
|
|
9029
|
+
export const InlinePageListByKeywords: FC<{
|
|
9030
|
+
keywords: string[];
|
|
9031
|
+
showDocuments?: boolean;
|
|
9032
|
+
showPages?: boolean;
|
|
9033
|
+
}>;
|
|
9034
|
+
}
|
|
9035
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
9036
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9037
|
+
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
9038
|
+
}
|
|
9039
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
9040
|
+
import { FC } from 'react';
|
|
9041
|
+
export const InlinePageListByPageId: FC<{
|
|
9042
|
+
pageId: string;
|
|
9043
|
+
showDocuments: boolean;
|
|
9044
|
+
showPages: boolean;
|
|
9045
|
+
}>;
|
|
9046
|
+
}
|
|
9047
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
9048
|
+
import { FC } from 'react';
|
|
9049
|
+
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9050
|
+
export const InlinePageListByCurrentPage: FC<{
|
|
9051
|
+
blockProps?: PageListDetails;
|
|
9052
|
+
}>;
|
|
9053
|
+
}
|
|
9054
|
+
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
9055
|
+
import { FC } from 'react';
|
|
9056
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9057
|
+
export interface PageListDetails {
|
|
9058
|
+
id?: string;
|
|
9059
|
+
showChildren?: boolean;
|
|
9060
|
+
showDocuments?: boolean;
|
|
9061
|
+
showPages?: boolean;
|
|
9062
|
+
pageId?: string;
|
|
9063
|
+
keywords?: string;
|
|
9064
|
+
}
|
|
9065
|
+
export const InlinePageList: FC<{
|
|
9066
|
+
blockProps?: PageListDetails;
|
|
9067
|
+
}>;
|
|
9068
|
+
export const InlinePageListMapper: HtmlComponentMapper;
|
|
9069
|
+
}
|
|
9070
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
9071
|
+
import { FC } from 'react';
|
|
9072
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9073
|
+
export const PageBreadcrumb: FC<{
|
|
9074
|
+
page: PageItem;
|
|
9075
|
+
target?: string;
|
|
9076
|
+
language?: string;
|
|
9077
|
+
hideCurrentPageNode?: boolean;
|
|
9078
|
+
className?: string;
|
|
9079
|
+
}>;
|
|
9080
|
+
}
|
|
9081
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
9082
|
+
import { FC } from 'react';
|
|
9083
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9084
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
9085
|
+
export const DetailViewPageDocumentDownload: FC;
|
|
9086
|
+
export const PageDocumentDownloadButton: FC<{
|
|
9087
|
+
item: PageItem;
|
|
9088
|
+
content: PublishableItemContent;
|
|
9089
|
+
basePath?: string;
|
|
9090
|
+
}>;
|
|
9091
|
+
}
|
|
9092
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
9093
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9094
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9095
|
+
interface Props {
|
|
9096
|
+
id: string;
|
|
9097
|
+
item: PublishableItem;
|
|
9098
|
+
itemResourceType: ItemResourceTypes;
|
|
9099
|
+
}
|
|
9100
|
+
export const CardBanner: React.FC<Props>;
|
|
9101
|
+
}
|
|
9102
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
9103
|
+
import { FC, ReactNode } from 'react';
|
|
9104
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9105
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9106
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9107
|
+
interface CardProps {
|
|
9108
|
+
item: PublishableItem;
|
|
9109
|
+
itemResourceType: ItemResourceTypes;
|
|
9110
|
+
additionalMetadata?: ReactNode;
|
|
9111
|
+
highlight?: boolean;
|
|
9112
|
+
className?: string;
|
|
9113
|
+
}
|
|
9114
|
+
export const Card: FC<CardProps>;
|
|
9115
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
9116
|
+
item: TItem;
|
|
9117
|
+
language: string;
|
|
9118
|
+
}
|
|
9119
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
9120
|
+
}
|
|
8792
9121
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
8793
9122
|
import { FC } from 'react';
|
|
8794
9123
|
interface LanguageSelectorProps {
|
|
@@ -8810,10 +9139,112 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8810
9139
|
className?: string;
|
|
8811
9140
|
}>;
|
|
8812
9141
|
}
|
|
9142
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
|
|
9143
|
+
import { FC } from 'react';
|
|
9144
|
+
export const DetailViewBanner: FC;
|
|
9145
|
+
}
|
|
9146
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
9147
|
+
import { FC } from 'react';
|
|
9148
|
+
export const DetailViewIntro: FC;
|
|
9149
|
+
}
|
|
9150
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
9151
|
+
import { FC } from 'react';
|
|
9152
|
+
export const DetailMainSection: FC;
|
|
9153
|
+
}
|
|
9154
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
9155
|
+
import { FC, ReactNode } from 'react';
|
|
9156
|
+
export const GutterMarkerIcon: FC<{
|
|
9157
|
+
iconName: string;
|
|
9158
|
+
children: ReactNode;
|
|
9159
|
+
isActive: boolean;
|
|
9160
|
+
color: string;
|
|
9161
|
+
tooltipResourceKey?: string;
|
|
9162
|
+
className?: string;
|
|
9163
|
+
}>;
|
|
9164
|
+
}
|
|
9165
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9166
|
+
import { FC } from 'react';
|
|
9167
|
+
export const DetailViewTitle: FC;
|
|
9168
|
+
}
|
|
8813
9169
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
|
|
8814
9170
|
import { FC } from 'react';
|
|
8815
9171
|
export const NewsDetailViewMetaInfo: FC;
|
|
8816
9172
|
}
|
|
9173
|
+
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
9174
|
+
import { FC } from 'react';
|
|
9175
|
+
export const RichTextViewer: FC<{
|
|
9176
|
+
html: string;
|
|
9177
|
+
}>;
|
|
9178
|
+
}
|
|
9179
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
9180
|
+
import { FC } from 'react';
|
|
9181
|
+
export const DetailViewBody: FC;
|
|
9182
|
+
}
|
|
9183
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
9184
|
+
import { FC } from 'react';
|
|
9185
|
+
export const DetailViewKeywords: FC<{
|
|
9186
|
+
filterBaseUrl: string;
|
|
9187
|
+
}>;
|
|
9188
|
+
}
|
|
9189
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9190
|
+
import { FC } from 'react';
|
|
9191
|
+
export const ConfirmationBox: FC<{
|
|
9192
|
+
disabled?: boolean;
|
|
9193
|
+
onChange?: (value: boolean) => void;
|
|
9194
|
+
checked: boolean;
|
|
9195
|
+
}>;
|
|
9196
|
+
}
|
|
9197
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9198
|
+
import { FC } from 'react';
|
|
9199
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9200
|
+
export const ConfirmationSection: FC<{
|
|
9201
|
+
item?: NewsItem;
|
|
9202
|
+
showDescription: boolean;
|
|
9203
|
+
readOnly?: boolean;
|
|
9204
|
+
className?: string;
|
|
9205
|
+
}>;
|
|
9206
|
+
}
|
|
9207
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
9208
|
+
import { FC } from 'react';
|
|
9209
|
+
export const DetailViewConfirmations: FC;
|
|
9210
|
+
}
|
|
9211
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
9212
|
+
import { FC } from 'react';
|
|
9213
|
+
export const DetailViewPageViewTracker: FC;
|
|
9214
|
+
}
|
|
9215
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
9216
|
+
import { FC } from 'react';
|
|
9217
|
+
export const FeedbackButtonBookmark: FC<{
|
|
9218
|
+
isReadOnly?: boolean;
|
|
9219
|
+
}>;
|
|
9220
|
+
}
|
|
9221
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
9222
|
+
import { FC } from 'react';
|
|
9223
|
+
export const NewsDetailViewFeedbackSection: FC<{
|
|
9224
|
+
hideLikes?: boolean;
|
|
9225
|
+
hideComments?: boolean;
|
|
9226
|
+
hideProfileUrl?: boolean;
|
|
9227
|
+
disableLoginForPublicUser?: boolean;
|
|
9228
|
+
}>;
|
|
9229
|
+
}
|
|
9230
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
9231
|
+
import { FC, ReactNode } from 'react';
|
|
9232
|
+
export const DetailViewNavigation: FC<{
|
|
9233
|
+
children?: ReactNode;
|
|
9234
|
+
callout?: ReactNode;
|
|
9235
|
+
}>;
|
|
9236
|
+
}
|
|
9237
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9238
|
+
import { FC } from 'react';
|
|
9239
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9240
|
+
export const DetailViewBodyExternalContent: FC<{
|
|
9241
|
+
itemType: ItemResourceTypes;
|
|
9242
|
+
}>;
|
|
9243
|
+
}
|
|
9244
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
9245
|
+
import { FC } from 'react';
|
|
9246
|
+
export const DetailViewHeadline: FC;
|
|
9247
|
+
}
|
|
8817
9248
|
declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
8818
9249
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
8819
9250
|
export const StateIcon: React.FC<{
|
|
@@ -8834,205 +9265,65 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
|
8834
9265
|
}
|
|
8835
9266
|
declare module "libs/reach/feature/content/src/common/index" {
|
|
8836
9267
|
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
8837
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8838
9268
|
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8839
9269
|
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
9270
|
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
9271
|
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
8895
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8896
9272
|
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
8897
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8898
9273
|
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
8899
9274
|
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
9275
|
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
9276
|
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
9277
|
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
9278
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
8920
9279
|
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
8921
9280
|
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
9281
|
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
8926
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8927
9282
|
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
9283
|
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
|
-
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
9284
|
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
9285
|
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
8937
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8938
9286
|
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8939
9287
|
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8940
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8941
9288
|
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
9289
|
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8950
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8951
9290
|
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
9291
|
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
8955
9292
|
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
8956
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8957
9293
|
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8958
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8959
9294
|
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
9295
|
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
9296
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8966
9297
|
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
9298
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
8971
9299
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
8972
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8973
9300
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8974
9301
|
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
9302
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
8979
9303
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
8980
9304
|
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8981
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8982
9305
|
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8983
9306
|
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8984
9307
|
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
9308
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8991
9309
|
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
9310
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8996
9311
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8997
9312
|
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
9313
|
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
9314
|
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
9315
|
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
9316
|
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9012
9317
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9013
9318
|
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9014
9319
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9015
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9016
9320
|
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
9321
|
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9025
9322
|
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
9323
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9031
9324
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9032
9325
|
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9033
9326
|
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
9327
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9037
9328
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9038
9329
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
@@ -9049,7 +9340,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9049
9340
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9050
9341
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9051
9342
|
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9052
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9053
9343
|
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9054
9344
|
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9055
9345
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
@@ -9071,91 +9361,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
|
|
|
9071
9361
|
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9072
9362
|
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9073
9363
|
}
|
|
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
9364
|
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
9160
9365
|
import { FC, ReactNode } from 'react';
|
|
9161
9366
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -9204,26 +9409,6 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
9204
9409
|
*/
|
|
9205
9410
|
export const Textarea: FC<TextareaProps>;
|
|
9206
9411
|
}
|
|
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
9412
|
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9228
9413
|
import { FC } from 'react';
|
|
9229
9414
|
interface Props {
|
|
@@ -9248,6 +9433,27 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
|
9248
9433
|
}
|
|
9249
9434
|
export const InsertImagesButton: FC<Props>;
|
|
9250
9435
|
}
|
|
9436
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9437
|
+
import { FC } from 'react';
|
|
9438
|
+
interface DateTimePickerProps {
|
|
9439
|
+
date: string;
|
|
9440
|
+
maxDate?: string;
|
|
9441
|
+
minDate?: string;
|
|
9442
|
+
dateValidationResourceKey?: string;
|
|
9443
|
+
timeValidationResourceKey?: string;
|
|
9444
|
+
readOnly?: boolean;
|
|
9445
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
9446
|
+
noDateResourceKey: string;
|
|
9447
|
+
selectDateResourceKey: string;
|
|
9448
|
+
dateOnly?: boolean;
|
|
9449
|
+
initialPickerDate?: string;
|
|
9450
|
+
label?: string;
|
|
9451
|
+
isRequired?: boolean;
|
|
9452
|
+
className?: string;
|
|
9453
|
+
}
|
|
9454
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9455
|
+
export default DateTimePicker;
|
|
9456
|
+
}
|
|
9251
9457
|
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
9252
9458
|
import moment, { Moment } from 'moment';
|
|
9253
9459
|
export enum DateRange {
|
|
@@ -9290,37 +9496,22 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
|
9290
9496
|
allowEmptyValue: boolean;
|
|
9291
9497
|
includePendingInvitationUsers?: boolean;
|
|
9292
9498
|
placeholderStringResourceKey?: string;
|
|
9499
|
+
inputAriaLabelResourceKey: string;
|
|
9293
9500
|
}
|
|
9294
9501
|
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
9295
9502
|
}
|
|
9296
9503
|
declare module "libs/reach/feature/content/src/forms/index" {
|
|
9297
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9298
9504
|
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9299
9505
|
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9300
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9301
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9302
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9303
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9304
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9305
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9306
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9307
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9308
9506
|
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
9309
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9310
9507
|
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
9311
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9312
9508
|
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
9313
9509
|
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
9314
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9315
9510
|
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9316
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9317
9511
|
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9318
9512
|
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
9513
|
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
9322
9514
|
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
9323
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9324
9515
|
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9325
9516
|
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9326
9517
|
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
@@ -9400,6 +9591,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9400
9591
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9401
9592
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9402
9593
|
}
|
|
9594
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9595
|
+
import { FC } from 'react';
|
|
9596
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9597
|
+
export const SearchHighlighter: FC<{
|
|
9598
|
+
highlight: SearchHighlight;
|
|
9599
|
+
}>;
|
|
9600
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9601
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9602
|
+
}
|
|
9403
9603
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9404
9604
|
import { FC } from 'react';
|
|
9405
9605
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9428,11 +9628,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9428
9628
|
}
|
|
9429
9629
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9430
9630
|
import { FC } from 'react';
|
|
9431
|
-
import {
|
|
9631
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9432
9632
|
export const PageListItemBody: FC<{
|
|
9433
|
-
|
|
9434
|
-
[key: string]: PublishableItemContent;
|
|
9435
|
-
};
|
|
9633
|
+
page: PageItem;
|
|
9436
9634
|
search?: string;
|
|
9437
9635
|
}>;
|
|
9438
9636
|
}
|
|
@@ -9498,7 +9696,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9498
9696
|
import { FC } from 'react';
|
|
9499
9697
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9500
9698
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9501
|
-
export
|
|
9699
|
+
export interface PostCreatorProps {
|
|
9502
9700
|
groupId: string;
|
|
9503
9701
|
disabled: boolean;
|
|
9504
9702
|
disableDragAndDrop?: boolean;
|
|
@@ -9509,134 +9707,1295 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9509
9707
|
defaultKeywords?: Keyword[];
|
|
9510
9708
|
mandatoryKeywords?: Keyword[];
|
|
9511
9709
|
};
|
|
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
|
-
|
|
9710
|
+
disableAutoFocus?: boolean;
|
|
9711
|
+
}
|
|
9712
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9713
|
+
}
|
|
9714
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9715
|
+
import { FC } from 'react';
|
|
9716
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9717
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
9718
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9719
|
+
interface Props {
|
|
9720
|
+
className?: string;
|
|
9721
|
+
post: Post;
|
|
9722
|
+
initialPageSize?: number;
|
|
9723
|
+
comments?: PaginatedList<Comment>;
|
|
9724
|
+
autoFocusReplyField?: boolean;
|
|
9725
|
+
onReplyAdded: () => void;
|
|
9726
|
+
onReplyDeleted: () => void;
|
|
9727
|
+
onThreadReply?: (threadId: string) => void;
|
|
9728
|
+
}
|
|
9729
|
+
export const PostReplies: FC<Props>;
|
|
9730
|
+
}
|
|
9731
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
9732
|
+
import { FC } from 'react';
|
|
9733
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9734
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9735
|
+
export const PostEditor: FC<{
|
|
9736
|
+
className?: string;
|
|
9737
|
+
post: Post;
|
|
9738
|
+
onCancel: () => void;
|
|
9739
|
+
onBeforeSave: (post: Post) => void;
|
|
9740
|
+
onSaved: (post: Post) => void;
|
|
9741
|
+
keywordSettings?: {
|
|
9742
|
+
availableKeywords?: Keyword[];
|
|
9743
|
+
defaultKeywords?: Keyword[];
|
|
9744
|
+
mandatoryKeywords?: Keyword[];
|
|
9745
|
+
};
|
|
9746
|
+
}>;
|
|
9747
|
+
}
|
|
9748
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9749
|
+
import { FC } from 'react';
|
|
9750
|
+
export const PostFollowButton: FC<{
|
|
9751
|
+
itemId: string;
|
|
9752
|
+
}>;
|
|
9753
|
+
}
|
|
9754
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9755
|
+
import { FC } from 'react';
|
|
9756
|
+
import { NavLink } from 'react-router-dom';
|
|
9757
|
+
export const PostGroup: FC<{
|
|
9758
|
+
groupId: string;
|
|
9759
|
+
to: string;
|
|
9760
|
+
className?: string;
|
|
9761
|
+
}>;
|
|
9762
|
+
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9763
|
+
}
|
|
9764
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9765
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9766
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9767
|
+
interface Props {
|
|
9768
|
+
post: Post;
|
|
9769
|
+
className?: string;
|
|
9770
|
+
threadId?: string;
|
|
9771
|
+
onCustomPostDelete?: () => void;
|
|
9772
|
+
comments?: PaginatedList<Comment>;
|
|
9773
|
+
initialCommentsPageSize?: number;
|
|
9774
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9775
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9776
|
+
onThreadCommentDelete?: () => void;
|
|
9777
|
+
onThreadReply?: (threadId: string) => void;
|
|
9778
|
+
keywordSettings?: {
|
|
9779
|
+
availableKeywords?: Keyword[];
|
|
9780
|
+
defaultKeywords?: Keyword[];
|
|
9781
|
+
mandatoryKeywords?: Keyword[];
|
|
9782
|
+
};
|
|
9783
|
+
showGroup?: boolean;
|
|
9784
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9785
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9786
|
+
}
|
|
9787
|
+
export const PostDisplay: React.FC<Props>;
|
|
9788
|
+
}
|
|
9789
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
|
|
9790
|
+
import { FC } from 'react';
|
|
9791
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
9792
|
+
export const PostGroupsSelector: FC<{
|
|
9793
|
+
groups: UserGroup[];
|
|
9794
|
+
}>;
|
|
9795
|
+
}
|
|
9796
|
+
declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
9797
|
+
import { FC } from 'react';
|
|
9798
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9799
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9800
|
+
interface Props {
|
|
9801
|
+
post: Post;
|
|
9802
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9803
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9804
|
+
keywordSettings?: {
|
|
9805
|
+
availableKeywords?: Keyword[];
|
|
9806
|
+
defaultKeywords?: Keyword[];
|
|
9807
|
+
mandatoryKeywords?: Keyword[];
|
|
9808
|
+
};
|
|
9809
|
+
showGroup: boolean;
|
|
9810
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9811
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9812
|
+
}
|
|
9813
|
+
export const PostListItem: FC<Props>;
|
|
9814
|
+
}
|
|
9815
|
+
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9816
|
+
import { FC } from 'react';
|
|
9817
|
+
import { Post } from "libs/reach/feature/content/src/index";
|
|
9818
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9819
|
+
export const PostWithSelfThreadHandling: FC<{
|
|
9820
|
+
post: Post;
|
|
9821
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9822
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9823
|
+
keywordSettings?: {
|
|
9824
|
+
availableKeywords?: Keyword[];
|
|
9825
|
+
defaultKeywords?: Keyword[];
|
|
9826
|
+
mandatoryKeywords?: Keyword[];
|
|
9827
|
+
};
|
|
9828
|
+
showGroup: boolean;
|
|
9829
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9830
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9831
|
+
}>;
|
|
9832
|
+
}
|
|
9833
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
9834
|
+
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";
|
|
9835
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9836
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9837
|
+
enum StreamItemTypes {
|
|
9838
|
+
Post = "POST",
|
|
9839
|
+
News = "NEWS",
|
|
9840
|
+
Event = "EVENT",
|
|
9841
|
+
Page = "PAGE"
|
|
9842
|
+
}
|
|
9843
|
+
export enum StreamConversationScope {
|
|
9844
|
+
Public = "PUBLIC",
|
|
9845
|
+
Editor = "EDITOR",
|
|
9846
|
+
Posts = "POSTS"
|
|
9847
|
+
}
|
|
9848
|
+
export interface PostStreamItem extends Post {
|
|
9849
|
+
type: StreamItemTypes.Post;
|
|
9850
|
+
isUnread: boolean;
|
|
9851
|
+
keywordsList?: Keyword[];
|
|
9852
|
+
groupIds?: string[];
|
|
9853
|
+
postAttachments?: StreamAttachment[];
|
|
9854
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9855
|
+
hasMoreUnreadComments: boolean;
|
|
9856
|
+
}
|
|
9857
|
+
export interface StreamPostComment extends Comment {
|
|
9858
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9859
|
+
streamConversationScope?: StreamConversationScope;
|
|
9860
|
+
}
|
|
9861
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
9862
|
+
type: GraphQLAttachmentType;
|
|
9863
|
+
}
|
|
9864
|
+
export interface NewsStreamItem extends NewsItem {
|
|
9865
|
+
type: StreamItemTypes.News;
|
|
9866
|
+
contentsList: StreamPublishableItemContents[];
|
|
9867
|
+
channelsList: string[];
|
|
9868
|
+
isUnread: boolean;
|
|
9869
|
+
keywordsList?: Keyword[];
|
|
9870
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9871
|
+
}
|
|
9872
|
+
export enum StreamKnownNewsState {
|
|
9873
|
+
Unconfirmed = "UNCONFIRMED",
|
|
9874
|
+
Alert = "ALERT"
|
|
9875
|
+
}
|
|
9876
|
+
export interface EventStreamItem extends EventItem {
|
|
9877
|
+
type: StreamItemTypes.Event;
|
|
9878
|
+
contentsList: StreamPublishableItemContents[];
|
|
9879
|
+
channelsList: string[];
|
|
9880
|
+
isUnread: boolean;
|
|
9881
|
+
keywordsList?: Keyword[];
|
|
9882
|
+
userResponseType?: StreamEventResponse;
|
|
9883
|
+
}
|
|
9884
|
+
export interface PageStreamItem extends PageItem {
|
|
9885
|
+
type: StreamItemTypes.Page;
|
|
9886
|
+
contentsList: StreamPublishableItemContents[];
|
|
9887
|
+
channelsList: string[];
|
|
9888
|
+
isUnread: boolean;
|
|
9889
|
+
keywordsList?: Keyword[];
|
|
9890
|
+
streamPageType?: string;
|
|
9891
|
+
path?: (PageNavigationNode & {
|
|
9892
|
+
parentId?: string;
|
|
9893
|
+
})[];
|
|
9894
|
+
}
|
|
9895
|
+
interface StreamPublishableItemContents {
|
|
9896
|
+
language: string;
|
|
9897
|
+
title: string;
|
|
9898
|
+
intro?: string;
|
|
9899
|
+
headline?: string;
|
|
9900
|
+
}
|
|
9901
|
+
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9902
|
+
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9903
|
+
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
9904
|
+
export function isEvent(item: StreamItem): item is EventStreamItem;
|
|
9905
|
+
export function isPage(item: StreamItem): item is PageStreamItem;
|
|
9906
|
+
export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
|
|
9907
|
+
groupId: string;
|
|
9908
|
+
attachments: {
|
|
9909
|
+
type: AttachmentType;
|
|
9910
|
+
id: string;
|
|
9911
|
+
filename?: string;
|
|
9912
|
+
previewUrl?: string;
|
|
9913
|
+
url?: string;
|
|
9914
|
+
isUploadInProgress?: boolean;
|
|
9915
|
+
hasError?: boolean;
|
|
9916
|
+
width?: number;
|
|
9917
|
+
height?: number;
|
|
9918
|
+
}[];
|
|
9919
|
+
comments: {
|
|
9920
|
+
items: {
|
|
9921
|
+
conversationScope: ConversationScope;
|
|
9922
|
+
fileAccessToken: string;
|
|
9923
|
+
attachments: {
|
|
9924
|
+
type: AttachmentType;
|
|
9925
|
+
id: string;
|
|
9926
|
+
filename?: string;
|
|
9927
|
+
previewUrl?: string;
|
|
9928
|
+
url?: string;
|
|
9929
|
+
isUploadInProgress?: boolean;
|
|
9930
|
+
hasError?: boolean;
|
|
9931
|
+
width?: number;
|
|
9932
|
+
height?: number;
|
|
9933
|
+
}[];
|
|
9934
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9935
|
+
streamConversationScope?: StreamConversationScope;
|
|
9936
|
+
id: string;
|
|
9937
|
+
parentItemId: string;
|
|
9938
|
+
content: string;
|
|
9939
|
+
contentLanguageCode?: string;
|
|
9940
|
+
receivedDateTime: string;
|
|
9941
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9942
|
+
modified?: string;
|
|
9943
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9944
|
+
isLiked?: boolean;
|
|
9945
|
+
threadId?: string;
|
|
9946
|
+
isUnread?: boolean;
|
|
9947
|
+
hasUnreadReplies?: boolean;
|
|
9948
|
+
isDemoContent?: boolean;
|
|
9949
|
+
attachmentContainerId?: string;
|
|
9950
|
+
}[];
|
|
9951
|
+
paginationToken?: any;
|
|
9952
|
+
nextItem?: StreamPostComment;
|
|
9953
|
+
hasMoreUnreadComments?: boolean;
|
|
9954
|
+
hasNextPage?: boolean;
|
|
9955
|
+
};
|
|
9956
|
+
keywords: {
|
|
9957
|
+
[key: string]: Keyword[];
|
|
9958
|
+
};
|
|
9959
|
+
type: StreamItemTypes.Post;
|
|
9960
|
+
isUnread: boolean;
|
|
9961
|
+
keywordsList?: Keyword[];
|
|
9962
|
+
groupIds?: string[];
|
|
9963
|
+
postAttachments?: StreamAttachment[];
|
|
9964
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9965
|
+
hasMoreUnreadComments: boolean;
|
|
9966
|
+
id: string;
|
|
9967
|
+
content: string;
|
|
9968
|
+
permalink?: string;
|
|
9969
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
9970
|
+
publishingDate: string;
|
|
9971
|
+
modified?: string;
|
|
9972
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
9973
|
+
contentLanguageCode?: string;
|
|
9974
|
+
isLiked?: boolean;
|
|
9975
|
+
isDemoContent?: boolean;
|
|
9976
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
9977
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9978
|
+
fileAccessToken?: string;
|
|
9979
|
+
attachmentContainerId?: string;
|
|
9980
|
+
} | {
|
|
9981
|
+
groupId: string;
|
|
9982
|
+
attachments: {
|
|
9983
|
+
type: AttachmentType;
|
|
9984
|
+
id: string;
|
|
9985
|
+
filename?: string;
|
|
9986
|
+
previewUrl?: string;
|
|
9987
|
+
url?: string;
|
|
9988
|
+
isUploadInProgress?: boolean;
|
|
9989
|
+
hasError?: boolean;
|
|
9990
|
+
width?: number;
|
|
9991
|
+
height?: number;
|
|
9992
|
+
}[];
|
|
9993
|
+
comments: {
|
|
9994
|
+
items: {
|
|
9995
|
+
conversationScope: ConversationScope;
|
|
9996
|
+
fileAccessToken: string;
|
|
9997
|
+
attachments: {
|
|
9998
|
+
type: AttachmentType;
|
|
9999
|
+
id: string;
|
|
10000
|
+
filename?: string;
|
|
10001
|
+
previewUrl?: string;
|
|
10002
|
+
url?: string;
|
|
10003
|
+
isUploadInProgress?: boolean;
|
|
10004
|
+
hasError?: boolean;
|
|
10005
|
+
width?: number;
|
|
10006
|
+
height?: number;
|
|
10007
|
+
}[];
|
|
10008
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10009
|
+
streamConversationScope?: StreamConversationScope;
|
|
10010
|
+
id: string;
|
|
10011
|
+
parentItemId: string;
|
|
10012
|
+
content: string;
|
|
10013
|
+
contentLanguageCode?: string;
|
|
10014
|
+
receivedDateTime: string;
|
|
10015
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10016
|
+
modified?: string;
|
|
10017
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10018
|
+
isLiked?: boolean;
|
|
10019
|
+
threadId?: string;
|
|
10020
|
+
isUnread?: boolean;
|
|
10021
|
+
hasUnreadReplies?: boolean;
|
|
10022
|
+
isDemoContent?: boolean;
|
|
10023
|
+
attachmentContainerId?: string;
|
|
10024
|
+
}[];
|
|
10025
|
+
paginationToken?: any;
|
|
10026
|
+
nextItem?: StreamPostComment;
|
|
10027
|
+
hasMoreUnreadComments?: boolean;
|
|
10028
|
+
hasNextPage?: boolean;
|
|
10029
|
+
};
|
|
10030
|
+
keywords: {
|
|
10031
|
+
[key: string]: Keyword[];
|
|
10032
|
+
};
|
|
10033
|
+
type: StreamItemTypes.News;
|
|
10034
|
+
contentsList: StreamPublishableItemContents[];
|
|
10035
|
+
channelsList: string[];
|
|
10036
|
+
isUnread: boolean;
|
|
10037
|
+
keywordsList?: Keyword[];
|
|
10038
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10039
|
+
source?: string;
|
|
10040
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10041
|
+
expiryDate?: string;
|
|
10042
|
+
knownState: KnownNewsState;
|
|
10043
|
+
hasNewComments?: boolean;
|
|
10044
|
+
isLiked?: boolean;
|
|
10045
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10046
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10047
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10048
|
+
id?: string;
|
|
10049
|
+
versionId?: string;
|
|
10050
|
+
publishingDate?: string;
|
|
10051
|
+
deleted?: string;
|
|
10052
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10053
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10054
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10055
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10056
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10057
|
+
fileAccessToken?: string;
|
|
10058
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10059
|
+
customProperties?: {
|
|
10060
|
+
[key: string]: any;
|
|
10061
|
+
};
|
|
10062
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10063
|
+
modified: string;
|
|
10064
|
+
created: string;
|
|
10065
|
+
publishedVersionId?: string;
|
|
10066
|
+
isCurrentPublishedVersion?: boolean;
|
|
10067
|
+
isLatestVersion?: boolean;
|
|
10068
|
+
permalink?: string;
|
|
10069
|
+
groupIds: string[];
|
|
10070
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10071
|
+
useExternalContent?: boolean;
|
|
10072
|
+
isDemoContent?: boolean;
|
|
10073
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10074
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10075
|
+
} | {
|
|
10076
|
+
groupId: string;
|
|
10077
|
+
attachments: {
|
|
10078
|
+
type: AttachmentType;
|
|
10079
|
+
id: string;
|
|
10080
|
+
filename?: string;
|
|
10081
|
+
previewUrl?: string;
|
|
10082
|
+
url?: string;
|
|
10083
|
+
isUploadInProgress?: boolean;
|
|
10084
|
+
hasError?: boolean;
|
|
10085
|
+
width?: number;
|
|
10086
|
+
height?: number;
|
|
10087
|
+
}[];
|
|
10088
|
+
comments: {
|
|
10089
|
+
items: {
|
|
10090
|
+
conversationScope: ConversationScope;
|
|
10091
|
+
fileAccessToken: string;
|
|
10092
|
+
attachments: {
|
|
10093
|
+
type: AttachmentType;
|
|
10094
|
+
id: string;
|
|
10095
|
+
filename?: string;
|
|
10096
|
+
previewUrl?: string;
|
|
10097
|
+
url?: string;
|
|
10098
|
+
isUploadInProgress?: boolean;
|
|
10099
|
+
hasError?: boolean;
|
|
10100
|
+
width?: number;
|
|
10101
|
+
height?: number;
|
|
10102
|
+
}[];
|
|
10103
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10104
|
+
streamConversationScope?: StreamConversationScope;
|
|
10105
|
+
id: string;
|
|
10106
|
+
parentItemId: string;
|
|
10107
|
+
content: string;
|
|
10108
|
+
contentLanguageCode?: string;
|
|
10109
|
+
receivedDateTime: string;
|
|
10110
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10111
|
+
modified?: string;
|
|
10112
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10113
|
+
isLiked?: boolean;
|
|
10114
|
+
threadId?: string;
|
|
10115
|
+
isUnread?: boolean;
|
|
10116
|
+
hasUnreadReplies?: boolean;
|
|
10117
|
+
isDemoContent?: boolean;
|
|
10118
|
+
attachmentContainerId?: string;
|
|
10119
|
+
}[];
|
|
10120
|
+
paginationToken?: any;
|
|
10121
|
+
nextItem?: StreamPostComment;
|
|
10122
|
+
hasMoreUnreadComments?: boolean;
|
|
10123
|
+
hasNextPage?: boolean;
|
|
10124
|
+
};
|
|
10125
|
+
keywords: {
|
|
10126
|
+
[key: string]: Keyword[];
|
|
10127
|
+
};
|
|
10128
|
+
type: StreamItemTypes.Event;
|
|
10129
|
+
contentsList: StreamPublishableItemContents[];
|
|
10130
|
+
channelsList: string[];
|
|
10131
|
+
isUnread: boolean;
|
|
10132
|
+
keywordsList?: Keyword[];
|
|
10133
|
+
userResponseType?: StreamEventResponse;
|
|
10134
|
+
startDate?: string;
|
|
10135
|
+
endDate?: string;
|
|
10136
|
+
timeZone?: string;
|
|
10137
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10138
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10139
|
+
userResponse?: EventResponse;
|
|
10140
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10141
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10142
|
+
hasNewComments?: boolean;
|
|
10143
|
+
isLiked?: boolean;
|
|
10144
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10145
|
+
recurrenceSeriesId?: string;
|
|
10146
|
+
isSeriesMaster?: string;
|
|
10147
|
+
isVirtual?: boolean;
|
|
10148
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10149
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10150
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10151
|
+
id?: string;
|
|
10152
|
+
versionId?: string;
|
|
10153
|
+
publishingDate?: string;
|
|
10154
|
+
deleted?: string;
|
|
10155
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10156
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10157
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10158
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10159
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10160
|
+
fileAccessToken?: string;
|
|
10161
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10162
|
+
customProperties?: {
|
|
10163
|
+
[key: string]: any;
|
|
10164
|
+
};
|
|
10165
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10166
|
+
modified: string;
|
|
10167
|
+
created: string;
|
|
10168
|
+
publishedVersionId?: string;
|
|
10169
|
+
isCurrentPublishedVersion?: boolean;
|
|
10170
|
+
isLatestVersion?: boolean;
|
|
10171
|
+
permalink?: string;
|
|
10172
|
+
groupIds: string[];
|
|
10173
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10174
|
+
useExternalContent?: boolean;
|
|
10175
|
+
isDemoContent?: boolean;
|
|
10176
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10177
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10178
|
+
} | {
|
|
10179
|
+
groupId: string;
|
|
10180
|
+
attachments: {
|
|
10181
|
+
type: AttachmentType;
|
|
10182
|
+
id: string;
|
|
10183
|
+
filename?: string;
|
|
10184
|
+
previewUrl?: string;
|
|
10185
|
+
url?: string;
|
|
10186
|
+
isUploadInProgress?: boolean;
|
|
10187
|
+
hasError?: boolean;
|
|
10188
|
+
width?: number;
|
|
10189
|
+
height?: number;
|
|
10190
|
+
}[];
|
|
10191
|
+
comments: {
|
|
10192
|
+
items: {
|
|
10193
|
+
conversationScope: ConversationScope;
|
|
10194
|
+
fileAccessToken: string;
|
|
10195
|
+
attachments: {
|
|
10196
|
+
type: AttachmentType;
|
|
10197
|
+
id: string;
|
|
10198
|
+
filename?: string;
|
|
10199
|
+
previewUrl?: string;
|
|
10200
|
+
url?: string;
|
|
10201
|
+
isUploadInProgress?: boolean;
|
|
10202
|
+
hasError?: boolean;
|
|
10203
|
+
width?: number;
|
|
10204
|
+
height?: number;
|
|
10205
|
+
}[];
|
|
10206
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10207
|
+
streamConversationScope?: StreamConversationScope;
|
|
10208
|
+
id: string;
|
|
10209
|
+
parentItemId: string;
|
|
10210
|
+
content: string;
|
|
10211
|
+
contentLanguageCode?: string;
|
|
10212
|
+
receivedDateTime: string;
|
|
10213
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10214
|
+
modified?: string;
|
|
10215
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10216
|
+
isLiked?: boolean;
|
|
10217
|
+
threadId?: string;
|
|
10218
|
+
isUnread?: boolean;
|
|
10219
|
+
hasUnreadReplies?: boolean;
|
|
10220
|
+
isDemoContent?: boolean;
|
|
10221
|
+
attachmentContainerId?: string;
|
|
10222
|
+
}[];
|
|
10223
|
+
paginationToken?: any;
|
|
10224
|
+
nextItem?: StreamPostComment;
|
|
10225
|
+
hasMoreUnreadComments?: boolean;
|
|
10226
|
+
hasNextPage?: boolean;
|
|
10227
|
+
};
|
|
10228
|
+
keywords: {
|
|
10229
|
+
[key: string]: Keyword[];
|
|
10230
|
+
};
|
|
10231
|
+
type: StreamItemTypes.Page;
|
|
10232
|
+
contentsList: StreamPublishableItemContents[];
|
|
10233
|
+
channelsList: string[];
|
|
10234
|
+
isUnread: boolean;
|
|
10235
|
+
keywordsList?: Keyword[];
|
|
10236
|
+
streamPageType?: string;
|
|
10237
|
+
path?: (PageNavigationNode & {
|
|
10238
|
+
parentId?: string;
|
|
10239
|
+
})[];
|
|
10240
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10241
|
+
parentId?: string;
|
|
10242
|
+
pathIds?: string[];
|
|
10243
|
+
position?: number;
|
|
10244
|
+
navigationContext?: PageNavigationContext;
|
|
10245
|
+
hasHiddenAncestor?: boolean;
|
|
10246
|
+
isUnlinked?: boolean;
|
|
10247
|
+
pageType?: PageType;
|
|
10248
|
+
firstChildId?: string;
|
|
10249
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10250
|
+
id?: string;
|
|
10251
|
+
versionId?: string;
|
|
10252
|
+
publishingDate?: string;
|
|
10253
|
+
deleted?: string;
|
|
10254
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10255
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10256
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10257
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10258
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10259
|
+
fileAccessToken?: string;
|
|
10260
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10261
|
+
customProperties?: {
|
|
10262
|
+
[key: string]: any;
|
|
10263
|
+
};
|
|
10264
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10265
|
+
modified: string;
|
|
10266
|
+
created: string;
|
|
10267
|
+
publishedVersionId?: string;
|
|
10268
|
+
isCurrentPublishedVersion?: boolean;
|
|
10269
|
+
isLatestVersion?: boolean;
|
|
10270
|
+
permalink?: string;
|
|
10271
|
+
groupIds: string[];
|
|
10272
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10273
|
+
useExternalContent?: boolean;
|
|
10274
|
+
isDemoContent?: boolean;
|
|
10275
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10276
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10277
|
+
} | {
|
|
10278
|
+
knownState?: undefined;
|
|
10279
|
+
pageType?: undefined;
|
|
10280
|
+
navigationContext?: undefined;
|
|
10281
|
+
userResponse: EventResponse;
|
|
10282
|
+
channels: {
|
|
10283
|
+
name: string;
|
|
10284
|
+
}[];
|
|
10285
|
+
contents: {};
|
|
10286
|
+
bannerInfo: {
|
|
10287
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10288
|
+
type: "video" | "image";
|
|
10289
|
+
videoId?: string;
|
|
10290
|
+
videoUrl?: string;
|
|
10291
|
+
isDirectVideoUrl?: boolean;
|
|
10292
|
+
imageId?: string;
|
|
10293
|
+
};
|
|
10294
|
+
keywords: {
|
|
10295
|
+
[key: string]: Keyword[];
|
|
10296
|
+
};
|
|
10297
|
+
type: StreamItemTypes.Post;
|
|
10298
|
+
isUnread: boolean;
|
|
10299
|
+
keywordsList?: Keyword[];
|
|
10300
|
+
groupIds?: string[];
|
|
10301
|
+
postAttachments?: StreamAttachment[];
|
|
10302
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10303
|
+
hasMoreUnreadComments: boolean;
|
|
10304
|
+
id: string;
|
|
10305
|
+
comments?: PaginatedList<Comment>;
|
|
10306
|
+
groupId: string;
|
|
10307
|
+
content: string;
|
|
10308
|
+
permalink?: string;
|
|
10309
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10310
|
+
publishingDate: string;
|
|
10311
|
+
modified?: string;
|
|
10312
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10313
|
+
contentLanguageCode?: string;
|
|
10314
|
+
isLiked?: boolean;
|
|
10315
|
+
isDemoContent?: boolean;
|
|
10316
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10317
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10318
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10319
|
+
fileAccessToken?: string;
|
|
10320
|
+
attachmentContainerId?: string;
|
|
10321
|
+
} | {
|
|
10322
|
+
knownState: KnownNewsState;
|
|
10323
|
+
pageType?: undefined;
|
|
10324
|
+
navigationContext?: undefined;
|
|
10325
|
+
userResponse: EventResponse;
|
|
10326
|
+
channels: {
|
|
10327
|
+
name: string;
|
|
10328
|
+
}[];
|
|
10329
|
+
contents: {};
|
|
10330
|
+
bannerInfo: {
|
|
10331
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10332
|
+
type: "video" | "image";
|
|
10333
|
+
videoId?: string;
|
|
10334
|
+
videoUrl?: string;
|
|
10335
|
+
isDirectVideoUrl?: boolean;
|
|
10336
|
+
imageId?: string;
|
|
10337
|
+
};
|
|
10338
|
+
keywords: {
|
|
10339
|
+
[key: string]: Keyword[];
|
|
10340
|
+
};
|
|
10341
|
+
type: StreamItemTypes.Post;
|
|
10342
|
+
isUnread: boolean;
|
|
10343
|
+
keywordsList?: Keyword[];
|
|
10344
|
+
groupIds?: string[];
|
|
10345
|
+
postAttachments?: StreamAttachment[];
|
|
10346
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10347
|
+
hasMoreUnreadComments: boolean;
|
|
10348
|
+
id: string;
|
|
10349
|
+
comments?: PaginatedList<Comment>;
|
|
10350
|
+
groupId: string;
|
|
10351
|
+
content: string;
|
|
10352
|
+
permalink?: string;
|
|
10353
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10354
|
+
publishingDate: string;
|
|
10355
|
+
modified?: string;
|
|
10356
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10357
|
+
contentLanguageCode?: string;
|
|
10358
|
+
isLiked?: boolean;
|
|
10359
|
+
isDemoContent?: boolean;
|
|
10360
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10361
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10362
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10363
|
+
fileAccessToken?: string;
|
|
10364
|
+
attachmentContainerId?: string;
|
|
10365
|
+
} | {
|
|
10366
|
+
knownState?: undefined;
|
|
10367
|
+
pageType: PageType;
|
|
10368
|
+
navigationContext: PageNavigationContext;
|
|
10369
|
+
userResponse: EventResponse;
|
|
10370
|
+
channels: {
|
|
10371
|
+
name: string;
|
|
10372
|
+
}[];
|
|
10373
|
+
contents: {};
|
|
10374
|
+
bannerInfo: {
|
|
10375
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10376
|
+
type: "video" | "image";
|
|
10377
|
+
videoId?: string;
|
|
10378
|
+
videoUrl?: string;
|
|
10379
|
+
isDirectVideoUrl?: boolean;
|
|
10380
|
+
imageId?: string;
|
|
10381
|
+
};
|
|
10382
|
+
keywords: {
|
|
10383
|
+
[key: string]: Keyword[];
|
|
10384
|
+
};
|
|
10385
|
+
type: StreamItemTypes.Post;
|
|
10386
|
+
isUnread: boolean;
|
|
10387
|
+
keywordsList?: Keyword[];
|
|
10388
|
+
groupIds?: string[];
|
|
10389
|
+
postAttachments?: StreamAttachment[];
|
|
10390
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10391
|
+
hasMoreUnreadComments: boolean;
|
|
10392
|
+
id: string;
|
|
10393
|
+
comments?: PaginatedList<Comment>;
|
|
10394
|
+
groupId: string;
|
|
10395
|
+
content: string;
|
|
10396
|
+
permalink?: string;
|
|
10397
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10398
|
+
publishingDate: string;
|
|
10399
|
+
modified?: string;
|
|
10400
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10401
|
+
contentLanguageCode?: string;
|
|
10402
|
+
isLiked?: boolean;
|
|
10403
|
+
isDemoContent?: boolean;
|
|
10404
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10405
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10406
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10407
|
+
fileAccessToken?: string;
|
|
10408
|
+
attachmentContainerId?: string;
|
|
10409
|
+
} | {
|
|
10410
|
+
knownState: KnownNewsState;
|
|
10411
|
+
pageType: PageType;
|
|
10412
|
+
navigationContext: PageNavigationContext;
|
|
10413
|
+
userResponse: EventResponse;
|
|
10414
|
+
channels: {
|
|
10415
|
+
name: string;
|
|
10416
|
+
}[];
|
|
10417
|
+
contents: {};
|
|
10418
|
+
bannerInfo: {
|
|
10419
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10420
|
+
type: "video" | "image";
|
|
10421
|
+
videoId?: string;
|
|
10422
|
+
videoUrl?: string;
|
|
10423
|
+
isDirectVideoUrl?: boolean;
|
|
10424
|
+
imageId?: string;
|
|
10425
|
+
};
|
|
10426
|
+
keywords: {
|
|
10427
|
+
[key: string]: Keyword[];
|
|
10428
|
+
};
|
|
10429
|
+
type: StreamItemTypes.Post;
|
|
10430
|
+
isUnread: boolean;
|
|
10431
|
+
keywordsList?: Keyword[];
|
|
10432
|
+
groupIds?: string[];
|
|
10433
|
+
postAttachments?: StreamAttachment[];
|
|
10434
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10435
|
+
hasMoreUnreadComments: boolean;
|
|
10436
|
+
id: string;
|
|
10437
|
+
comments?: PaginatedList<Comment>;
|
|
10438
|
+
groupId: string;
|
|
10439
|
+
content: string;
|
|
10440
|
+
permalink?: string;
|
|
10441
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10442
|
+
publishingDate: string;
|
|
10443
|
+
modified?: string;
|
|
10444
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10445
|
+
contentLanguageCode?: string;
|
|
10446
|
+
isLiked?: boolean;
|
|
10447
|
+
isDemoContent?: boolean;
|
|
10448
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10449
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10450
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10451
|
+
fileAccessToken?: string;
|
|
10452
|
+
attachmentContainerId?: string;
|
|
10453
|
+
} | {
|
|
10454
|
+
knownState: KnownNewsState;
|
|
10455
|
+
pageType?: undefined;
|
|
10456
|
+
navigationContext?: undefined;
|
|
10457
|
+
userResponse: EventResponse;
|
|
10458
|
+
channels: {
|
|
10459
|
+
name: string;
|
|
10460
|
+
}[];
|
|
10461
|
+
contents: {};
|
|
10462
|
+
bannerInfo: {
|
|
10463
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10464
|
+
type: "video" | "image";
|
|
10465
|
+
videoId?: string;
|
|
10466
|
+
videoUrl?: string;
|
|
10467
|
+
isDirectVideoUrl?: boolean;
|
|
10468
|
+
imageId?: string;
|
|
10469
|
+
};
|
|
10470
|
+
keywords: {
|
|
10471
|
+
[key: string]: Keyword[];
|
|
10472
|
+
};
|
|
10473
|
+
type: StreamItemTypes.News;
|
|
10474
|
+
contentsList: StreamPublishableItemContents[];
|
|
10475
|
+
channelsList: string[];
|
|
10476
|
+
isUnread: boolean;
|
|
10477
|
+
keywordsList?: Keyword[];
|
|
10478
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10479
|
+
source?: string;
|
|
10480
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10481
|
+
expiryDate?: string;
|
|
10482
|
+
hasNewComments?: boolean;
|
|
10483
|
+
isLiked?: boolean;
|
|
10484
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10485
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10486
|
+
id?: string;
|
|
10487
|
+
versionId?: string;
|
|
10488
|
+
publishingDate?: string;
|
|
10489
|
+
deleted?: string;
|
|
10490
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10491
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10492
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10493
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10494
|
+
fileAccessToken?: string;
|
|
10495
|
+
customProperties?: {
|
|
10496
|
+
[key: string]: any;
|
|
10497
|
+
};
|
|
10498
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10499
|
+
modified: string;
|
|
10500
|
+
created: string;
|
|
10501
|
+
publishedVersionId?: string;
|
|
10502
|
+
isCurrentPublishedVersion?: boolean;
|
|
10503
|
+
isLatestVersion?: boolean;
|
|
10504
|
+
permalink?: string;
|
|
10505
|
+
groupIds: string[];
|
|
10506
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10507
|
+
useExternalContent?: boolean;
|
|
10508
|
+
isDemoContent?: boolean;
|
|
10509
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10510
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10511
|
+
} | {
|
|
10512
|
+
knownState: KnownNewsState;
|
|
10513
|
+
pageType: PageType;
|
|
10514
|
+
navigationContext: PageNavigationContext;
|
|
10515
|
+
userResponse: EventResponse;
|
|
10516
|
+
channels: {
|
|
10517
|
+
name: string;
|
|
10518
|
+
}[];
|
|
10519
|
+
contents: {};
|
|
10520
|
+
bannerInfo: {
|
|
10521
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10522
|
+
type: "video" | "image";
|
|
10523
|
+
videoId?: string;
|
|
10524
|
+
videoUrl?: string;
|
|
10525
|
+
isDirectVideoUrl?: boolean;
|
|
10526
|
+
imageId?: string;
|
|
10527
|
+
};
|
|
10528
|
+
keywords: {
|
|
10529
|
+
[key: string]: Keyword[];
|
|
10530
|
+
};
|
|
10531
|
+
type: StreamItemTypes.News;
|
|
10532
|
+
contentsList: StreamPublishableItemContents[];
|
|
10533
|
+
channelsList: string[];
|
|
10534
|
+
isUnread: boolean;
|
|
10535
|
+
keywordsList?: Keyword[];
|
|
10536
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10537
|
+
source?: string;
|
|
10538
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10539
|
+
expiryDate?: string;
|
|
10540
|
+
hasNewComments?: boolean;
|
|
10541
|
+
isLiked?: boolean;
|
|
10542
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10543
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10544
|
+
id?: string;
|
|
10545
|
+
versionId?: string;
|
|
10546
|
+
publishingDate?: string;
|
|
10547
|
+
deleted?: string;
|
|
10548
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10549
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10550
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10551
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10552
|
+
fileAccessToken?: string;
|
|
10553
|
+
customProperties?: {
|
|
10554
|
+
[key: string]: any;
|
|
10555
|
+
};
|
|
10556
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10557
|
+
modified: string;
|
|
10558
|
+
created: string;
|
|
10559
|
+
publishedVersionId?: string;
|
|
10560
|
+
isCurrentPublishedVersion?: boolean;
|
|
10561
|
+
isLatestVersion?: boolean;
|
|
10562
|
+
permalink?: string;
|
|
10563
|
+
groupIds: string[];
|
|
10564
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10565
|
+
useExternalContent?: boolean;
|
|
10566
|
+
isDemoContent?: boolean;
|
|
10567
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10568
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10569
|
+
} | {
|
|
10570
|
+
knownState?: undefined;
|
|
10571
|
+
pageType?: undefined;
|
|
10572
|
+
navigationContext?: undefined;
|
|
10573
|
+
userResponse: EventResponse;
|
|
10574
|
+
channels: {
|
|
10575
|
+
name: string;
|
|
10576
|
+
}[];
|
|
10577
|
+
contents: {};
|
|
10578
|
+
bannerInfo: {
|
|
10579
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10580
|
+
type: "video" | "image";
|
|
10581
|
+
videoId?: string;
|
|
10582
|
+
videoUrl?: string;
|
|
10583
|
+
isDirectVideoUrl?: boolean;
|
|
10584
|
+
imageId?: string;
|
|
10585
|
+
};
|
|
10586
|
+
keywords: {
|
|
10587
|
+
[key: string]: Keyword[];
|
|
10588
|
+
};
|
|
10589
|
+
type: StreamItemTypes.Event;
|
|
10590
|
+
contentsList: StreamPublishableItemContents[];
|
|
10591
|
+
channelsList: string[];
|
|
10592
|
+
isUnread: boolean;
|
|
10593
|
+
keywordsList?: Keyword[];
|
|
10594
|
+
userResponseType?: StreamEventResponse;
|
|
10595
|
+
startDate?: string;
|
|
10596
|
+
endDate?: string;
|
|
10597
|
+
timeZone?: string;
|
|
10598
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10599
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10600
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10601
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10602
|
+
hasNewComments?: boolean;
|
|
10603
|
+
isLiked?: boolean;
|
|
10604
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10605
|
+
recurrenceSeriesId?: string;
|
|
10606
|
+
isSeriesMaster?: string;
|
|
10607
|
+
isVirtual?: boolean;
|
|
10608
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10609
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10610
|
+
id?: string;
|
|
10611
|
+
versionId?: string;
|
|
10612
|
+
publishingDate?: string;
|
|
10613
|
+
deleted?: string;
|
|
10614
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10615
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10616
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10617
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10618
|
+
fileAccessToken?: string;
|
|
10619
|
+
customProperties?: {
|
|
10620
|
+
[key: string]: any;
|
|
10621
|
+
};
|
|
10622
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10623
|
+
modified: string;
|
|
10624
|
+
created: string;
|
|
10625
|
+
publishedVersionId?: string;
|
|
10626
|
+
isCurrentPublishedVersion?: boolean;
|
|
10627
|
+
isLatestVersion?: boolean;
|
|
10628
|
+
permalink?: string;
|
|
10629
|
+
groupIds: string[];
|
|
10630
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10631
|
+
useExternalContent?: boolean;
|
|
10632
|
+
isDemoContent?: boolean;
|
|
10633
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10634
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10635
|
+
} | {
|
|
10636
|
+
knownState: KnownNewsState;
|
|
10637
|
+
pageType?: undefined;
|
|
10638
|
+
navigationContext?: undefined;
|
|
10639
|
+
userResponse: EventResponse;
|
|
10640
|
+
channels: {
|
|
10641
|
+
name: string;
|
|
10642
|
+
}[];
|
|
10643
|
+
contents: {};
|
|
10644
|
+
bannerInfo: {
|
|
10645
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10646
|
+
type: "video" | "image";
|
|
10647
|
+
videoId?: string;
|
|
10648
|
+
videoUrl?: string;
|
|
10649
|
+
isDirectVideoUrl?: boolean;
|
|
10650
|
+
imageId?: string;
|
|
10651
|
+
};
|
|
10652
|
+
keywords: {
|
|
10653
|
+
[key: string]: Keyword[];
|
|
10654
|
+
};
|
|
10655
|
+
type: StreamItemTypes.Event;
|
|
10656
|
+
contentsList: StreamPublishableItemContents[];
|
|
10657
|
+
channelsList: string[];
|
|
10658
|
+
isUnread: boolean;
|
|
10659
|
+
keywordsList?: Keyword[];
|
|
10660
|
+
userResponseType?: StreamEventResponse;
|
|
10661
|
+
startDate?: string;
|
|
10662
|
+
endDate?: string;
|
|
10663
|
+
timeZone?: string;
|
|
10664
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10665
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10666
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10667
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10668
|
+
hasNewComments?: boolean;
|
|
10669
|
+
isLiked?: boolean;
|
|
10670
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10671
|
+
recurrenceSeriesId?: string;
|
|
10672
|
+
isSeriesMaster?: string;
|
|
10673
|
+
isVirtual?: boolean;
|
|
10674
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10675
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10676
|
+
id?: string;
|
|
10677
|
+
versionId?: string;
|
|
10678
|
+
publishingDate?: string;
|
|
10679
|
+
deleted?: string;
|
|
10680
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10681
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10682
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10683
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10684
|
+
fileAccessToken?: string;
|
|
10685
|
+
customProperties?: {
|
|
10686
|
+
[key: string]: any;
|
|
10687
|
+
};
|
|
10688
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10689
|
+
modified: string;
|
|
10690
|
+
created: string;
|
|
10691
|
+
publishedVersionId?: string;
|
|
10692
|
+
isCurrentPublishedVersion?: boolean;
|
|
10693
|
+
isLatestVersion?: boolean;
|
|
10694
|
+
permalink?: string;
|
|
10695
|
+
groupIds: string[];
|
|
10696
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10697
|
+
useExternalContent?: boolean;
|
|
10698
|
+
isDemoContent?: boolean;
|
|
10699
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10700
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10701
|
+
} | {
|
|
10702
|
+
knownState?: undefined;
|
|
10703
|
+
pageType: PageType;
|
|
10704
|
+
navigationContext: PageNavigationContext;
|
|
10705
|
+
userResponse: EventResponse;
|
|
10706
|
+
channels: {
|
|
10707
|
+
name: string;
|
|
10708
|
+
}[];
|
|
10709
|
+
contents: {};
|
|
10710
|
+
bannerInfo: {
|
|
10711
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10712
|
+
type: "video" | "image";
|
|
10713
|
+
videoId?: string;
|
|
10714
|
+
videoUrl?: string;
|
|
10715
|
+
isDirectVideoUrl?: boolean;
|
|
10716
|
+
imageId?: string;
|
|
10717
|
+
};
|
|
10718
|
+
keywords: {
|
|
10719
|
+
[key: string]: Keyword[];
|
|
10720
|
+
};
|
|
10721
|
+
type: StreamItemTypes.Event;
|
|
10722
|
+
contentsList: StreamPublishableItemContents[];
|
|
10723
|
+
channelsList: string[];
|
|
10724
|
+
isUnread: boolean;
|
|
10725
|
+
keywordsList?: Keyword[];
|
|
10726
|
+
userResponseType?: StreamEventResponse;
|
|
10727
|
+
startDate?: string;
|
|
10728
|
+
endDate?: string;
|
|
10729
|
+
timeZone?: string;
|
|
10730
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10731
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10732
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10733
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10734
|
+
hasNewComments?: boolean;
|
|
10735
|
+
isLiked?: boolean;
|
|
10736
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10737
|
+
recurrenceSeriesId?: string;
|
|
10738
|
+
isSeriesMaster?: string;
|
|
10739
|
+
isVirtual?: boolean;
|
|
10740
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10741
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10742
|
+
id?: string;
|
|
10743
|
+
versionId?: string;
|
|
10744
|
+
publishingDate?: string;
|
|
10745
|
+
deleted?: string;
|
|
10746
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10747
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10748
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10749
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10750
|
+
fileAccessToken?: string;
|
|
10751
|
+
customProperties?: {
|
|
10752
|
+
[key: string]: any;
|
|
10753
|
+
};
|
|
10754
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10755
|
+
modified: string;
|
|
10756
|
+
created: string;
|
|
10757
|
+
publishedVersionId?: string;
|
|
10758
|
+
isCurrentPublishedVersion?: boolean;
|
|
10759
|
+
isLatestVersion?: boolean;
|
|
10760
|
+
permalink?: string;
|
|
10761
|
+
groupIds: string[];
|
|
10762
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10763
|
+
useExternalContent?: boolean;
|
|
10764
|
+
isDemoContent?: boolean;
|
|
10765
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10766
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10767
|
+
} | {
|
|
10768
|
+
knownState: KnownNewsState;
|
|
10769
|
+
pageType: PageType;
|
|
10770
|
+
navigationContext: PageNavigationContext;
|
|
10771
|
+
userResponse: EventResponse;
|
|
10772
|
+
channels: {
|
|
10773
|
+
name: string;
|
|
10774
|
+
}[];
|
|
10775
|
+
contents: {};
|
|
10776
|
+
bannerInfo: {
|
|
10777
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10778
|
+
type: "video" | "image";
|
|
10779
|
+
videoId?: string;
|
|
10780
|
+
videoUrl?: string;
|
|
10781
|
+
isDirectVideoUrl?: boolean;
|
|
10782
|
+
imageId?: string;
|
|
10783
|
+
};
|
|
10784
|
+
keywords: {
|
|
10785
|
+
[key: string]: Keyword[];
|
|
9545
10786
|
};
|
|
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[];
|
|
10787
|
+
type: StreamItemTypes.Event;
|
|
10788
|
+
contentsList: StreamPublishableItemContents[];
|
|
10789
|
+
channelsList: string[];
|
|
10790
|
+
isUnread: boolean;
|
|
10791
|
+
keywordsList?: Keyword[];
|
|
10792
|
+
userResponseType?: StreamEventResponse;
|
|
10793
|
+
startDate?: string;
|
|
10794
|
+
endDate?: string;
|
|
10795
|
+
timeZone?: string;
|
|
10796
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10797
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10798
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10799
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10800
|
+
hasNewComments?: boolean;
|
|
10801
|
+
isLiked?: boolean;
|
|
10802
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10803
|
+
recurrenceSeriesId?: string;
|
|
10804
|
+
isSeriesMaster?: string;
|
|
10805
|
+
isVirtual?: boolean;
|
|
10806
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10807
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10808
|
+
id?: string;
|
|
10809
|
+
versionId?: string;
|
|
10810
|
+
publishingDate?: string;
|
|
10811
|
+
deleted?: string;
|
|
10812
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10813
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10814
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10815
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10816
|
+
fileAccessToken?: string;
|
|
10817
|
+
customProperties?: {
|
|
10818
|
+
[key: string]: any;
|
|
9582
10819
|
};
|
|
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
|
-
|
|
10820
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10821
|
+
modified: string;
|
|
10822
|
+
created: string;
|
|
10823
|
+
publishedVersionId?: string;
|
|
10824
|
+
isCurrentPublishedVersion?: boolean;
|
|
10825
|
+
isLatestVersion?: boolean;
|
|
10826
|
+
permalink?: string;
|
|
10827
|
+
groupIds: string[];
|
|
10828
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10829
|
+
useExternalContent?: boolean;
|
|
10830
|
+
isDemoContent?: boolean;
|
|
10831
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10832
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10833
|
+
} | {
|
|
10834
|
+
knownState?: undefined;
|
|
10835
|
+
pageType?: PageType;
|
|
10836
|
+
navigationContext?: PageNavigationContext;
|
|
10837
|
+
userResponse: EventResponse;
|
|
10838
|
+
channels: {
|
|
10839
|
+
name: string;
|
|
10840
|
+
}[];
|
|
10841
|
+
contents: {};
|
|
10842
|
+
bannerInfo: {
|
|
10843
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10844
|
+
type: "video" | "image";
|
|
10845
|
+
videoId?: string;
|
|
10846
|
+
videoUrl?: string;
|
|
10847
|
+
isDirectVideoUrl?: boolean;
|
|
10848
|
+
imageId?: string;
|
|
9608
10849
|
};
|
|
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[];
|
|
10850
|
+
keywords: {
|
|
10851
|
+
[key: string]: Keyword[];
|
|
9627
10852
|
};
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
9634
|
-
|
|
10853
|
+
type: StreamItemTypes.Page;
|
|
10854
|
+
contentsList: StreamPublishableItemContents[];
|
|
10855
|
+
channelsList: string[];
|
|
10856
|
+
isUnread: boolean;
|
|
10857
|
+
keywordsList?: Keyword[];
|
|
10858
|
+
streamPageType?: string;
|
|
10859
|
+
path?: (PageNavigationNode & {
|
|
10860
|
+
parentId?: string;
|
|
10861
|
+
})[];
|
|
10862
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10863
|
+
parentId?: string;
|
|
10864
|
+
pathIds?: string[];
|
|
10865
|
+
position?: number;
|
|
10866
|
+
hasHiddenAncestor?: boolean;
|
|
10867
|
+
isUnlinked?: boolean;
|
|
10868
|
+
firstChildId?: string;
|
|
10869
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10870
|
+
id?: string;
|
|
10871
|
+
versionId?: string;
|
|
10872
|
+
publishingDate?: string;
|
|
10873
|
+
deleted?: string;
|
|
10874
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10875
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10876
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10877
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10878
|
+
fileAccessToken?: string;
|
|
10879
|
+
customProperties?: {
|
|
10880
|
+
[key: string]: any;
|
|
10881
|
+
};
|
|
10882
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10883
|
+
modified: string;
|
|
10884
|
+
created: string;
|
|
10885
|
+
publishedVersionId?: string;
|
|
10886
|
+
isCurrentPublishedVersion?: boolean;
|
|
10887
|
+
isLatestVersion?: boolean;
|
|
10888
|
+
permalink?: string;
|
|
10889
|
+
groupIds: string[];
|
|
10890
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10891
|
+
useExternalContent?: boolean;
|
|
10892
|
+
isDemoContent?: boolean;
|
|
10893
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10894
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10895
|
+
} | {
|
|
10896
|
+
knownState: KnownNewsState;
|
|
10897
|
+
pageType?: PageType;
|
|
10898
|
+
navigationContext?: PageNavigationContext;
|
|
10899
|
+
userResponse: EventResponse;
|
|
10900
|
+
channels: {
|
|
10901
|
+
name: string;
|
|
10902
|
+
}[];
|
|
10903
|
+
contents: {};
|
|
10904
|
+
bannerInfo: {
|
|
10905
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10906
|
+
type: "video" | "image";
|
|
10907
|
+
videoId?: string;
|
|
10908
|
+
videoUrl?: string;
|
|
10909
|
+
isDirectVideoUrl?: boolean;
|
|
10910
|
+
imageId?: string;
|
|
10911
|
+
};
|
|
10912
|
+
keywords: {
|
|
10913
|
+
[key: string]: Keyword[];
|
|
10914
|
+
};
|
|
10915
|
+
type: StreamItemTypes.Page;
|
|
10916
|
+
contentsList: StreamPublishableItemContents[];
|
|
10917
|
+
channelsList: string[];
|
|
10918
|
+
isUnread: boolean;
|
|
10919
|
+
keywordsList?: Keyword[];
|
|
10920
|
+
streamPageType?: string;
|
|
10921
|
+
path?: (PageNavigationNode & {
|
|
10922
|
+
parentId?: string;
|
|
10923
|
+
})[];
|
|
10924
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10925
|
+
parentId?: string;
|
|
10926
|
+
pathIds?: string[];
|
|
10927
|
+
position?: number;
|
|
10928
|
+
hasHiddenAncestor?: boolean;
|
|
10929
|
+
isUnlinked?: boolean;
|
|
10930
|
+
firstChildId?: string;
|
|
10931
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10932
|
+
id?: string;
|
|
10933
|
+
versionId?: string;
|
|
10934
|
+
publishingDate?: string;
|
|
10935
|
+
deleted?: string;
|
|
10936
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10937
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10938
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10939
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10940
|
+
fileAccessToken?: string;
|
|
10941
|
+
customProperties?: {
|
|
10942
|
+
[key: string]: any;
|
|
10943
|
+
};
|
|
10944
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10945
|
+
modified: string;
|
|
10946
|
+
created: string;
|
|
10947
|
+
publishedVersionId?: string;
|
|
10948
|
+
isCurrentPublishedVersion?: boolean;
|
|
10949
|
+
isLatestVersion?: boolean;
|
|
10950
|
+
permalink?: string;
|
|
10951
|
+
groupIds: string[];
|
|
10952
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10953
|
+
useExternalContent?: boolean;
|
|
10954
|
+
isDemoContent?: boolean;
|
|
10955
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10956
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10957
|
+
})[];
|
|
9635
10958
|
}
|
|
9636
|
-
declare module "libs/reach/feature/content/src/
|
|
10959
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10960
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10961
|
+
import { DocumentNode } from '@apollo/client';
|
|
10962
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10963
|
+
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition, FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
10964
|
+
export enum StreamEventResponse {
|
|
10965
|
+
NotSet = "NOTSET",
|
|
10966
|
+
Registered = "REGISTERED",
|
|
10967
|
+
Declined = "DECLINED"
|
|
10968
|
+
}
|
|
10969
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10970
|
+
}
|
|
10971
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10972
|
+
items: StreamItem[];
|
|
10973
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10974
|
+
loadMore: () => Promise<void>;
|
|
10975
|
+
pageInfo: {
|
|
10976
|
+
errors?: any;
|
|
10977
|
+
hasNextPage: boolean;
|
|
10978
|
+
skip: number;
|
|
10979
|
+
};
|
|
10980
|
+
refresh: () => Promise<void>;
|
|
10981
|
+
isLoadingFirstPage: boolean;
|
|
10982
|
+
};
|
|
10983
|
+
export const getStreamQuery: () => DocumentNode;
|
|
10984
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10985
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10986
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10987
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10988
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10989
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10990
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10991
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
10992
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10993
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10994
|
+
}
|
|
10995
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
9637
10996
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9638
10997
|
import { DependencyList } from 'react';
|
|
9639
|
-
export function
|
|
10998
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
9640
10999
|
}
|
|
9641
11000
|
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
9642
11001
|
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -9654,7 +11013,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
9654
11013
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
9655
11014
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
9656
11015
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
9657
|
-
export * from "libs/reach/feature/content/src/posts/
|
|
11016
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
9658
11017
|
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
9659
11018
|
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
9660
11019
|
export * from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9674,7 +11033,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
|
9674
11033
|
onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
|
|
9675
11034
|
onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
|
|
9676
11035
|
className?: string;
|
|
9677
|
-
useLargeAvatar?: boolean;
|
|
9678
11036
|
useExternalLink?: boolean;
|
|
9679
11037
|
}
|
|
9680
11038
|
export const EditorListItem: FC<Props>;
|
|
@@ -9719,12 +11077,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
9719
11077
|
}
|
|
9720
11078
|
}
|
|
9721
11079
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
9722
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11080
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9723
11081
|
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
11082
|
import { Observable } from 'rxjs';
|
|
9729
11083
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
9730
11084
|
export function useEditorApi(): {
|
|
@@ -9744,6 +11098,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
|
9744
11098
|
keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
|
|
9745
11099
|
saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
|
|
9746
11100
|
updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
|
|
11101
|
+
translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
|
|
9747
11102
|
};
|
|
9748
11103
|
}
|
|
9749
11104
|
declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
@@ -9767,6 +11122,59 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
9767
11122
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
9768
11123
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
9769
11124
|
}
|
|
11125
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
11126
|
+
import { FC } from 'react';
|
|
11127
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11128
|
+
export const StreamPostItemCard: FC<{
|
|
11129
|
+
post: PostStreamItem;
|
|
11130
|
+
onPostDelete: (id: string) => unknown;
|
|
11131
|
+
}>;
|
|
11132
|
+
}
|
|
11133
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
11134
|
+
import { FC } from 'react';
|
|
11135
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11136
|
+
export const StreamNewsItemCard: FC<{
|
|
11137
|
+
news: NewsStreamItem;
|
|
11138
|
+
}>;
|
|
11139
|
+
}
|
|
11140
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
11141
|
+
import { FC } from 'react';
|
|
11142
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11143
|
+
export const StreamEventItemCard: FC<{
|
|
11144
|
+
event: EventStreamItem;
|
|
11145
|
+
}>;
|
|
11146
|
+
}
|
|
11147
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11148
|
+
import { FC } from 'react';
|
|
11149
|
+
export const GlobalSearchButton: FC;
|
|
11150
|
+
}
|
|
11151
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11152
|
+
import { FC } from 'react';
|
|
11153
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11154
|
+
export type StreamQueryResult = {
|
|
11155
|
+
items: StreamItem[];
|
|
11156
|
+
};
|
|
11157
|
+
export const StreamList: FC;
|
|
11158
|
+
}
|
|
11159
|
+
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
11160
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
11161
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
11162
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11163
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
|
|
11164
|
+
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11165
|
+
}
|
|
11166
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11167
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
11168
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11169
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11170
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
11171
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
11172
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
11173
|
+
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
11174
|
+
}
|
|
11175
|
+
declare module "libs/reach/feature/content/src/search/index" {
|
|
11176
|
+
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11177
|
+
}
|
|
9770
11178
|
declare module "libs/reach/feature/content/src/index" {
|
|
9771
11179
|
export * from "libs/reach/feature/content/src/comments/index";
|
|
9772
11180
|
export * from "libs/reach/feature/content/src/common/index";
|
|
@@ -9779,6 +11187,8 @@ declare module "libs/reach/feature/content/src/index" {
|
|
|
9779
11187
|
export * from "libs/reach/feature/content/src/posts/index";
|
|
9780
11188
|
export * from "libs/reach/feature/content/src/editor/index";
|
|
9781
11189
|
export * from "libs/reach/feature/content/src/public-user/index";
|
|
11190
|
+
export * from "libs/reach/feature/content/src/stream/index";
|
|
11191
|
+
export * from "libs/reach/feature/content/src/search/index";
|
|
9782
11192
|
}
|
|
9783
11193
|
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
9784
11194
|
import { FC } from 'react';
|
|
@@ -9849,20 +11259,22 @@ declare module "apps/reach-app/src/app/AppLoader" {
|
|
|
9849
11259
|
}
|
|
9850
11260
|
declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
|
|
9851
11261
|
import './ContainerWithLogo.scss';
|
|
11262
|
+
import { LogoInfo } from "libs/reach/util/common/src/index";
|
|
11263
|
+
import { FC, ReactNode } from 'react';
|
|
9852
11264
|
export enum DefaultLogoColor {
|
|
9853
11265
|
Default = 0,
|
|
9854
11266
|
White = 1
|
|
9855
11267
|
}
|
|
9856
|
-
type RenderChildren =
|
|
9857
|
-
export const ContainerWithLogo:
|
|
9858
|
-
|
|
9859
|
-
logoColor?: DefaultLogoColor;
|
|
11268
|
+
type RenderChildren = ReactNode | (() => ReactNode);
|
|
11269
|
+
export const ContainerWithLogo: FC<{
|
|
11270
|
+
logoInfo?: LogoInfo;
|
|
9860
11271
|
text?: string;
|
|
9861
11272
|
headerClassName?: string;
|
|
9862
11273
|
additionalClasses?: string;
|
|
9863
11274
|
children: RenderChildren;
|
|
9864
11275
|
className?: string;
|
|
9865
11276
|
additionalContent?: RenderChildren;
|
|
11277
|
+
isBrandedContainer?: boolean;
|
|
9866
11278
|
}>;
|
|
9867
11279
|
}
|
|
9868
11280
|
declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
|
|
@@ -9894,7 +11306,11 @@ declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
|
9894
11306
|
MobileHidden = 1
|
|
9895
11307
|
}
|
|
9896
11308
|
export function shutdownZendesk(): void;
|
|
9897
|
-
export function
|
|
11309
|
+
export function useZendeskWithSubscription(): {
|
|
11310
|
+
showZendeskChat: () => void;
|
|
11311
|
+
toggleIcon: (show: boolean) => void;
|
|
11312
|
+
};
|
|
11313
|
+
export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
|
|
9898
11314
|
showZendeskChat: () => void;
|
|
9899
11315
|
toggleIcon: (show: boolean) => void;
|
|
9900
11316
|
};
|
|
@@ -9909,27 +11325,8 @@ declare module "apps/reach-app/src/app/EnforcedSubscriptionContextProvider" {
|
|
|
9909
11325
|
}
|
|
9910
11326
|
declare module "apps/reach-app/src/app/chrome/PageMenuActionItem" {
|
|
9911
11327
|
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>;
|
|
11328
|
+
import { PageNavigationNodeProps } from "libs/reach/util/common/src/index";
|
|
11329
|
+
export const PageMenuActionItem: FC<PageNavigationNodeProps>;
|
|
9933
11330
|
}
|
|
9934
11331
|
declare module "apps/reach-app/src/app/admin/ManagePluginsPage" {
|
|
9935
11332
|
import { FC } from 'react';
|
|
@@ -9939,7 +11336,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
|
|
|
9939
11336
|
import { FC } from 'react';
|
|
9940
11337
|
export const AdminActionItem: FC<{
|
|
9941
11338
|
submenuContents: JSX.Element;
|
|
9942
|
-
onClick
|
|
11339
|
+
onClick?: () => unknown;
|
|
9943
11340
|
title?: string;
|
|
9944
11341
|
}>;
|
|
9945
11342
|
const AdminRoutes: FC;
|
|
@@ -9953,7 +11350,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
|
|
|
9953
11350
|
import { FC } from 'react';
|
|
9954
11351
|
export const ChatMenuNode: FC<{
|
|
9955
11352
|
title: string;
|
|
9956
|
-
onClick
|
|
11353
|
+
onClick?: () => void;
|
|
9957
11354
|
}>;
|
|
9958
11355
|
}
|
|
9959
11356
|
declare module "apps/reach-app/src/app/chrome/Sidebar" {
|
|
@@ -9980,20 +11377,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
|
|
|
9980
11377
|
className?: string;
|
|
9981
11378
|
}>;
|
|
9982
11379
|
}
|
|
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
11380
|
declare module "apps/reach-app/src/AppLoaderContextProvider" {
|
|
9998
11381
|
import { FC, ReactNode } from 'react';
|
|
9999
11382
|
export const AppLoaderContext: import("react").Context<{
|
|
@@ -10139,6 +11522,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
10139
11522
|
}
|
|
10140
11523
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
10141
11524
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|
|
11525
|
+
import { PageMenuActionItem } from "apps/reach-app/src/app/chrome/PageMenuActionItem";
|
|
10142
11526
|
import { NavLinkSidebarItem } from "apps/reach-app/src/app/chrome/SidebarItem";
|
|
10143
|
-
export { Page, NavLinkSidebarItem };
|
|
11527
|
+
export { Page, NavLinkSidebarItem, PageMenuActionItem };
|
|
10144
11528
|
}
|