@livetiles/reach-plugin-types 0.4.0-preview.37 → 0.4.0-preview.372
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 +2390 -1045
- 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 { PluginNavigationNodeProps, PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2536
|
+
export const PluginWrapper: FC<PluginProps & PluginNavigationNodeProps>;
|
|
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 {
|
|
@@ -2420,6 +2666,7 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
|
2420
2666
|
}
|
|
2421
2667
|
export function getDarkAltColor(color: string): string;
|
|
2422
2668
|
export function getTextColor(bgColor: string): "#333333" | "#ffffff";
|
|
2669
|
+
export function shouldUseDarkForegroundColor(bgColor: string): boolean;
|
|
2423
2670
|
}
|
|
2424
2671
|
declare module "libs/reach/util/common/src/theme/ThemeContext" {
|
|
2425
2672
|
import { FC, ReactNode } from 'react';
|
|
@@ -2440,19 +2687,6 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
2440
2687
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
2441
2688
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
2442
2689
|
}
|
|
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
2690
|
declare module "libs/reach/util/common/src/content/EventItem" {
|
|
2457
2691
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2458
2692
|
import { PollResult } from "libs/reach/util/common/src/content/BaseItem";
|
|
@@ -2610,10 +2844,11 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2610
2844
|
useExternalContent?: boolean;
|
|
2611
2845
|
isSearchMatch?: boolean;
|
|
2612
2846
|
topLevelFolderName?: string;
|
|
2847
|
+
uploadToken?: string;
|
|
2613
2848
|
}
|
|
2614
2849
|
export interface PageNavigationContext {
|
|
2615
2850
|
parent?: PageNavigationNode;
|
|
2616
|
-
siblings
|
|
2851
|
+
siblings?: PageNavigationNode[];
|
|
2617
2852
|
children?: PageNavigationNode[];
|
|
2618
2853
|
}
|
|
2619
2854
|
export enum PageType {
|
|
@@ -2715,7 +2950,17 @@ declare module "libs/reach/util/common/src/content/useClearUnreadItems" {
|
|
|
2715
2950
|
onStarted?: () => unknown;
|
|
2716
2951
|
onFinished?: () => unknown;
|
|
2717
2952
|
}
|
|
2718
|
-
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers): () => Promise<void>;
|
|
2953
|
+
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
2954
|
+
}
|
|
2955
|
+
declare module "libs/reach/util/common/src/content/useClearUnreadOnlyFilter" {
|
|
2956
|
+
export function useClearUnreadOnlyFilter(): {
|
|
2957
|
+
clearUnreadOnlyFilter: () => void;
|
|
2958
|
+
};
|
|
2959
|
+
}
|
|
2960
|
+
declare module "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler" {
|
|
2961
|
+
export function useUnreadItemsTogglerHandler(): {
|
|
2962
|
+
toggleUnreadItems: () => void;
|
|
2963
|
+
};
|
|
2719
2964
|
}
|
|
2720
2965
|
declare module "libs/reach/util/common/src/content/index" {
|
|
2721
2966
|
export * from "libs/reach/util/common/src/content/Attachment";
|
|
@@ -2740,6 +2985,8 @@ declare module "libs/reach/util/common/src/content/index" {
|
|
|
2740
2985
|
export * from "libs/reach/util/common/src/content/useFileApi";
|
|
2741
2986
|
export * from "libs/reach/util/common/src/content/content-keyword-utils";
|
|
2742
2987
|
export * from "libs/reach/util/common/src/content/useClearUnreadItems";
|
|
2988
|
+
export * from "libs/reach/util/common/src/content/useClearUnreadOnlyFilter";
|
|
2989
|
+
export * from "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler";
|
|
2743
2990
|
}
|
|
2744
2991
|
declare module "libs/reach/util/common/src/Variables" {
|
|
2745
2992
|
export const maxContentWidth = 985;
|
|
@@ -2840,6 +3087,7 @@ declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
|
2840
3087
|
}
|
|
2841
3088
|
declare module "libs/reach/util/common/src/notification/ToastNotificationHost" {
|
|
2842
3089
|
import { FC } from 'react';
|
|
3090
|
+
import 'react-toastify/dist/ReactToastify.min.css';
|
|
2843
3091
|
export const ToastNotificationHost: FC;
|
|
2844
3092
|
}
|
|
2845
3093
|
declare module "libs/reach/util/common/src/notification/index" {
|
|
@@ -2858,6 +3106,7 @@ declare module "libs/reach/util/common/src/keywords/SubscriptionContext" {
|
|
|
2858
3106
|
selectedKeywordGroups?: KeywordGroup[];
|
|
2859
3107
|
}
|
|
2860
3108
|
export const LazySubscriptionContext: import("react").Context<SubscriptionData & {
|
|
3109
|
+
getChannels: () => Promise<Channel[]>;
|
|
2861
3110
|
refreshSubscription: () => void;
|
|
2862
3111
|
}>;
|
|
2863
3112
|
export const EnforcedSubscriptionContext: import("react").Context<SubscriptionData & {
|
|
@@ -2903,69 +3152,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
|
2903
3152
|
}
|
|
2904
3153
|
export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
|
|
2905
3154
|
}
|
|
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
3155
|
declare module "libs/reach/util/common/src/PagingService" {
|
|
2970
3156
|
import { Observable } from 'rxjs';
|
|
2971
3157
|
export const onPageScroll: Observable<number>;
|
|
@@ -3146,12 +3332,14 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3146
3332
|
placeholderStringResourceKey?: string;
|
|
3147
3333
|
autoFocus?: boolean;
|
|
3148
3334
|
inputId?: string;
|
|
3335
|
+
inputAriaLabelResourceKey?: string;
|
|
3336
|
+
required?: boolean;
|
|
3149
3337
|
className?: string;
|
|
3150
3338
|
}
|
|
3151
3339
|
export const PeoplePicker: FC<Props>;
|
|
3152
3340
|
}
|
|
3153
3341
|
declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
3154
|
-
import { Account, AccountType, useCurrentUser, useNotificationContext, usePluginSettings,
|
|
3342
|
+
import { Account, AccountType, PluginProps, PluginNavigationNodeProps, useCurrentUser, useNotificationContext, usePluginSettings, usePluginDeviceStore, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useTheme, usePluginSubscriptionStore, usePluginUserStore } from "libs/reach/util/common/src/index";
|
|
3155
3343
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3156
3344
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3157
3345
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3164,8 +3352,12 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3164
3352
|
import { GutterToggle } from "libs/reach/ui/common/src/GutterToggle";
|
|
3165
3353
|
import { PeoplePicker } from "libs/reach/ui/common/src/PeoplePicker";
|
|
3166
3354
|
import { useAccountApi } from "libs/reach/util/common/src/index";
|
|
3167
|
-
export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings,
|
|
3168
|
-
|
|
3355
|
+
export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings,
|
|
3356
|
+
/**
|
|
3357
|
+
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3358
|
+
*/
|
|
3359
|
+
usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginUserStore, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, };
|
|
3360
|
+
export type { Account, PluginNavigationNodeProps, PluginProps };
|
|
3169
3361
|
}
|
|
3170
3362
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3171
3363
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3183,7 +3375,6 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3183
3375
|
}
|
|
3184
3376
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3185
3377
|
import { FC } from 'react';
|
|
3186
|
-
import 'react-toastify/dist/ReactToastify.min.css';
|
|
3187
3378
|
export const NotificationBar: FC;
|
|
3188
3379
|
}
|
|
3189
3380
|
declare module "libs/reach/ui/common/src/common/AttachedMediaDownloadLink" {
|
|
@@ -3228,7 +3419,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
|
3228
3419
|
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3229
3420
|
}
|
|
3230
3421
|
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3231
|
-
import { BaseSubscription, CurrentUser, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3422
|
+
import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3232
3423
|
import { IntlShape } from 'react-intl';
|
|
3233
3424
|
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3234
3425
|
export function isValidUrl(url: string): boolean;
|
|
@@ -3240,9 +3431,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
|
|
|
3240
3431
|
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3241
3432
|
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3242
3433
|
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:
|
|
3434
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3435
|
+
logoInfo: LogoInfo;
|
|
3436
|
+
subscriptionName: string;
|
|
3246
3437
|
};
|
|
3247
3438
|
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3248
3439
|
export function delay(delayInMs: number): Promise<unknown>;
|
|
@@ -3262,8 +3453,8 @@ declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
|
3262
3453
|
}
|
|
3263
3454
|
declare module "libs/reach/ui/common/src/common/Callout" {
|
|
3264
3455
|
import { FC } from 'react';
|
|
3265
|
-
import {
|
|
3266
|
-
export const Callout: FC<
|
|
3456
|
+
import { IFocusTrapCalloutProps } from 'office-ui-fabric-react';
|
|
3457
|
+
export const Callout: FC<IFocusTrapCalloutProps>;
|
|
3267
3458
|
}
|
|
3268
3459
|
declare module "libs/reach/ui/common/src/common/CommentInputTheme" {
|
|
3269
3460
|
export type CommentInputTheme = 'light' | 'dark';
|
|
@@ -3275,6 +3466,7 @@ declare module "libs/reach/ui/common/src/common/ConfirmDeleteDialog" {
|
|
|
3275
3466
|
titleResourceValues?: any;
|
|
3276
3467
|
infoResourceKey: string;
|
|
3277
3468
|
infoResourceValues?: any;
|
|
3469
|
+
inputAriaLabelResourceKey: string;
|
|
3278
3470
|
compareValue: string;
|
|
3279
3471
|
onConfirm: () => any;
|
|
3280
3472
|
onCancel: () => any;
|
|
@@ -3340,12 +3532,13 @@ declare module "libs/reach/ui/common/src/common/Dropdown" {
|
|
|
3340
3532
|
export const Dropdown: FC<IDropdownProps>;
|
|
3341
3533
|
}
|
|
3342
3534
|
declare module "libs/reach/ui/common/src/common/EmptyList" {
|
|
3535
|
+
import { FC } from 'react';
|
|
3343
3536
|
interface EmptyListProps {
|
|
3344
3537
|
icon?: string;
|
|
3345
3538
|
emptyMessageResources?: string[];
|
|
3346
3539
|
className?: string;
|
|
3347
3540
|
}
|
|
3348
|
-
export const EmptyList:
|
|
3541
|
+
export const EmptyList: FC<EmptyListProps>;
|
|
3349
3542
|
}
|
|
3350
3543
|
declare module "libs/reach/ui/common/src/common/EnumHelpers" {
|
|
3351
3544
|
export const hasFlag: (baseValue: any, flag: any) => boolean;
|
|
@@ -3496,18 +3689,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
|
|
|
3496
3689
|
date: string;
|
|
3497
3690
|
}>;
|
|
3498
3691
|
}
|
|
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
3692
|
declare module "libs/reach/ui/common/src/common/IconLabel" {
|
|
3512
3693
|
import { FC, ReactNode } from 'react';
|
|
3513
3694
|
export const IconLabel: FC<{
|
|
@@ -3546,8 +3727,10 @@ declare module "libs/reach/ui/common/src/common/KeywordTitle" {
|
|
|
3546
3727
|
groupName?: string;
|
|
3547
3728
|
groupId?: string;
|
|
3548
3729
|
keywordName?: string;
|
|
3730
|
+
keywordId?: string;
|
|
3549
3731
|
language?: string;
|
|
3550
3732
|
underlined?: boolean;
|
|
3733
|
+
onClick?: (keyword: string) => unknown;
|
|
3551
3734
|
}
|
|
3552
3735
|
export const KeywordTitle: FC<Props>;
|
|
3553
3736
|
export const GridKeywordTitle: FC<{
|
|
@@ -3562,7 +3745,7 @@ declare module "libs/reach/ui/common/src/common/Logos" {
|
|
|
3562
3745
|
export { ReactComponent as WhiteDefaultLogoWithText } from './logos/logo-white-with-name.svg';
|
|
3563
3746
|
export { ReactComponent as LogoPurpleXL } from './logos/logo-purple-xl.svg';
|
|
3564
3747
|
export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
|
|
3565
|
-
export { ReactComponent as
|
|
3748
|
+
export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
|
|
3566
3749
|
}
|
|
3567
3750
|
declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
|
|
3568
3751
|
import { FC } from 'react';
|
|
@@ -3622,11 +3805,24 @@ declare module "libs/reach/ui/common/src/common/Prompt" {
|
|
|
3622
3805
|
}
|
|
3623
3806
|
export const Prompt: FC<Props>;
|
|
3624
3807
|
}
|
|
3808
|
+
declare module "libs/reach/ui/common/src/common/buttons/IconHeaderButton" {
|
|
3809
|
+
import { FC } from 'react';
|
|
3810
|
+
export const IconHeaderButton: FC<{
|
|
3811
|
+
icon: string;
|
|
3812
|
+
isActive?: boolean;
|
|
3813
|
+
disabled?: boolean;
|
|
3814
|
+
tooltipResourceKey?: string;
|
|
3815
|
+
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3816
|
+
link?: string;
|
|
3817
|
+
className?: string;
|
|
3818
|
+
}>;
|
|
3819
|
+
}
|
|
3625
3820
|
declare module "libs/reach/ui/common/src/common/toolbar/ToolbarIconButtonWithToolTip" {
|
|
3626
3821
|
import { FC } from 'react';
|
|
3627
3822
|
export interface ToolbarIconButtonProps {
|
|
3628
3823
|
iconName: string;
|
|
3629
|
-
|
|
3824
|
+
ariaLabel?: string;
|
|
3825
|
+
ariaLabelResourceKey?: string;
|
|
3630
3826
|
onClick?: () => unknown;
|
|
3631
3827
|
to?: string;
|
|
3632
3828
|
target?: string;
|
|
@@ -3655,6 +3851,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
|
|
|
3655
3851
|
onSearchTextChange?: (text: string) => void;
|
|
3656
3852
|
onExecuteSearch?: (text: string) => void;
|
|
3657
3853
|
searchText?: string;
|
|
3854
|
+
showSearchBoxInput?: boolean;
|
|
3658
3855
|
}
|
|
3659
3856
|
export const SearchBox: FC<SearchBoxProps & {
|
|
3660
3857
|
onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
|
|
@@ -3733,8 +3930,7 @@ declare module "libs/reach/ui/common/src/common/buttons/ChoiceGroup" {
|
|
|
3733
3930
|
}
|
|
3734
3931
|
declare module "libs/reach/ui/common/src/common/buttons/CommentActionMenu" {
|
|
3735
3932
|
import { FC } from 'react';
|
|
3736
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
3737
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
3933
|
+
import { Account, Comment } from "libs/reach/util/common/src/index";
|
|
3738
3934
|
export const CommentActionMenu: FC<{
|
|
3739
3935
|
comment: Comment;
|
|
3740
3936
|
showEdit: boolean;
|
|
@@ -3780,6 +3976,21 @@ declare module "libs/reach/ui/common/src/common/buttons/TopActionButton" {
|
|
|
3780
3976
|
}
|
|
3781
3977
|
export const TopActionButton: import("styled-components").StyledComponent<import("react").FC<Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
3782
3978
|
}
|
|
3979
|
+
declare module "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler" {
|
|
3980
|
+
import { FC } from 'react';
|
|
3981
|
+
export const UnreadItemsToggler: FC<{
|
|
3982
|
+
disabled: boolean;
|
|
3983
|
+
className?: string;
|
|
3984
|
+
}>;
|
|
3985
|
+
}
|
|
3986
|
+
declare module "libs/reach/ui/common/src/common/buttons/HeaderMenuButton" {
|
|
3987
|
+
import { FC } from 'react';
|
|
3988
|
+
import { IContextualMenuItem } from 'office-ui-fabric-react';
|
|
3989
|
+
export const HeaderMenuButton: FC<{
|
|
3990
|
+
items: IContextualMenuItem[];
|
|
3991
|
+
className?: string;
|
|
3992
|
+
}>;
|
|
3993
|
+
}
|
|
3783
3994
|
declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
|
|
3784
3995
|
import { FC } from 'react';
|
|
3785
3996
|
import { Channel } from "libs/reach/util/common/src/index";
|
|
@@ -3830,6 +4041,7 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelList" {
|
|
|
3830
4041
|
language: string;
|
|
3831
4042
|
channelStyleDefinition?: ChannelStyleDefinition;
|
|
3832
4043
|
visibleChannelsCount?: number;
|
|
4044
|
+
onChannelClick?: (channel: string) => unknown;
|
|
3833
4045
|
className?: string;
|
|
3834
4046
|
}>;
|
|
3835
4047
|
}
|
|
@@ -3848,6 +4060,8 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelSelector" {
|
|
|
3848
4060
|
showSelectionToggle?: boolean;
|
|
3849
4061
|
placeholder?: string;
|
|
3850
4062
|
inlineControls?: boolean;
|
|
4063
|
+
required?: boolean;
|
|
4064
|
+
id?: string;
|
|
3851
4065
|
}
|
|
3852
4066
|
export const ChannelSelector: FC<Props>;
|
|
3853
4067
|
}
|
|
@@ -3859,6 +4073,7 @@ declare module "libs/reach/ui/common/src/common/channels/ClickableChannelTitles"
|
|
|
3859
4073
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
3860
4074
|
language?: string;
|
|
3861
4075
|
channelBackgroundColor?: string;
|
|
4076
|
+
onClick?: (channel: string) => unknown;
|
|
3862
4077
|
className?: string;
|
|
3863
4078
|
}>;
|
|
3864
4079
|
}
|
|
@@ -4104,7 +4319,7 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
|
|
|
4104
4319
|
declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
|
|
4105
4320
|
import { DependencyList } from 'react';
|
|
4106
4321
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4107
|
-
export function useItemLoaderWithPreFetch(pageSize: number, handler: (pageSize: number,
|
|
4322
|
+
export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: (pageSize: number, token?: TTokenType) => Promise<PaginatedList<TItem>>, deps?: DependencyList): {
|
|
4108
4323
|
items: any[];
|
|
4109
4324
|
isInitialLoading: boolean;
|
|
4110
4325
|
isLoadingNextPage: boolean;
|
|
@@ -4117,6 +4332,21 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
|
|
|
4117
4332
|
isEmpty: boolean;
|
|
4118
4333
|
};
|
|
4119
4334
|
}
|
|
4335
|
+
declare module "libs/reach/ui/common/src/common/paging/PaginationStatus" {
|
|
4336
|
+
import { FC } from 'react';
|
|
4337
|
+
export const PaginationStatus: FC<{
|
|
4338
|
+
allLoadedResourceId: string;
|
|
4339
|
+
showAllLoaded: boolean;
|
|
4340
|
+
showSpinner?: boolean;
|
|
4341
|
+
showPlaceholder?: boolean;
|
|
4342
|
+
}>;
|
|
4343
|
+
}
|
|
4344
|
+
declare module "libs/reach/ui/common/src/common/paging/usePageScrollPagination" {
|
|
4345
|
+
import { DependencyList } from 'react';
|
|
4346
|
+
export function usePageScrollPagination(loadMoreItems: () => Promise<void>, allItemsLoaded?: boolean, additionalDeps?: DependencyList): {
|
|
4347
|
+
isLoadingMore: boolean;
|
|
4348
|
+
};
|
|
4349
|
+
}
|
|
4120
4350
|
declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
|
|
4121
4351
|
import { FC, ReactNode } from 'react';
|
|
4122
4352
|
export const PullToRefreshContext: import("react").Context<{
|
|
@@ -4168,6 +4398,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarMarkAllAsReadButt
|
|
|
4168
4398
|
onMarkAsReadStarted?: () => unknown;
|
|
4169
4399
|
onMarkAsReadFinished?: () => unknown;
|
|
4170
4400
|
disabled?: boolean;
|
|
4401
|
+
unreadCount?: number;
|
|
4171
4402
|
}
|
|
4172
4403
|
export const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
4173
4404
|
export const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
@@ -4351,7 +4582,6 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4351
4582
|
export * from "libs/reach/ui/common/src/common/FloatingActionButton";
|
|
4352
4583
|
export * from "libs/reach/ui/common/src/common/FormattedMessageWithStyle";
|
|
4353
4584
|
export * from "libs/reach/ui/common/src/common/GroupedByDateTitles";
|
|
4354
|
-
export * from "libs/reach/ui/common/src/common/IconHeaderButton";
|
|
4355
4585
|
export * from "libs/reach/ui/common/src/common/IconLabel";
|
|
4356
4586
|
export * from "libs/reach/ui/common/src/common/ItemStatisticsCache";
|
|
4357
4587
|
export * from "libs/reach/ui/common/src/common/KeywordTitle";
|
|
@@ -4382,6 +4612,9 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4382
4612
|
export * from "libs/reach/ui/common/src/common/buttons/DeleteAttachmentButton";
|
|
4383
4613
|
export * from "libs/reach/ui/common/src/common/buttons/ToggleAllButtons";
|
|
4384
4614
|
export * from "libs/reach/ui/common/src/common/buttons/TopActionButton";
|
|
4615
|
+
export * from "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler";
|
|
4616
|
+
export * from "libs/reach/ui/common/src/common/buttons/IconHeaderButton";
|
|
4617
|
+
export * from "libs/reach/ui/common/src/common/buttons/HeaderMenuButton";
|
|
4385
4618
|
export * from "libs/reach/ui/common/src/common/channels/ChannelItem";
|
|
4386
4619
|
export * from "libs/reach/ui/common/src/common/channels/ChannelList";
|
|
4387
4620
|
export * from "libs/reach/ui/common/src/common/channels/ChannelSelector";
|
|
@@ -4410,6 +4643,8 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4410
4643
|
export * from "libs/reach/ui/common/src/common/paging/HorizontalPager";
|
|
4411
4644
|
export * from "libs/reach/ui/common/src/common/paging/VerticalPager";
|
|
4412
4645
|
export * from "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch";
|
|
4646
|
+
export * from "libs/reach/ui/common/src/common/paging/PaginationStatus";
|
|
4647
|
+
export * from "libs/reach/ui/common/src/common/paging/usePageScrollPagination";
|
|
4413
4648
|
export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
|
|
4414
4649
|
export * from "libs/reach/ui/common/src/common/refreshScripts";
|
|
4415
4650
|
export * from "libs/reach/ui/common/src/common/toolbar/Toolbar";
|
|
@@ -4490,10 +4725,10 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4490
4725
|
export function useEscapeOnClose(onClose: Function): void;
|
|
4491
4726
|
}
|
|
4492
4727
|
declare module "apps/reach-app/src/app/chrome/Header" {
|
|
4493
|
-
import { FC, ReactNode } from 'react';
|
|
4728
|
+
import { FC, Dispatch, SetStateAction, ReactNode, HTMLProps } from 'react';
|
|
4494
4729
|
import './Header.scss';
|
|
4495
4730
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
4496
|
-
interface Props extends
|
|
4731
|
+
interface Props extends HTMLProps<HTMLElement>, SearchBoxProps {
|
|
4497
4732
|
iconLeft?: string;
|
|
4498
4733
|
onToggleLeft?: () => void;
|
|
4499
4734
|
onToggleRight?: () => void;
|
|
@@ -4509,6 +4744,14 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
4509
4744
|
disableGoBack?: boolean;
|
|
4510
4745
|
route?: string;
|
|
4511
4746
|
}
|
|
4747
|
+
export interface HeaderContextType {
|
|
4748
|
+
setIsSearchInputFieldVisible: Dispatch<SetStateAction<boolean>>;
|
|
4749
|
+
isSearchInputFieldVisible: boolean;
|
|
4750
|
+
}
|
|
4751
|
+
export const HeaderContext: import("react").Context<HeaderContextType>;
|
|
4752
|
+
export const HeaderContextProvider: FC<{
|
|
4753
|
+
children: ReactNode;
|
|
4754
|
+
}>;
|
|
4512
4755
|
export const Header: FC<Props>;
|
|
4513
4756
|
}
|
|
4514
4757
|
declare module "apps/reach-app/src/app/chrome/FloatingPageActions" {
|
|
@@ -4623,17 +4866,19 @@ declare module "apps/reach-app/src/app/admin/AddButton" {
|
|
|
4623
4866
|
icon?: string;
|
|
4624
4867
|
tooltipResourceKey?: string;
|
|
4625
4868
|
labelResourceKey?: string;
|
|
4869
|
+
domIdentifier?: string;
|
|
4626
4870
|
className?: string;
|
|
4627
4871
|
}
|
|
4628
4872
|
export const AddButton: FC<AddButtonProps>;
|
|
4629
4873
|
}
|
|
4630
4874
|
declare module "apps/reach-app/src/app/admin/common" {
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4875
|
+
import { FC, ReactNode } from 'react';
|
|
4876
|
+
export const AdminPage: FC<{
|
|
4877
|
+
children: ReactNode;
|
|
4878
|
+
className?: string;
|
|
4634
4879
|
domIdentifier?: string;
|
|
4635
4880
|
}>;
|
|
4636
|
-
export const
|
|
4881
|
+
export const AdminPageTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
|
|
4637
4882
|
}
|
|
4638
4883
|
declare module "apps/reach-app/src/app/admin/keywords/useKeywordsApi" {
|
|
4639
4884
|
import { KeywordGroup } from "libs/reach/util/common/src/index";
|
|
@@ -4665,7 +4910,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
|
|
|
4665
4910
|
}
|
|
4666
4911
|
declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
4667
4912
|
import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
|
|
4668
|
-
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions } from "libs/reach/util/common/src/index";
|
|
4913
|
+
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
|
|
4669
4914
|
import { Account } from "libs/reach/util/common/src/index";
|
|
4670
4915
|
import { Language } from "libs/reach/util/common/src/index";
|
|
4671
4916
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -4680,7 +4925,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
4680
4925
|
setSubscriptionName: (name: string) => Promise<string>;
|
|
4681
4926
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
4682
4927
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
4683
|
-
updateLogo: (file?: File) => Promise<void>;
|
|
4928
|
+
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
4684
4929
|
updateFavicon: (file?: File) => Promise<void>;
|
|
4685
4930
|
updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
|
|
4686
4931
|
linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
|
|
@@ -4729,6 +4974,42 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
|
|
|
4729
4974
|
import './ApplicationName.scss';
|
|
4730
4975
|
export const ApplicationName: FC;
|
|
4731
4976
|
}
|
|
4977
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
|
|
4978
|
+
import { FC } from 'react';
|
|
4979
|
+
export const AppBarLogoPreview: FC<{
|
|
4980
|
+
src: string;
|
|
4981
|
+
subscriptionName: string;
|
|
4982
|
+
}>;
|
|
4983
|
+
export const SidePanelLogoPreview: FC<{
|
|
4984
|
+
src: string;
|
|
4985
|
+
subscriptionName: string;
|
|
4986
|
+
}>;
|
|
4987
|
+
export const EmailLogoPreview: FC<{
|
|
4988
|
+
src: string;
|
|
4989
|
+
subscriptionName: string;
|
|
4990
|
+
}>;
|
|
4991
|
+
export const SignInLogoPreview: FC<{
|
|
4992
|
+
src: string;
|
|
4993
|
+
}>;
|
|
4994
|
+
}
|
|
4995
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
|
|
4996
|
+
import { FC } from 'react';
|
|
4997
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
4998
|
+
export const LogoPreviewDialog: FC<{
|
|
4999
|
+
canSave: boolean;
|
|
5000
|
+
onDismiss: () => unknown;
|
|
5001
|
+
onSave: (logoSize: LogoSize) => unknown;
|
|
5002
|
+
source: string;
|
|
5003
|
+
logoType: LogoSize;
|
|
5004
|
+
}>;
|
|
5005
|
+
}
|
|
5006
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
|
|
5007
|
+
import { FC } from 'react';
|
|
5008
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5009
|
+
export const LogoEditor: FC<{
|
|
5010
|
+
logoType: LogoSize;
|
|
5011
|
+
}>;
|
|
5012
|
+
}
|
|
4732
5013
|
declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
|
|
4733
5014
|
import { FC } from 'react';
|
|
4734
5015
|
export const ApplicationLogo: FC;
|
|
@@ -5490,6 +5771,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
|
|
|
5490
5771
|
}
|
|
5491
5772
|
export const GoToAdminConsentButton: React.FC<Props>;
|
|
5492
5773
|
}
|
|
5774
|
+
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
5775
|
+
import { IntlShape } from 'react-intl';
|
|
5776
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
5777
|
+
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
5778
|
+
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
5779
|
+
export const systemAccountGroupIds: {
|
|
5780
|
+
everyone: string;
|
|
5781
|
+
directoryUsers: string;
|
|
5782
|
+
nonDirectoryUsers: string;
|
|
5783
|
+
allGroups: string[];
|
|
5784
|
+
};
|
|
5785
|
+
export function getDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5786
|
+
export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5787
|
+
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
5788
|
+
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
5789
|
+
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
5790
|
+
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
5791
|
+
export const isAdGroup: (account: Account) => boolean;
|
|
5792
|
+
export const isUser: (account: Account) => boolean;
|
|
5793
|
+
}
|
|
5493
5794
|
declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
|
|
5494
5795
|
import { FC } from 'react';
|
|
5495
5796
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -5855,23 +6156,19 @@ declare module "apps/reach-app/src/app/chrome/BaseSidebarItem" {
|
|
|
5855
6156
|
}
|
|
5856
6157
|
declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
5857
6158
|
import { FC } from 'react';
|
|
5858
|
-
|
|
5859
|
-
backgroundColor: string;
|
|
5860
|
-
color: string;
|
|
5861
|
-
}
|
|
6159
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
5862
6160
|
export const SidebarItemSection: FC<{
|
|
5863
|
-
styleDefinition?:
|
|
6161
|
+
styleDefinition?: ColorStyleDefinition;
|
|
5864
6162
|
}>;
|
|
5865
6163
|
}
|
|
5866
6164
|
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
5867
|
-
import
|
|
6165
|
+
import { FC, ReactNode } from 'react';
|
|
6166
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
5868
6167
|
import './SidebarItem.scss';
|
|
5869
|
-
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
5870
6168
|
import { LocationDescriptor } from 'history';
|
|
5871
|
-
import {
|
|
5872
|
-
import { ReactNode } from 'react';
|
|
6169
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
5873
6170
|
interface CommonSidebarItemProps {
|
|
5874
|
-
title?:
|
|
6171
|
+
title?: string | JSX.Element;
|
|
5875
6172
|
titleResource?: string;
|
|
5876
6173
|
icon?: ReactNode;
|
|
5877
6174
|
iconName?: string;
|
|
@@ -5883,14 +6180,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5883
6180
|
reverse?: boolean;
|
|
5884
6181
|
notHighlightable?: boolean;
|
|
5885
6182
|
onClick?: () => void;
|
|
5886
|
-
children?: any;
|
|
5887
6183
|
className?: string;
|
|
5888
6184
|
isActive?: boolean;
|
|
5889
6185
|
activeClassName?: string;
|
|
5890
6186
|
readOnly?: boolean;
|
|
5891
6187
|
submenu?: JSX.Element;
|
|
5892
6188
|
submenuClassName?: string;
|
|
5893
|
-
submenuStyleDefinition?:
|
|
6189
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
5894
6190
|
badgeInfo?: number | boolean;
|
|
5895
6191
|
domIdentifier?: string;
|
|
5896
6192
|
}
|
|
@@ -5902,13 +6198,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5902
6198
|
secondaryIconRoute?: LocationDescriptor;
|
|
5903
6199
|
isHoverable?: boolean;
|
|
5904
6200
|
}
|
|
5905
|
-
export const SidebarItem:
|
|
6201
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
5906
6202
|
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
5907
|
-
route:
|
|
6203
|
+
route: LocationDescriptor;
|
|
5908
6204
|
exact?: boolean;
|
|
5909
6205
|
linkClassName?: string;
|
|
5910
6206
|
}
|
|
5911
|
-
export const NavLinkSidebarItem:
|
|
6207
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
5912
6208
|
}
|
|
5913
6209
|
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
5914
6210
|
import { WrappedComponentProps } from 'react-intl';
|
|
@@ -6001,24 +6297,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
|
6001
6297
|
import { FC } from 'react';
|
|
6002
6298
|
export const GroupListPage: FC;
|
|
6003
6299
|
}
|
|
6004
|
-
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
6005
|
-
import { IntlShape } from 'react-intl';
|
|
6006
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
6007
|
-
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
6008
|
-
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
6009
|
-
export const systemAccountGroupIds: {
|
|
6010
|
-
everyone: string;
|
|
6011
|
-
directoryUsers: string;
|
|
6012
|
-
nonDirectoryUsers: string;
|
|
6013
|
-
allGroups: string[];
|
|
6014
|
-
};
|
|
6015
|
-
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
6016
|
-
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
6017
|
-
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
6018
|
-
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
6019
|
-
export const isAdGroup: (account: Account) => boolean;
|
|
6020
|
-
export const isUser: (account: Account) => boolean;
|
|
6021
|
-
}
|
|
6022
6300
|
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
6023
6301
|
import { FC } from 'react';
|
|
6024
6302
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -6197,7 +6475,6 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
|
6197
6475
|
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
6198
6476
|
import { ReactNode } from 'react';
|
|
6199
6477
|
import { Account } from "libs/reach/util/common/src/index";
|
|
6200
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
6201
6478
|
export interface UserSuggestion {
|
|
6202
6479
|
id: string;
|
|
6203
6480
|
upn: string;
|
|
@@ -6217,13 +6494,18 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
|
6217
6494
|
onCtrlEnter?: () => unknown;
|
|
6218
6495
|
onChange?: (value: string) => void;
|
|
6219
6496
|
onFocus?: () => void;
|
|
6220
|
-
|
|
6497
|
+
additionalInputControl?: ReactNode;
|
|
6498
|
+
buttons?: {
|
|
6499
|
+
leftSide?: ReactNode;
|
|
6500
|
+
rightSide?: ReactNode;
|
|
6501
|
+
};
|
|
6221
6502
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6222
|
-
inputTheme?: CommentInputTheme;
|
|
6223
6503
|
placeHolderStringResourceKey?: string;
|
|
6224
6504
|
placeHolderStringResourceValues?: {
|
|
6225
6505
|
[key: string]: string | number | boolean | Date;
|
|
6226
6506
|
};
|
|
6507
|
+
disableBoxShadow?: boolean;
|
|
6508
|
+
ariaLabel?: string;
|
|
6227
6509
|
}
|
|
6228
6510
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6229
6511
|
}
|
|
@@ -6237,18 +6519,6 @@ declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
|
6237
6519
|
isLarge: boolean;
|
|
6238
6520
|
}>;
|
|
6239
6521
|
}
|
|
6240
|
-
declare module "libs/reach/feature/content/src/comments/KeywordsPicker" {
|
|
6241
|
-
import { FC } from 'react';
|
|
6242
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6243
|
-
export const KeywordsPicker: FC<{
|
|
6244
|
-
defaultKeywords?: {
|
|
6245
|
-
[key: string]: Keyword[];
|
|
6246
|
-
};
|
|
6247
|
-
availableKeywords?: Keyword[];
|
|
6248
|
-
mandatoryKeywords?: Keyword[];
|
|
6249
|
-
onChangeKeywords: (keywords: Keyword[]) => void;
|
|
6250
|
-
}>;
|
|
6251
|
-
}
|
|
6252
6522
|
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
6253
6523
|
import { VideoSource } from "libs/reach/util/common/src/index";
|
|
6254
6524
|
export interface KalturaProperties {
|
|
@@ -6263,6 +6533,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6263
6533
|
private static vimeoRegex;
|
|
6264
6534
|
private static microsoftStreamRegex;
|
|
6265
6535
|
private static vimeoDirectLinkRegex;
|
|
6536
|
+
private static vimeoRedirectLinkRegex;
|
|
6266
6537
|
private static kalturaRegex;
|
|
6267
6538
|
readonly source: VideoSource | null;
|
|
6268
6539
|
readonly id: string | null;
|
|
@@ -6270,9 +6541,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6270
6541
|
readonly videoProperties: any;
|
|
6271
6542
|
readonly thumbnailUrl: string;
|
|
6272
6543
|
constructor(url: string);
|
|
6273
|
-
isValid(): boolean;
|
|
6544
|
+
isValid(features?: any): boolean;
|
|
6274
6545
|
}
|
|
6546
|
+
export function getVideoSources(features: any): any[];
|
|
6275
6547
|
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6548
|
+
export function getAllVideoSources(features: any): any[];
|
|
6276
6549
|
}
|
|
6277
6550
|
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6278
6551
|
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
@@ -6300,9 +6573,9 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
|
6300
6573
|
}
|
|
6301
6574
|
}
|
|
6302
6575
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
6303
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6576
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6304
6577
|
export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
|
|
6305
|
-
keywords?:
|
|
6578
|
+
keywords?: FilterWithLogicalOperator;
|
|
6306
6579
|
}
|
|
6307
6580
|
}
|
|
6308
6581
|
declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
|
|
@@ -6327,6 +6600,14 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6327
6600
|
export interface IndexableFilterDefinition {
|
|
6328
6601
|
[key: string]: any;
|
|
6329
6602
|
}
|
|
6603
|
+
export interface FilterWithLogicalOperator {
|
|
6604
|
+
items?: string[];
|
|
6605
|
+
operator?: LogicalOperator;
|
|
6606
|
+
}
|
|
6607
|
+
export enum LogicalOperator {
|
|
6608
|
+
Or = "or",
|
|
6609
|
+
And = "and"
|
|
6610
|
+
}
|
|
6330
6611
|
}
|
|
6331
6612
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6332
6613
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
@@ -6349,12 +6630,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
|
|
|
6349
6630
|
contacts?: string[];
|
|
6350
6631
|
}
|
|
6351
6632
|
}
|
|
6633
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6634
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6635
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6636
|
+
channels?: FilterWithLogicalOperator;
|
|
6637
|
+
}
|
|
6638
|
+
}
|
|
6352
6639
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6353
6640
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6354
6641
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6355
6642
|
import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6356
6643
|
import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6357
|
-
|
|
6644
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6645
|
+
export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
|
|
6358
6646
|
excludePastEvents?: boolean;
|
|
6359
6647
|
pastEventsOnly?: boolean;
|
|
6360
6648
|
}
|
|
@@ -6365,26 +6653,19 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6365
6653
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6366
6654
|
export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6367
6655
|
}
|
|
6368
|
-
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6369
|
-
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6370
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6371
|
-
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6372
|
-
export function useEventsApi(): {
|
|
6373
|
-
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6374
|
-
getEvent: (id: string) => Promise<EventItem>;
|
|
6375
|
-
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6376
|
-
};
|
|
6377
|
-
}
|
|
6378
6656
|
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6379
6657
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6380
6658
|
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6381
6659
|
author?: string;
|
|
6382
6660
|
}
|
|
6383
6661
|
}
|
|
6384
|
-
declare module "libs/reach/feature/content/src/filter/
|
|
6662
|
+
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6385
6663
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6386
|
-
export interface
|
|
6387
|
-
|
|
6664
|
+
export interface FilteringProps {
|
|
6665
|
+
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6666
|
+
onShowFilterPanel?: () => unknown;
|
|
6667
|
+
onToggleFilterSidebar?: () => unknown;
|
|
6668
|
+
isFilterActive?: boolean;
|
|
6388
6669
|
}
|
|
6389
6670
|
}
|
|
6390
6671
|
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
@@ -6405,6 +6686,95 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6405
6686
|
unreadOnly?: boolean;
|
|
6406
6687
|
}
|
|
6407
6688
|
}
|
|
6689
|
+
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6690
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6691
|
+
export enum ItemType {
|
|
6692
|
+
None = 0,
|
|
6693
|
+
News = 1,
|
|
6694
|
+
Post = 2,
|
|
6695
|
+
Page = 4,
|
|
6696
|
+
Event = 8
|
|
6697
|
+
}
|
|
6698
|
+
export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
|
|
6699
|
+
itemType?: ItemType;
|
|
6700
|
+
}
|
|
6701
|
+
}
|
|
6702
|
+
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
6703
|
+
import { FC } from 'react';
|
|
6704
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6705
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6706
|
+
export interface InjectedFilterProps {
|
|
6707
|
+
filter: IndexableFilterDefinition;
|
|
6708
|
+
hasFilter: boolean;
|
|
6709
|
+
isSearchActive: boolean;
|
|
6710
|
+
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6711
|
+
onSearchChange: (text: string) => void;
|
|
6712
|
+
onClearFilter: () => void;
|
|
6713
|
+
}
|
|
6714
|
+
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
6715
|
+
filter: Partial<IndexableFilterDefinition>;
|
|
6716
|
+
hasFilter: boolean;
|
|
6717
|
+
isSearchActive: boolean;
|
|
6718
|
+
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
6719
|
+
onSearchChange: (search: string) => void;
|
|
6720
|
+
onClearFilter: () => void;
|
|
6721
|
+
};
|
|
6722
|
+
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
6723
|
+
export const FilterContextProvider: FC<{
|
|
6724
|
+
addFilters?: (locationParams: {
|
|
6725
|
+
[paramName: string]: any;
|
|
6726
|
+
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
6727
|
+
additionalExcludedFilterProperties?: string[];
|
|
6728
|
+
onClearQueryString?: (prev: any, next: any) => any;
|
|
6729
|
+
}>;
|
|
6730
|
+
export interface FilterVisibilityState {
|
|
6731
|
+
showFilterAsPanel?: boolean;
|
|
6732
|
+
showFilterSidebar?: boolean;
|
|
6733
|
+
}
|
|
6734
|
+
}
|
|
6735
|
+
declare module "libs/reach/feature/content/src/filter/index" {
|
|
6736
|
+
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6737
|
+
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6738
|
+
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6739
|
+
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6740
|
+
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6741
|
+
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6742
|
+
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6743
|
+
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
6744
|
+
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6745
|
+
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6746
|
+
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
6747
|
+
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6748
|
+
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6749
|
+
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6750
|
+
export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
|
|
6751
|
+
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
6752
|
+
export * from "libs/reach/feature/content/src/filter/utils";
|
|
6753
|
+
}
|
|
6754
|
+
declare module "libs/reach/feature/content/src/filter/utils" {
|
|
6755
|
+
import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
6756
|
+
export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
|
|
6757
|
+
channels?: undefined;
|
|
6758
|
+
} | {
|
|
6759
|
+
channels: string;
|
|
6760
|
+
};
|
|
6761
|
+
export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
|
|
6762
|
+
keywords?: undefined;
|
|
6763
|
+
} | {
|
|
6764
|
+
keywords: string;
|
|
6765
|
+
};
|
|
6766
|
+
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6767
|
+
}
|
|
6768
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6769
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6770
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6771
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6772
|
+
export function useEventsApi(): {
|
|
6773
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6774
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
6775
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6776
|
+
};
|
|
6777
|
+
}
|
|
6408
6778
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6409
6779
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6410
6780
|
import { Observable } from 'rxjs';
|
|
@@ -6494,6 +6864,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6494
6864
|
import { Account, BaseItem, CurrentUser, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
6495
6865
|
import { Comment, ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
6496
6866
|
import { ItemStatistics } from "libs/reach/util/common/src/index";
|
|
6867
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6497
6868
|
export interface Post extends BaseItem, ItemWithAttachments {
|
|
6498
6869
|
id: string;
|
|
6499
6870
|
comments?: PaginatedList<Comment>;
|
|
@@ -6516,6 +6887,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6516
6887
|
token?: string;
|
|
6517
6888
|
pageSize?: string;
|
|
6518
6889
|
search?: string;
|
|
6890
|
+
keywords?: FilterWithLogicalOperator;
|
|
6519
6891
|
}
|
|
6520
6892
|
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
6521
6893
|
export function getPostsBaseRoute(post: Post, user: CurrentUser): string;
|
|
@@ -6548,7 +6920,6 @@ declare module "libs/reach/feature/content/src/common/useEmbeddedObjectValidator
|
|
|
6548
6920
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
6549
6921
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
6550
6922
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
6551
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6552
6923
|
export interface ClientAttachment extends Attachment {
|
|
6553
6924
|
file?: File;
|
|
6554
6925
|
}
|
|
@@ -6562,14 +6933,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6562
6933
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6563
6934
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6564
6935
|
placeHolderStringResourceKey?: string;
|
|
6565
|
-
allowKeywords?: boolean;
|
|
6566
|
-
defaultKeywords?: {
|
|
6567
|
-
[key: string]: Keyword[];
|
|
6568
|
-
};
|
|
6569
|
-
availableKeywords?: Keyword[];
|
|
6570
|
-
mandatoryKeywords?: Keyword[];
|
|
6571
|
-
showKeywordsPicker?: boolean;
|
|
6572
|
-
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
6573
6936
|
disableAddGif?: boolean;
|
|
6574
6937
|
disableAddFiles?: boolean;
|
|
6575
6938
|
};
|
|
@@ -6582,14 +6945,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6582
6945
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6583
6946
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6584
6947
|
placeHolderStringResourceKey?: string;
|
|
6585
|
-
allowKeywords?: boolean;
|
|
6586
|
-
defaultKeywords?: {
|
|
6587
|
-
[key: string]: Keyword[];
|
|
6588
|
-
};
|
|
6589
|
-
availableKeywords?: Keyword[];
|
|
6590
|
-
mandatoryKeywords?: Keyword[];
|
|
6591
|
-
showKeywordsPicker?: boolean;
|
|
6592
|
-
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
6593
6948
|
disableAddGif?: boolean;
|
|
6594
6949
|
disableAddFiles?: boolean;
|
|
6595
6950
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -6618,7 +6973,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
6618
6973
|
private getVideoElement;
|
|
6619
6974
|
private getNotSupportedElement;
|
|
6620
6975
|
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
6621
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "
|
|
6976
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
6622
6977
|
}
|
|
6623
6978
|
}
|
|
6624
6979
|
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
@@ -6693,6 +7048,7 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
6693
7048
|
filterBaseUrl?: string;
|
|
6694
7049
|
className?: string;
|
|
6695
7050
|
useGridKeywordTitle?: boolean;
|
|
7051
|
+
onClick?: (keyword: string) => unknown;
|
|
6696
7052
|
}>, import("styled-components").DefaultTheme, {}, never>;
|
|
6697
7053
|
}
|
|
6698
7054
|
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
@@ -6700,6 +7056,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
6700
7056
|
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
6701
7057
|
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
6702
7058
|
export class NewsService {
|
|
7059
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6703
7060
|
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6704
7061
|
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
6705
7062
|
static getContentLanguages(contents: {
|
|
@@ -6807,12 +7164,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
6807
7164
|
}
|
|
6808
7165
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
6809
7166
|
import { FC } from 'react';
|
|
6810
|
-
import { BannerInfo } from "libs/reach/util/common/src/index";
|
|
6811
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7167
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6812
7168
|
interface Props {
|
|
6813
7169
|
itemId: string;
|
|
6814
7170
|
bannerInfo: BannerInfo;
|
|
6815
|
-
|
|
7171
|
+
useEditorRoutes?: boolean;
|
|
6816
7172
|
width: number;
|
|
6817
7173
|
resourceType: ItemResourceTypes;
|
|
6818
7174
|
token?: string;
|
|
@@ -7243,7 +7599,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7243
7599
|
updateSelectedLanguage: (lang: string) => unknown;
|
|
7244
7600
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7245
7601
|
handleLanguageChange: (language: string) => unknown;
|
|
7246
|
-
|
|
7602
|
+
isEditorPreview?: boolean;
|
|
7247
7603
|
}
|
|
7248
7604
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7249
7605
|
}
|
|
@@ -7439,6 +7795,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7439
7795
|
buttons?: ReactNode;
|
|
7440
7796
|
openTargetInNewWindow?: boolean;
|
|
7441
7797
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7798
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7799
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
7442
7800
|
styleDefinition?: StyleDefinition;
|
|
7443
7801
|
readOnly?: boolean;
|
|
7444
7802
|
className?: string;
|
|
@@ -7525,14 +7883,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7525
7883
|
onAttachmentsChange: (attachments: import("libs/reach/feature/content/src/comments/RichCommentInput").Attachments) => void;
|
|
7526
7884
|
onDeleteAttachment?: (attachment: import("@livetiles/reach/util/common").Attachment) => void;
|
|
7527
7885
|
placeHolderStringResourceKey?: string;
|
|
7528
|
-
allowKeywords?: boolean;
|
|
7529
|
-
defaultKeywords?: {
|
|
7530
|
-
[key: string]: import("@livetiles/reach/util/common").Keyword[];
|
|
7531
|
-
};
|
|
7532
|
-
availableKeywords?: import("@livetiles/reach/util/common").Keyword[];
|
|
7533
|
-
mandatoryKeywords?: import("@livetiles/reach/util/common").Keyword[];
|
|
7534
|
-
showKeywordsPicker?: boolean;
|
|
7535
|
-
onKeywordsChange?: (keywords: import("@livetiles/reach/util/common").Keyword[]) => void;
|
|
7536
7886
|
disableAddGif?: boolean;
|
|
7537
7887
|
disableAddFiles?: boolean;
|
|
7538
7888
|
} & {
|
|
@@ -7541,6 +7891,44 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7541
7891
|
attachmentPreviewTheme?: CommentInputTheme;
|
|
7542
7892
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7543
7893
|
}
|
|
7894
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
7895
|
+
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
7896
|
+
import { FC } from 'react';
|
|
7897
|
+
interface Props {
|
|
7898
|
+
group: KeywordGroup;
|
|
7899
|
+
keywords?: Keyword[];
|
|
7900
|
+
expanded?: boolean;
|
|
7901
|
+
selectedKeywords: Keyword[];
|
|
7902
|
+
onChange?: (keywords: Keyword[]) => void;
|
|
7903
|
+
mandatoryKeywordIds?: string[];
|
|
7904
|
+
}
|
|
7905
|
+
export const KeywordPickerGroup: FC<Props>;
|
|
7906
|
+
}
|
|
7907
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
|
|
7908
|
+
import { FC } from 'react';
|
|
7909
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7910
|
+
interface Props {
|
|
7911
|
+
value?: Keyword[] | string[];
|
|
7912
|
+
onChange: (keywords: Keyword[]) => void;
|
|
7913
|
+
showSelectionToggle?: boolean;
|
|
7914
|
+
availableKeywords?: Keyword[];
|
|
7915
|
+
mandatoryKeywordIds?: string[];
|
|
7916
|
+
className?: string;
|
|
7917
|
+
}
|
|
7918
|
+
export const KeywordPicker: FC<Props>;
|
|
7919
|
+
}
|
|
7920
|
+
declare module "libs/reach/feature/content/src/common/keywords/AddKeywordsButton" {
|
|
7921
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7922
|
+
import { FC } from 'react';
|
|
7923
|
+
export const AddKeywordsButton: FC<{
|
|
7924
|
+
availableKeywords?: Keyword[];
|
|
7925
|
+
mandatoryKeywords?: Keyword[];
|
|
7926
|
+
preselectedKeywords?: Keyword[];
|
|
7927
|
+
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
7928
|
+
disabled?: boolean;
|
|
7929
|
+
keywordPickerTitleResourceKey?: string;
|
|
7930
|
+
}>;
|
|
7931
|
+
}
|
|
7544
7932
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
7545
7933
|
import { FC } from 'react';
|
|
7546
7934
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -7572,6 +7960,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7572
7960
|
defaultKeywords?: Keyword[];
|
|
7573
7961
|
mandatoryKeywords?: Keyword[];
|
|
7574
7962
|
};
|
|
7963
|
+
disableBoxShadow?: boolean;
|
|
7964
|
+
ariaLabel?: string;
|
|
7575
7965
|
}
|
|
7576
7966
|
interface Props extends BaseProps {
|
|
7577
7967
|
allowAttachments?: boolean;
|
|
@@ -7662,9 +8052,9 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7662
8052
|
deletedFileUrls?: string[];
|
|
7663
8053
|
onCancel?: () => void;
|
|
7664
8054
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7665
|
-
inputTheme?: CommentInputTheme;
|
|
7666
8055
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
7667
8056
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8057
|
+
ariaLabel?: string;
|
|
7668
8058
|
}
|
|
7669
8059
|
interface Props extends BaseProps {
|
|
7670
8060
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -7680,6 +8070,7 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7680
8070
|
allowSaveWithoutContent?: boolean;
|
|
7681
8071
|
saveOnEnter?: boolean;
|
|
7682
8072
|
saveOnCtrlEnter?: boolean;
|
|
8073
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7683
8074
|
}
|
|
7684
8075
|
export const EditComment: FC<Props>;
|
|
7685
8076
|
}
|
|
@@ -7701,6 +8092,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7701
8092
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7702
8093
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
7703
8094
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8095
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7704
8096
|
interface Props extends CreateCommentProps {
|
|
7705
8097
|
onSave: (newContent: string, attachments?: Attachment[], keywords?: {
|
|
7706
8098
|
[key: string]: Keyword[];
|
|
@@ -7716,6 +8108,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7716
8108
|
allowSaveWithoutContent?: boolean;
|
|
7717
8109
|
saveOnEnter?: boolean;
|
|
7718
8110
|
saveOnCtrlEnter?: boolean;
|
|
8111
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7719
8112
|
}
|
|
7720
8113
|
export const EditCommentWithAttachments: FC<Props>;
|
|
7721
8114
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
@@ -7795,34 +8188,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
7795
8188
|
}>;
|
|
7796
8189
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
7797
8190
|
}
|
|
7798
|
-
declare module "libs/reach/feature/content/src/
|
|
7799
|
-
import { FC
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
className?: string;
|
|
8191
|
+
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8192
|
+
import { FC } from 'react';
|
|
8193
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8194
|
+
export const DetailViewContextProvider: FC<{
|
|
8195
|
+
itemId: string;
|
|
8196
|
+
type?: ItemResourceTypes;
|
|
8197
|
+
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8198
|
+
isEditorPreview?: boolean;
|
|
7807
8199
|
}>;
|
|
7808
8200
|
}
|
|
7809
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7810
|
-
import {
|
|
7811
|
-
export
|
|
8201
|
+
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8202
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8203
|
+
export interface EmbeddedObjectPreviewData {
|
|
8204
|
+
itemId: string;
|
|
8205
|
+
type: string;
|
|
8206
|
+
subscriptionIdentifier: string;
|
|
8207
|
+
}
|
|
8208
|
+
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
7812
8209
|
}
|
|
7813
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7814
|
-
import {
|
|
7815
|
-
export const
|
|
8210
|
+
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8211
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8212
|
+
export const InlineImageMapper: HtmlComponentMapper;
|
|
7816
8213
|
}
|
|
7817
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7818
|
-
import {
|
|
7819
|
-
export
|
|
8214
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
8215
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8216
|
+
export interface ContactDetails {
|
|
8217
|
+
id: string;
|
|
8218
|
+
upn?: string;
|
|
8219
|
+
tenantId?: string;
|
|
8220
|
+
properties?: {
|
|
8221
|
+
[key: string]: {
|
|
8222
|
+
value: string;
|
|
8223
|
+
shouldAutoLoad?: boolean;
|
|
8224
|
+
};
|
|
8225
|
+
};
|
|
8226
|
+
}
|
|
8227
|
+
export const InlineContactMapper: HtmlComponentMapper;
|
|
7820
8228
|
}
|
|
7821
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7822
|
-
import { FC
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
8229
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
|
|
8230
|
+
import { FC } from 'react';
|
|
8231
|
+
import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8232
|
+
export const InlineContactViewer: FC<{
|
|
8233
|
+
contact: ContactDetails;
|
|
7826
8234
|
}>;
|
|
7827
8235
|
}
|
|
7828
8236
|
declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
|
|
@@ -7848,6 +8256,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
|
|
|
7848
8256
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7849
8257
|
export const InlineQuoteMapper: HtmlComponentMapper;
|
|
7850
8258
|
}
|
|
8259
|
+
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
8260
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8261
|
+
export const InlineVideoMapper: HtmlComponentMapper;
|
|
8262
|
+
}
|
|
8263
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
8264
|
+
import { FC } from 'react';
|
|
8265
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8266
|
+
export const InlinePageListViewer: FC<{
|
|
8267
|
+
items: PageItem[];
|
|
8268
|
+
baseRoute: string;
|
|
8269
|
+
filterBaseUrl?: string;
|
|
8270
|
+
isInitialLoading?: boolean;
|
|
8271
|
+
}>;
|
|
8272
|
+
}
|
|
8273
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
8274
|
+
import { FC } from 'react';
|
|
8275
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8276
|
+
export interface ListPagingProps {
|
|
8277
|
+
getNextPage: () => unknown;
|
|
8278
|
+
getPrevPage: () => unknown;
|
|
8279
|
+
getFirstPage: () => unknown;
|
|
8280
|
+
isLoadingNextPage: boolean;
|
|
8281
|
+
isInitialLoading: boolean;
|
|
8282
|
+
isFirstPage: boolean;
|
|
8283
|
+
hideNextButton: boolean;
|
|
8284
|
+
}
|
|
8285
|
+
export const InlinePageListWithPaging: FC<{
|
|
8286
|
+
pages: PageItem[];
|
|
8287
|
+
baseRoute: string;
|
|
8288
|
+
pagingProps?: ListPagingProps;
|
|
8289
|
+
filterBaseUrl?: string;
|
|
8290
|
+
}>;
|
|
8291
|
+
}
|
|
8292
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8293
|
+
import { DependencyList } from 'react';
|
|
8294
|
+
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8295
|
+
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8296
|
+
showPages: boolean;
|
|
8297
|
+
showDocuments: boolean;
|
|
8298
|
+
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8299
|
+
pageItems: any[];
|
|
8300
|
+
pagingProps: {
|
|
8301
|
+
hideNextButton: boolean;
|
|
8302
|
+
isInitialLoading: boolean;
|
|
8303
|
+
isLoadingNextPage: boolean;
|
|
8304
|
+
error: any;
|
|
8305
|
+
getFirstPage: () => void;
|
|
8306
|
+
getPrevPage: () => void;
|
|
8307
|
+
getNextPage: () => Promise<void>;
|
|
8308
|
+
isFirstPage: boolean;
|
|
8309
|
+
isLastPage: boolean;
|
|
8310
|
+
isEmpty: boolean;
|
|
8311
|
+
};
|
|
8312
|
+
};
|
|
8313
|
+
}
|
|
8314
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8315
|
+
import { FC } from 'react';
|
|
8316
|
+
export const InlinePageListSkeleton: FC<{
|
|
8317
|
+
isDataLoaded: boolean;
|
|
8318
|
+
pageSize?: number;
|
|
8319
|
+
}>;
|
|
8320
|
+
}
|
|
7851
8321
|
declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
|
|
7852
8322
|
export interface CodeDetails {
|
|
7853
8323
|
id: string;
|
|
@@ -7869,20 +8339,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
|
|
|
7869
8339
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7870
8340
|
export const InlineCodeMapper: HtmlComponentMapper;
|
|
7871
8341
|
}
|
|
7872
|
-
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
7873
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7874
|
-
export const InlineVideoMapper: HtmlComponentMapper;
|
|
7875
|
-
}
|
|
7876
|
-
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
7877
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7878
|
-
export const InlineImageMapper: HtmlComponentMapper;
|
|
7879
|
-
}
|
|
7880
|
-
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
7881
|
-
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
7882
|
-
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
7883
|
-
format: TableFormat;
|
|
7884
|
-
}, never>;
|
|
7885
|
-
}
|
|
7886
8342
|
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
7887
8343
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7888
8344
|
import { CSSProperties } from 'react';
|
|
@@ -7923,227 +8379,84 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
|
7923
8379
|
export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
|
|
7924
8380
|
export const InlineTable: HtmlComponentMapper;
|
|
7925
8381
|
}
|
|
7926
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7927
|
-
import {
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
}>;
|
|
7932
|
-
}
|
|
7933
|
-
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
7934
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7935
|
-
export interface ContactDetails {
|
|
7936
|
-
id: string;
|
|
7937
|
-
upn?: string;
|
|
7938
|
-
tenantId?: string;
|
|
7939
|
-
properties?: {
|
|
7940
|
-
[key: string]: {
|
|
7941
|
-
value: string;
|
|
7942
|
-
shouldAutoLoad?: boolean;
|
|
7943
|
-
};
|
|
7944
|
-
};
|
|
7945
|
-
}
|
|
7946
|
-
export const InlineContactMapper: HtmlComponentMapper;
|
|
8382
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
8383
|
+
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8384
|
+
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
8385
|
+
format: TableFormat;
|
|
8386
|
+
}, never>;
|
|
7947
8387
|
}
|
|
7948
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7949
|
-
import { FC } from 'react';
|
|
7950
|
-
|
|
7951
|
-
|
|
7952
|
-
|
|
7953
|
-
baseRoute: string;
|
|
7954
|
-
filterBaseUrl?: string;
|
|
7955
|
-
isInitialLoading?: boolean;
|
|
8388
|
+
declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
8389
|
+
import { FC, ReactNode } from 'react';
|
|
8390
|
+
export const ItemBodyWrapper: FC<{
|
|
8391
|
+
className?: string;
|
|
8392
|
+
children?: ReactNode;
|
|
7956
8393
|
}>;
|
|
7957
8394
|
}
|
|
7958
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8395
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
7959
8396
|
import { FC } from 'react';
|
|
7960
|
-
|
|
7961
|
-
export interface ListPagingProps {
|
|
7962
|
-
getNextPage: () => unknown;
|
|
7963
|
-
getPrevPage: () => unknown;
|
|
7964
|
-
getFirstPage: () => unknown;
|
|
7965
|
-
isLoadingNextPage: boolean;
|
|
7966
|
-
isInitialLoading: boolean;
|
|
7967
|
-
isFirstPage: boolean;
|
|
7968
|
-
hideNextButton: boolean;
|
|
7969
|
-
}
|
|
7970
|
-
export const InlinePageListWithPaging: FC<{
|
|
7971
|
-
pages: PageItem[];
|
|
7972
|
-
baseRoute: string;
|
|
7973
|
-
pagingProps?: ListPagingProps;
|
|
7974
|
-
filterBaseUrl?: string;
|
|
7975
|
-
}>;
|
|
8397
|
+
export const EventDetailViewPeopleInfo: FC;
|
|
7976
8398
|
}
|
|
7977
|
-
declare module "libs/reach/feature/content/src/
|
|
7978
|
-
import {
|
|
7979
|
-
export
|
|
8399
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
8400
|
+
import { FC } from 'react';
|
|
8401
|
+
export const EventDetailViewLocationInfo: FC;
|
|
7980
8402
|
}
|
|
7981
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8403
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
7982
8404
|
import { FC } from 'react';
|
|
7983
|
-
export const
|
|
7984
|
-
|
|
7985
|
-
pageSize?: number;
|
|
8405
|
+
export const EventDetailViewMetaInfo: FC<{
|
|
8406
|
+
allowFilterByChannels?: boolean;
|
|
7986
8407
|
}>;
|
|
7987
8408
|
}
|
|
7988
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8409
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
7989
8410
|
import { FC } from 'react';
|
|
7990
|
-
export const
|
|
7991
|
-
|
|
7992
|
-
showDocuments?: boolean;
|
|
7993
|
-
showPages?: boolean;
|
|
8411
|
+
export const EventDetailViewDatesInfo: FC<{
|
|
8412
|
+
className?: string;
|
|
7994
8413
|
}>;
|
|
7995
8414
|
}
|
|
7996
|
-
declare module "libs/reach/feature/content/src/
|
|
7997
|
-
import {
|
|
7998
|
-
|
|
8415
|
+
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8416
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8417
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8418
|
+
import { PollQuestion, PollQuestionAnswer, PollResult, QuestionResult } from "libs/reach/util/common/src/index";
|
|
8419
|
+
export interface PollUserContextType {
|
|
8420
|
+
item: PublishableItem;
|
|
8421
|
+
resourceType: ItemResourceTypes;
|
|
8422
|
+
questions: PollQuestion[];
|
|
8423
|
+
answers: PollQuestionAnswer[];
|
|
8424
|
+
addAnswer: (questionId: string, selectedChoiceIds: string[]) => unknown;
|
|
8425
|
+
setAnswers: (answers: PollQuestionAnswer[]) => unknown;
|
|
8426
|
+
hasMissingAnswers: boolean;
|
|
8427
|
+
hasMissingUnsavedAnswer: boolean;
|
|
8428
|
+
pollResult: PollResult;
|
|
8429
|
+
isLoadingPollResult: boolean;
|
|
8430
|
+
showResult: boolean;
|
|
8431
|
+
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
8432
|
+
getQuestionResult: (questionId: string) => QuestionResult;
|
|
8433
|
+
reset: () => Promise<void>;
|
|
8434
|
+
fetchPollResults: () => Promise<void>;
|
|
8435
|
+
onBehalfOfUpn: string;
|
|
8436
|
+
}
|
|
8437
|
+
export const PollUserContext: import("react").Context<PollUserContextType>;
|
|
7999
8438
|
}
|
|
8000
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8439
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollsSubmitButton" {
|
|
8001
8440
|
import { FC } from 'react';
|
|
8002
|
-
export const
|
|
8003
|
-
|
|
8004
|
-
showDocuments: boolean;
|
|
8005
|
-
showPages: boolean;
|
|
8441
|
+
export const DetailViewPollsSubmitButton: FC<{
|
|
8442
|
+
isReadOnly?: boolean;
|
|
8006
8443
|
}>;
|
|
8007
8444
|
}
|
|
8008
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8009
|
-
import {
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
}
|
|
8015
|
-
pageItems: any[];
|
|
8016
|
-
pagingProps: {
|
|
8017
|
-
hideNextButton: boolean;
|
|
8018
|
-
isInitialLoading: boolean;
|
|
8019
|
-
isLoadingNextPage: boolean;
|
|
8020
|
-
error: any;
|
|
8021
|
-
getFirstPage: () => void;
|
|
8022
|
-
getPrevPage: () => void;
|
|
8023
|
-
getNextPage: () => Promise<void>;
|
|
8024
|
-
isFirstPage: boolean;
|
|
8025
|
-
isLastPage: boolean;
|
|
8026
|
-
isEmpty: boolean;
|
|
8027
|
-
};
|
|
8028
|
-
};
|
|
8445
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewCsvExportButton" {
|
|
8446
|
+
import { FC } from 'react';
|
|
8447
|
+
export const DetailViewCsvExportButton: FC<{
|
|
8448
|
+
path: string;
|
|
8449
|
+
stringResource: string;
|
|
8450
|
+
className?: string;
|
|
8451
|
+
}>;
|
|
8029
8452
|
}
|
|
8030
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8453
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollExportButton" {
|
|
8031
8454
|
import { FC } from 'react';
|
|
8032
|
-
|
|
8033
|
-
|
|
8034
|
-
blockProps?: PageListDetails;
|
|
8455
|
+
export const DetailViewPollExportButton: FC<{
|
|
8456
|
+
className?: string;
|
|
8035
8457
|
}>;
|
|
8036
8458
|
}
|
|
8037
|
-
declare module "libs/reach/feature/content/src/
|
|
8038
|
-
import { FC } from 'react';
|
|
8039
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8040
|
-
export interface PageListDetails {
|
|
8041
|
-
id?: string;
|
|
8042
|
-
showChildren?: boolean;
|
|
8043
|
-
showDocuments?: boolean;
|
|
8044
|
-
showPages?: boolean;
|
|
8045
|
-
pageId?: string;
|
|
8046
|
-
keywords?: string;
|
|
8047
|
-
}
|
|
8048
|
-
export const InlinePageList: FC<{
|
|
8049
|
-
blockProps?: PageListDetails;
|
|
8050
|
-
}>;
|
|
8051
|
-
export const InlinePageListMapper: HtmlComponentMapper;
|
|
8052
|
-
}
|
|
8053
|
-
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8054
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8055
|
-
export interface EmbeddedObjectPreviewData {
|
|
8056
|
-
itemId: string;
|
|
8057
|
-
type: string;
|
|
8058
|
-
subscriptionIdentifier: string;
|
|
8059
|
-
}
|
|
8060
|
-
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
8061
|
-
}
|
|
8062
|
-
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
8063
|
-
import { FC } from 'react';
|
|
8064
|
-
export const RichTextViewer: FC<{
|
|
8065
|
-
html: string;
|
|
8066
|
-
}>;
|
|
8067
|
-
}
|
|
8068
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
8069
|
-
import { FC } from 'react';
|
|
8070
|
-
export const DetailViewBody: FC;
|
|
8071
|
-
}
|
|
8072
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
8073
|
-
import { FC } from 'react';
|
|
8074
|
-
export const DetailViewKeywords: FC<{
|
|
8075
|
-
filterBaseUrl: string;
|
|
8076
|
-
}>;
|
|
8077
|
-
}
|
|
8078
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
8079
|
-
import { FC } from 'react';
|
|
8080
|
-
export const EventDetailViewDatesInfo: FC<{
|
|
8081
|
-
className?: string;
|
|
8082
|
-
}>;
|
|
8083
|
-
}
|
|
8084
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8085
|
-
import { FC } from 'react';
|
|
8086
|
-
export const EventDetailViewPeopleInfo: FC;
|
|
8087
|
-
}
|
|
8088
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
8089
|
-
import { FC } from 'react';
|
|
8090
|
-
export const EventDetailViewLocationInfo: FC;
|
|
8091
|
-
}
|
|
8092
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
8093
|
-
import { FC } from 'react';
|
|
8094
|
-
export const EventDetailViewMetaInfo: FC<{
|
|
8095
|
-
allowFilterByChannels?: boolean;
|
|
8096
|
-
}>;
|
|
8097
|
-
}
|
|
8098
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8099
|
-
import { FC } from 'react';
|
|
8100
|
-
export const EventDetailViewCancelInformation: FC;
|
|
8101
|
-
}
|
|
8102
|
-
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8103
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8104
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8105
|
-
import { PollQuestion, PollQuestionAnswer, PollResult, QuestionResult } from "libs/reach/util/common/src/index";
|
|
8106
|
-
export interface PollUserContextType {
|
|
8107
|
-
item: PublishableItem;
|
|
8108
|
-
resourceType: ItemResourceTypes;
|
|
8109
|
-
questions: PollQuestion[];
|
|
8110
|
-
answers: PollQuestionAnswer[];
|
|
8111
|
-
addAnswer: (questionId: string, selectedChoiceIds: string[]) => unknown;
|
|
8112
|
-
setAnswers: (answers: PollQuestionAnswer[]) => unknown;
|
|
8113
|
-
hasMissingAnswers: boolean;
|
|
8114
|
-
hasMissingUnsavedAnswer: boolean;
|
|
8115
|
-
pollResult: PollResult;
|
|
8116
|
-
isLoadingPollResult: boolean;
|
|
8117
|
-
showResult: boolean;
|
|
8118
|
-
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
8119
|
-
getQuestionResult: (questionId: string) => QuestionResult;
|
|
8120
|
-
reset: () => Promise<void>;
|
|
8121
|
-
fetchPollResults: () => Promise<void>;
|
|
8122
|
-
onBehalfOfUpn: string;
|
|
8123
|
-
}
|
|
8124
|
-
export const PollUserContext: import("react").Context<PollUserContextType>;
|
|
8125
|
-
}
|
|
8126
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollsSubmitButton" {
|
|
8127
|
-
import { FC } from 'react';
|
|
8128
|
-
export const DetailViewPollsSubmitButton: FC<{
|
|
8129
|
-
isReadOnly?: boolean;
|
|
8130
|
-
}>;
|
|
8131
|
-
}
|
|
8132
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewCsvExportButton" {
|
|
8133
|
-
import { FC } from 'react';
|
|
8134
|
-
export const DetailViewCsvExportButton: FC<{
|
|
8135
|
-
path: string;
|
|
8136
|
-
stringResource: string;
|
|
8137
|
-
className?: string;
|
|
8138
|
-
}>;
|
|
8139
|
-
}
|
|
8140
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollExportButton" {
|
|
8141
|
-
import { FC } from 'react';
|
|
8142
|
-
export const DetailViewPollExportButton: FC<{
|
|
8143
|
-
className?: string;
|
|
8144
|
-
}>;
|
|
8145
|
-
}
|
|
8146
|
-
declare module "libs/reach/feature/content/src/feedback/PollUserInput" {
|
|
8459
|
+
declare module "libs/reach/feature/content/src/feedback/PollUserInput" {
|
|
8147
8460
|
import { FC } from 'react';
|
|
8148
8461
|
export const PollUserInput: FC;
|
|
8149
8462
|
}
|
|
@@ -8209,8 +8522,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8209
8522
|
}
|
|
8210
8523
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
|
|
8211
8524
|
import { FC } from 'react';
|
|
8212
|
-
import { EventParticipant } from "libs/reach/util/common/src/index";
|
|
8213
|
-
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
8525
|
+
import { EventParticipant, EventResponse } from "libs/reach/util/common/src/index";
|
|
8214
8526
|
export const EventRegistrationRegisterSomeoneElseDialog: FC<{
|
|
8215
8527
|
show: boolean;
|
|
8216
8528
|
onDismiss: () => unknown;
|
|
@@ -8256,6 +8568,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8256
8568
|
import { FC } from 'react';
|
|
8257
8569
|
export const EventDetailViewRegistration: FC;
|
|
8258
8570
|
}
|
|
8571
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8572
|
+
import { FC } from 'react';
|
|
8573
|
+
export const EventDetailViewCancelInformation: FC;
|
|
8574
|
+
}
|
|
8259
8575
|
declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
8260
8576
|
import { FC } from 'react';
|
|
8261
8577
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
@@ -8511,92 +8827,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
|
|
|
8511
8827
|
eventItem: EventItem;
|
|
8512
8828
|
}>;
|
|
8513
8829
|
}
|
|
8514
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
8515
|
-
import { FC } from 'react';
|
|
8516
|
-
export const DetailViewPageViewTracker: FC;
|
|
8517
|
-
}
|
|
8518
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
8519
|
-
import { FC } from 'react';
|
|
8520
|
-
export const DetailViewIntro: FC;
|
|
8521
|
-
}
|
|
8522
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
8523
|
-
import { FC } from 'react';
|
|
8524
|
-
export const ConfirmationBox: FC<{
|
|
8525
|
-
disabled?: boolean;
|
|
8526
|
-
onChange?: (value: boolean) => void;
|
|
8527
|
-
checked: boolean;
|
|
8528
|
-
}>;
|
|
8529
|
-
}
|
|
8530
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
8531
|
-
import { FC } from 'react';
|
|
8532
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8533
|
-
export const ConfirmationSection: FC<{
|
|
8534
|
-
item?: NewsItem;
|
|
8535
|
-
showDescription: boolean;
|
|
8536
|
-
readOnly?: boolean;
|
|
8537
|
-
className?: string;
|
|
8538
|
-
}>;
|
|
8539
|
-
}
|
|
8540
|
-
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
8541
|
-
import { FC } from 'react';
|
|
8542
|
-
export const DetailViewConfirmations: FC;
|
|
8543
|
-
}
|
|
8544
|
-
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
8545
|
-
import { FC } from 'react';
|
|
8546
|
-
export const FeedbackButtonBookmark: FC<{
|
|
8547
|
-
isReadOnly?: boolean;
|
|
8548
|
-
}>;
|
|
8549
|
-
}
|
|
8550
|
-
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
8551
|
-
import { FC } from 'react';
|
|
8552
|
-
export const NewsDetailViewFeedbackSection: FC<{
|
|
8553
|
-
hideLikes?: boolean;
|
|
8554
|
-
hideComments?: boolean;
|
|
8555
|
-
hideProfileUrl?: boolean;
|
|
8556
|
-
disableLoginForPublicUser?: boolean;
|
|
8557
|
-
}>;
|
|
8558
|
-
}
|
|
8559
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
8560
|
-
import { FC } from 'react';
|
|
8561
|
-
export const DetailViewHeadline: FC;
|
|
8562
|
-
}
|
|
8563
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
8564
|
-
import { FC } from 'react';
|
|
8565
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8566
|
-
export const DetailViewBodyExternalContent: FC<{
|
|
8567
|
-
itemType: ItemResourceTypes;
|
|
8568
|
-
}>;
|
|
8569
|
-
}
|
|
8570
|
-
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8571
|
-
import { FC } from 'react';
|
|
8572
|
-
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8573
|
-
export const DetailViewContextProvider: FC<{
|
|
8574
|
-
itemId: string;
|
|
8575
|
-
type?: ItemResourceTypes;
|
|
8576
|
-
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8577
|
-
isReadOnly?: boolean;
|
|
8578
|
-
}>;
|
|
8579
|
-
}
|
|
8580
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8581
|
-
import { FC } from 'react';
|
|
8582
|
-
export const PageDetailViewFeedbackSection: FC<{
|
|
8583
|
-
hideLikes?: boolean;
|
|
8584
|
-
hideComments?: boolean;
|
|
8585
|
-
hideProfileUrl?: boolean;
|
|
8586
|
-
disableLoginForPublicUser?: boolean;
|
|
8587
|
-
}>;
|
|
8588
|
-
}
|
|
8589
|
-
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
8590
|
-
import { FC } from 'react';
|
|
8591
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8592
|
-
export const PageBreadcrumb: FC<{
|
|
8593
|
-
page: PageItem;
|
|
8594
|
-
target?: string;
|
|
8595
|
-
language?: string;
|
|
8596
|
-
hideCurrentPageNode?: boolean;
|
|
8597
|
-
className?: string;
|
|
8598
|
-
}>;
|
|
8599
|
-
}
|
|
8600
8830
|
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8601
8831
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8602
8832
|
interface DateInfoProps {
|
|
@@ -8636,51 +8866,13 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8636
8866
|
import { FC } from 'react';
|
|
8637
8867
|
export const PageDetailViewMetaInfo: FC;
|
|
8638
8868
|
}
|
|
8639
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/
|
|
8869
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8640
8870
|
import { FC } from 'react';
|
|
8641
|
-
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
content: PublishableItemContent;
|
|
8647
|
-
basePath?: string;
|
|
8648
|
-
}>;
|
|
8649
|
-
}
|
|
8650
|
-
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8651
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8652
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8653
|
-
interface Props {
|
|
8654
|
-
id: string;
|
|
8655
|
-
item: PublishableItem;
|
|
8656
|
-
itemResourceType: ItemResourceTypes;
|
|
8657
|
-
}
|
|
8658
|
-
export const CardBanner: React.FC<Props>;
|
|
8659
|
-
}
|
|
8660
|
-
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8661
|
-
import { FC, ReactNode } from 'react';
|
|
8662
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8663
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8664
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8665
|
-
interface CardProps {
|
|
8666
|
-
item: PublishableItem;
|
|
8667
|
-
itemResourceType: ItemResourceTypes;
|
|
8668
|
-
additionalMetadata?: ReactNode;
|
|
8669
|
-
highlight?: boolean;
|
|
8670
|
-
className?: string;
|
|
8671
|
-
}
|
|
8672
|
-
export const Card: FC<CardProps>;
|
|
8673
|
-
export interface CardItem<TItem = PublishableItem> {
|
|
8674
|
-
item: TItem;
|
|
8675
|
-
language: string;
|
|
8676
|
-
}
|
|
8677
|
-
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8678
|
-
}
|
|
8679
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
8680
|
-
import { FC, ReactNode } from 'react';
|
|
8681
|
-
export const DetailViewNavigation: FC<{
|
|
8682
|
-
children?: ReactNode;
|
|
8683
|
-
callout?: ReactNode;
|
|
8871
|
+
export const PageDetailViewFeedbackSection: FC<{
|
|
8872
|
+
hideLikes?: boolean;
|
|
8873
|
+
hideComments?: boolean;
|
|
8874
|
+
hideProfileUrl?: boolean;
|
|
8875
|
+
disableLoginForPublicUser?: boolean;
|
|
8684
8876
|
}>;
|
|
8685
8877
|
}
|
|
8686
8878
|
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
@@ -8789,10 +8981,108 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8789
8981
|
import { FC } from 'react';
|
|
8790
8982
|
export const PageDetailViewTableOfContentsButton: FC;
|
|
8791
8983
|
}
|
|
8792
|
-
declare module "libs/reach/feature/content/src/
|
|
8984
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
8985
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
8986
|
+
export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
8987
|
+
}
|
|
8988
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
8793
8989
|
import { FC } from 'react';
|
|
8794
|
-
|
|
8795
|
-
|
|
8990
|
+
export const InlinePageListByKeywords: FC<{
|
|
8991
|
+
keywords: string[];
|
|
8992
|
+
showDocuments?: boolean;
|
|
8993
|
+
showPages?: boolean;
|
|
8994
|
+
}>;
|
|
8995
|
+
}
|
|
8996
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
8997
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
8998
|
+
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
8999
|
+
}
|
|
9000
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
9001
|
+
import { FC } from 'react';
|
|
9002
|
+
export const InlinePageListByPageId: FC<{
|
|
9003
|
+
pageId: string;
|
|
9004
|
+
showDocuments: boolean;
|
|
9005
|
+
showPages: boolean;
|
|
9006
|
+
}>;
|
|
9007
|
+
}
|
|
9008
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
9009
|
+
import { FC } from 'react';
|
|
9010
|
+
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9011
|
+
export const InlinePageListByCurrentPage: FC<{
|
|
9012
|
+
blockProps?: PageListDetails;
|
|
9013
|
+
}>;
|
|
9014
|
+
}
|
|
9015
|
+
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
9016
|
+
import { FC } from 'react';
|
|
9017
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9018
|
+
export interface PageListDetails {
|
|
9019
|
+
id?: string;
|
|
9020
|
+
showChildren?: boolean;
|
|
9021
|
+
showDocuments?: boolean;
|
|
9022
|
+
showPages?: boolean;
|
|
9023
|
+
pageId?: string;
|
|
9024
|
+
keywords?: string;
|
|
9025
|
+
}
|
|
9026
|
+
export const InlinePageList: FC<{
|
|
9027
|
+
blockProps?: PageListDetails;
|
|
9028
|
+
}>;
|
|
9029
|
+
export const InlinePageListMapper: HtmlComponentMapper;
|
|
9030
|
+
}
|
|
9031
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
9032
|
+
import { FC } from 'react';
|
|
9033
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9034
|
+
export const PageBreadcrumb: FC<{
|
|
9035
|
+
page: PageItem;
|
|
9036
|
+
target?: string;
|
|
9037
|
+
language?: string;
|
|
9038
|
+
hideCurrentPageNode?: boolean;
|
|
9039
|
+
className?: string;
|
|
9040
|
+
}>;
|
|
9041
|
+
}
|
|
9042
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
9043
|
+
import { FC } from 'react';
|
|
9044
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9045
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
9046
|
+
export const DetailViewPageDocumentDownload: FC;
|
|
9047
|
+
export const PageDocumentDownloadButton: FC<{
|
|
9048
|
+
item: PageItem;
|
|
9049
|
+
content: PublishableItemContent;
|
|
9050
|
+
basePath?: string;
|
|
9051
|
+
}>;
|
|
9052
|
+
}
|
|
9053
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
9054
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9055
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9056
|
+
interface Props {
|
|
9057
|
+
id: string;
|
|
9058
|
+
item: PublishableItem;
|
|
9059
|
+
itemResourceType: ItemResourceTypes;
|
|
9060
|
+
}
|
|
9061
|
+
export const CardBanner: React.FC<Props>;
|
|
9062
|
+
}
|
|
9063
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
9064
|
+
import { FC, ReactNode } from 'react';
|
|
9065
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9066
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9067
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9068
|
+
interface CardProps {
|
|
9069
|
+
item: PublishableItem;
|
|
9070
|
+
itemResourceType: ItemResourceTypes;
|
|
9071
|
+
additionalMetadata?: ReactNode;
|
|
9072
|
+
highlight?: boolean;
|
|
9073
|
+
className?: string;
|
|
9074
|
+
}
|
|
9075
|
+
export const Card: FC<CardProps>;
|
|
9076
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
9077
|
+
item: TItem;
|
|
9078
|
+
language: string;
|
|
9079
|
+
}
|
|
9080
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
9081
|
+
}
|
|
9082
|
+
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
9083
|
+
import { FC } from 'react';
|
|
9084
|
+
interface LanguageSelectorProps {
|
|
9085
|
+
languages: string[];
|
|
8796
9086
|
selectedLanguage: string;
|
|
8797
9087
|
onLanguageChange: (selected: string) => void;
|
|
8798
9088
|
onTranslateClick?: (language: string) => void;
|
|
@@ -8810,10 +9100,112 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8810
9100
|
className?: string;
|
|
8811
9101
|
}>;
|
|
8812
9102
|
}
|
|
9103
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
|
|
9104
|
+
import { FC } from 'react';
|
|
9105
|
+
export const DetailViewBanner: FC;
|
|
9106
|
+
}
|
|
9107
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
9108
|
+
import { FC } from 'react';
|
|
9109
|
+
export const DetailViewIntro: FC;
|
|
9110
|
+
}
|
|
9111
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
9112
|
+
import { FC } from 'react';
|
|
9113
|
+
export const DetailMainSection: FC;
|
|
9114
|
+
}
|
|
9115
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
9116
|
+
import { FC, ReactNode } from 'react';
|
|
9117
|
+
export const GutterMarkerIcon: FC<{
|
|
9118
|
+
iconName: string;
|
|
9119
|
+
children: ReactNode;
|
|
9120
|
+
isActive: boolean;
|
|
9121
|
+
color: string;
|
|
9122
|
+
tooltipResourceKey?: string;
|
|
9123
|
+
className?: string;
|
|
9124
|
+
}>;
|
|
9125
|
+
}
|
|
9126
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9127
|
+
import { FC } from 'react';
|
|
9128
|
+
export const DetailViewTitle: FC;
|
|
9129
|
+
}
|
|
8813
9130
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
|
|
8814
9131
|
import { FC } from 'react';
|
|
8815
9132
|
export const NewsDetailViewMetaInfo: FC;
|
|
8816
9133
|
}
|
|
9134
|
+
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
9135
|
+
import { FC } from 'react';
|
|
9136
|
+
export const RichTextViewer: FC<{
|
|
9137
|
+
html: string;
|
|
9138
|
+
}>;
|
|
9139
|
+
}
|
|
9140
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
9141
|
+
import { FC } from 'react';
|
|
9142
|
+
export const DetailViewBody: FC;
|
|
9143
|
+
}
|
|
9144
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
9145
|
+
import { FC } from 'react';
|
|
9146
|
+
export const DetailViewKeywords: FC<{
|
|
9147
|
+
filterBaseUrl: string;
|
|
9148
|
+
}>;
|
|
9149
|
+
}
|
|
9150
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9151
|
+
import { FC } from 'react';
|
|
9152
|
+
export const ConfirmationBox: FC<{
|
|
9153
|
+
disabled?: boolean;
|
|
9154
|
+
onChange?: (value: boolean) => void;
|
|
9155
|
+
checked: boolean;
|
|
9156
|
+
}>;
|
|
9157
|
+
}
|
|
9158
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9159
|
+
import { FC } from 'react';
|
|
9160
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9161
|
+
export const ConfirmationSection: FC<{
|
|
9162
|
+
item?: NewsItem;
|
|
9163
|
+
showDescription: boolean;
|
|
9164
|
+
readOnly?: boolean;
|
|
9165
|
+
className?: string;
|
|
9166
|
+
}>;
|
|
9167
|
+
}
|
|
9168
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
9169
|
+
import { FC } from 'react';
|
|
9170
|
+
export const DetailViewConfirmations: FC;
|
|
9171
|
+
}
|
|
9172
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
9173
|
+
import { FC } from 'react';
|
|
9174
|
+
export const DetailViewPageViewTracker: FC;
|
|
9175
|
+
}
|
|
9176
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
9177
|
+
import { FC } from 'react';
|
|
9178
|
+
export const FeedbackButtonBookmark: FC<{
|
|
9179
|
+
isReadOnly?: boolean;
|
|
9180
|
+
}>;
|
|
9181
|
+
}
|
|
9182
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
9183
|
+
import { FC } from 'react';
|
|
9184
|
+
export const NewsDetailViewFeedbackSection: FC<{
|
|
9185
|
+
hideLikes?: boolean;
|
|
9186
|
+
hideComments?: boolean;
|
|
9187
|
+
hideProfileUrl?: boolean;
|
|
9188
|
+
disableLoginForPublicUser?: boolean;
|
|
9189
|
+
}>;
|
|
9190
|
+
}
|
|
9191
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
9192
|
+
import { FC, ReactNode } from 'react';
|
|
9193
|
+
export const DetailViewNavigation: FC<{
|
|
9194
|
+
children?: ReactNode;
|
|
9195
|
+
callout?: ReactNode;
|
|
9196
|
+
}>;
|
|
9197
|
+
}
|
|
9198
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9199
|
+
import { FC } from 'react';
|
|
9200
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9201
|
+
export const DetailViewBodyExternalContent: FC<{
|
|
9202
|
+
itemType: ItemResourceTypes;
|
|
9203
|
+
}>;
|
|
9204
|
+
}
|
|
9205
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
9206
|
+
import { FC } from 'react';
|
|
9207
|
+
export const DetailViewHeadline: FC;
|
|
9208
|
+
}
|
|
8817
9209
|
declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
8818
9210
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
8819
9211
|
export const StateIcon: React.FC<{
|
|
@@ -8834,205 +9226,65 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
|
8834
9226
|
}
|
|
8835
9227
|
declare module "libs/reach/feature/content/src/common/index" {
|
|
8836
9228
|
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
8837
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8838
9229
|
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8839
9230
|
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
8840
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
8841
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8842
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8843
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8844
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8845
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8846
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
8847
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8848
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8849
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8850
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
8851
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
8852
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8853
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8854
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8855
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8856
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8857
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
8858
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8859
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8860
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
8861
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
8862
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
8863
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
8864
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8865
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
8866
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8867
9231
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
8868
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8869
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8870
|
-
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
8871
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8872
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
8873
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8874
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8875
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8876
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8877
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8878
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
8879
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8880
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8881
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
8882
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
8883
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
8884
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
8885
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
8886
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8887
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8888
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
8889
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
8890
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8891
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8892
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8893
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
8894
9232
|
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
8895
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8896
9233
|
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
8897
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8898
9234
|
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
8899
9235
|
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
8900
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8901
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8902
|
-
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8903
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8904
9236
|
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
8905
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8906
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8907
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8908
9237
|
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
8909
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8910
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8911
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8912
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8913
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8914
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8915
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8916
9238
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
8917
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8918
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8919
9239
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
8920
9240
|
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
8921
9241
|
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
8922
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8923
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8924
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8925
9242
|
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
8926
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8927
9243
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
8928
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8929
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8930
9244
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
8931
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8932
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
8933
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8934
9245
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
8935
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8936
9246
|
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
8937
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8938
9247
|
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8939
9248
|
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8940
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8941
9249
|
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
8942
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8943
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8944
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8945
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8946
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8947
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8948
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8949
9250
|
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8950
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8951
9251
|
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8952
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8953
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8954
9252
|
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
8955
9253
|
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
8956
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8957
9254
|
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8958
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8959
9255
|
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8960
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8961
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8962
9256
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8963
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8964
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8965
9257
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8966
9258
|
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8967
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
8968
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8969
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
8970
9259
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
8971
9260
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
8972
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8973
9261
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8974
9262
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
8975
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
8976
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8977
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8978
9263
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
8979
9264
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
8980
9265
|
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8981
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8982
9266
|
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8983
9267
|
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8984
9268
|
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8985
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8986
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8987
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8988
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8989
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8990
9269
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8991
9270
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
8992
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8993
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8994
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8995
9271
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8996
9272
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8997
9273
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
8998
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
8999
9274
|
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
9000
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9001
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9002
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9003
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
9004
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
9005
9275
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
9006
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
9007
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
9008
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
9009
9276
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
9010
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9011
9277
|
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9012
9278
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9013
9279
|
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9014
9280
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9015
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9016
9281
|
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
9017
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
9018
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9019
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9020
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9021
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9022
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9023
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9024
9282
|
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9025
9283
|
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9026
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9027
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9028
|
-
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9029
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9030
9284
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9031
9285
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9032
9286
|
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9033
9287
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
9034
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9035
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9036
9288
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9037
9289
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9038
9290
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
@@ -9049,7 +9301,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9049
9301
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9050
9302
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9051
9303
|
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9052
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9053
9304
|
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9054
9305
|
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9055
9306
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
@@ -9071,91 +9322,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
|
|
|
9071
9322
|
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9072
9323
|
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9073
9324
|
}
|
|
9074
|
-
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
9075
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9076
|
-
export interface FilteringProps {
|
|
9077
|
-
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
9078
|
-
onShowFilterPanel?: () => unknown;
|
|
9079
|
-
onToggleFilterSidebar?: () => unknown;
|
|
9080
|
-
isFilterActive?: boolean;
|
|
9081
|
-
}
|
|
9082
|
-
}
|
|
9083
|
-
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
9084
|
-
import { FC } from 'react';
|
|
9085
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9086
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9087
|
-
export interface InjectedFilterProps {
|
|
9088
|
-
filter: IndexableFilterDefinition;
|
|
9089
|
-
hasFilter: boolean;
|
|
9090
|
-
isSearchActive: boolean;
|
|
9091
|
-
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
9092
|
-
onSearchChange: (text: string) => void;
|
|
9093
|
-
onClearFilter: () => void;
|
|
9094
|
-
}
|
|
9095
|
-
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
9096
|
-
filter: Partial<IndexableFilterDefinition>;
|
|
9097
|
-
hasFilter: boolean;
|
|
9098
|
-
isSearchActive: boolean;
|
|
9099
|
-
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
9100
|
-
onSearchChange: (search: string) => void;
|
|
9101
|
-
onClearFilter: () => void;
|
|
9102
|
-
};
|
|
9103
|
-
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
9104
|
-
export const FilterContextProvider: FC<{
|
|
9105
|
-
addFilters?: (locationParams: {
|
|
9106
|
-
[paramName: string]: any;
|
|
9107
|
-
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
9108
|
-
additionalExcludedFilterProperties?: string[];
|
|
9109
|
-
onClearQueryString?: (prev: any, next: any) => any;
|
|
9110
|
-
}>;
|
|
9111
|
-
export interface FilterVisibilityState {
|
|
9112
|
-
showFilterAsPanel?: boolean;
|
|
9113
|
-
showFilterSidebar?: boolean;
|
|
9114
|
-
}
|
|
9115
|
-
}
|
|
9116
|
-
declare module "libs/reach/feature/content/src/filter/index" {
|
|
9117
|
-
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
9118
|
-
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9119
|
-
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
9120
|
-
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
9121
|
-
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
9122
|
-
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
9123
|
-
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
9124
|
-
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
9125
|
-
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
9126
|
-
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
9127
|
-
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
9128
|
-
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
9129
|
-
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
9130
|
-
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
9131
|
-
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
9132
|
-
}
|
|
9133
|
-
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
9134
|
-
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
9135
|
-
import { FC } from 'react';
|
|
9136
|
-
interface Props {
|
|
9137
|
-
group: KeywordGroup;
|
|
9138
|
-
keywords?: Keyword[];
|
|
9139
|
-
expanded?: boolean;
|
|
9140
|
-
selectedKeywords: Keyword[];
|
|
9141
|
-
onChange?: (keywords: Keyword[]) => void;
|
|
9142
|
-
mandatoryKeywordIds?: string[];
|
|
9143
|
-
}
|
|
9144
|
-
export const KeywordPickerGroup: FC<Props>;
|
|
9145
|
-
}
|
|
9146
|
-
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
|
|
9147
|
-
import { FC } from 'react';
|
|
9148
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9149
|
-
interface Props {
|
|
9150
|
-
value?: Keyword[] | string[];
|
|
9151
|
-
onChange: (keywords: Keyword[]) => void;
|
|
9152
|
-
showSelectionToggle?: boolean;
|
|
9153
|
-
availableKeywords?: Keyword[];
|
|
9154
|
-
mandatoryKeywordIds?: string[];
|
|
9155
|
-
className?: string;
|
|
9156
|
-
}
|
|
9157
|
-
export const KeywordPicker: FC<Props>;
|
|
9158
|
-
}
|
|
9159
9325
|
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
9160
9326
|
import { FC, ReactNode } from 'react';
|
|
9161
9327
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -9204,26 +9370,6 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
9204
9370
|
*/
|
|
9205
9371
|
export const Textarea: FC<TextareaProps>;
|
|
9206
9372
|
}
|
|
9207
|
-
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9208
|
-
import { FC } from 'react';
|
|
9209
|
-
interface DateTimePickerProps {
|
|
9210
|
-
date: string;
|
|
9211
|
-
maxDate?: string;
|
|
9212
|
-
minDate?: string;
|
|
9213
|
-
dateValidationResourceKey?: string;
|
|
9214
|
-
timeValidationResourceKey?: string;
|
|
9215
|
-
readOnly?: boolean;
|
|
9216
|
-
onChanged: (date: string, isValid: boolean) => void;
|
|
9217
|
-
noDateResourceKey: string;
|
|
9218
|
-
selectDateResourceKey: string;
|
|
9219
|
-
dateOnly?: boolean;
|
|
9220
|
-
initialPickerDate?: string;
|
|
9221
|
-
label?: string;
|
|
9222
|
-
className?: string;
|
|
9223
|
-
}
|
|
9224
|
-
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9225
|
-
export default DateTimePicker;
|
|
9226
|
-
}
|
|
9227
9373
|
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9228
9374
|
import { FC } from 'react';
|
|
9229
9375
|
interface Props {
|
|
@@ -9248,6 +9394,27 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
|
9248
9394
|
}
|
|
9249
9395
|
export const InsertImagesButton: FC<Props>;
|
|
9250
9396
|
}
|
|
9397
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9398
|
+
import { FC } from 'react';
|
|
9399
|
+
interface DateTimePickerProps {
|
|
9400
|
+
date: string;
|
|
9401
|
+
maxDate?: string;
|
|
9402
|
+
minDate?: string;
|
|
9403
|
+
dateValidationResourceKey?: string;
|
|
9404
|
+
timeValidationResourceKey?: string;
|
|
9405
|
+
readOnly?: boolean;
|
|
9406
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
9407
|
+
noDateResourceKey: string;
|
|
9408
|
+
selectDateResourceKey: string;
|
|
9409
|
+
dateOnly?: boolean;
|
|
9410
|
+
initialPickerDate?: string;
|
|
9411
|
+
label?: string;
|
|
9412
|
+
isRequired?: boolean;
|
|
9413
|
+
className?: string;
|
|
9414
|
+
}
|
|
9415
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9416
|
+
export default DateTimePicker;
|
|
9417
|
+
}
|
|
9251
9418
|
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
9252
9419
|
import moment, { Moment } from 'moment';
|
|
9253
9420
|
export enum DateRange {
|
|
@@ -9290,37 +9457,22 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
|
9290
9457
|
allowEmptyValue: boolean;
|
|
9291
9458
|
includePendingInvitationUsers?: boolean;
|
|
9292
9459
|
placeholderStringResourceKey?: string;
|
|
9460
|
+
inputAriaLabelResourceKey: string;
|
|
9293
9461
|
}
|
|
9294
9462
|
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
9295
9463
|
}
|
|
9296
9464
|
declare module "libs/reach/feature/content/src/forms/index" {
|
|
9297
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9298
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9299
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9300
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9301
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9302
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9303
9465
|
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9304
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9305
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9306
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9307
9466
|
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9308
9467
|
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
9309
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9310
9468
|
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
9311
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9312
9469
|
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
9313
9470
|
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
9314
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9315
9471
|
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9316
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9317
9472
|
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9318
9473
|
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9319
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9320
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9321
9474
|
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
9322
9475
|
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
9323
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9324
9476
|
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9325
9477
|
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9326
9478
|
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
@@ -9400,6 +9552,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9400
9552
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9401
9553
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9402
9554
|
}
|
|
9555
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9556
|
+
import { FC } from 'react';
|
|
9557
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9558
|
+
export const SearchHighlighter: FC<{
|
|
9559
|
+
highlight: SearchHighlight;
|
|
9560
|
+
}>;
|
|
9561
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9562
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9563
|
+
}
|
|
9403
9564
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9404
9565
|
import { FC } from 'react';
|
|
9405
9566
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9428,11 +9589,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9428
9589
|
}
|
|
9429
9590
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9430
9591
|
import { FC } from 'react';
|
|
9431
|
-
import {
|
|
9592
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9432
9593
|
export const PageListItemBody: FC<{
|
|
9433
|
-
|
|
9434
|
-
[key: string]: PublishableItemContent;
|
|
9435
|
-
};
|
|
9594
|
+
page: PageItem;
|
|
9436
9595
|
search?: string;
|
|
9437
9596
|
}>;
|
|
9438
9597
|
}
|
|
@@ -9498,7 +9657,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9498
9657
|
import { FC } from 'react';
|
|
9499
9658
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9500
9659
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9501
|
-
export
|
|
9660
|
+
export interface PostCreatorProps {
|
|
9502
9661
|
groupId: string;
|
|
9503
9662
|
disabled: boolean;
|
|
9504
9663
|
disableDragAndDrop?: boolean;
|
|
@@ -9509,134 +9668,1295 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9509
9668
|
defaultKeywords?: Keyword[];
|
|
9510
9669
|
mandatoryKeywords?: Keyword[];
|
|
9511
9670
|
};
|
|
9512
|
-
|
|
9513
|
-
}
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
import {
|
|
9518
|
-
import {
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
}
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
import {
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9671
|
+
disableAutoFocus?: boolean;
|
|
9672
|
+
}
|
|
9673
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9674
|
+
}
|
|
9675
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9676
|
+
import { FC } from 'react';
|
|
9677
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9678
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
9679
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9680
|
+
interface Props {
|
|
9681
|
+
className?: string;
|
|
9682
|
+
post: Post;
|
|
9683
|
+
initialPageSize?: number;
|
|
9684
|
+
comments?: PaginatedList<Comment>;
|
|
9685
|
+
autoFocusReplyField?: boolean;
|
|
9686
|
+
onReplyAdded: () => void;
|
|
9687
|
+
onReplyDeleted: () => void;
|
|
9688
|
+
onThreadReply?: (threadId: string) => void;
|
|
9689
|
+
}
|
|
9690
|
+
export const PostReplies: FC<Props>;
|
|
9691
|
+
}
|
|
9692
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
9693
|
+
import { FC } from 'react';
|
|
9694
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9695
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9696
|
+
export const PostEditor: FC<{
|
|
9697
|
+
className?: string;
|
|
9698
|
+
post: Post;
|
|
9699
|
+
onCancel: () => void;
|
|
9700
|
+
onBeforeSave: (post: Post) => void;
|
|
9701
|
+
onSaved: (post: Post) => void;
|
|
9702
|
+
keywordSettings?: {
|
|
9703
|
+
availableKeywords?: Keyword[];
|
|
9704
|
+
defaultKeywords?: Keyword[];
|
|
9705
|
+
mandatoryKeywords?: Keyword[];
|
|
9706
|
+
};
|
|
9707
|
+
}>;
|
|
9708
|
+
}
|
|
9709
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9710
|
+
import { FC } from 'react';
|
|
9711
|
+
export const PostFollowButton: FC<{
|
|
9712
|
+
itemId: string;
|
|
9713
|
+
}>;
|
|
9714
|
+
}
|
|
9715
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9716
|
+
import { FC } from 'react';
|
|
9717
|
+
import { NavLink } from 'react-router-dom';
|
|
9718
|
+
export const PostGroup: FC<{
|
|
9719
|
+
groupId: string;
|
|
9720
|
+
to: string;
|
|
9721
|
+
className?: string;
|
|
9722
|
+
}>;
|
|
9723
|
+
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9724
|
+
}
|
|
9725
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9726
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9727
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9728
|
+
interface Props {
|
|
9729
|
+
post: Post;
|
|
9730
|
+
className?: string;
|
|
9731
|
+
threadId?: string;
|
|
9732
|
+
onCustomPostDelete?: () => void;
|
|
9733
|
+
comments?: PaginatedList<Comment>;
|
|
9734
|
+
initialCommentsPageSize?: number;
|
|
9735
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9736
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9737
|
+
onThreadCommentDelete?: () => void;
|
|
9738
|
+
onThreadReply?: (threadId: string) => void;
|
|
9739
|
+
keywordSettings?: {
|
|
9740
|
+
availableKeywords?: Keyword[];
|
|
9741
|
+
defaultKeywords?: Keyword[];
|
|
9742
|
+
mandatoryKeywords?: Keyword[];
|
|
9743
|
+
};
|
|
9744
|
+
showGroup?: boolean;
|
|
9745
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9746
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9747
|
+
}
|
|
9748
|
+
export const PostDisplay: React.FC<Props>;
|
|
9749
|
+
}
|
|
9750
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
|
|
9751
|
+
import { FC } from 'react';
|
|
9752
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
9753
|
+
export const PostGroupsSelector: FC<{
|
|
9754
|
+
groups: UserGroup[];
|
|
9755
|
+
}>;
|
|
9756
|
+
}
|
|
9757
|
+
declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
9758
|
+
import { FC } from 'react';
|
|
9759
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9760
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9761
|
+
interface Props {
|
|
9762
|
+
post: Post;
|
|
9763
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9764
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9765
|
+
keywordSettings?: {
|
|
9766
|
+
availableKeywords?: Keyword[];
|
|
9767
|
+
defaultKeywords?: Keyword[];
|
|
9768
|
+
mandatoryKeywords?: Keyword[];
|
|
9769
|
+
};
|
|
9770
|
+
showGroup: boolean;
|
|
9771
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9772
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9773
|
+
}
|
|
9774
|
+
export const PostListItem: FC<Props>;
|
|
9775
|
+
}
|
|
9776
|
+
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9777
|
+
import { FC } from 'react';
|
|
9778
|
+
import { Post } from "libs/reach/feature/content/src/index";
|
|
9779
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9780
|
+
export const PostWithSelfThreadHandling: FC<{
|
|
9781
|
+
post: Post;
|
|
9782
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9783
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9784
|
+
keywordSettings?: {
|
|
9785
|
+
availableKeywords?: Keyword[];
|
|
9786
|
+
defaultKeywords?: Keyword[];
|
|
9787
|
+
mandatoryKeywords?: Keyword[];
|
|
9788
|
+
};
|
|
9789
|
+
showGroup: boolean;
|
|
9790
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9791
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9792
|
+
}>;
|
|
9793
|
+
}
|
|
9794
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
9795
|
+
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";
|
|
9796
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9797
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9798
|
+
enum StreamItemTypes {
|
|
9799
|
+
Post = "POST",
|
|
9800
|
+
News = "NEWS",
|
|
9801
|
+
Event = "EVENT",
|
|
9802
|
+
Page = "PAGE"
|
|
9803
|
+
}
|
|
9804
|
+
export enum StreamConversationScope {
|
|
9805
|
+
Public = "PUBLIC",
|
|
9806
|
+
Editor = "EDITOR",
|
|
9807
|
+
Posts = "POSTS"
|
|
9808
|
+
}
|
|
9809
|
+
export interface PostStreamItem extends Post {
|
|
9810
|
+
type: StreamItemTypes.Post;
|
|
9811
|
+
isUnread: boolean;
|
|
9812
|
+
keywordsList?: Keyword[];
|
|
9813
|
+
groupIds?: string[];
|
|
9814
|
+
postAttachments?: StreamAttachment[];
|
|
9815
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9816
|
+
hasMoreUnreadComments: boolean;
|
|
9817
|
+
}
|
|
9818
|
+
export interface StreamPostComment extends Comment {
|
|
9819
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9820
|
+
streamConversationScope?: StreamConversationScope;
|
|
9821
|
+
}
|
|
9822
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
9823
|
+
type: GraphQLAttachmentType;
|
|
9824
|
+
}
|
|
9825
|
+
export interface NewsStreamItem extends NewsItem {
|
|
9826
|
+
type: StreamItemTypes.News;
|
|
9827
|
+
contentsList: StreamPublishableItemContents[];
|
|
9828
|
+
channelsList: string[];
|
|
9829
|
+
isUnread: boolean;
|
|
9830
|
+
keywordsList?: Keyword[];
|
|
9831
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9832
|
+
}
|
|
9833
|
+
export enum StreamKnownNewsState {
|
|
9834
|
+
Unconfirmed = "UNCONFIRMED",
|
|
9835
|
+
Alert = "ALERT"
|
|
9836
|
+
}
|
|
9837
|
+
export interface EventStreamItem extends EventItem {
|
|
9838
|
+
type: StreamItemTypes.Event;
|
|
9839
|
+
contentsList: StreamPublishableItemContents[];
|
|
9840
|
+
channelsList: string[];
|
|
9841
|
+
isUnread: boolean;
|
|
9842
|
+
keywordsList?: Keyword[];
|
|
9843
|
+
userResponseType?: StreamEventResponse;
|
|
9844
|
+
}
|
|
9845
|
+
export interface PageStreamItem extends PageItem {
|
|
9846
|
+
type: StreamItemTypes.Page;
|
|
9847
|
+
contentsList: StreamPublishableItemContents[];
|
|
9848
|
+
channelsList: string[];
|
|
9849
|
+
isUnread: boolean;
|
|
9850
|
+
keywordsList?: Keyword[];
|
|
9851
|
+
streamPageType?: string;
|
|
9852
|
+
path?: (PageNavigationNode & {
|
|
9853
|
+
parentId?: string;
|
|
9854
|
+
})[];
|
|
9855
|
+
}
|
|
9856
|
+
interface StreamPublishableItemContents {
|
|
9857
|
+
language: string;
|
|
9858
|
+
title: string;
|
|
9859
|
+
intro?: string;
|
|
9860
|
+
headline?: string;
|
|
9861
|
+
}
|
|
9862
|
+
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9863
|
+
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9864
|
+
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
9865
|
+
export function isEvent(item: StreamItem): item is EventStreamItem;
|
|
9866
|
+
export function isPage(item: StreamItem): item is PageStreamItem;
|
|
9867
|
+
export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
|
|
9868
|
+
groupId: string;
|
|
9869
|
+
attachments: {
|
|
9870
|
+
type: AttachmentType;
|
|
9871
|
+
id: string;
|
|
9872
|
+
filename?: string;
|
|
9873
|
+
previewUrl?: string;
|
|
9874
|
+
url?: string;
|
|
9875
|
+
isUploadInProgress?: boolean;
|
|
9876
|
+
hasError?: boolean;
|
|
9877
|
+
width?: number;
|
|
9878
|
+
height?: number;
|
|
9879
|
+
}[];
|
|
9880
|
+
comments: {
|
|
9881
|
+
items: {
|
|
9882
|
+
conversationScope: ConversationScope;
|
|
9883
|
+
fileAccessToken: string;
|
|
9884
|
+
attachments: {
|
|
9885
|
+
type: AttachmentType;
|
|
9886
|
+
id: string;
|
|
9887
|
+
filename?: string;
|
|
9888
|
+
previewUrl?: string;
|
|
9889
|
+
url?: string;
|
|
9890
|
+
isUploadInProgress?: boolean;
|
|
9891
|
+
hasError?: boolean;
|
|
9892
|
+
width?: number;
|
|
9893
|
+
height?: number;
|
|
9894
|
+
}[];
|
|
9895
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9896
|
+
streamConversationScope?: StreamConversationScope;
|
|
9897
|
+
id: string;
|
|
9898
|
+
parentItemId: string;
|
|
9899
|
+
content: string;
|
|
9900
|
+
contentLanguageCode?: string;
|
|
9901
|
+
receivedDateTime: string;
|
|
9902
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9903
|
+
modified?: string;
|
|
9904
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9905
|
+
isLiked?: boolean;
|
|
9906
|
+
threadId?: string;
|
|
9907
|
+
isUnread?: boolean;
|
|
9908
|
+
hasUnreadReplies?: boolean;
|
|
9909
|
+
isDemoContent?: boolean;
|
|
9910
|
+
attachmentContainerId?: string;
|
|
9911
|
+
}[];
|
|
9912
|
+
paginationToken?: any;
|
|
9913
|
+
nextItem?: StreamPostComment;
|
|
9914
|
+
hasMoreUnreadComments?: boolean;
|
|
9915
|
+
hasNextPage?: boolean;
|
|
9916
|
+
};
|
|
9917
|
+
keywords: {
|
|
9918
|
+
[key: string]: Keyword[];
|
|
9919
|
+
};
|
|
9920
|
+
type: StreamItemTypes.Post;
|
|
9921
|
+
isUnread: boolean;
|
|
9922
|
+
keywordsList?: Keyword[];
|
|
9923
|
+
groupIds?: string[];
|
|
9924
|
+
postAttachments?: StreamAttachment[];
|
|
9925
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9926
|
+
hasMoreUnreadComments: boolean;
|
|
9927
|
+
id: string;
|
|
9928
|
+
content: string;
|
|
9929
|
+
permalink?: string;
|
|
9930
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
9931
|
+
publishingDate: string;
|
|
9932
|
+
modified?: string;
|
|
9933
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
9934
|
+
contentLanguageCode?: string;
|
|
9935
|
+
isLiked?: boolean;
|
|
9936
|
+
isDemoContent?: boolean;
|
|
9937
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
9938
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9939
|
+
fileAccessToken?: string;
|
|
9940
|
+
attachmentContainerId?: string;
|
|
9941
|
+
} | {
|
|
9942
|
+
groupId: string;
|
|
9943
|
+
attachments: {
|
|
9944
|
+
type: AttachmentType;
|
|
9945
|
+
id: string;
|
|
9946
|
+
filename?: string;
|
|
9947
|
+
previewUrl?: string;
|
|
9948
|
+
url?: string;
|
|
9949
|
+
isUploadInProgress?: boolean;
|
|
9950
|
+
hasError?: boolean;
|
|
9951
|
+
width?: number;
|
|
9952
|
+
height?: number;
|
|
9953
|
+
}[];
|
|
9954
|
+
comments: {
|
|
9955
|
+
items: {
|
|
9956
|
+
conversationScope: ConversationScope;
|
|
9957
|
+
fileAccessToken: string;
|
|
9958
|
+
attachments: {
|
|
9959
|
+
type: AttachmentType;
|
|
9960
|
+
id: string;
|
|
9961
|
+
filename?: string;
|
|
9962
|
+
previewUrl?: string;
|
|
9963
|
+
url?: string;
|
|
9964
|
+
isUploadInProgress?: boolean;
|
|
9965
|
+
hasError?: boolean;
|
|
9966
|
+
width?: number;
|
|
9967
|
+
height?: number;
|
|
9968
|
+
}[];
|
|
9969
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9970
|
+
streamConversationScope?: StreamConversationScope;
|
|
9971
|
+
id: string;
|
|
9972
|
+
parentItemId: string;
|
|
9973
|
+
content: string;
|
|
9974
|
+
contentLanguageCode?: string;
|
|
9975
|
+
receivedDateTime: string;
|
|
9976
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9977
|
+
modified?: string;
|
|
9978
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9979
|
+
isLiked?: boolean;
|
|
9980
|
+
threadId?: string;
|
|
9981
|
+
isUnread?: boolean;
|
|
9982
|
+
hasUnreadReplies?: boolean;
|
|
9983
|
+
isDemoContent?: boolean;
|
|
9984
|
+
attachmentContainerId?: string;
|
|
9985
|
+
}[];
|
|
9986
|
+
paginationToken?: any;
|
|
9987
|
+
nextItem?: StreamPostComment;
|
|
9988
|
+
hasMoreUnreadComments?: boolean;
|
|
9989
|
+
hasNextPage?: boolean;
|
|
9990
|
+
};
|
|
9991
|
+
keywords: {
|
|
9992
|
+
[key: string]: Keyword[];
|
|
9993
|
+
};
|
|
9994
|
+
type: StreamItemTypes.News;
|
|
9995
|
+
contentsList: StreamPublishableItemContents[];
|
|
9996
|
+
channelsList: string[];
|
|
9997
|
+
isUnread: boolean;
|
|
9998
|
+
keywordsList?: Keyword[];
|
|
9999
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10000
|
+
source?: string;
|
|
10001
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10002
|
+
expiryDate?: string;
|
|
10003
|
+
knownState: KnownNewsState;
|
|
10004
|
+
hasNewComments?: boolean;
|
|
10005
|
+
isLiked?: boolean;
|
|
10006
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10007
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10008
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10009
|
+
id?: string;
|
|
10010
|
+
versionId?: string;
|
|
10011
|
+
publishingDate?: string;
|
|
10012
|
+
deleted?: string;
|
|
10013
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10014
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10015
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10016
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10017
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10018
|
+
fileAccessToken?: string;
|
|
10019
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10020
|
+
customProperties?: {
|
|
10021
|
+
[key: string]: any;
|
|
10022
|
+
};
|
|
10023
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10024
|
+
modified: string;
|
|
10025
|
+
created: string;
|
|
10026
|
+
publishedVersionId?: string;
|
|
10027
|
+
isCurrentPublishedVersion?: boolean;
|
|
10028
|
+
isLatestVersion?: boolean;
|
|
10029
|
+
permalink?: string;
|
|
10030
|
+
groupIds: string[];
|
|
10031
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10032
|
+
useExternalContent?: boolean;
|
|
10033
|
+
isDemoContent?: boolean;
|
|
10034
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10035
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10036
|
+
} | {
|
|
10037
|
+
groupId: string;
|
|
10038
|
+
attachments: {
|
|
10039
|
+
type: AttachmentType;
|
|
10040
|
+
id: string;
|
|
10041
|
+
filename?: string;
|
|
10042
|
+
previewUrl?: string;
|
|
10043
|
+
url?: string;
|
|
10044
|
+
isUploadInProgress?: boolean;
|
|
10045
|
+
hasError?: boolean;
|
|
10046
|
+
width?: number;
|
|
10047
|
+
height?: number;
|
|
10048
|
+
}[];
|
|
10049
|
+
comments: {
|
|
10050
|
+
items: {
|
|
10051
|
+
conversationScope: ConversationScope;
|
|
10052
|
+
fileAccessToken: string;
|
|
10053
|
+
attachments: {
|
|
10054
|
+
type: AttachmentType;
|
|
10055
|
+
id: string;
|
|
10056
|
+
filename?: string;
|
|
10057
|
+
previewUrl?: string;
|
|
10058
|
+
url?: string;
|
|
10059
|
+
isUploadInProgress?: boolean;
|
|
10060
|
+
hasError?: boolean;
|
|
10061
|
+
width?: number;
|
|
10062
|
+
height?: number;
|
|
10063
|
+
}[];
|
|
10064
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10065
|
+
streamConversationScope?: StreamConversationScope;
|
|
10066
|
+
id: string;
|
|
10067
|
+
parentItemId: string;
|
|
10068
|
+
content: string;
|
|
10069
|
+
contentLanguageCode?: string;
|
|
10070
|
+
receivedDateTime: string;
|
|
10071
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10072
|
+
modified?: string;
|
|
10073
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10074
|
+
isLiked?: boolean;
|
|
10075
|
+
threadId?: string;
|
|
10076
|
+
isUnread?: boolean;
|
|
10077
|
+
hasUnreadReplies?: boolean;
|
|
10078
|
+
isDemoContent?: boolean;
|
|
10079
|
+
attachmentContainerId?: string;
|
|
10080
|
+
}[];
|
|
10081
|
+
paginationToken?: any;
|
|
10082
|
+
nextItem?: StreamPostComment;
|
|
10083
|
+
hasMoreUnreadComments?: boolean;
|
|
10084
|
+
hasNextPage?: boolean;
|
|
10085
|
+
};
|
|
10086
|
+
keywords: {
|
|
10087
|
+
[key: string]: Keyword[];
|
|
10088
|
+
};
|
|
10089
|
+
type: StreamItemTypes.Event;
|
|
10090
|
+
contentsList: StreamPublishableItemContents[];
|
|
10091
|
+
channelsList: string[];
|
|
10092
|
+
isUnread: boolean;
|
|
10093
|
+
keywordsList?: Keyword[];
|
|
10094
|
+
userResponseType?: StreamEventResponse;
|
|
10095
|
+
startDate?: string;
|
|
10096
|
+
endDate?: string;
|
|
10097
|
+
timeZone?: string;
|
|
10098
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10099
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10100
|
+
userResponse?: EventResponse;
|
|
10101
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10102
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10103
|
+
hasNewComments?: boolean;
|
|
10104
|
+
isLiked?: boolean;
|
|
10105
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10106
|
+
recurrenceSeriesId?: string;
|
|
10107
|
+
isSeriesMaster?: string;
|
|
10108
|
+
isVirtual?: boolean;
|
|
10109
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10110
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10111
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10112
|
+
id?: string;
|
|
10113
|
+
versionId?: string;
|
|
10114
|
+
publishingDate?: string;
|
|
10115
|
+
deleted?: string;
|
|
10116
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10117
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10118
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10119
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10120
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10121
|
+
fileAccessToken?: string;
|
|
10122
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10123
|
+
customProperties?: {
|
|
10124
|
+
[key: string]: any;
|
|
10125
|
+
};
|
|
10126
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10127
|
+
modified: string;
|
|
10128
|
+
created: string;
|
|
10129
|
+
publishedVersionId?: string;
|
|
10130
|
+
isCurrentPublishedVersion?: boolean;
|
|
10131
|
+
isLatestVersion?: boolean;
|
|
10132
|
+
permalink?: string;
|
|
10133
|
+
groupIds: string[];
|
|
10134
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10135
|
+
useExternalContent?: boolean;
|
|
10136
|
+
isDemoContent?: boolean;
|
|
10137
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10138
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10139
|
+
} | {
|
|
10140
|
+
groupId: string;
|
|
10141
|
+
attachments: {
|
|
10142
|
+
type: AttachmentType;
|
|
10143
|
+
id: string;
|
|
10144
|
+
filename?: string;
|
|
10145
|
+
previewUrl?: string;
|
|
10146
|
+
url?: string;
|
|
10147
|
+
isUploadInProgress?: boolean;
|
|
10148
|
+
hasError?: boolean;
|
|
10149
|
+
width?: number;
|
|
10150
|
+
height?: number;
|
|
10151
|
+
}[];
|
|
10152
|
+
comments: {
|
|
10153
|
+
items: {
|
|
10154
|
+
conversationScope: ConversationScope;
|
|
10155
|
+
fileAccessToken: string;
|
|
10156
|
+
attachments: {
|
|
10157
|
+
type: AttachmentType;
|
|
10158
|
+
id: string;
|
|
10159
|
+
filename?: string;
|
|
10160
|
+
previewUrl?: string;
|
|
10161
|
+
url?: string;
|
|
10162
|
+
isUploadInProgress?: boolean;
|
|
10163
|
+
hasError?: boolean;
|
|
10164
|
+
width?: number;
|
|
10165
|
+
height?: number;
|
|
10166
|
+
}[];
|
|
10167
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10168
|
+
streamConversationScope?: StreamConversationScope;
|
|
10169
|
+
id: string;
|
|
10170
|
+
parentItemId: string;
|
|
10171
|
+
content: string;
|
|
10172
|
+
contentLanguageCode?: string;
|
|
10173
|
+
receivedDateTime: string;
|
|
10174
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10175
|
+
modified?: string;
|
|
10176
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10177
|
+
isLiked?: boolean;
|
|
10178
|
+
threadId?: string;
|
|
10179
|
+
isUnread?: boolean;
|
|
10180
|
+
hasUnreadReplies?: boolean;
|
|
10181
|
+
isDemoContent?: boolean;
|
|
10182
|
+
attachmentContainerId?: string;
|
|
10183
|
+
}[];
|
|
10184
|
+
paginationToken?: any;
|
|
10185
|
+
nextItem?: StreamPostComment;
|
|
10186
|
+
hasMoreUnreadComments?: boolean;
|
|
10187
|
+
hasNextPage?: boolean;
|
|
10188
|
+
};
|
|
10189
|
+
keywords: {
|
|
10190
|
+
[key: string]: Keyword[];
|
|
10191
|
+
};
|
|
10192
|
+
type: StreamItemTypes.Page;
|
|
10193
|
+
contentsList: StreamPublishableItemContents[];
|
|
10194
|
+
channelsList: string[];
|
|
10195
|
+
isUnread: boolean;
|
|
10196
|
+
keywordsList?: Keyword[];
|
|
10197
|
+
streamPageType?: string;
|
|
10198
|
+
path?: (PageNavigationNode & {
|
|
10199
|
+
parentId?: string;
|
|
10200
|
+
})[];
|
|
10201
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10202
|
+
parentId?: string;
|
|
10203
|
+
pathIds?: string[];
|
|
10204
|
+
position?: number;
|
|
10205
|
+
navigationContext?: PageNavigationContext;
|
|
10206
|
+
hasHiddenAncestor?: boolean;
|
|
10207
|
+
isUnlinked?: boolean;
|
|
10208
|
+
pageType?: PageType;
|
|
10209
|
+
firstChildId?: string;
|
|
10210
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10211
|
+
id?: string;
|
|
10212
|
+
versionId?: string;
|
|
10213
|
+
publishingDate?: string;
|
|
10214
|
+
deleted?: string;
|
|
10215
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10216
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10217
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10218
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10219
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10220
|
+
fileAccessToken?: string;
|
|
10221
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10222
|
+
customProperties?: {
|
|
10223
|
+
[key: string]: any;
|
|
10224
|
+
};
|
|
10225
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10226
|
+
modified: string;
|
|
10227
|
+
created: string;
|
|
10228
|
+
publishedVersionId?: string;
|
|
10229
|
+
isCurrentPublishedVersion?: boolean;
|
|
10230
|
+
isLatestVersion?: boolean;
|
|
10231
|
+
permalink?: string;
|
|
10232
|
+
groupIds: string[];
|
|
10233
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10234
|
+
useExternalContent?: boolean;
|
|
10235
|
+
isDemoContent?: boolean;
|
|
10236
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10237
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10238
|
+
} | {
|
|
10239
|
+
knownState?: undefined;
|
|
10240
|
+
pageType?: undefined;
|
|
10241
|
+
navigationContext?: undefined;
|
|
10242
|
+
userResponse: EventResponse;
|
|
10243
|
+
channels: {
|
|
10244
|
+
name: string;
|
|
10245
|
+
}[];
|
|
10246
|
+
contents: {};
|
|
10247
|
+
bannerInfo: {
|
|
10248
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10249
|
+
type: "video" | "image";
|
|
10250
|
+
videoId?: string;
|
|
10251
|
+
videoUrl?: string;
|
|
10252
|
+
isDirectVideoUrl?: boolean;
|
|
10253
|
+
imageId?: string;
|
|
10254
|
+
};
|
|
10255
|
+
keywords: {
|
|
10256
|
+
[key: string]: Keyword[];
|
|
10257
|
+
};
|
|
10258
|
+
type: StreamItemTypes.Post;
|
|
10259
|
+
isUnread: boolean;
|
|
10260
|
+
keywordsList?: Keyword[];
|
|
10261
|
+
groupIds?: string[];
|
|
10262
|
+
postAttachments?: StreamAttachment[];
|
|
10263
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10264
|
+
hasMoreUnreadComments: boolean;
|
|
10265
|
+
id: string;
|
|
10266
|
+
comments?: PaginatedList<Comment>;
|
|
10267
|
+
groupId: string;
|
|
10268
|
+
content: string;
|
|
10269
|
+
permalink?: string;
|
|
10270
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10271
|
+
publishingDate: string;
|
|
10272
|
+
modified?: string;
|
|
10273
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10274
|
+
contentLanguageCode?: string;
|
|
10275
|
+
isLiked?: boolean;
|
|
10276
|
+
isDemoContent?: boolean;
|
|
10277
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10278
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10279
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10280
|
+
fileAccessToken?: string;
|
|
10281
|
+
attachmentContainerId?: string;
|
|
10282
|
+
} | {
|
|
10283
|
+
knownState: KnownNewsState;
|
|
10284
|
+
pageType?: undefined;
|
|
10285
|
+
navigationContext?: undefined;
|
|
10286
|
+
userResponse: EventResponse;
|
|
10287
|
+
channels: {
|
|
10288
|
+
name: string;
|
|
10289
|
+
}[];
|
|
10290
|
+
contents: {};
|
|
10291
|
+
bannerInfo: {
|
|
10292
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10293
|
+
type: "video" | "image";
|
|
10294
|
+
videoId?: string;
|
|
10295
|
+
videoUrl?: string;
|
|
10296
|
+
isDirectVideoUrl?: boolean;
|
|
10297
|
+
imageId?: string;
|
|
10298
|
+
};
|
|
10299
|
+
keywords: {
|
|
10300
|
+
[key: string]: Keyword[];
|
|
10301
|
+
};
|
|
10302
|
+
type: StreamItemTypes.Post;
|
|
10303
|
+
isUnread: boolean;
|
|
10304
|
+
keywordsList?: Keyword[];
|
|
10305
|
+
groupIds?: string[];
|
|
10306
|
+
postAttachments?: StreamAttachment[];
|
|
10307
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10308
|
+
hasMoreUnreadComments: boolean;
|
|
10309
|
+
id: string;
|
|
10310
|
+
comments?: PaginatedList<Comment>;
|
|
10311
|
+
groupId: string;
|
|
10312
|
+
content: string;
|
|
10313
|
+
permalink?: string;
|
|
10314
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10315
|
+
publishingDate: string;
|
|
10316
|
+
modified?: string;
|
|
10317
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10318
|
+
contentLanguageCode?: string;
|
|
10319
|
+
isLiked?: boolean;
|
|
10320
|
+
isDemoContent?: boolean;
|
|
10321
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10322
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10323
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10324
|
+
fileAccessToken?: string;
|
|
10325
|
+
attachmentContainerId?: string;
|
|
10326
|
+
} | {
|
|
10327
|
+
knownState?: undefined;
|
|
10328
|
+
pageType: PageType;
|
|
10329
|
+
navigationContext: PageNavigationContext;
|
|
10330
|
+
userResponse: EventResponse;
|
|
10331
|
+
channels: {
|
|
10332
|
+
name: string;
|
|
10333
|
+
}[];
|
|
10334
|
+
contents: {};
|
|
10335
|
+
bannerInfo: {
|
|
10336
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10337
|
+
type: "video" | "image";
|
|
10338
|
+
videoId?: string;
|
|
10339
|
+
videoUrl?: string;
|
|
10340
|
+
isDirectVideoUrl?: boolean;
|
|
10341
|
+
imageId?: string;
|
|
10342
|
+
};
|
|
10343
|
+
keywords: {
|
|
10344
|
+
[key: string]: Keyword[];
|
|
10345
|
+
};
|
|
10346
|
+
type: StreamItemTypes.Post;
|
|
10347
|
+
isUnread: boolean;
|
|
10348
|
+
keywordsList?: Keyword[];
|
|
10349
|
+
groupIds?: string[];
|
|
10350
|
+
postAttachments?: StreamAttachment[];
|
|
10351
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10352
|
+
hasMoreUnreadComments: boolean;
|
|
10353
|
+
id: string;
|
|
10354
|
+
comments?: PaginatedList<Comment>;
|
|
10355
|
+
groupId: string;
|
|
10356
|
+
content: string;
|
|
10357
|
+
permalink?: string;
|
|
10358
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10359
|
+
publishingDate: string;
|
|
10360
|
+
modified?: string;
|
|
10361
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10362
|
+
contentLanguageCode?: string;
|
|
10363
|
+
isLiked?: boolean;
|
|
10364
|
+
isDemoContent?: boolean;
|
|
10365
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10366
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10367
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10368
|
+
fileAccessToken?: string;
|
|
10369
|
+
attachmentContainerId?: string;
|
|
10370
|
+
} | {
|
|
10371
|
+
knownState: KnownNewsState;
|
|
10372
|
+
pageType: PageType;
|
|
10373
|
+
navigationContext: PageNavigationContext;
|
|
10374
|
+
userResponse: EventResponse;
|
|
10375
|
+
channels: {
|
|
10376
|
+
name: string;
|
|
10377
|
+
}[];
|
|
10378
|
+
contents: {};
|
|
10379
|
+
bannerInfo: {
|
|
10380
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10381
|
+
type: "video" | "image";
|
|
10382
|
+
videoId?: string;
|
|
10383
|
+
videoUrl?: string;
|
|
10384
|
+
isDirectVideoUrl?: boolean;
|
|
10385
|
+
imageId?: string;
|
|
10386
|
+
};
|
|
10387
|
+
keywords: {
|
|
10388
|
+
[key: string]: Keyword[];
|
|
10389
|
+
};
|
|
10390
|
+
type: StreamItemTypes.Post;
|
|
10391
|
+
isUnread: boolean;
|
|
10392
|
+
keywordsList?: Keyword[];
|
|
10393
|
+
groupIds?: string[];
|
|
10394
|
+
postAttachments?: StreamAttachment[];
|
|
10395
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10396
|
+
hasMoreUnreadComments: boolean;
|
|
10397
|
+
id: string;
|
|
10398
|
+
comments?: PaginatedList<Comment>;
|
|
10399
|
+
groupId: string;
|
|
10400
|
+
content: string;
|
|
10401
|
+
permalink?: string;
|
|
10402
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10403
|
+
publishingDate: string;
|
|
10404
|
+
modified?: string;
|
|
10405
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10406
|
+
contentLanguageCode?: string;
|
|
10407
|
+
isLiked?: boolean;
|
|
10408
|
+
isDemoContent?: boolean;
|
|
10409
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10410
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10411
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10412
|
+
fileAccessToken?: string;
|
|
10413
|
+
attachmentContainerId?: string;
|
|
10414
|
+
} | {
|
|
10415
|
+
knownState: KnownNewsState;
|
|
10416
|
+
pageType?: undefined;
|
|
10417
|
+
navigationContext?: undefined;
|
|
10418
|
+
userResponse: EventResponse;
|
|
10419
|
+
channels: {
|
|
10420
|
+
name: string;
|
|
10421
|
+
}[];
|
|
10422
|
+
contents: {};
|
|
10423
|
+
bannerInfo: {
|
|
10424
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10425
|
+
type: "video" | "image";
|
|
10426
|
+
videoId?: string;
|
|
10427
|
+
videoUrl?: string;
|
|
10428
|
+
isDirectVideoUrl?: boolean;
|
|
10429
|
+
imageId?: string;
|
|
10430
|
+
};
|
|
10431
|
+
keywords: {
|
|
10432
|
+
[key: string]: Keyword[];
|
|
10433
|
+
};
|
|
10434
|
+
type: StreamItemTypes.News;
|
|
10435
|
+
contentsList: StreamPublishableItemContents[];
|
|
10436
|
+
channelsList: string[];
|
|
10437
|
+
isUnread: boolean;
|
|
10438
|
+
keywordsList?: Keyword[];
|
|
10439
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10440
|
+
source?: string;
|
|
10441
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10442
|
+
expiryDate?: string;
|
|
10443
|
+
hasNewComments?: boolean;
|
|
10444
|
+
isLiked?: boolean;
|
|
10445
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10446
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10447
|
+
id?: string;
|
|
10448
|
+
versionId?: string;
|
|
10449
|
+
publishingDate?: string;
|
|
10450
|
+
deleted?: string;
|
|
10451
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10452
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10453
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10454
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10455
|
+
fileAccessToken?: string;
|
|
10456
|
+
customProperties?: {
|
|
10457
|
+
[key: string]: any;
|
|
10458
|
+
};
|
|
10459
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10460
|
+
modified: string;
|
|
10461
|
+
created: string;
|
|
10462
|
+
publishedVersionId?: string;
|
|
10463
|
+
isCurrentPublishedVersion?: boolean;
|
|
10464
|
+
isLatestVersion?: boolean;
|
|
10465
|
+
permalink?: string;
|
|
10466
|
+
groupIds: string[];
|
|
10467
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10468
|
+
useExternalContent?: boolean;
|
|
10469
|
+
isDemoContent?: boolean;
|
|
10470
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10471
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10472
|
+
} | {
|
|
10473
|
+
knownState: KnownNewsState;
|
|
10474
|
+
pageType: PageType;
|
|
10475
|
+
navigationContext: PageNavigationContext;
|
|
10476
|
+
userResponse: EventResponse;
|
|
10477
|
+
channels: {
|
|
10478
|
+
name: string;
|
|
10479
|
+
}[];
|
|
10480
|
+
contents: {};
|
|
10481
|
+
bannerInfo: {
|
|
10482
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10483
|
+
type: "video" | "image";
|
|
10484
|
+
videoId?: string;
|
|
10485
|
+
videoUrl?: string;
|
|
10486
|
+
isDirectVideoUrl?: boolean;
|
|
10487
|
+
imageId?: string;
|
|
10488
|
+
};
|
|
10489
|
+
keywords: {
|
|
10490
|
+
[key: string]: Keyword[];
|
|
10491
|
+
};
|
|
10492
|
+
type: StreamItemTypes.News;
|
|
10493
|
+
contentsList: StreamPublishableItemContents[];
|
|
10494
|
+
channelsList: string[];
|
|
10495
|
+
isUnread: boolean;
|
|
10496
|
+
keywordsList?: Keyword[];
|
|
10497
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10498
|
+
source?: string;
|
|
10499
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10500
|
+
expiryDate?: string;
|
|
10501
|
+
hasNewComments?: boolean;
|
|
10502
|
+
isLiked?: boolean;
|
|
10503
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10504
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10505
|
+
id?: string;
|
|
10506
|
+
versionId?: string;
|
|
10507
|
+
publishingDate?: string;
|
|
10508
|
+
deleted?: string;
|
|
10509
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10510
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10511
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10512
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10513
|
+
fileAccessToken?: string;
|
|
10514
|
+
customProperties?: {
|
|
10515
|
+
[key: string]: any;
|
|
10516
|
+
};
|
|
10517
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10518
|
+
modified: string;
|
|
10519
|
+
created: string;
|
|
10520
|
+
publishedVersionId?: string;
|
|
10521
|
+
isCurrentPublishedVersion?: boolean;
|
|
10522
|
+
isLatestVersion?: boolean;
|
|
10523
|
+
permalink?: string;
|
|
10524
|
+
groupIds: string[];
|
|
10525
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10526
|
+
useExternalContent?: boolean;
|
|
10527
|
+
isDemoContent?: boolean;
|
|
10528
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10529
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10530
|
+
} | {
|
|
10531
|
+
knownState?: undefined;
|
|
10532
|
+
pageType?: undefined;
|
|
10533
|
+
navigationContext?: undefined;
|
|
10534
|
+
userResponse: EventResponse;
|
|
10535
|
+
channels: {
|
|
10536
|
+
name: string;
|
|
10537
|
+
}[];
|
|
10538
|
+
contents: {};
|
|
10539
|
+
bannerInfo: {
|
|
10540
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10541
|
+
type: "video" | "image";
|
|
10542
|
+
videoId?: string;
|
|
10543
|
+
videoUrl?: string;
|
|
10544
|
+
isDirectVideoUrl?: boolean;
|
|
10545
|
+
imageId?: string;
|
|
10546
|
+
};
|
|
10547
|
+
keywords: {
|
|
10548
|
+
[key: string]: Keyword[];
|
|
10549
|
+
};
|
|
10550
|
+
type: StreamItemTypes.Event;
|
|
10551
|
+
contentsList: StreamPublishableItemContents[];
|
|
10552
|
+
channelsList: string[];
|
|
10553
|
+
isUnread: boolean;
|
|
10554
|
+
keywordsList?: Keyword[];
|
|
10555
|
+
userResponseType?: StreamEventResponse;
|
|
10556
|
+
startDate?: string;
|
|
10557
|
+
endDate?: string;
|
|
10558
|
+
timeZone?: string;
|
|
10559
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10560
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10561
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10562
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10563
|
+
hasNewComments?: boolean;
|
|
10564
|
+
isLiked?: boolean;
|
|
10565
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10566
|
+
recurrenceSeriesId?: string;
|
|
10567
|
+
isSeriesMaster?: string;
|
|
10568
|
+
isVirtual?: boolean;
|
|
10569
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10570
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10571
|
+
id?: string;
|
|
10572
|
+
versionId?: string;
|
|
10573
|
+
publishingDate?: string;
|
|
10574
|
+
deleted?: string;
|
|
10575
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10576
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10577
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10578
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10579
|
+
fileAccessToken?: string;
|
|
10580
|
+
customProperties?: {
|
|
10581
|
+
[key: string]: any;
|
|
10582
|
+
};
|
|
10583
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10584
|
+
modified: string;
|
|
10585
|
+
created: string;
|
|
10586
|
+
publishedVersionId?: string;
|
|
10587
|
+
isCurrentPublishedVersion?: boolean;
|
|
10588
|
+
isLatestVersion?: boolean;
|
|
10589
|
+
permalink?: string;
|
|
10590
|
+
groupIds: string[];
|
|
10591
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10592
|
+
useExternalContent?: boolean;
|
|
10593
|
+
isDemoContent?: boolean;
|
|
10594
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10595
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10596
|
+
} | {
|
|
10597
|
+
knownState: KnownNewsState;
|
|
10598
|
+
pageType?: undefined;
|
|
10599
|
+
navigationContext?: undefined;
|
|
10600
|
+
userResponse: EventResponse;
|
|
10601
|
+
channels: {
|
|
10602
|
+
name: string;
|
|
10603
|
+
}[];
|
|
10604
|
+
contents: {};
|
|
10605
|
+
bannerInfo: {
|
|
10606
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10607
|
+
type: "video" | "image";
|
|
10608
|
+
videoId?: string;
|
|
10609
|
+
videoUrl?: string;
|
|
10610
|
+
isDirectVideoUrl?: boolean;
|
|
10611
|
+
imageId?: string;
|
|
10612
|
+
};
|
|
10613
|
+
keywords: {
|
|
10614
|
+
[key: string]: Keyword[];
|
|
10615
|
+
};
|
|
10616
|
+
type: StreamItemTypes.Event;
|
|
10617
|
+
contentsList: StreamPublishableItemContents[];
|
|
10618
|
+
channelsList: string[];
|
|
10619
|
+
isUnread: boolean;
|
|
10620
|
+
keywordsList?: Keyword[];
|
|
10621
|
+
userResponseType?: StreamEventResponse;
|
|
10622
|
+
startDate?: string;
|
|
10623
|
+
endDate?: string;
|
|
10624
|
+
timeZone?: string;
|
|
10625
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10626
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10627
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10628
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10629
|
+
hasNewComments?: boolean;
|
|
10630
|
+
isLiked?: boolean;
|
|
10631
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10632
|
+
recurrenceSeriesId?: string;
|
|
10633
|
+
isSeriesMaster?: string;
|
|
10634
|
+
isVirtual?: boolean;
|
|
10635
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10636
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10637
|
+
id?: string;
|
|
10638
|
+
versionId?: string;
|
|
10639
|
+
publishingDate?: string;
|
|
10640
|
+
deleted?: string;
|
|
10641
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10642
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10643
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10644
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10645
|
+
fileAccessToken?: string;
|
|
10646
|
+
customProperties?: {
|
|
10647
|
+
[key: string]: any;
|
|
10648
|
+
};
|
|
10649
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10650
|
+
modified: string;
|
|
10651
|
+
created: string;
|
|
10652
|
+
publishedVersionId?: string;
|
|
10653
|
+
isCurrentPublishedVersion?: boolean;
|
|
10654
|
+
isLatestVersion?: boolean;
|
|
10655
|
+
permalink?: string;
|
|
10656
|
+
groupIds: string[];
|
|
10657
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10658
|
+
useExternalContent?: boolean;
|
|
10659
|
+
isDemoContent?: boolean;
|
|
10660
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10661
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10662
|
+
} | {
|
|
10663
|
+
knownState?: undefined;
|
|
10664
|
+
pageType: PageType;
|
|
10665
|
+
navigationContext: PageNavigationContext;
|
|
10666
|
+
userResponse: EventResponse;
|
|
10667
|
+
channels: {
|
|
10668
|
+
name: string;
|
|
10669
|
+
}[];
|
|
10670
|
+
contents: {};
|
|
10671
|
+
bannerInfo: {
|
|
10672
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10673
|
+
type: "video" | "image";
|
|
10674
|
+
videoId?: string;
|
|
10675
|
+
videoUrl?: string;
|
|
10676
|
+
isDirectVideoUrl?: boolean;
|
|
10677
|
+
imageId?: string;
|
|
10678
|
+
};
|
|
10679
|
+
keywords: {
|
|
10680
|
+
[key: string]: Keyword[];
|
|
10681
|
+
};
|
|
10682
|
+
type: StreamItemTypes.Event;
|
|
10683
|
+
contentsList: StreamPublishableItemContents[];
|
|
10684
|
+
channelsList: string[];
|
|
10685
|
+
isUnread: boolean;
|
|
10686
|
+
keywordsList?: Keyword[];
|
|
10687
|
+
userResponseType?: StreamEventResponse;
|
|
10688
|
+
startDate?: string;
|
|
10689
|
+
endDate?: string;
|
|
10690
|
+
timeZone?: string;
|
|
10691
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10692
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10693
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10694
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10695
|
+
hasNewComments?: boolean;
|
|
10696
|
+
isLiked?: boolean;
|
|
10697
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10698
|
+
recurrenceSeriesId?: string;
|
|
10699
|
+
isSeriesMaster?: string;
|
|
10700
|
+
isVirtual?: boolean;
|
|
10701
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10702
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10703
|
+
id?: string;
|
|
10704
|
+
versionId?: string;
|
|
10705
|
+
publishingDate?: string;
|
|
10706
|
+
deleted?: string;
|
|
10707
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10708
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10709
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10710
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10711
|
+
fileAccessToken?: string;
|
|
10712
|
+
customProperties?: {
|
|
10713
|
+
[key: string]: any;
|
|
10714
|
+
};
|
|
10715
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10716
|
+
modified: string;
|
|
10717
|
+
created: string;
|
|
10718
|
+
publishedVersionId?: string;
|
|
10719
|
+
isCurrentPublishedVersion?: boolean;
|
|
10720
|
+
isLatestVersion?: boolean;
|
|
10721
|
+
permalink?: string;
|
|
10722
|
+
groupIds: string[];
|
|
10723
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10724
|
+
useExternalContent?: boolean;
|
|
10725
|
+
isDemoContent?: boolean;
|
|
10726
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10727
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10728
|
+
} | {
|
|
10729
|
+
knownState: KnownNewsState;
|
|
10730
|
+
pageType: PageType;
|
|
10731
|
+
navigationContext: PageNavigationContext;
|
|
10732
|
+
userResponse: EventResponse;
|
|
10733
|
+
channels: {
|
|
10734
|
+
name: string;
|
|
10735
|
+
}[];
|
|
10736
|
+
contents: {};
|
|
10737
|
+
bannerInfo: {
|
|
10738
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10739
|
+
type: "video" | "image";
|
|
10740
|
+
videoId?: string;
|
|
10741
|
+
videoUrl?: string;
|
|
10742
|
+
isDirectVideoUrl?: boolean;
|
|
10743
|
+
imageId?: string;
|
|
10744
|
+
};
|
|
10745
|
+
keywords: {
|
|
10746
|
+
[key: string]: Keyword[];
|
|
9545
10747
|
};
|
|
9546
|
-
|
|
9547
|
-
|
|
9548
|
-
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9568
|
-
|
|
9569
|
-
|
|
9570
|
-
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
|
|
9574
|
-
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
|
|
9578
|
-
keywordSettings?: {
|
|
9579
|
-
availableKeywords?: Keyword[];
|
|
9580
|
-
defaultKeywords?: Keyword[];
|
|
9581
|
-
mandatoryKeywords?: Keyword[];
|
|
10748
|
+
type: StreamItemTypes.Event;
|
|
10749
|
+
contentsList: StreamPublishableItemContents[];
|
|
10750
|
+
channelsList: string[];
|
|
10751
|
+
isUnread: boolean;
|
|
10752
|
+
keywordsList?: Keyword[];
|
|
10753
|
+
userResponseType?: StreamEventResponse;
|
|
10754
|
+
startDate?: string;
|
|
10755
|
+
endDate?: string;
|
|
10756
|
+
timeZone?: string;
|
|
10757
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10758
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10759
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10760
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10761
|
+
hasNewComments?: boolean;
|
|
10762
|
+
isLiked?: boolean;
|
|
10763
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10764
|
+
recurrenceSeriesId?: string;
|
|
10765
|
+
isSeriesMaster?: string;
|
|
10766
|
+
isVirtual?: boolean;
|
|
10767
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10768
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10769
|
+
id?: string;
|
|
10770
|
+
versionId?: string;
|
|
10771
|
+
publishingDate?: string;
|
|
10772
|
+
deleted?: string;
|
|
10773
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10774
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10775
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10776
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10777
|
+
fileAccessToken?: string;
|
|
10778
|
+
customProperties?: {
|
|
10779
|
+
[key: string]: any;
|
|
9582
10780
|
};
|
|
9583
|
-
|
|
9584
|
-
|
|
9585
|
-
|
|
9586
|
-
|
|
9587
|
-
|
|
9588
|
-
|
|
9589
|
-
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
|
|
9593
|
-
|
|
9594
|
-
|
|
9595
|
-
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
|
|
9599
|
-
|
|
9600
|
-
|
|
9601
|
-
|
|
9602
|
-
|
|
9603
|
-
|
|
9604
|
-
|
|
9605
|
-
|
|
9606
|
-
|
|
9607
|
-
|
|
10781
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10782
|
+
modified: string;
|
|
10783
|
+
created: string;
|
|
10784
|
+
publishedVersionId?: string;
|
|
10785
|
+
isCurrentPublishedVersion?: boolean;
|
|
10786
|
+
isLatestVersion?: boolean;
|
|
10787
|
+
permalink?: string;
|
|
10788
|
+
groupIds: string[];
|
|
10789
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10790
|
+
useExternalContent?: boolean;
|
|
10791
|
+
isDemoContent?: boolean;
|
|
10792
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10793
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10794
|
+
} | {
|
|
10795
|
+
knownState?: undefined;
|
|
10796
|
+
pageType?: PageType;
|
|
10797
|
+
navigationContext?: PageNavigationContext;
|
|
10798
|
+
userResponse: EventResponse;
|
|
10799
|
+
channels: {
|
|
10800
|
+
name: string;
|
|
10801
|
+
}[];
|
|
10802
|
+
contents: {};
|
|
10803
|
+
bannerInfo: {
|
|
10804
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10805
|
+
type: "video" | "image";
|
|
10806
|
+
videoId?: string;
|
|
10807
|
+
videoUrl?: string;
|
|
10808
|
+
isDirectVideoUrl?: boolean;
|
|
10809
|
+
imageId?: string;
|
|
9608
10810
|
};
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
onAfterDelete?: (id: string) => unknown;
|
|
9612
|
-
}
|
|
9613
|
-
export const PostListItem: FC<Props>;
|
|
9614
|
-
}
|
|
9615
|
-
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9616
|
-
import { FC } from 'react';
|
|
9617
|
-
import { Post } from "libs/reach/feature/content/src/index";
|
|
9618
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9619
|
-
export const PostWithSelfThreadHandling: FC<{
|
|
9620
|
-
post: Post;
|
|
9621
|
-
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9622
|
-
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9623
|
-
keywordSettings?: {
|
|
9624
|
-
availableKeywords?: Keyword[];
|
|
9625
|
-
defaultKeywords?: Keyword[];
|
|
9626
|
-
mandatoryKeywords?: Keyword[];
|
|
10811
|
+
keywords: {
|
|
10812
|
+
[key: string]: Keyword[];
|
|
9627
10813
|
};
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
9634
|
-
|
|
10814
|
+
type: StreamItemTypes.Page;
|
|
10815
|
+
contentsList: StreamPublishableItemContents[];
|
|
10816
|
+
channelsList: string[];
|
|
10817
|
+
isUnread: boolean;
|
|
10818
|
+
keywordsList?: Keyword[];
|
|
10819
|
+
streamPageType?: string;
|
|
10820
|
+
path?: (PageNavigationNode & {
|
|
10821
|
+
parentId?: string;
|
|
10822
|
+
})[];
|
|
10823
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10824
|
+
parentId?: string;
|
|
10825
|
+
pathIds?: string[];
|
|
10826
|
+
position?: number;
|
|
10827
|
+
hasHiddenAncestor?: boolean;
|
|
10828
|
+
isUnlinked?: boolean;
|
|
10829
|
+
firstChildId?: string;
|
|
10830
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10831
|
+
id?: string;
|
|
10832
|
+
versionId?: string;
|
|
10833
|
+
publishingDate?: string;
|
|
10834
|
+
deleted?: string;
|
|
10835
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10836
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10837
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10838
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10839
|
+
fileAccessToken?: string;
|
|
10840
|
+
customProperties?: {
|
|
10841
|
+
[key: string]: any;
|
|
10842
|
+
};
|
|
10843
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10844
|
+
modified: string;
|
|
10845
|
+
created: string;
|
|
10846
|
+
publishedVersionId?: string;
|
|
10847
|
+
isCurrentPublishedVersion?: boolean;
|
|
10848
|
+
isLatestVersion?: boolean;
|
|
10849
|
+
permalink?: string;
|
|
10850
|
+
groupIds: string[];
|
|
10851
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10852
|
+
useExternalContent?: boolean;
|
|
10853
|
+
isDemoContent?: boolean;
|
|
10854
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10855
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10856
|
+
} | {
|
|
10857
|
+
knownState: KnownNewsState;
|
|
10858
|
+
pageType?: PageType;
|
|
10859
|
+
navigationContext?: PageNavigationContext;
|
|
10860
|
+
userResponse: EventResponse;
|
|
10861
|
+
channels: {
|
|
10862
|
+
name: string;
|
|
10863
|
+
}[];
|
|
10864
|
+
contents: {};
|
|
10865
|
+
bannerInfo: {
|
|
10866
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10867
|
+
type: "video" | "image";
|
|
10868
|
+
videoId?: string;
|
|
10869
|
+
videoUrl?: string;
|
|
10870
|
+
isDirectVideoUrl?: boolean;
|
|
10871
|
+
imageId?: string;
|
|
10872
|
+
};
|
|
10873
|
+
keywords: {
|
|
10874
|
+
[key: string]: Keyword[];
|
|
10875
|
+
};
|
|
10876
|
+
type: StreamItemTypes.Page;
|
|
10877
|
+
contentsList: StreamPublishableItemContents[];
|
|
10878
|
+
channelsList: string[];
|
|
10879
|
+
isUnread: boolean;
|
|
10880
|
+
keywordsList?: Keyword[];
|
|
10881
|
+
streamPageType?: string;
|
|
10882
|
+
path?: (PageNavigationNode & {
|
|
10883
|
+
parentId?: string;
|
|
10884
|
+
})[];
|
|
10885
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10886
|
+
parentId?: string;
|
|
10887
|
+
pathIds?: string[];
|
|
10888
|
+
position?: number;
|
|
10889
|
+
hasHiddenAncestor?: boolean;
|
|
10890
|
+
isUnlinked?: boolean;
|
|
10891
|
+
firstChildId?: string;
|
|
10892
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10893
|
+
id?: string;
|
|
10894
|
+
versionId?: string;
|
|
10895
|
+
publishingDate?: string;
|
|
10896
|
+
deleted?: string;
|
|
10897
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10898
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10899
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10900
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10901
|
+
fileAccessToken?: string;
|
|
10902
|
+
customProperties?: {
|
|
10903
|
+
[key: string]: any;
|
|
10904
|
+
};
|
|
10905
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10906
|
+
modified: string;
|
|
10907
|
+
created: string;
|
|
10908
|
+
publishedVersionId?: string;
|
|
10909
|
+
isCurrentPublishedVersion?: boolean;
|
|
10910
|
+
isLatestVersion?: boolean;
|
|
10911
|
+
permalink?: string;
|
|
10912
|
+
groupIds: string[];
|
|
10913
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10914
|
+
useExternalContent?: boolean;
|
|
10915
|
+
isDemoContent?: boolean;
|
|
10916
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10917
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10918
|
+
})[];
|
|
9635
10919
|
}
|
|
9636
|
-
declare module "libs/reach/feature/content/src/
|
|
10920
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10921
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10922
|
+
import { DocumentNode } from '@apollo/client';
|
|
10923
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10924
|
+
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition, FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
10925
|
+
export enum StreamEventResponse {
|
|
10926
|
+
NotSet = "NOTSET",
|
|
10927
|
+
Registered = "REGISTERED",
|
|
10928
|
+
Declined = "DECLINED"
|
|
10929
|
+
}
|
|
10930
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10931
|
+
}
|
|
10932
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10933
|
+
items: StreamItem[];
|
|
10934
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10935
|
+
loadMore: () => Promise<void>;
|
|
10936
|
+
pageInfo: {
|
|
10937
|
+
errors?: any;
|
|
10938
|
+
hasNextPage: boolean;
|
|
10939
|
+
skip: number;
|
|
10940
|
+
};
|
|
10941
|
+
refresh: () => Promise<void>;
|
|
10942
|
+
isLoadingFirstPage: boolean;
|
|
10943
|
+
};
|
|
10944
|
+
export const getStreamQuery: () => DocumentNode;
|
|
10945
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10946
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10947
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10948
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10949
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10950
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10951
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10952
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
10953
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10954
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10955
|
+
}
|
|
10956
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
9637
10957
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9638
10958
|
import { DependencyList } from 'react';
|
|
9639
|
-
export function
|
|
10959
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
9640
10960
|
}
|
|
9641
10961
|
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
9642
10962
|
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -9654,7 +10974,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
9654
10974
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
9655
10975
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
9656
10976
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
9657
|
-
export * from "libs/reach/feature/content/src/posts/
|
|
10977
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
9658
10978
|
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
9659
10979
|
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
9660
10980
|
export * from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9674,7 +10994,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
|
9674
10994
|
onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
|
|
9675
10995
|
onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
|
|
9676
10996
|
className?: string;
|
|
9677
|
-
useLargeAvatar?: boolean;
|
|
9678
10997
|
useExternalLink?: boolean;
|
|
9679
10998
|
}
|
|
9680
10999
|
export const EditorListItem: FC<Props>;
|
|
@@ -9719,12 +11038,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
9719
11038
|
}
|
|
9720
11039
|
}
|
|
9721
11040
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
9722
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11041
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9723
11042
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
9724
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9725
|
-
import { PublishableItem, ItemVersionSummary, PublishableItemVersion } from "libs/reach/util/common/src/index";
|
|
9726
|
-
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9727
|
-
import { ResponseItem } from "libs/reach/util/common/src/index";
|
|
9728
11043
|
import { Observable } from 'rxjs';
|
|
9729
11044
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
9730
11045
|
export function useEditorApi(): {
|
|
@@ -9744,6 +11059,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
|
9744
11059
|
keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
|
|
9745
11060
|
saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
|
|
9746
11061
|
updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
|
|
11062
|
+
translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
|
|
9747
11063
|
};
|
|
9748
11064
|
}
|
|
9749
11065
|
declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
@@ -9767,6 +11083,59 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
9767
11083
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
9768
11084
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
9769
11085
|
}
|
|
11086
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
11087
|
+
import { FC } from 'react';
|
|
11088
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11089
|
+
export const StreamPostItemCard: FC<{
|
|
11090
|
+
post: PostStreamItem;
|
|
11091
|
+
onPostDelete: (id: string) => unknown;
|
|
11092
|
+
}>;
|
|
11093
|
+
}
|
|
11094
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
11095
|
+
import { FC } from 'react';
|
|
11096
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11097
|
+
export const StreamNewsItemCard: FC<{
|
|
11098
|
+
news: NewsStreamItem;
|
|
11099
|
+
}>;
|
|
11100
|
+
}
|
|
11101
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
11102
|
+
import { FC } from 'react';
|
|
11103
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11104
|
+
export const StreamEventItemCard: FC<{
|
|
11105
|
+
event: EventStreamItem;
|
|
11106
|
+
}>;
|
|
11107
|
+
}
|
|
11108
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11109
|
+
import { FC } from 'react';
|
|
11110
|
+
export const GlobalSearchButton: FC;
|
|
11111
|
+
}
|
|
11112
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11113
|
+
import { FC } from 'react';
|
|
11114
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11115
|
+
export type StreamQueryResult = {
|
|
11116
|
+
items: StreamItem[];
|
|
11117
|
+
};
|
|
11118
|
+
export const StreamList: FC;
|
|
11119
|
+
}
|
|
11120
|
+
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
11121
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
11122
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
11123
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11124
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
|
|
11125
|
+
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11126
|
+
}
|
|
11127
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11128
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
11129
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11130
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11131
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
11132
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
11133
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
11134
|
+
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
11135
|
+
}
|
|
11136
|
+
declare module "libs/reach/feature/content/src/search/index" {
|
|
11137
|
+
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11138
|
+
}
|
|
9770
11139
|
declare module "libs/reach/feature/content/src/index" {
|
|
9771
11140
|
export * from "libs/reach/feature/content/src/comments/index";
|
|
9772
11141
|
export * from "libs/reach/feature/content/src/common/index";
|
|
@@ -9779,6 +11148,8 @@ declare module "libs/reach/feature/content/src/index" {
|
|
|
9779
11148
|
export * from "libs/reach/feature/content/src/posts/index";
|
|
9780
11149
|
export * from "libs/reach/feature/content/src/editor/index";
|
|
9781
11150
|
export * from "libs/reach/feature/content/src/public-user/index";
|
|
11151
|
+
export * from "libs/reach/feature/content/src/stream/index";
|
|
11152
|
+
export * from "libs/reach/feature/content/src/search/index";
|
|
9782
11153
|
}
|
|
9783
11154
|
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
9784
11155
|
import { FC } from 'react';
|
|
@@ -9849,20 +11220,22 @@ declare module "apps/reach-app/src/app/AppLoader" {
|
|
|
9849
11220
|
}
|
|
9850
11221
|
declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
|
|
9851
11222
|
import './ContainerWithLogo.scss';
|
|
11223
|
+
import { LogoInfo } from "libs/reach/util/common/src/index";
|
|
11224
|
+
import { FC, ReactNode } from 'react';
|
|
9852
11225
|
export enum DefaultLogoColor {
|
|
9853
11226
|
Default = 0,
|
|
9854
11227
|
White = 1
|
|
9855
11228
|
}
|
|
9856
|
-
type RenderChildren =
|
|
9857
|
-
export const ContainerWithLogo:
|
|
9858
|
-
|
|
9859
|
-
logoColor?: DefaultLogoColor;
|
|
11229
|
+
type RenderChildren = ReactNode | (() => ReactNode);
|
|
11230
|
+
export const ContainerWithLogo: FC<{
|
|
11231
|
+
logoInfo?: LogoInfo;
|
|
9860
11232
|
text?: string;
|
|
9861
11233
|
headerClassName?: string;
|
|
9862
11234
|
additionalClasses?: string;
|
|
9863
11235
|
children: RenderChildren;
|
|
9864
11236
|
className?: string;
|
|
9865
11237
|
additionalContent?: RenderChildren;
|
|
11238
|
+
isBrandedContainer?: boolean;
|
|
9866
11239
|
}>;
|
|
9867
11240
|
}
|
|
9868
11241
|
declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
|
|
@@ -9894,7 +11267,11 @@ declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
|
9894
11267
|
MobileHidden = 1
|
|
9895
11268
|
}
|
|
9896
11269
|
export function shutdownZendesk(): void;
|
|
9897
|
-
export function
|
|
11270
|
+
export function useZendeskWithSubscription(): {
|
|
11271
|
+
showZendeskChat: () => void;
|
|
11272
|
+
toggleIcon: (show: boolean) => void;
|
|
11273
|
+
};
|
|
11274
|
+
export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
|
|
9898
11275
|
showZendeskChat: () => void;
|
|
9899
11276
|
toggleIcon: (show: boolean) => void;
|
|
9900
11277
|
};
|
|
@@ -9909,27 +11286,8 @@ declare module "apps/reach-app/src/app/EnforcedSubscriptionContextProvider" {
|
|
|
9909
11286
|
}
|
|
9910
11287
|
declare module "apps/reach-app/src/app/chrome/PageMenuActionItem" {
|
|
9911
11288
|
import { FC } from 'react';
|
|
9912
|
-
import {
|
|
9913
|
-
export
|
|
9914
|
-
key?: string | number;
|
|
9915
|
-
title?: string;
|
|
9916
|
-
iconName?: string;
|
|
9917
|
-
to?: string;
|
|
9918
|
-
onClick?: () => void;
|
|
9919
|
-
isActive?: boolean;
|
|
9920
|
-
exact?: boolean;
|
|
9921
|
-
cannotBeActive?: boolean;
|
|
9922
|
-
submenuContents?: JSX.Element;
|
|
9923
|
-
submenuStyleDefinition?: StyleDefinition;
|
|
9924
|
-
badgeInfo?: number | boolean;
|
|
9925
|
-
domIdentifier?: string;
|
|
9926
|
-
secondaryIconName?: string;
|
|
9927
|
-
secondaryIconTooltipResourceKey?: string;
|
|
9928
|
-
onSecondaryIconClick?: () => void;
|
|
9929
|
-
iconColor?: string;
|
|
9930
|
-
className?: string;
|
|
9931
|
-
}
|
|
9932
|
-
export const PageMenuActionItem: FC<PageAction>;
|
|
11289
|
+
import { PageNavigationNodeProps } from "libs/reach/util/common/src/index";
|
|
11290
|
+
export const PageMenuActionItem: FC<PageNavigationNodeProps>;
|
|
9933
11291
|
}
|
|
9934
11292
|
declare module "apps/reach-app/src/app/admin/ManagePluginsPage" {
|
|
9935
11293
|
import { FC } from 'react';
|
|
@@ -9939,7 +11297,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
|
|
|
9939
11297
|
import { FC } from 'react';
|
|
9940
11298
|
export const AdminActionItem: FC<{
|
|
9941
11299
|
submenuContents: JSX.Element;
|
|
9942
|
-
onClick
|
|
11300
|
+
onClick?: () => unknown;
|
|
9943
11301
|
title?: string;
|
|
9944
11302
|
}>;
|
|
9945
11303
|
const AdminRoutes: FC;
|
|
@@ -9953,7 +11311,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
|
|
|
9953
11311
|
import { FC } from 'react';
|
|
9954
11312
|
export const ChatMenuNode: FC<{
|
|
9955
11313
|
title: string;
|
|
9956
|
-
onClick
|
|
11314
|
+
onClick?: () => void;
|
|
9957
11315
|
}>;
|
|
9958
11316
|
}
|
|
9959
11317
|
declare module "apps/reach-app/src/app/chrome/Sidebar" {
|
|
@@ -9980,20 +11338,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
|
|
|
9980
11338
|
className?: string;
|
|
9981
11339
|
}>;
|
|
9982
11340
|
}
|
|
9983
|
-
declare module "apps/reach-app/src/app/about/ApplicationVersion" {
|
|
9984
|
-
export default interface ApplicationVersion {
|
|
9985
|
-
description: string;
|
|
9986
|
-
version: string;
|
|
9987
|
-
commitId: string;
|
|
9988
|
-
}
|
|
9989
|
-
}
|
|
9990
|
-
declare module "apps/reach-app/src/app/chrome/VersionInfo" {
|
|
9991
|
-
import { FC } from 'react';
|
|
9992
|
-
export const VersionInfo: FC<{
|
|
9993
|
-
className?: string;
|
|
9994
|
-
renderCommitId?: boolean;
|
|
9995
|
-
}>;
|
|
9996
|
-
}
|
|
9997
11341
|
declare module "apps/reach-app/src/AppLoaderContextProvider" {
|
|
9998
11342
|
import { FC, ReactNode } from 'react';
|
|
9999
11343
|
export const AppLoaderContext: import("react").Context<{
|
|
@@ -10139,6 +11483,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
10139
11483
|
}
|
|
10140
11484
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
10141
11485
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|
|
11486
|
+
import { PageMenuActionItem } from "apps/reach-app/src/app/chrome/PageMenuActionItem";
|
|
10142
11487
|
import { NavLinkSidebarItem } from "apps/reach-app/src/app/chrome/SidebarItem";
|
|
10143
|
-
export { Page, NavLinkSidebarItem };
|
|
11488
|
+
export { Page, NavLinkSidebarItem, PageMenuActionItem };
|
|
10144
11489
|
}
|