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