@livetiles/reach-plugin-types 0.4.0-preview.37 → 0.4.0-preview.370
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 +2258 -916
- 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(): {
|
|
@@ -2289,7 +2415,10 @@ declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
|
2289
2415
|
declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
2290
2416
|
import { FC } from 'react';
|
|
2291
2417
|
import { PluginAndExtension } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2292
|
-
export const PluginWrapper: FC<PluginAndExtension
|
|
2418
|
+
export const PluginWrapper: FC<PluginAndExtension & {
|
|
2419
|
+
navigationNodeProps?: any;
|
|
2420
|
+
renderNavigationNode?: (navigationNodeProps: any) => JSX.Element;
|
|
2421
|
+
}>;
|
|
2293
2422
|
}
|
|
2294
2423
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2295
2424
|
import { FC } from 'react';
|
|
@@ -2305,7 +2434,9 @@ declare module "libs/reach/util/common/src/plugins/index" {
|
|
|
2305
2434
|
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
2306
2435
|
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
2307
2436
|
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2308
|
-
export * from "libs/reach/util/common/src/plugins/
|
|
2437
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
2438
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
2439
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
2309
2440
|
}
|
|
2310
2441
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
2311
2442
|
export class Color {
|
|
@@ -2420,6 +2551,7 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
|
2420
2551
|
}
|
|
2421
2552
|
export function getDarkAltColor(color: string): string;
|
|
2422
2553
|
export function getTextColor(bgColor: string): "#333333" | "#ffffff";
|
|
2554
|
+
export function shouldUseDarkForegroundColor(bgColor: string): boolean;
|
|
2423
2555
|
}
|
|
2424
2556
|
declare module "libs/reach/util/common/src/theme/ThemeContext" {
|
|
2425
2557
|
import { FC, ReactNode } from 'react';
|
|
@@ -2610,10 +2742,11 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2610
2742
|
useExternalContent?: boolean;
|
|
2611
2743
|
isSearchMatch?: boolean;
|
|
2612
2744
|
topLevelFolderName?: string;
|
|
2745
|
+
uploadToken?: string;
|
|
2613
2746
|
}
|
|
2614
2747
|
export interface PageNavigationContext {
|
|
2615
2748
|
parent?: PageNavigationNode;
|
|
2616
|
-
siblings
|
|
2749
|
+
siblings?: PageNavigationNode[];
|
|
2617
2750
|
children?: PageNavigationNode[];
|
|
2618
2751
|
}
|
|
2619
2752
|
export enum PageType {
|
|
@@ -2715,7 +2848,17 @@ declare module "libs/reach/util/common/src/content/useClearUnreadItems" {
|
|
|
2715
2848
|
onStarted?: () => unknown;
|
|
2716
2849
|
onFinished?: () => unknown;
|
|
2717
2850
|
}
|
|
2718
|
-
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers): () => Promise<void>;
|
|
2851
|
+
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
2852
|
+
}
|
|
2853
|
+
declare module "libs/reach/util/common/src/content/useClearUnreadOnlyFilter" {
|
|
2854
|
+
export function useClearUnreadOnlyFilter(): {
|
|
2855
|
+
clearUnreadOnlyFilter: () => void;
|
|
2856
|
+
};
|
|
2857
|
+
}
|
|
2858
|
+
declare module "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler" {
|
|
2859
|
+
export function useUnreadItemsTogglerHandler(): {
|
|
2860
|
+
toggleUnreadItems: () => void;
|
|
2861
|
+
};
|
|
2719
2862
|
}
|
|
2720
2863
|
declare module "libs/reach/util/common/src/content/index" {
|
|
2721
2864
|
export * from "libs/reach/util/common/src/content/Attachment";
|
|
@@ -2740,6 +2883,8 @@ declare module "libs/reach/util/common/src/content/index" {
|
|
|
2740
2883
|
export * from "libs/reach/util/common/src/content/useFileApi";
|
|
2741
2884
|
export * from "libs/reach/util/common/src/content/content-keyword-utils";
|
|
2742
2885
|
export * from "libs/reach/util/common/src/content/useClearUnreadItems";
|
|
2886
|
+
export * from "libs/reach/util/common/src/content/useClearUnreadOnlyFilter";
|
|
2887
|
+
export * from "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler";
|
|
2743
2888
|
}
|
|
2744
2889
|
declare module "libs/reach/util/common/src/Variables" {
|
|
2745
2890
|
export const maxContentWidth = 985;
|
|
@@ -2840,6 +2985,7 @@ declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
|
2840
2985
|
}
|
|
2841
2986
|
declare module "libs/reach/util/common/src/notification/ToastNotificationHost" {
|
|
2842
2987
|
import { FC } from 'react';
|
|
2988
|
+
import 'react-toastify/dist/ReactToastify.min.css';
|
|
2843
2989
|
export const ToastNotificationHost: FC;
|
|
2844
2990
|
}
|
|
2845
2991
|
declare module "libs/reach/util/common/src/notification/index" {
|
|
@@ -2858,6 +3004,7 @@ declare module "libs/reach/util/common/src/keywords/SubscriptionContext" {
|
|
|
2858
3004
|
selectedKeywordGroups?: KeywordGroup[];
|
|
2859
3005
|
}
|
|
2860
3006
|
export const LazySubscriptionContext: import("react").Context<SubscriptionData & {
|
|
3007
|
+
getChannels: () => Promise<Channel[]>;
|
|
2861
3008
|
refreshSubscription: () => void;
|
|
2862
3009
|
}>;
|
|
2863
3010
|
export const EnforcedSubscriptionContext: import("react").Context<SubscriptionData & {
|
|
@@ -2909,7 +3056,7 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2909
3056
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2910
3057
|
export interface Chat {
|
|
2911
3058
|
id: string;
|
|
2912
|
-
members: Account[];
|
|
3059
|
+
members: (Account & ChatMember)[];
|
|
2913
3060
|
memberIds: string[];
|
|
2914
3061
|
groupName?: string;
|
|
2915
3062
|
lastMessageInfo?: {
|
|
@@ -2920,6 +3067,10 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2920
3067
|
deleteDate?: string;
|
|
2921
3068
|
deleteState?: DeleteState;
|
|
2922
3069
|
messageType?: ChatMessageType;
|
|
3070
|
+
messageValues?: {
|
|
3071
|
+
groupName?: string;
|
|
3072
|
+
userId?: string;
|
|
3073
|
+
};
|
|
2923
3074
|
};
|
|
2924
3075
|
messages: ChatMessage[];
|
|
2925
3076
|
hasNewMessages: boolean;
|
|
@@ -2932,7 +3083,19 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2932
3083
|
}
|
|
2933
3084
|
export enum ChatMessageType {
|
|
2934
3085
|
Default = "DEFAULT",
|
|
2935
|
-
GroupNameChange = "GROUP_NAME_CHANGE"
|
|
3086
|
+
GroupNameChange = "GROUP_NAME_CHANGE",
|
|
3087
|
+
UserLeftGroup = "USER_LEFT_GROUP"
|
|
3088
|
+
}
|
|
3089
|
+
export enum MemberStatus {
|
|
3090
|
+
Normal = "NORMAL",
|
|
3091
|
+
LeftGroupChat = "LEFT_GROUP_CHAT",
|
|
3092
|
+
LeftOneToOneChat = "LEFT_ONE_TO_ONE_CHAT"
|
|
3093
|
+
}
|
|
3094
|
+
export interface ChatMember {
|
|
3095
|
+
id?: string;
|
|
3096
|
+
status?: MemberStatus;
|
|
3097
|
+
joinDate?: string;
|
|
3098
|
+
leftDate?: string;
|
|
2936
3099
|
}
|
|
2937
3100
|
export interface ChatMessage {
|
|
2938
3101
|
itemId: string;
|
|
@@ -3146,12 +3309,13 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3146
3309
|
placeholderStringResourceKey?: string;
|
|
3147
3310
|
autoFocus?: boolean;
|
|
3148
3311
|
inputId?: string;
|
|
3312
|
+
required?: boolean;
|
|
3149
3313
|
className?: string;
|
|
3150
3314
|
}
|
|
3151
3315
|
export const PeoplePicker: FC<Props>;
|
|
3152
3316
|
}
|
|
3153
3317
|
declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
3154
|
-
import { Account, AccountType, useCurrentUser, useNotificationContext, usePluginSettings,
|
|
3318
|
+
import { Account, AccountType, useCurrentUser, useNotificationContext, usePluginSettings, usePluginDeviceStore, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useTheme, usePluginSubscriptionStore, usePluginUserStore } from "libs/reach/util/common/src/index";
|
|
3155
3319
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3156
3320
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3157
3321
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3164,7 +3328,11 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3164
3328
|
import { GutterToggle } from "libs/reach/ui/common/src/GutterToggle";
|
|
3165
3329
|
import { PeoplePicker } from "libs/reach/ui/common/src/PeoplePicker";
|
|
3166
3330
|
import { useAccountApi } from "libs/reach/util/common/src/index";
|
|
3167
|
-
export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings,
|
|
3331
|
+
export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings,
|
|
3332
|
+
/**
|
|
3333
|
+
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3334
|
+
*/
|
|
3335
|
+
usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginUserStore, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, };
|
|
3168
3336
|
export type { Account };
|
|
3169
3337
|
}
|
|
3170
3338
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
@@ -3183,7 +3351,6 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3183
3351
|
}
|
|
3184
3352
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3185
3353
|
import { FC } from 'react';
|
|
3186
|
-
import 'react-toastify/dist/ReactToastify.min.css';
|
|
3187
3354
|
export const NotificationBar: FC;
|
|
3188
3355
|
}
|
|
3189
3356
|
declare module "libs/reach/ui/common/src/common/AttachedMediaDownloadLink" {
|
|
@@ -3228,7 +3395,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
|
3228
3395
|
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3229
3396
|
}
|
|
3230
3397
|
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3231
|
-
import { BaseSubscription, CurrentUser, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3398
|
+
import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3232
3399
|
import { IntlShape } from 'react-intl';
|
|
3233
3400
|
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3234
3401
|
export function isValidUrl(url: string): boolean;
|
|
@@ -3240,9 +3407,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
|
|
|
3240
3407
|
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3241
3408
|
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3242
3409
|
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:
|
|
3410
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3411
|
+
logoInfo: LogoInfo;
|
|
3412
|
+
subscriptionName: string;
|
|
3246
3413
|
};
|
|
3247
3414
|
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3248
3415
|
export function delay(delayInMs: number): Promise<unknown>;
|
|
@@ -3262,8 +3429,8 @@ declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
|
3262
3429
|
}
|
|
3263
3430
|
declare module "libs/reach/ui/common/src/common/Callout" {
|
|
3264
3431
|
import { FC } from 'react';
|
|
3265
|
-
import {
|
|
3266
|
-
export const Callout: FC<
|
|
3432
|
+
import { IFocusTrapCalloutProps } from 'office-ui-fabric-react';
|
|
3433
|
+
export const Callout: FC<IFocusTrapCalloutProps>;
|
|
3267
3434
|
}
|
|
3268
3435
|
declare module "libs/reach/ui/common/src/common/CommentInputTheme" {
|
|
3269
3436
|
export type CommentInputTheme = 'light' | 'dark';
|
|
@@ -3340,12 +3507,13 @@ declare module "libs/reach/ui/common/src/common/Dropdown" {
|
|
|
3340
3507
|
export const Dropdown: FC<IDropdownProps>;
|
|
3341
3508
|
}
|
|
3342
3509
|
declare module "libs/reach/ui/common/src/common/EmptyList" {
|
|
3510
|
+
import { FC } from 'react';
|
|
3343
3511
|
interface EmptyListProps {
|
|
3344
3512
|
icon?: string;
|
|
3345
3513
|
emptyMessageResources?: string[];
|
|
3346
3514
|
className?: string;
|
|
3347
3515
|
}
|
|
3348
|
-
export const EmptyList:
|
|
3516
|
+
export const EmptyList: FC<EmptyListProps>;
|
|
3349
3517
|
}
|
|
3350
3518
|
declare module "libs/reach/ui/common/src/common/EnumHelpers" {
|
|
3351
3519
|
export const hasFlag: (baseValue: any, flag: any) => boolean;
|
|
@@ -3496,18 +3664,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
|
|
|
3496
3664
|
date: string;
|
|
3497
3665
|
}>;
|
|
3498
3666
|
}
|
|
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
3667
|
declare module "libs/reach/ui/common/src/common/IconLabel" {
|
|
3512
3668
|
import { FC, ReactNode } from 'react';
|
|
3513
3669
|
export const IconLabel: FC<{
|
|
@@ -3546,8 +3702,10 @@ declare module "libs/reach/ui/common/src/common/KeywordTitle" {
|
|
|
3546
3702
|
groupName?: string;
|
|
3547
3703
|
groupId?: string;
|
|
3548
3704
|
keywordName?: string;
|
|
3705
|
+
keywordId?: string;
|
|
3549
3706
|
language?: string;
|
|
3550
3707
|
underlined?: boolean;
|
|
3708
|
+
onClick?: (keyword: string) => unknown;
|
|
3551
3709
|
}
|
|
3552
3710
|
export const KeywordTitle: FC<Props>;
|
|
3553
3711
|
export const GridKeywordTitle: FC<{
|
|
@@ -3562,7 +3720,7 @@ declare module "libs/reach/ui/common/src/common/Logos" {
|
|
|
3562
3720
|
export { ReactComponent as WhiteDefaultLogoWithText } from './logos/logo-white-with-name.svg';
|
|
3563
3721
|
export { ReactComponent as LogoPurpleXL } from './logos/logo-purple-xl.svg';
|
|
3564
3722
|
export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
|
|
3565
|
-
export { ReactComponent as
|
|
3723
|
+
export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
|
|
3566
3724
|
}
|
|
3567
3725
|
declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
|
|
3568
3726
|
import { FC } from 'react';
|
|
@@ -3622,11 +3780,24 @@ declare module "libs/reach/ui/common/src/common/Prompt" {
|
|
|
3622
3780
|
}
|
|
3623
3781
|
export const Prompt: FC<Props>;
|
|
3624
3782
|
}
|
|
3783
|
+
declare module "libs/reach/ui/common/src/common/buttons/IconHeaderButton" {
|
|
3784
|
+
import { FC } from 'react';
|
|
3785
|
+
export const IconHeaderButton: FC<{
|
|
3786
|
+
icon: string;
|
|
3787
|
+
isActive?: boolean;
|
|
3788
|
+
disabled?: boolean;
|
|
3789
|
+
tooltipResourceKey?: string;
|
|
3790
|
+
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3791
|
+
link?: string;
|
|
3792
|
+
className?: string;
|
|
3793
|
+
}>;
|
|
3794
|
+
}
|
|
3625
3795
|
declare module "libs/reach/ui/common/src/common/toolbar/ToolbarIconButtonWithToolTip" {
|
|
3626
3796
|
import { FC } from 'react';
|
|
3627
3797
|
export interface ToolbarIconButtonProps {
|
|
3628
3798
|
iconName: string;
|
|
3629
|
-
|
|
3799
|
+
ariaLabel?: string;
|
|
3800
|
+
ariaLabelResourceKey?: string;
|
|
3630
3801
|
onClick?: () => unknown;
|
|
3631
3802
|
to?: string;
|
|
3632
3803
|
target?: string;
|
|
@@ -3655,6 +3826,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
|
|
|
3655
3826
|
onSearchTextChange?: (text: string) => void;
|
|
3656
3827
|
onExecuteSearch?: (text: string) => void;
|
|
3657
3828
|
searchText?: string;
|
|
3829
|
+
showSearchBoxInput?: boolean;
|
|
3658
3830
|
}
|
|
3659
3831
|
export const SearchBox: FC<SearchBoxProps & {
|
|
3660
3832
|
onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
|
|
@@ -3733,8 +3905,7 @@ declare module "libs/reach/ui/common/src/common/buttons/ChoiceGroup" {
|
|
|
3733
3905
|
}
|
|
3734
3906
|
declare module "libs/reach/ui/common/src/common/buttons/CommentActionMenu" {
|
|
3735
3907
|
import { FC } from 'react';
|
|
3736
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
3737
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
3908
|
+
import { Account, Comment } from "libs/reach/util/common/src/index";
|
|
3738
3909
|
export const CommentActionMenu: FC<{
|
|
3739
3910
|
comment: Comment;
|
|
3740
3911
|
showEdit: boolean;
|
|
@@ -3780,6 +3951,21 @@ declare module "libs/reach/ui/common/src/common/buttons/TopActionButton" {
|
|
|
3780
3951
|
}
|
|
3781
3952
|
export const TopActionButton: import("styled-components").StyledComponent<import("react").FC<Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
3782
3953
|
}
|
|
3954
|
+
declare module "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler" {
|
|
3955
|
+
import { FC } from 'react';
|
|
3956
|
+
export const UnreadItemsToggler: FC<{
|
|
3957
|
+
disabled: boolean;
|
|
3958
|
+
className?: string;
|
|
3959
|
+
}>;
|
|
3960
|
+
}
|
|
3961
|
+
declare module "libs/reach/ui/common/src/common/buttons/HeaderMenuButton" {
|
|
3962
|
+
import { FC } from 'react';
|
|
3963
|
+
import { IContextualMenuItem } from 'office-ui-fabric-react';
|
|
3964
|
+
export const HeaderMenuButton: FC<{
|
|
3965
|
+
items: IContextualMenuItem[];
|
|
3966
|
+
className?: string;
|
|
3967
|
+
}>;
|
|
3968
|
+
}
|
|
3783
3969
|
declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
|
|
3784
3970
|
import { FC } from 'react';
|
|
3785
3971
|
import { Channel } from "libs/reach/util/common/src/index";
|
|
@@ -3830,6 +4016,7 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelList" {
|
|
|
3830
4016
|
language: string;
|
|
3831
4017
|
channelStyleDefinition?: ChannelStyleDefinition;
|
|
3832
4018
|
visibleChannelsCount?: number;
|
|
4019
|
+
onChannelClick?: (channel: string) => unknown;
|
|
3833
4020
|
className?: string;
|
|
3834
4021
|
}>;
|
|
3835
4022
|
}
|
|
@@ -3848,6 +4035,8 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelSelector" {
|
|
|
3848
4035
|
showSelectionToggle?: boolean;
|
|
3849
4036
|
placeholder?: string;
|
|
3850
4037
|
inlineControls?: boolean;
|
|
4038
|
+
required?: boolean;
|
|
4039
|
+
id?: string;
|
|
3851
4040
|
}
|
|
3852
4041
|
export const ChannelSelector: FC<Props>;
|
|
3853
4042
|
}
|
|
@@ -3859,6 +4048,7 @@ declare module "libs/reach/ui/common/src/common/channels/ClickableChannelTitles"
|
|
|
3859
4048
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
3860
4049
|
language?: string;
|
|
3861
4050
|
channelBackgroundColor?: string;
|
|
4051
|
+
onClick?: (channel: string) => unknown;
|
|
3862
4052
|
className?: string;
|
|
3863
4053
|
}>;
|
|
3864
4054
|
}
|
|
@@ -4104,7 +4294,7 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
|
|
|
4104
4294
|
declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
|
|
4105
4295
|
import { DependencyList } from 'react';
|
|
4106
4296
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4107
|
-
export function useItemLoaderWithPreFetch(pageSize: number, handler: (pageSize: number,
|
|
4297
|
+
export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: (pageSize: number, token?: TTokenType) => Promise<PaginatedList<TItem>>, deps?: DependencyList): {
|
|
4108
4298
|
items: any[];
|
|
4109
4299
|
isInitialLoading: boolean;
|
|
4110
4300
|
isLoadingNextPage: boolean;
|
|
@@ -4117,6 +4307,21 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
|
|
|
4117
4307
|
isEmpty: boolean;
|
|
4118
4308
|
};
|
|
4119
4309
|
}
|
|
4310
|
+
declare module "libs/reach/ui/common/src/common/paging/PaginationStatus" {
|
|
4311
|
+
import { FC } from 'react';
|
|
4312
|
+
export const PaginationStatus: FC<{
|
|
4313
|
+
allLoadedResourceId: string;
|
|
4314
|
+
showAllLoaded: boolean;
|
|
4315
|
+
showSpinner?: boolean;
|
|
4316
|
+
showPlaceholder?: boolean;
|
|
4317
|
+
}>;
|
|
4318
|
+
}
|
|
4319
|
+
declare module "libs/reach/ui/common/src/common/paging/usePageScrollPagination" {
|
|
4320
|
+
import { DependencyList } from 'react';
|
|
4321
|
+
export function usePageScrollPagination(loadMoreItems: () => Promise<void>, allItemsLoaded?: boolean, additionalDeps?: DependencyList): {
|
|
4322
|
+
isLoadingMore: boolean;
|
|
4323
|
+
};
|
|
4324
|
+
}
|
|
4120
4325
|
declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
|
|
4121
4326
|
import { FC, ReactNode } from 'react';
|
|
4122
4327
|
export const PullToRefreshContext: import("react").Context<{
|
|
@@ -4168,6 +4373,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarMarkAllAsReadButt
|
|
|
4168
4373
|
onMarkAsReadStarted?: () => unknown;
|
|
4169
4374
|
onMarkAsReadFinished?: () => unknown;
|
|
4170
4375
|
disabled?: boolean;
|
|
4376
|
+
unreadCount?: number;
|
|
4171
4377
|
}
|
|
4172
4378
|
export const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
4173
4379
|
export const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
@@ -4351,7 +4557,6 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4351
4557
|
export * from "libs/reach/ui/common/src/common/FloatingActionButton";
|
|
4352
4558
|
export * from "libs/reach/ui/common/src/common/FormattedMessageWithStyle";
|
|
4353
4559
|
export * from "libs/reach/ui/common/src/common/GroupedByDateTitles";
|
|
4354
|
-
export * from "libs/reach/ui/common/src/common/IconHeaderButton";
|
|
4355
4560
|
export * from "libs/reach/ui/common/src/common/IconLabel";
|
|
4356
4561
|
export * from "libs/reach/ui/common/src/common/ItemStatisticsCache";
|
|
4357
4562
|
export * from "libs/reach/ui/common/src/common/KeywordTitle";
|
|
@@ -4382,6 +4587,9 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4382
4587
|
export * from "libs/reach/ui/common/src/common/buttons/DeleteAttachmentButton";
|
|
4383
4588
|
export * from "libs/reach/ui/common/src/common/buttons/ToggleAllButtons";
|
|
4384
4589
|
export * from "libs/reach/ui/common/src/common/buttons/TopActionButton";
|
|
4590
|
+
export * from "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler";
|
|
4591
|
+
export * from "libs/reach/ui/common/src/common/buttons/IconHeaderButton";
|
|
4592
|
+
export * from "libs/reach/ui/common/src/common/buttons/HeaderMenuButton";
|
|
4385
4593
|
export * from "libs/reach/ui/common/src/common/channels/ChannelItem";
|
|
4386
4594
|
export * from "libs/reach/ui/common/src/common/channels/ChannelList";
|
|
4387
4595
|
export * from "libs/reach/ui/common/src/common/channels/ChannelSelector";
|
|
@@ -4410,6 +4618,8 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4410
4618
|
export * from "libs/reach/ui/common/src/common/paging/HorizontalPager";
|
|
4411
4619
|
export * from "libs/reach/ui/common/src/common/paging/VerticalPager";
|
|
4412
4620
|
export * from "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch";
|
|
4621
|
+
export * from "libs/reach/ui/common/src/common/paging/PaginationStatus";
|
|
4622
|
+
export * from "libs/reach/ui/common/src/common/paging/usePageScrollPagination";
|
|
4413
4623
|
export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
|
|
4414
4624
|
export * from "libs/reach/ui/common/src/common/refreshScripts";
|
|
4415
4625
|
export * from "libs/reach/ui/common/src/common/toolbar/Toolbar";
|
|
@@ -4490,10 +4700,10 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4490
4700
|
export function useEscapeOnClose(onClose: Function): void;
|
|
4491
4701
|
}
|
|
4492
4702
|
declare module "apps/reach-app/src/app/chrome/Header" {
|
|
4493
|
-
import { FC, ReactNode } from 'react';
|
|
4703
|
+
import { FC, Dispatch, SetStateAction, ReactNode, HTMLProps } from 'react';
|
|
4494
4704
|
import './Header.scss';
|
|
4495
4705
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
4496
|
-
interface Props extends
|
|
4706
|
+
interface Props extends HTMLProps<HTMLElement>, SearchBoxProps {
|
|
4497
4707
|
iconLeft?: string;
|
|
4498
4708
|
onToggleLeft?: () => void;
|
|
4499
4709
|
onToggleRight?: () => void;
|
|
@@ -4509,6 +4719,14 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
4509
4719
|
disableGoBack?: boolean;
|
|
4510
4720
|
route?: string;
|
|
4511
4721
|
}
|
|
4722
|
+
export interface HeaderContextType {
|
|
4723
|
+
setIsSearchInputFieldVisible: Dispatch<SetStateAction<boolean>>;
|
|
4724
|
+
isSearchInputFieldVisible: boolean;
|
|
4725
|
+
}
|
|
4726
|
+
export const HeaderContext: import("react").Context<HeaderContextType>;
|
|
4727
|
+
export const HeaderContextProvider: FC<{
|
|
4728
|
+
children: ReactNode;
|
|
4729
|
+
}>;
|
|
4512
4730
|
export const Header: FC<Props>;
|
|
4513
4731
|
}
|
|
4514
4732
|
declare module "apps/reach-app/src/app/chrome/FloatingPageActions" {
|
|
@@ -4623,17 +4841,19 @@ declare module "apps/reach-app/src/app/admin/AddButton" {
|
|
|
4623
4841
|
icon?: string;
|
|
4624
4842
|
tooltipResourceKey?: string;
|
|
4625
4843
|
labelResourceKey?: string;
|
|
4844
|
+
domIdentifier?: string;
|
|
4626
4845
|
className?: string;
|
|
4627
4846
|
}
|
|
4628
4847
|
export const AddButton: FC<AddButtonProps>;
|
|
4629
4848
|
}
|
|
4630
4849
|
declare module "apps/reach-app/src/app/admin/common" {
|
|
4631
|
-
|
|
4632
|
-
|
|
4850
|
+
import { FC, ReactNode } from 'react';
|
|
4851
|
+
export const AdminPage: FC<{
|
|
4852
|
+
children: ReactNode;
|
|
4633
4853
|
className?: string;
|
|
4634
4854
|
domIdentifier?: string;
|
|
4635
4855
|
}>;
|
|
4636
|
-
export const
|
|
4856
|
+
export const AdminPageTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
|
|
4637
4857
|
}
|
|
4638
4858
|
declare module "apps/reach-app/src/app/admin/keywords/useKeywordsApi" {
|
|
4639
4859
|
import { KeywordGroup } from "libs/reach/util/common/src/index";
|
|
@@ -4665,7 +4885,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
|
|
|
4665
4885
|
}
|
|
4666
4886
|
declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
4667
4887
|
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";
|
|
4888
|
+
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
|
|
4669
4889
|
import { Account } from "libs/reach/util/common/src/index";
|
|
4670
4890
|
import { Language } from "libs/reach/util/common/src/index";
|
|
4671
4891
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -4680,7 +4900,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
4680
4900
|
setSubscriptionName: (name: string) => Promise<string>;
|
|
4681
4901
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
4682
4902
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
4683
|
-
updateLogo: (file?: File) => Promise<void>;
|
|
4903
|
+
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
4684
4904
|
updateFavicon: (file?: File) => Promise<void>;
|
|
4685
4905
|
updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
|
|
4686
4906
|
linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
|
|
@@ -4729,6 +4949,42 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
|
|
|
4729
4949
|
import './ApplicationName.scss';
|
|
4730
4950
|
export const ApplicationName: FC;
|
|
4731
4951
|
}
|
|
4952
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
|
|
4953
|
+
import { FC } from 'react';
|
|
4954
|
+
export const AppBarLogoPreview: FC<{
|
|
4955
|
+
src: string;
|
|
4956
|
+
subscriptionName: string;
|
|
4957
|
+
}>;
|
|
4958
|
+
export const SidePanelLogoPreview: FC<{
|
|
4959
|
+
src: string;
|
|
4960
|
+
subscriptionName: string;
|
|
4961
|
+
}>;
|
|
4962
|
+
export const EmailLogoPreview: FC<{
|
|
4963
|
+
src: string;
|
|
4964
|
+
subscriptionName: string;
|
|
4965
|
+
}>;
|
|
4966
|
+
export const SignInLogoPreview: FC<{
|
|
4967
|
+
src: string;
|
|
4968
|
+
}>;
|
|
4969
|
+
}
|
|
4970
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
|
|
4971
|
+
import { FC } from 'react';
|
|
4972
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
4973
|
+
export const LogoPreviewDialog: FC<{
|
|
4974
|
+
canSave: boolean;
|
|
4975
|
+
onDismiss: () => unknown;
|
|
4976
|
+
onSave: (logoSize: LogoSize) => unknown;
|
|
4977
|
+
source: string;
|
|
4978
|
+
logoType: LogoSize;
|
|
4979
|
+
}>;
|
|
4980
|
+
}
|
|
4981
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
|
|
4982
|
+
import { FC } from 'react';
|
|
4983
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
4984
|
+
export const LogoEditor: FC<{
|
|
4985
|
+
logoType: LogoSize;
|
|
4986
|
+
}>;
|
|
4987
|
+
}
|
|
4732
4988
|
declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
|
|
4733
4989
|
import { FC } from 'react';
|
|
4734
4990
|
export const ApplicationLogo: FC;
|
|
@@ -5490,6 +5746,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
|
|
|
5490
5746
|
}
|
|
5491
5747
|
export const GoToAdminConsentButton: React.FC<Props>;
|
|
5492
5748
|
}
|
|
5749
|
+
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
5750
|
+
import { IntlShape } from 'react-intl';
|
|
5751
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
5752
|
+
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
5753
|
+
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
5754
|
+
export const systemAccountGroupIds: {
|
|
5755
|
+
everyone: string;
|
|
5756
|
+
directoryUsers: string;
|
|
5757
|
+
nonDirectoryUsers: string;
|
|
5758
|
+
allGroups: string[];
|
|
5759
|
+
};
|
|
5760
|
+
export function getDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5761
|
+
export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5762
|
+
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
5763
|
+
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
5764
|
+
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
5765
|
+
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
5766
|
+
export const isAdGroup: (account: Account) => boolean;
|
|
5767
|
+
export const isUser: (account: Account) => boolean;
|
|
5768
|
+
}
|
|
5493
5769
|
declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
|
|
5494
5770
|
import { FC } from 'react';
|
|
5495
5771
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -5864,12 +6140,11 @@ declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
|
5864
6140
|
}>;
|
|
5865
6141
|
}
|
|
5866
6142
|
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
5867
|
-
import
|
|
6143
|
+
import { FC, ReactNode } from 'react';
|
|
6144
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
5868
6145
|
import './SidebarItem.scss';
|
|
5869
6146
|
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
5870
6147
|
import { LocationDescriptor } from 'history';
|
|
5871
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
5872
|
-
import { ReactNode } from 'react';
|
|
5873
6148
|
interface CommonSidebarItemProps {
|
|
5874
6149
|
title?: any;
|
|
5875
6150
|
titleResource?: string;
|
|
@@ -5902,13 +6177,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5902
6177
|
secondaryIconRoute?: LocationDescriptor;
|
|
5903
6178
|
isHoverable?: boolean;
|
|
5904
6179
|
}
|
|
5905
|
-
export const SidebarItem:
|
|
6180
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
5906
6181
|
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
5907
|
-
route:
|
|
6182
|
+
route: LocationDescriptor;
|
|
5908
6183
|
exact?: boolean;
|
|
5909
6184
|
linkClassName?: string;
|
|
5910
6185
|
}
|
|
5911
|
-
export const NavLinkSidebarItem:
|
|
6186
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
5912
6187
|
}
|
|
5913
6188
|
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
5914
6189
|
import { WrappedComponentProps } from 'react-intl';
|
|
@@ -6001,24 +6276,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
|
6001
6276
|
import { FC } from 'react';
|
|
6002
6277
|
export const GroupListPage: FC;
|
|
6003
6278
|
}
|
|
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
6279
|
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
6023
6280
|
import { FC } from 'react';
|
|
6024
6281
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -6197,7 +6454,6 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
|
6197
6454
|
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
6198
6455
|
import { ReactNode } from 'react';
|
|
6199
6456
|
import { Account } from "libs/reach/util/common/src/index";
|
|
6200
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
6201
6457
|
export interface UserSuggestion {
|
|
6202
6458
|
id: string;
|
|
6203
6459
|
upn: string;
|
|
@@ -6217,13 +6473,18 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
|
6217
6473
|
onCtrlEnter?: () => unknown;
|
|
6218
6474
|
onChange?: (value: string) => void;
|
|
6219
6475
|
onFocus?: () => void;
|
|
6220
|
-
|
|
6476
|
+
additionalInputControl?: ReactNode;
|
|
6477
|
+
buttons?: {
|
|
6478
|
+
leftSide?: ReactNode;
|
|
6479
|
+
rightSide?: ReactNode;
|
|
6480
|
+
};
|
|
6221
6481
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6222
|
-
inputTheme?: CommentInputTheme;
|
|
6223
6482
|
placeHolderStringResourceKey?: string;
|
|
6224
6483
|
placeHolderStringResourceValues?: {
|
|
6225
6484
|
[key: string]: string | number | boolean | Date;
|
|
6226
6485
|
};
|
|
6486
|
+
disableBoxShadow?: boolean;
|
|
6487
|
+
ariaLabel?: string;
|
|
6227
6488
|
}
|
|
6228
6489
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6229
6490
|
}
|
|
@@ -6237,18 +6498,6 @@ declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
|
6237
6498
|
isLarge: boolean;
|
|
6238
6499
|
}>;
|
|
6239
6500
|
}
|
|
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
6501
|
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
6253
6502
|
import { VideoSource } from "libs/reach/util/common/src/index";
|
|
6254
6503
|
export interface KalturaProperties {
|
|
@@ -6263,6 +6512,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6263
6512
|
private static vimeoRegex;
|
|
6264
6513
|
private static microsoftStreamRegex;
|
|
6265
6514
|
private static vimeoDirectLinkRegex;
|
|
6515
|
+
private static vimeoRedirectLinkRegex;
|
|
6266
6516
|
private static kalturaRegex;
|
|
6267
6517
|
readonly source: VideoSource | null;
|
|
6268
6518
|
readonly id: string | null;
|
|
@@ -6270,9 +6520,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6270
6520
|
readonly videoProperties: any;
|
|
6271
6521
|
readonly thumbnailUrl: string;
|
|
6272
6522
|
constructor(url: string);
|
|
6273
|
-
isValid(): boolean;
|
|
6523
|
+
isValid(features?: any): boolean;
|
|
6274
6524
|
}
|
|
6525
|
+
export function getVideoSources(features: any): any[];
|
|
6275
6526
|
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6527
|
+
export function getAllVideoSources(features: any): any[];
|
|
6276
6528
|
}
|
|
6277
6529
|
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6278
6530
|
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
@@ -6300,9 +6552,9 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
|
6300
6552
|
}
|
|
6301
6553
|
}
|
|
6302
6554
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
6303
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6555
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6304
6556
|
export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
|
|
6305
|
-
keywords?:
|
|
6557
|
+
keywords?: FilterWithLogicalOperator;
|
|
6306
6558
|
}
|
|
6307
6559
|
}
|
|
6308
6560
|
declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
|
|
@@ -6327,6 +6579,14 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6327
6579
|
export interface IndexableFilterDefinition {
|
|
6328
6580
|
[key: string]: any;
|
|
6329
6581
|
}
|
|
6582
|
+
export interface FilterWithLogicalOperator {
|
|
6583
|
+
items?: string[];
|
|
6584
|
+
operator?: LogicalOperator;
|
|
6585
|
+
}
|
|
6586
|
+
export enum LogicalOperator {
|
|
6587
|
+
Or = "or",
|
|
6588
|
+
And = "and"
|
|
6589
|
+
}
|
|
6330
6590
|
}
|
|
6331
6591
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6332
6592
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
@@ -6349,12 +6609,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
|
|
|
6349
6609
|
contacts?: string[];
|
|
6350
6610
|
}
|
|
6351
6611
|
}
|
|
6612
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6613
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6614
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6615
|
+
channels?: FilterWithLogicalOperator;
|
|
6616
|
+
}
|
|
6617
|
+
}
|
|
6352
6618
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6353
6619
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6354
6620
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6355
6621
|
import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6356
6622
|
import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6357
|
-
|
|
6623
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6624
|
+
export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
|
|
6358
6625
|
excludePastEvents?: boolean;
|
|
6359
6626
|
pastEventsOnly?: boolean;
|
|
6360
6627
|
}
|
|
@@ -6365,26 +6632,19 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6365
6632
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6366
6633
|
export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6367
6634
|
}
|
|
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
6635
|
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6379
6636
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6380
6637
|
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6381
6638
|
author?: string;
|
|
6382
6639
|
}
|
|
6383
6640
|
}
|
|
6384
|
-
declare module "libs/reach/feature/content/src/filter/
|
|
6641
|
+
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6385
6642
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6386
|
-
export interface
|
|
6387
|
-
|
|
6643
|
+
export interface FilteringProps {
|
|
6644
|
+
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6645
|
+
onShowFilterPanel?: () => unknown;
|
|
6646
|
+
onToggleFilterSidebar?: () => unknown;
|
|
6647
|
+
isFilterActive?: boolean;
|
|
6388
6648
|
}
|
|
6389
6649
|
}
|
|
6390
6650
|
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
@@ -6405,6 +6665,95 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6405
6665
|
unreadOnly?: boolean;
|
|
6406
6666
|
}
|
|
6407
6667
|
}
|
|
6668
|
+
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6669
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6670
|
+
export enum ItemType {
|
|
6671
|
+
None = 0,
|
|
6672
|
+
News = 1,
|
|
6673
|
+
Post = 2,
|
|
6674
|
+
Page = 4,
|
|
6675
|
+
Event = 8
|
|
6676
|
+
}
|
|
6677
|
+
export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
|
|
6678
|
+
itemType?: ItemType;
|
|
6679
|
+
}
|
|
6680
|
+
}
|
|
6681
|
+
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
6682
|
+
import { FC } from 'react';
|
|
6683
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6684
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6685
|
+
export interface InjectedFilterProps {
|
|
6686
|
+
filter: IndexableFilterDefinition;
|
|
6687
|
+
hasFilter: boolean;
|
|
6688
|
+
isSearchActive: boolean;
|
|
6689
|
+
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6690
|
+
onSearchChange: (text: string) => void;
|
|
6691
|
+
onClearFilter: () => void;
|
|
6692
|
+
}
|
|
6693
|
+
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
6694
|
+
filter: Partial<IndexableFilterDefinition>;
|
|
6695
|
+
hasFilter: boolean;
|
|
6696
|
+
isSearchActive: boolean;
|
|
6697
|
+
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
6698
|
+
onSearchChange: (search: string) => void;
|
|
6699
|
+
onClearFilter: () => void;
|
|
6700
|
+
};
|
|
6701
|
+
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
6702
|
+
export const FilterContextProvider: FC<{
|
|
6703
|
+
addFilters?: (locationParams: {
|
|
6704
|
+
[paramName: string]: any;
|
|
6705
|
+
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
6706
|
+
additionalExcludedFilterProperties?: string[];
|
|
6707
|
+
onClearQueryString?: (prev: any, next: any) => any;
|
|
6708
|
+
}>;
|
|
6709
|
+
export interface FilterVisibilityState {
|
|
6710
|
+
showFilterAsPanel?: boolean;
|
|
6711
|
+
showFilterSidebar?: boolean;
|
|
6712
|
+
}
|
|
6713
|
+
}
|
|
6714
|
+
declare module "libs/reach/feature/content/src/filter/index" {
|
|
6715
|
+
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6716
|
+
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6717
|
+
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6718
|
+
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6719
|
+
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6720
|
+
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6721
|
+
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6722
|
+
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
6723
|
+
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6724
|
+
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6725
|
+
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
6726
|
+
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6727
|
+
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6728
|
+
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6729
|
+
export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
|
|
6730
|
+
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
6731
|
+
export * from "libs/reach/feature/content/src/filter/utils";
|
|
6732
|
+
}
|
|
6733
|
+
declare module "libs/reach/feature/content/src/filter/utils" {
|
|
6734
|
+
import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
6735
|
+
export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
|
|
6736
|
+
channels?: undefined;
|
|
6737
|
+
} | {
|
|
6738
|
+
channels: string;
|
|
6739
|
+
};
|
|
6740
|
+
export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
|
|
6741
|
+
keywords?: undefined;
|
|
6742
|
+
} | {
|
|
6743
|
+
keywords: string;
|
|
6744
|
+
};
|
|
6745
|
+
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6746
|
+
}
|
|
6747
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6748
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6749
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6750
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6751
|
+
export function useEventsApi(): {
|
|
6752
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6753
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
6754
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6755
|
+
};
|
|
6756
|
+
}
|
|
6408
6757
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6409
6758
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6410
6759
|
import { Observable } from 'rxjs';
|
|
@@ -6494,6 +6843,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6494
6843
|
import { Account, BaseItem, CurrentUser, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
6495
6844
|
import { Comment, ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
6496
6845
|
import { ItemStatistics } from "libs/reach/util/common/src/index";
|
|
6846
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6497
6847
|
export interface Post extends BaseItem, ItemWithAttachments {
|
|
6498
6848
|
id: string;
|
|
6499
6849
|
comments?: PaginatedList<Comment>;
|
|
@@ -6516,6 +6866,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6516
6866
|
token?: string;
|
|
6517
6867
|
pageSize?: string;
|
|
6518
6868
|
search?: string;
|
|
6869
|
+
keywords?: FilterWithLogicalOperator;
|
|
6519
6870
|
}
|
|
6520
6871
|
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
6521
6872
|
export function getPostsBaseRoute(post: Post, user: CurrentUser): string;
|
|
@@ -6548,7 +6899,6 @@ declare module "libs/reach/feature/content/src/common/useEmbeddedObjectValidator
|
|
|
6548
6899
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
6549
6900
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
6550
6901
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
6551
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6552
6902
|
export interface ClientAttachment extends Attachment {
|
|
6553
6903
|
file?: File;
|
|
6554
6904
|
}
|
|
@@ -6562,14 +6912,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6562
6912
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6563
6913
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6564
6914
|
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
6915
|
disableAddGif?: boolean;
|
|
6574
6916
|
disableAddFiles?: boolean;
|
|
6575
6917
|
};
|
|
@@ -6582,14 +6924,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6582
6924
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6583
6925
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6584
6926
|
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
6927
|
disableAddGif?: boolean;
|
|
6594
6928
|
disableAddFiles?: boolean;
|
|
6595
6929
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -6618,7 +6952,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
6618
6952
|
private getVideoElement;
|
|
6619
6953
|
private getNotSupportedElement;
|
|
6620
6954
|
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
6621
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "
|
|
6955
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
6622
6956
|
}
|
|
6623
6957
|
}
|
|
6624
6958
|
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
@@ -6693,6 +7027,7 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
6693
7027
|
filterBaseUrl?: string;
|
|
6694
7028
|
className?: string;
|
|
6695
7029
|
useGridKeywordTitle?: boolean;
|
|
7030
|
+
onClick?: (keyword: string) => unknown;
|
|
6696
7031
|
}>, import("styled-components").DefaultTheme, {}, never>;
|
|
6697
7032
|
}
|
|
6698
7033
|
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
@@ -6700,6 +7035,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
6700
7035
|
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
6701
7036
|
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
6702
7037
|
export class NewsService {
|
|
7038
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6703
7039
|
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6704
7040
|
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
6705
7041
|
static getContentLanguages(contents: {
|
|
@@ -6807,12 +7143,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
6807
7143
|
}
|
|
6808
7144
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
6809
7145
|
import { FC } from 'react';
|
|
6810
|
-
import { BannerInfo } from "libs/reach/util/common/src/index";
|
|
6811
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7146
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6812
7147
|
interface Props {
|
|
6813
7148
|
itemId: string;
|
|
6814
7149
|
bannerInfo: BannerInfo;
|
|
6815
|
-
|
|
7150
|
+
useEditorRoutes?: boolean;
|
|
6816
7151
|
width: number;
|
|
6817
7152
|
resourceType: ItemResourceTypes;
|
|
6818
7153
|
token?: string;
|
|
@@ -7243,7 +7578,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7243
7578
|
updateSelectedLanguage: (lang: string) => unknown;
|
|
7244
7579
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7245
7580
|
handleLanguageChange: (language: string) => unknown;
|
|
7246
|
-
|
|
7581
|
+
isEditorPreview?: boolean;
|
|
7247
7582
|
}
|
|
7248
7583
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7249
7584
|
}
|
|
@@ -7439,6 +7774,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7439
7774
|
buttons?: ReactNode;
|
|
7440
7775
|
openTargetInNewWindow?: boolean;
|
|
7441
7776
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7777
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7778
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
7442
7779
|
styleDefinition?: StyleDefinition;
|
|
7443
7780
|
readOnly?: boolean;
|
|
7444
7781
|
className?: string;
|
|
@@ -7525,14 +7862,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7525
7862
|
onAttachmentsChange: (attachments: import("libs/reach/feature/content/src/comments/RichCommentInput").Attachments) => void;
|
|
7526
7863
|
onDeleteAttachment?: (attachment: import("@livetiles/reach/util/common").Attachment) => void;
|
|
7527
7864
|
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
7865
|
disableAddGif?: boolean;
|
|
7537
7866
|
disableAddFiles?: boolean;
|
|
7538
7867
|
} & {
|
|
@@ -7541,6 +7870,44 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7541
7870
|
attachmentPreviewTheme?: CommentInputTheme;
|
|
7542
7871
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7543
7872
|
}
|
|
7873
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
7874
|
+
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
7875
|
+
import { FC } from 'react';
|
|
7876
|
+
interface Props {
|
|
7877
|
+
group: KeywordGroup;
|
|
7878
|
+
keywords?: Keyword[];
|
|
7879
|
+
expanded?: boolean;
|
|
7880
|
+
selectedKeywords: Keyword[];
|
|
7881
|
+
onChange?: (keywords: Keyword[]) => void;
|
|
7882
|
+
mandatoryKeywordIds?: string[];
|
|
7883
|
+
}
|
|
7884
|
+
export const KeywordPickerGroup: FC<Props>;
|
|
7885
|
+
}
|
|
7886
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
|
|
7887
|
+
import { FC } from 'react';
|
|
7888
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7889
|
+
interface Props {
|
|
7890
|
+
value?: Keyword[] | string[];
|
|
7891
|
+
onChange: (keywords: Keyword[]) => void;
|
|
7892
|
+
showSelectionToggle?: boolean;
|
|
7893
|
+
availableKeywords?: Keyword[];
|
|
7894
|
+
mandatoryKeywordIds?: string[];
|
|
7895
|
+
className?: string;
|
|
7896
|
+
}
|
|
7897
|
+
export const KeywordPicker: FC<Props>;
|
|
7898
|
+
}
|
|
7899
|
+
declare module "libs/reach/feature/content/src/common/keywords/AddKeywordsButton" {
|
|
7900
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7901
|
+
import { FC } from 'react';
|
|
7902
|
+
export const AddKeywordsButton: FC<{
|
|
7903
|
+
availableKeywords?: Keyword[];
|
|
7904
|
+
mandatoryKeywords?: Keyword[];
|
|
7905
|
+
preselectedKeywords?: Keyword[];
|
|
7906
|
+
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
7907
|
+
disabled?: boolean;
|
|
7908
|
+
keywordPickerTitleResourceKey?: string;
|
|
7909
|
+
}>;
|
|
7910
|
+
}
|
|
7544
7911
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
7545
7912
|
import { FC } from 'react';
|
|
7546
7913
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -7572,6 +7939,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7572
7939
|
defaultKeywords?: Keyword[];
|
|
7573
7940
|
mandatoryKeywords?: Keyword[];
|
|
7574
7941
|
};
|
|
7942
|
+
disableBoxShadow?: boolean;
|
|
7943
|
+
ariaLabel?: string;
|
|
7575
7944
|
}
|
|
7576
7945
|
interface Props extends BaseProps {
|
|
7577
7946
|
allowAttachments?: boolean;
|
|
@@ -7662,9 +8031,9 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7662
8031
|
deletedFileUrls?: string[];
|
|
7663
8032
|
onCancel?: () => void;
|
|
7664
8033
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7665
|
-
inputTheme?: CommentInputTheme;
|
|
7666
8034
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
7667
8035
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8036
|
+
ariaLabel?: string;
|
|
7668
8037
|
}
|
|
7669
8038
|
interface Props extends BaseProps {
|
|
7670
8039
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -7680,6 +8049,7 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7680
8049
|
allowSaveWithoutContent?: boolean;
|
|
7681
8050
|
saveOnEnter?: boolean;
|
|
7682
8051
|
saveOnCtrlEnter?: boolean;
|
|
8052
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7683
8053
|
}
|
|
7684
8054
|
export const EditComment: FC<Props>;
|
|
7685
8055
|
}
|
|
@@ -7701,6 +8071,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7701
8071
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7702
8072
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
7703
8073
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8074
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7704
8075
|
interface Props extends CreateCommentProps {
|
|
7705
8076
|
onSave: (newContent: string, attachments?: Attachment[], keywords?: {
|
|
7706
8077
|
[key: string]: Keyword[];
|
|
@@ -7716,6 +8087,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7716
8087
|
allowSaveWithoutContent?: boolean;
|
|
7717
8088
|
saveOnEnter?: boolean;
|
|
7718
8089
|
saveOnCtrlEnter?: boolean;
|
|
8090
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7719
8091
|
}
|
|
7720
8092
|
export const EditCommentWithAttachments: FC<Props>;
|
|
7721
8093
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
@@ -7795,34 +8167,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
7795
8167
|
}>;
|
|
7796
8168
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
7797
8169
|
}
|
|
7798
|
-
declare module "libs/reach/feature/content/src/
|
|
7799
|
-
import { FC
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
className?: string;
|
|
8170
|
+
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8171
|
+
import { FC } from 'react';
|
|
8172
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8173
|
+
export const DetailViewContextProvider: FC<{
|
|
8174
|
+
itemId: string;
|
|
8175
|
+
type?: ItemResourceTypes;
|
|
8176
|
+
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8177
|
+
isEditorPreview?: boolean;
|
|
7807
8178
|
}>;
|
|
7808
8179
|
}
|
|
7809
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7810
|
-
import {
|
|
7811
|
-
export
|
|
8180
|
+
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8181
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8182
|
+
export interface EmbeddedObjectPreviewData {
|
|
8183
|
+
itemId: string;
|
|
8184
|
+
type: string;
|
|
8185
|
+
subscriptionIdentifier: string;
|
|
8186
|
+
}
|
|
8187
|
+
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
7812
8188
|
}
|
|
7813
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7814
|
-
import {
|
|
7815
|
-
export const
|
|
8189
|
+
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8190
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8191
|
+
export const InlineImageMapper: HtmlComponentMapper;
|
|
7816
8192
|
}
|
|
7817
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7818
|
-
import {
|
|
7819
|
-
export
|
|
8193
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
8194
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8195
|
+
export interface ContactDetails {
|
|
8196
|
+
id: string;
|
|
8197
|
+
upn?: string;
|
|
8198
|
+
tenantId?: string;
|
|
8199
|
+
properties?: {
|
|
8200
|
+
[key: string]: {
|
|
8201
|
+
value: string;
|
|
8202
|
+
shouldAutoLoad?: boolean;
|
|
8203
|
+
};
|
|
8204
|
+
};
|
|
8205
|
+
}
|
|
8206
|
+
export const InlineContactMapper: HtmlComponentMapper;
|
|
7820
8207
|
}
|
|
7821
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7822
|
-
import { FC
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
8208
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
|
|
8209
|
+
import { FC } from 'react';
|
|
8210
|
+
import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8211
|
+
export const InlineContactViewer: FC<{
|
|
8212
|
+
contact: ContactDetails;
|
|
7826
8213
|
}>;
|
|
7827
8214
|
}
|
|
7828
8215
|
declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
|
|
@@ -7848,6 +8235,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
|
|
|
7848
8235
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7849
8236
|
export const InlineQuoteMapper: HtmlComponentMapper;
|
|
7850
8237
|
}
|
|
8238
|
+
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
8239
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8240
|
+
export const InlineVideoMapper: HtmlComponentMapper;
|
|
8241
|
+
}
|
|
8242
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
8243
|
+
import { FC } from 'react';
|
|
8244
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8245
|
+
export const InlinePageListViewer: FC<{
|
|
8246
|
+
items: PageItem[];
|
|
8247
|
+
baseRoute: string;
|
|
8248
|
+
filterBaseUrl?: string;
|
|
8249
|
+
isInitialLoading?: boolean;
|
|
8250
|
+
}>;
|
|
8251
|
+
}
|
|
8252
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
8253
|
+
import { FC } from 'react';
|
|
8254
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8255
|
+
export interface ListPagingProps {
|
|
8256
|
+
getNextPage: () => unknown;
|
|
8257
|
+
getPrevPage: () => unknown;
|
|
8258
|
+
getFirstPage: () => unknown;
|
|
8259
|
+
isLoadingNextPage: boolean;
|
|
8260
|
+
isInitialLoading: boolean;
|
|
8261
|
+
isFirstPage: boolean;
|
|
8262
|
+
hideNextButton: boolean;
|
|
8263
|
+
}
|
|
8264
|
+
export const InlinePageListWithPaging: FC<{
|
|
8265
|
+
pages: PageItem[];
|
|
8266
|
+
baseRoute: string;
|
|
8267
|
+
pagingProps?: ListPagingProps;
|
|
8268
|
+
filterBaseUrl?: string;
|
|
8269
|
+
}>;
|
|
8270
|
+
}
|
|
8271
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8272
|
+
import { DependencyList } from 'react';
|
|
8273
|
+
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8274
|
+
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8275
|
+
showPages: boolean;
|
|
8276
|
+
showDocuments: boolean;
|
|
8277
|
+
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8278
|
+
pageItems: any[];
|
|
8279
|
+
pagingProps: {
|
|
8280
|
+
hideNextButton: boolean;
|
|
8281
|
+
isInitialLoading: boolean;
|
|
8282
|
+
isLoadingNextPage: boolean;
|
|
8283
|
+
error: any;
|
|
8284
|
+
getFirstPage: () => void;
|
|
8285
|
+
getPrevPage: () => void;
|
|
8286
|
+
getNextPage: () => Promise<void>;
|
|
8287
|
+
isFirstPage: boolean;
|
|
8288
|
+
isLastPage: boolean;
|
|
8289
|
+
isEmpty: boolean;
|
|
8290
|
+
};
|
|
8291
|
+
};
|
|
8292
|
+
}
|
|
8293
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8294
|
+
import { FC } from 'react';
|
|
8295
|
+
export const InlinePageListSkeleton: FC<{
|
|
8296
|
+
isDataLoaded: boolean;
|
|
8297
|
+
pageSize?: number;
|
|
8298
|
+
}>;
|
|
8299
|
+
}
|
|
7851
8300
|
declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
|
|
7852
8301
|
export interface CodeDetails {
|
|
7853
8302
|
id: string;
|
|
@@ -7869,20 +8318,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
|
|
|
7869
8318
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7870
8319
|
export const InlineCodeMapper: HtmlComponentMapper;
|
|
7871
8320
|
}
|
|
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
8321
|
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
7887
8322
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7888
8323
|
import { CSSProperties } from 'react';
|
|
@@ -7923,182 +8358,39 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
|
7923
8358
|
export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
|
|
7924
8359
|
export const InlineTable: HtmlComponentMapper;
|
|
7925
8360
|
}
|
|
7926
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7927
|
-
import {
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
8361
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
8362
|
+
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8363
|
+
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
8364
|
+
format: TableFormat;
|
|
8365
|
+
}, never>;
|
|
8366
|
+
}
|
|
8367
|
+
declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
8368
|
+
import { FC, ReactNode } from 'react';
|
|
8369
|
+
export const ItemBodyWrapper: FC<{
|
|
8370
|
+
className?: string;
|
|
8371
|
+
children?: ReactNode;
|
|
7931
8372
|
}>;
|
|
7932
8373
|
}
|
|
7933
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7934
|
-
import {
|
|
7935
|
-
export
|
|
7936
|
-
id: string;
|
|
7937
|
-
upn?: string;
|
|
7938
|
-
tenantId?: string;
|
|
7939
|
-
properties?: {
|
|
7940
|
-
[key: string]: {
|
|
7941
|
-
value: string;
|
|
7942
|
-
shouldAutoLoad?: boolean;
|
|
7943
|
-
};
|
|
7944
|
-
};
|
|
7945
|
-
}
|
|
7946
|
-
export const InlineContactMapper: HtmlComponentMapper;
|
|
8374
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8375
|
+
import { FC } from 'react';
|
|
8376
|
+
export const EventDetailViewPeopleInfo: FC;
|
|
7947
8377
|
}
|
|
7948
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8378
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
7949
8379
|
import { FC } from 'react';
|
|
7950
|
-
|
|
7951
|
-
|
|
7952
|
-
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
|
|
8380
|
+
export const EventDetailViewLocationInfo: FC;
|
|
8381
|
+
}
|
|
8382
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
8383
|
+
import { FC } from 'react';
|
|
8384
|
+
export const EventDetailViewMetaInfo: FC<{
|
|
8385
|
+
allowFilterByChannels?: boolean;
|
|
7956
8386
|
}>;
|
|
7957
8387
|
}
|
|
7958
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8388
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
7959
8389
|
import { FC } from 'react';
|
|
7960
|
-
|
|
7961
|
-
|
|
7962
|
-
getNextPage: () => unknown;
|
|
7963
|
-
getPrevPage: () => unknown;
|
|
7964
|
-
getFirstPage: () => unknown;
|
|
7965
|
-
isLoadingNextPage: boolean;
|
|
7966
|
-
isInitialLoading: boolean;
|
|
7967
|
-
isFirstPage: boolean;
|
|
7968
|
-
hideNextButton: boolean;
|
|
7969
|
-
}
|
|
7970
|
-
export const InlinePageListWithPaging: FC<{
|
|
7971
|
-
pages: PageItem[];
|
|
7972
|
-
baseRoute: string;
|
|
7973
|
-
pagingProps?: ListPagingProps;
|
|
7974
|
-
filterBaseUrl?: string;
|
|
8390
|
+
export const EventDetailViewDatesInfo: FC<{
|
|
8391
|
+
className?: string;
|
|
7975
8392
|
}>;
|
|
7976
8393
|
}
|
|
7977
|
-
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
7978
|
-
import { PageType } from "libs/reach/util/common/src/index";
|
|
7979
|
-
export function useLoadPublishedItemsByKeywords(keywords: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
|
|
7980
|
-
}
|
|
7981
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
7982
|
-
import { FC } from 'react';
|
|
7983
|
-
export const InlinePageListSkeleton: FC<{
|
|
7984
|
-
isDataLoaded: boolean;
|
|
7985
|
-
pageSize?: number;
|
|
7986
|
-
}>;
|
|
7987
|
-
}
|
|
7988
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
7989
|
-
import { FC } from 'react';
|
|
7990
|
-
export const InlinePageListByKeywords: FC<{
|
|
7991
|
-
keywords: string;
|
|
7992
|
-
showDocuments?: boolean;
|
|
7993
|
-
showPages?: boolean;
|
|
7994
|
-
}>;
|
|
7995
|
-
}
|
|
7996
|
-
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
7997
|
-
import { PageType } from "libs/reach/util/common/src/index";
|
|
7998
|
-
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
|
|
7999
|
-
}
|
|
8000
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
8001
|
-
import { FC } from 'react';
|
|
8002
|
-
export const InlinePageListByPageId: FC<{
|
|
8003
|
-
pageId: string;
|
|
8004
|
-
showDocuments: boolean;
|
|
8005
|
-
showPages: boolean;
|
|
8006
|
-
}>;
|
|
8007
|
-
}
|
|
8008
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8009
|
-
import { DependencyList } from 'react';
|
|
8010
|
-
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8011
|
-
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8012
|
-
showPages: boolean;
|
|
8013
|
-
showDocuments: boolean;
|
|
8014
|
-
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8015
|
-
pageItems: any[];
|
|
8016
|
-
pagingProps: {
|
|
8017
|
-
hideNextButton: boolean;
|
|
8018
|
-
isInitialLoading: boolean;
|
|
8019
|
-
isLoadingNextPage: boolean;
|
|
8020
|
-
error: any;
|
|
8021
|
-
getFirstPage: () => void;
|
|
8022
|
-
getPrevPage: () => void;
|
|
8023
|
-
getNextPage: () => Promise<void>;
|
|
8024
|
-
isFirstPage: boolean;
|
|
8025
|
-
isLastPage: boolean;
|
|
8026
|
-
isEmpty: boolean;
|
|
8027
|
-
};
|
|
8028
|
-
};
|
|
8029
|
-
}
|
|
8030
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
8031
|
-
import { FC } from 'react';
|
|
8032
|
-
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8033
|
-
export const InlinePageListByCurrentPage: FC<{
|
|
8034
|
-
blockProps?: PageListDetails;
|
|
8035
|
-
}>;
|
|
8036
|
-
}
|
|
8037
|
-
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
8038
|
-
import { FC } from 'react';
|
|
8039
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8040
|
-
export interface PageListDetails {
|
|
8041
|
-
id?: string;
|
|
8042
|
-
showChildren?: boolean;
|
|
8043
|
-
showDocuments?: boolean;
|
|
8044
|
-
showPages?: boolean;
|
|
8045
|
-
pageId?: string;
|
|
8046
|
-
keywords?: string;
|
|
8047
|
-
}
|
|
8048
|
-
export const InlinePageList: FC<{
|
|
8049
|
-
blockProps?: PageListDetails;
|
|
8050
|
-
}>;
|
|
8051
|
-
export const InlinePageListMapper: HtmlComponentMapper;
|
|
8052
|
-
}
|
|
8053
|
-
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8054
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8055
|
-
export interface EmbeddedObjectPreviewData {
|
|
8056
|
-
itemId: string;
|
|
8057
|
-
type: string;
|
|
8058
|
-
subscriptionIdentifier: string;
|
|
8059
|
-
}
|
|
8060
|
-
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
8061
|
-
}
|
|
8062
|
-
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
8063
|
-
import { FC } from 'react';
|
|
8064
|
-
export const RichTextViewer: FC<{
|
|
8065
|
-
html: string;
|
|
8066
|
-
}>;
|
|
8067
|
-
}
|
|
8068
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
8069
|
-
import { FC } from 'react';
|
|
8070
|
-
export const DetailViewBody: FC;
|
|
8071
|
-
}
|
|
8072
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
8073
|
-
import { FC } from 'react';
|
|
8074
|
-
export const DetailViewKeywords: FC<{
|
|
8075
|
-
filterBaseUrl: string;
|
|
8076
|
-
}>;
|
|
8077
|
-
}
|
|
8078
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
8079
|
-
import { FC } from 'react';
|
|
8080
|
-
export const EventDetailViewDatesInfo: FC<{
|
|
8081
|
-
className?: string;
|
|
8082
|
-
}>;
|
|
8083
|
-
}
|
|
8084
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8085
|
-
import { FC } from 'react';
|
|
8086
|
-
export const EventDetailViewPeopleInfo: FC;
|
|
8087
|
-
}
|
|
8088
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
8089
|
-
import { FC } from 'react';
|
|
8090
|
-
export const EventDetailViewLocationInfo: FC;
|
|
8091
|
-
}
|
|
8092
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
8093
|
-
import { FC } from 'react';
|
|
8094
|
-
export const EventDetailViewMetaInfo: FC<{
|
|
8095
|
-
allowFilterByChannels?: boolean;
|
|
8096
|
-
}>;
|
|
8097
|
-
}
|
|
8098
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8099
|
-
import { FC } from 'react';
|
|
8100
|
-
export const EventDetailViewCancelInformation: FC;
|
|
8101
|
-
}
|
|
8102
8394
|
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8103
8395
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8104
8396
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
@@ -8256,6 +8548,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8256
8548
|
import { FC } from 'react';
|
|
8257
8549
|
export const EventDetailViewRegistration: FC;
|
|
8258
8550
|
}
|
|
8551
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8552
|
+
import { FC } from 'react';
|
|
8553
|
+
export const EventDetailViewCancelInformation: FC;
|
|
8554
|
+
}
|
|
8259
8555
|
declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
8260
8556
|
import { FC } from 'react';
|
|
8261
8557
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
@@ -8511,92 +8807,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
|
|
|
8511
8807
|
eventItem: EventItem;
|
|
8512
8808
|
}>;
|
|
8513
8809
|
}
|
|
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
8810
|
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8601
8811
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8602
8812
|
interface DateInfoProps {
|
|
@@ -8636,74 +8846,36 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8636
8846
|
import { FC } from 'react';
|
|
8637
8847
|
export const PageDetailViewMetaInfo: FC;
|
|
8638
8848
|
}
|
|
8639
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/
|
|
8849
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8640
8850
|
import { FC } from 'react';
|
|
8851
|
+
export const PageDetailViewFeedbackSection: FC<{
|
|
8852
|
+
hideLikes?: boolean;
|
|
8853
|
+
hideComments?: boolean;
|
|
8854
|
+
hideProfileUrl?: boolean;
|
|
8855
|
+
disableLoginForPublicUser?: boolean;
|
|
8856
|
+
}>;
|
|
8857
|
+
}
|
|
8858
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
8641
8859
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8642
|
-
import
|
|
8643
|
-
export
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
|
|
8860
|
+
import * as H from 'history';
|
|
8861
|
+
export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
|
|
8862
|
+
showSearch: boolean;
|
|
8863
|
+
handleSearchTextChange: (searchText: string) => void;
|
|
8864
|
+
redirectToSearchPage: (searchText: string) => void;
|
|
8865
|
+
};
|
|
8866
|
+
}
|
|
8867
|
+
declare module "libs/reach/feature/content/src/pages/PageTocSearch" {
|
|
8868
|
+
import { FC } from 'react';
|
|
8869
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
8870
|
+
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8871
|
+
export const PageTocSearch: FC<{
|
|
8872
|
+
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8873
|
+
onSearchResultChange: (pages: PageNavigationNode[]) => unknown;
|
|
8648
8874
|
}>;
|
|
8649
8875
|
}
|
|
8650
|
-
declare module "libs/reach/feature/content/src/
|
|
8651
|
-
import {
|
|
8652
|
-
|
|
8653
|
-
interface Props {
|
|
8654
|
-
id: string;
|
|
8655
|
-
item: PublishableItem;
|
|
8656
|
-
itemResourceType: ItemResourceTypes;
|
|
8657
|
-
}
|
|
8658
|
-
export const CardBanner: React.FC<Props>;
|
|
8659
|
-
}
|
|
8660
|
-
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8661
|
-
import { FC, ReactNode } from 'react';
|
|
8662
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8663
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8664
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8665
|
-
interface CardProps {
|
|
8666
|
-
item: PublishableItem;
|
|
8667
|
-
itemResourceType: ItemResourceTypes;
|
|
8668
|
-
additionalMetadata?: ReactNode;
|
|
8669
|
-
highlight?: boolean;
|
|
8670
|
-
className?: string;
|
|
8671
|
-
}
|
|
8672
|
-
export const Card: FC<CardProps>;
|
|
8673
|
-
export interface CardItem<TItem = PublishableItem> {
|
|
8674
|
-
item: TItem;
|
|
8675
|
-
language: string;
|
|
8676
|
-
}
|
|
8677
|
-
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8678
|
-
}
|
|
8679
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
8680
|
-
import { FC, ReactNode } from 'react';
|
|
8681
|
-
export const DetailViewNavigation: FC<{
|
|
8682
|
-
children?: ReactNode;
|
|
8683
|
-
callout?: ReactNode;
|
|
8684
|
-
}>;
|
|
8685
|
-
}
|
|
8686
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
8687
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8688
|
-
import * as H from 'history';
|
|
8689
|
-
export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
|
|
8690
|
-
showSearch: boolean;
|
|
8691
|
-
handleSearchTextChange: (searchText: string) => void;
|
|
8692
|
-
redirectToSearchPage: (searchText: string) => void;
|
|
8693
|
-
};
|
|
8694
|
-
}
|
|
8695
|
-
declare module "libs/reach/feature/content/src/pages/PageTocSearch" {
|
|
8696
|
-
import { FC } from 'react';
|
|
8697
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
8698
|
-
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8699
|
-
export const PageTocSearch: FC<{
|
|
8700
|
-
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8701
|
-
onSearchResultChange: (pages: PageNavigationNode[]) => unknown;
|
|
8702
|
-
}>;
|
|
8703
|
-
}
|
|
8704
|
-
declare module "libs/reach/feature/content/src/pages/pageTocUtils" {
|
|
8705
|
-
import { PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8706
|
-
export function filterChildren(page: PageNavigationNode, activePage: PageNavigationNode): boolean;
|
|
8876
|
+
declare module "libs/reach/feature/content/src/pages/pageTocUtils" {
|
|
8877
|
+
import { PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8878
|
+
export function filterChildren(page: PageNavigationNode, activePage: PageNavigationNode): boolean;
|
|
8707
8879
|
}
|
|
8708
8880
|
declare module "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton" {
|
|
8709
8881
|
import { FC, MouseEvent } from 'react';
|
|
@@ -8789,6 +8961,104 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8789
8961
|
import { FC } from 'react';
|
|
8790
8962
|
export const PageDetailViewTableOfContentsButton: FC;
|
|
8791
8963
|
}
|
|
8964
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
8965
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
8966
|
+
export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
8967
|
+
}
|
|
8968
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
8969
|
+
import { FC } from 'react';
|
|
8970
|
+
export const InlinePageListByKeywords: FC<{
|
|
8971
|
+
keywords: string[];
|
|
8972
|
+
showDocuments?: boolean;
|
|
8973
|
+
showPages?: boolean;
|
|
8974
|
+
}>;
|
|
8975
|
+
}
|
|
8976
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
8977
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
8978
|
+
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
8979
|
+
}
|
|
8980
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
8981
|
+
import { FC } from 'react';
|
|
8982
|
+
export const InlinePageListByPageId: FC<{
|
|
8983
|
+
pageId: string;
|
|
8984
|
+
showDocuments: boolean;
|
|
8985
|
+
showPages: boolean;
|
|
8986
|
+
}>;
|
|
8987
|
+
}
|
|
8988
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
8989
|
+
import { FC } from 'react';
|
|
8990
|
+
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8991
|
+
export const InlinePageListByCurrentPage: FC<{
|
|
8992
|
+
blockProps?: PageListDetails;
|
|
8993
|
+
}>;
|
|
8994
|
+
}
|
|
8995
|
+
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
8996
|
+
import { FC } from 'react';
|
|
8997
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8998
|
+
export interface PageListDetails {
|
|
8999
|
+
id?: string;
|
|
9000
|
+
showChildren?: boolean;
|
|
9001
|
+
showDocuments?: boolean;
|
|
9002
|
+
showPages?: boolean;
|
|
9003
|
+
pageId?: string;
|
|
9004
|
+
keywords?: string;
|
|
9005
|
+
}
|
|
9006
|
+
export const InlinePageList: FC<{
|
|
9007
|
+
blockProps?: PageListDetails;
|
|
9008
|
+
}>;
|
|
9009
|
+
export const InlinePageListMapper: HtmlComponentMapper;
|
|
9010
|
+
}
|
|
9011
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
9012
|
+
import { FC } from 'react';
|
|
9013
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9014
|
+
export const PageBreadcrumb: FC<{
|
|
9015
|
+
page: PageItem;
|
|
9016
|
+
target?: string;
|
|
9017
|
+
language?: string;
|
|
9018
|
+
hideCurrentPageNode?: boolean;
|
|
9019
|
+
className?: string;
|
|
9020
|
+
}>;
|
|
9021
|
+
}
|
|
9022
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
9023
|
+
import { FC } from 'react';
|
|
9024
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9025
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
9026
|
+
export const DetailViewPageDocumentDownload: FC;
|
|
9027
|
+
export const PageDocumentDownloadButton: FC<{
|
|
9028
|
+
item: PageItem;
|
|
9029
|
+
content: PublishableItemContent;
|
|
9030
|
+
basePath?: string;
|
|
9031
|
+
}>;
|
|
9032
|
+
}
|
|
9033
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
9034
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9035
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9036
|
+
interface Props {
|
|
9037
|
+
id: string;
|
|
9038
|
+
item: PublishableItem;
|
|
9039
|
+
itemResourceType: ItemResourceTypes;
|
|
9040
|
+
}
|
|
9041
|
+
export const CardBanner: React.FC<Props>;
|
|
9042
|
+
}
|
|
9043
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
9044
|
+
import { FC, ReactNode } from 'react';
|
|
9045
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9046
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9047
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9048
|
+
interface CardProps {
|
|
9049
|
+
item: PublishableItem;
|
|
9050
|
+
itemResourceType: ItemResourceTypes;
|
|
9051
|
+
additionalMetadata?: ReactNode;
|
|
9052
|
+
highlight?: boolean;
|
|
9053
|
+
className?: string;
|
|
9054
|
+
}
|
|
9055
|
+
export const Card: FC<CardProps>;
|
|
9056
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
9057
|
+
item: TItem;
|
|
9058
|
+
language: string;
|
|
9059
|
+
}
|
|
9060
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
9061
|
+
}
|
|
8792
9062
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
8793
9063
|
import { FC } from 'react';
|
|
8794
9064
|
interface LanguageSelectorProps {
|
|
@@ -8810,10 +9080,112 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8810
9080
|
className?: string;
|
|
8811
9081
|
}>;
|
|
8812
9082
|
}
|
|
9083
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
|
|
9084
|
+
import { FC } from 'react';
|
|
9085
|
+
export const DetailViewBanner: FC;
|
|
9086
|
+
}
|
|
9087
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
9088
|
+
import { FC } from 'react';
|
|
9089
|
+
export const DetailViewIntro: FC;
|
|
9090
|
+
}
|
|
9091
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
9092
|
+
import { FC } from 'react';
|
|
9093
|
+
export const DetailMainSection: FC;
|
|
9094
|
+
}
|
|
9095
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
9096
|
+
import { FC, ReactNode } from 'react';
|
|
9097
|
+
export const GutterMarkerIcon: FC<{
|
|
9098
|
+
iconName: string;
|
|
9099
|
+
children: ReactNode;
|
|
9100
|
+
isActive: boolean;
|
|
9101
|
+
color: string;
|
|
9102
|
+
tooltipResourceKey?: string;
|
|
9103
|
+
className?: string;
|
|
9104
|
+
}>;
|
|
9105
|
+
}
|
|
9106
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9107
|
+
import { FC } from 'react';
|
|
9108
|
+
export const DetailViewTitle: FC;
|
|
9109
|
+
}
|
|
8813
9110
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
|
|
8814
9111
|
import { FC } from 'react';
|
|
8815
9112
|
export const NewsDetailViewMetaInfo: FC;
|
|
8816
9113
|
}
|
|
9114
|
+
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
9115
|
+
import { FC } from 'react';
|
|
9116
|
+
export const RichTextViewer: FC<{
|
|
9117
|
+
html: string;
|
|
9118
|
+
}>;
|
|
9119
|
+
}
|
|
9120
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
9121
|
+
import { FC } from 'react';
|
|
9122
|
+
export const DetailViewBody: FC;
|
|
9123
|
+
}
|
|
9124
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
9125
|
+
import { FC } from 'react';
|
|
9126
|
+
export const DetailViewKeywords: FC<{
|
|
9127
|
+
filterBaseUrl: string;
|
|
9128
|
+
}>;
|
|
9129
|
+
}
|
|
9130
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9131
|
+
import { FC } from 'react';
|
|
9132
|
+
export const ConfirmationBox: FC<{
|
|
9133
|
+
disabled?: boolean;
|
|
9134
|
+
onChange?: (value: boolean) => void;
|
|
9135
|
+
checked: boolean;
|
|
9136
|
+
}>;
|
|
9137
|
+
}
|
|
9138
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9139
|
+
import { FC } from 'react';
|
|
9140
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9141
|
+
export const ConfirmationSection: FC<{
|
|
9142
|
+
item?: NewsItem;
|
|
9143
|
+
showDescription: boolean;
|
|
9144
|
+
readOnly?: boolean;
|
|
9145
|
+
className?: string;
|
|
9146
|
+
}>;
|
|
9147
|
+
}
|
|
9148
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
9149
|
+
import { FC } from 'react';
|
|
9150
|
+
export const DetailViewConfirmations: FC;
|
|
9151
|
+
}
|
|
9152
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
9153
|
+
import { FC } from 'react';
|
|
9154
|
+
export const DetailViewPageViewTracker: FC;
|
|
9155
|
+
}
|
|
9156
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
9157
|
+
import { FC } from 'react';
|
|
9158
|
+
export const FeedbackButtonBookmark: FC<{
|
|
9159
|
+
isReadOnly?: boolean;
|
|
9160
|
+
}>;
|
|
9161
|
+
}
|
|
9162
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
9163
|
+
import { FC } from 'react';
|
|
9164
|
+
export const NewsDetailViewFeedbackSection: FC<{
|
|
9165
|
+
hideLikes?: boolean;
|
|
9166
|
+
hideComments?: boolean;
|
|
9167
|
+
hideProfileUrl?: boolean;
|
|
9168
|
+
disableLoginForPublicUser?: boolean;
|
|
9169
|
+
}>;
|
|
9170
|
+
}
|
|
9171
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
9172
|
+
import { FC, ReactNode } from 'react';
|
|
9173
|
+
export const DetailViewNavigation: FC<{
|
|
9174
|
+
children?: ReactNode;
|
|
9175
|
+
callout?: ReactNode;
|
|
9176
|
+
}>;
|
|
9177
|
+
}
|
|
9178
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9179
|
+
import { FC } from 'react';
|
|
9180
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9181
|
+
export const DetailViewBodyExternalContent: FC<{
|
|
9182
|
+
itemType: ItemResourceTypes;
|
|
9183
|
+
}>;
|
|
9184
|
+
}
|
|
9185
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
9186
|
+
import { FC } from 'react';
|
|
9187
|
+
export const DetailViewHeadline: FC;
|
|
9188
|
+
}
|
|
8817
9189
|
declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
8818
9190
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
8819
9191
|
export const StateIcon: React.FC<{
|
|
@@ -8834,205 +9206,65 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
|
8834
9206
|
}
|
|
8835
9207
|
declare module "libs/reach/feature/content/src/common/index" {
|
|
8836
9208
|
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
8837
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8838
9209
|
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8839
9210
|
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
9211
|
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
9212
|
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
8895
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8896
9213
|
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
8897
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8898
9214
|
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
8899
9215
|
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
9216
|
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
9217
|
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
9218
|
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
9219
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
8920
9220
|
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
8921
9221
|
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
9222
|
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
8926
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8927
9223
|
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
9224
|
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
9225
|
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
9226
|
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
8937
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8938
9227
|
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8939
9228
|
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8940
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8941
9229
|
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
9230
|
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8945
9231
|
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
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8950
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8951
|
-
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
9232
|
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
8955
9233
|
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
8956
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8957
9234
|
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8958
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8959
9235
|
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
9236
|
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
9237
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8966
9238
|
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
9239
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
8971
9240
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
8972
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8973
9241
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8974
9242
|
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
9243
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
8979
9244
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
8980
9245
|
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8981
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8982
9246
|
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8983
9247
|
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8984
9248
|
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
9249
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8991
9250
|
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
9251
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8996
9252
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8997
9253
|
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
9254
|
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
9255
|
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
9256
|
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
9257
|
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9012
9258
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9013
9259
|
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9014
9260
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9015
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9016
9261
|
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
9262
|
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9025
9263
|
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
9264
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9031
9265
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9032
9266
|
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9033
9267
|
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
9268
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9037
9269
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9038
9270
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
@@ -9049,7 +9281,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9049
9281
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9050
9282
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9051
9283
|
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9052
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9053
9284
|
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9054
9285
|
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9055
9286
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
@@ -9071,91 +9302,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
|
|
|
9071
9302
|
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9072
9303
|
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9073
9304
|
}
|
|
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
9305
|
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
9160
9306
|
import { FC, ReactNode } from 'react';
|
|
9161
9307
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -9204,26 +9350,6 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
9204
9350
|
*/
|
|
9205
9351
|
export const Textarea: FC<TextareaProps>;
|
|
9206
9352
|
}
|
|
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
9353
|
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9228
9354
|
import { FC } from 'react';
|
|
9229
9355
|
interface Props {
|
|
@@ -9248,6 +9374,27 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
|
9248
9374
|
}
|
|
9249
9375
|
export const InsertImagesButton: FC<Props>;
|
|
9250
9376
|
}
|
|
9377
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9378
|
+
import { FC } from 'react';
|
|
9379
|
+
interface DateTimePickerProps {
|
|
9380
|
+
date: string;
|
|
9381
|
+
maxDate?: string;
|
|
9382
|
+
minDate?: string;
|
|
9383
|
+
dateValidationResourceKey?: string;
|
|
9384
|
+
timeValidationResourceKey?: string;
|
|
9385
|
+
readOnly?: boolean;
|
|
9386
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
9387
|
+
noDateResourceKey: string;
|
|
9388
|
+
selectDateResourceKey: string;
|
|
9389
|
+
dateOnly?: boolean;
|
|
9390
|
+
initialPickerDate?: string;
|
|
9391
|
+
label?: string;
|
|
9392
|
+
isRequired?: boolean;
|
|
9393
|
+
className?: string;
|
|
9394
|
+
}
|
|
9395
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9396
|
+
export default DateTimePicker;
|
|
9397
|
+
}
|
|
9251
9398
|
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
9252
9399
|
import moment, { Moment } from 'moment';
|
|
9253
9400
|
export enum DateRange {
|
|
@@ -9294,33 +9441,17 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
|
9294
9441
|
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
9295
9442
|
}
|
|
9296
9443
|
declare module "libs/reach/feature/content/src/forms/index" {
|
|
9297
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9298
9444
|
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9299
9445
|
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9300
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9301
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9302
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9303
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9304
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9305
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9306
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9307
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9308
9446
|
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
9309
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9310
9447
|
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
9311
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9312
9448
|
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
9313
9449
|
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
9314
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9315
9450
|
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9316
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9317
9451
|
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9318
9452
|
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
9453
|
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
9322
9454
|
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
9323
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9324
9455
|
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9325
9456
|
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9326
9457
|
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
@@ -9400,6 +9531,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9400
9531
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9401
9532
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9402
9533
|
}
|
|
9534
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9535
|
+
import { FC } from 'react';
|
|
9536
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9537
|
+
export const SearchHighlighter: FC<{
|
|
9538
|
+
highlight: SearchHighlight;
|
|
9539
|
+
}>;
|
|
9540
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9541
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9542
|
+
}
|
|
9403
9543
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9404
9544
|
import { FC } from 'react';
|
|
9405
9545
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9428,11 +9568,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9428
9568
|
}
|
|
9429
9569
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9430
9570
|
import { FC } from 'react';
|
|
9431
|
-
import {
|
|
9571
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9432
9572
|
export const PageListItemBody: FC<{
|
|
9433
|
-
|
|
9434
|
-
[key: string]: PublishableItemContent;
|
|
9435
|
-
};
|
|
9573
|
+
page: PageItem;
|
|
9436
9574
|
search?: string;
|
|
9437
9575
|
}>;
|
|
9438
9576
|
}
|
|
@@ -9498,7 +9636,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9498
9636
|
import { FC } from 'react';
|
|
9499
9637
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9500
9638
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9501
|
-
export
|
|
9639
|
+
export interface PostCreatorProps {
|
|
9502
9640
|
groupId: string;
|
|
9503
9641
|
disabled: boolean;
|
|
9504
9642
|
disableDragAndDrop?: boolean;
|
|
@@ -9509,134 +9647,1295 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9509
9647
|
defaultKeywords?: Keyword[];
|
|
9510
9648
|
mandatoryKeywords?: Keyword[];
|
|
9511
9649
|
};
|
|
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
|
-
|
|
9650
|
+
disableAutoFocus?: boolean;
|
|
9651
|
+
}
|
|
9652
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9653
|
+
}
|
|
9654
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9655
|
+
import { FC } from 'react';
|
|
9656
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9657
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
9658
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9659
|
+
interface Props {
|
|
9660
|
+
className?: string;
|
|
9661
|
+
post: Post;
|
|
9662
|
+
initialPageSize?: number;
|
|
9663
|
+
comments?: PaginatedList<Comment>;
|
|
9664
|
+
autoFocusReplyField?: boolean;
|
|
9665
|
+
onReplyAdded: () => void;
|
|
9666
|
+
onReplyDeleted: () => void;
|
|
9667
|
+
onThreadReply?: (threadId: string) => void;
|
|
9668
|
+
}
|
|
9669
|
+
export const PostReplies: FC<Props>;
|
|
9670
|
+
}
|
|
9671
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
9672
|
+
import { FC } from 'react';
|
|
9673
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9674
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9675
|
+
export const PostEditor: FC<{
|
|
9676
|
+
className?: string;
|
|
9677
|
+
post: Post;
|
|
9678
|
+
onCancel: () => void;
|
|
9679
|
+
onBeforeSave: (post: Post) => void;
|
|
9680
|
+
onSaved: (post: Post) => void;
|
|
9681
|
+
keywordSettings?: {
|
|
9682
|
+
availableKeywords?: Keyword[];
|
|
9683
|
+
defaultKeywords?: Keyword[];
|
|
9684
|
+
mandatoryKeywords?: Keyword[];
|
|
9685
|
+
};
|
|
9686
|
+
}>;
|
|
9687
|
+
}
|
|
9688
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9689
|
+
import { FC } from 'react';
|
|
9690
|
+
export const PostFollowButton: FC<{
|
|
9691
|
+
itemId: string;
|
|
9692
|
+
}>;
|
|
9693
|
+
}
|
|
9694
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9695
|
+
import { FC } from 'react';
|
|
9696
|
+
import { NavLink } from 'react-router-dom';
|
|
9697
|
+
export const PostGroup: FC<{
|
|
9698
|
+
groupId: string;
|
|
9699
|
+
to: string;
|
|
9700
|
+
className?: string;
|
|
9701
|
+
}>;
|
|
9702
|
+
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9703
|
+
}
|
|
9704
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9705
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9706
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9707
|
+
interface Props {
|
|
9708
|
+
post: Post;
|
|
9709
|
+
className?: string;
|
|
9710
|
+
threadId?: string;
|
|
9711
|
+
onCustomPostDelete?: () => void;
|
|
9712
|
+
comments?: PaginatedList<Comment>;
|
|
9713
|
+
initialCommentsPageSize?: number;
|
|
9714
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9715
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9716
|
+
onThreadCommentDelete?: () => void;
|
|
9717
|
+
onThreadReply?: (threadId: string) => void;
|
|
9718
|
+
keywordSettings?: {
|
|
9719
|
+
availableKeywords?: Keyword[];
|
|
9720
|
+
defaultKeywords?: Keyword[];
|
|
9721
|
+
mandatoryKeywords?: Keyword[];
|
|
9722
|
+
};
|
|
9723
|
+
showGroup?: boolean;
|
|
9724
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9725
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9726
|
+
}
|
|
9727
|
+
export const PostDisplay: React.FC<Props>;
|
|
9728
|
+
}
|
|
9729
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
|
|
9730
|
+
import { FC } from 'react';
|
|
9731
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
9732
|
+
export const PostGroupsSelector: FC<{
|
|
9733
|
+
groups: UserGroup[];
|
|
9734
|
+
}>;
|
|
9735
|
+
}
|
|
9736
|
+
declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
9737
|
+
import { FC } from 'react';
|
|
9738
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9739
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9740
|
+
interface Props {
|
|
9741
|
+
post: Post;
|
|
9742
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9743
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9744
|
+
keywordSettings?: {
|
|
9745
|
+
availableKeywords?: Keyword[];
|
|
9746
|
+
defaultKeywords?: Keyword[];
|
|
9747
|
+
mandatoryKeywords?: Keyword[];
|
|
9748
|
+
};
|
|
9749
|
+
showGroup: boolean;
|
|
9750
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9751
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9752
|
+
}
|
|
9753
|
+
export const PostListItem: FC<Props>;
|
|
9754
|
+
}
|
|
9755
|
+
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9756
|
+
import { FC } from 'react';
|
|
9757
|
+
import { Post } from "libs/reach/feature/content/src/index";
|
|
9758
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9759
|
+
export const PostWithSelfThreadHandling: FC<{
|
|
9760
|
+
post: Post;
|
|
9761
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9762
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9763
|
+
keywordSettings?: {
|
|
9764
|
+
availableKeywords?: Keyword[];
|
|
9765
|
+
defaultKeywords?: Keyword[];
|
|
9766
|
+
mandatoryKeywords?: Keyword[];
|
|
9767
|
+
};
|
|
9768
|
+
showGroup: boolean;
|
|
9769
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9770
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9771
|
+
}>;
|
|
9772
|
+
}
|
|
9773
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
9774
|
+
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";
|
|
9775
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9776
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9777
|
+
enum StreamItemTypes {
|
|
9778
|
+
Post = "POST",
|
|
9779
|
+
News = "NEWS",
|
|
9780
|
+
Event = "EVENT",
|
|
9781
|
+
Page = "PAGE"
|
|
9782
|
+
}
|
|
9783
|
+
export enum StreamConversationScope {
|
|
9784
|
+
Public = "PUBLIC",
|
|
9785
|
+
Editor = "EDITOR",
|
|
9786
|
+
Posts = "POSTS"
|
|
9787
|
+
}
|
|
9788
|
+
export interface PostStreamItem extends Post {
|
|
9789
|
+
type: StreamItemTypes.Post;
|
|
9790
|
+
isUnread: boolean;
|
|
9791
|
+
keywordsList?: Keyword[];
|
|
9792
|
+
groupIds?: string[];
|
|
9793
|
+
postAttachments?: StreamAttachment[];
|
|
9794
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9795
|
+
hasMoreUnreadComments: boolean;
|
|
9796
|
+
}
|
|
9797
|
+
export interface StreamPostComment extends Comment {
|
|
9798
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9799
|
+
streamConversationScope?: StreamConversationScope;
|
|
9800
|
+
}
|
|
9801
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
9802
|
+
type: GraphQLAttachmentType;
|
|
9803
|
+
}
|
|
9804
|
+
export interface NewsStreamItem extends NewsItem {
|
|
9805
|
+
type: StreamItemTypes.News;
|
|
9806
|
+
contentsList: StreamPublishableItemContents[];
|
|
9807
|
+
channelsList: string[];
|
|
9808
|
+
isUnread: boolean;
|
|
9809
|
+
keywordsList?: Keyword[];
|
|
9810
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9811
|
+
}
|
|
9812
|
+
export enum StreamKnownNewsState {
|
|
9813
|
+
Unconfirmed = "UNCONFIRMED",
|
|
9814
|
+
Alert = "ALERT"
|
|
9815
|
+
}
|
|
9816
|
+
export interface EventStreamItem extends EventItem {
|
|
9817
|
+
type: StreamItemTypes.Event;
|
|
9818
|
+
contentsList: StreamPublishableItemContents[];
|
|
9819
|
+
channelsList: string[];
|
|
9820
|
+
isUnread: boolean;
|
|
9821
|
+
keywordsList?: Keyword[];
|
|
9822
|
+
userResponseType?: StreamEventResponse;
|
|
9823
|
+
}
|
|
9824
|
+
export interface PageStreamItem extends PageItem {
|
|
9825
|
+
type: StreamItemTypes.Page;
|
|
9826
|
+
contentsList: StreamPublishableItemContents[];
|
|
9827
|
+
channelsList: string[];
|
|
9828
|
+
isUnread: boolean;
|
|
9829
|
+
keywordsList?: Keyword[];
|
|
9830
|
+
streamPageType?: string;
|
|
9831
|
+
path?: (PageNavigationNode & {
|
|
9832
|
+
parentId?: string;
|
|
9833
|
+
})[];
|
|
9834
|
+
}
|
|
9835
|
+
interface StreamPublishableItemContents {
|
|
9836
|
+
language: string;
|
|
9837
|
+
title: string;
|
|
9838
|
+
intro?: string;
|
|
9839
|
+
headline?: string;
|
|
9840
|
+
}
|
|
9841
|
+
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9842
|
+
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9843
|
+
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
9844
|
+
export function isEvent(item: StreamItem): item is EventStreamItem;
|
|
9845
|
+
export function isPage(item: StreamItem): item is PageStreamItem;
|
|
9846
|
+
export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
|
|
9847
|
+
groupId: string;
|
|
9848
|
+
attachments: {
|
|
9849
|
+
type: AttachmentType;
|
|
9850
|
+
id: string;
|
|
9851
|
+
filename?: string;
|
|
9852
|
+
previewUrl?: string;
|
|
9853
|
+
url?: string;
|
|
9854
|
+
isUploadInProgress?: boolean;
|
|
9855
|
+
hasError?: boolean;
|
|
9856
|
+
width?: number;
|
|
9857
|
+
height?: number;
|
|
9858
|
+
}[];
|
|
9859
|
+
comments: {
|
|
9860
|
+
items: {
|
|
9861
|
+
conversationScope: ConversationScope;
|
|
9862
|
+
fileAccessToken: string;
|
|
9863
|
+
attachments: {
|
|
9864
|
+
type: AttachmentType;
|
|
9865
|
+
id: string;
|
|
9866
|
+
filename?: string;
|
|
9867
|
+
previewUrl?: string;
|
|
9868
|
+
url?: string;
|
|
9869
|
+
isUploadInProgress?: boolean;
|
|
9870
|
+
hasError?: boolean;
|
|
9871
|
+
width?: number;
|
|
9872
|
+
height?: number;
|
|
9873
|
+
}[];
|
|
9874
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9875
|
+
streamConversationScope?: StreamConversationScope;
|
|
9876
|
+
id: string;
|
|
9877
|
+
parentItemId: string;
|
|
9878
|
+
content: string;
|
|
9879
|
+
contentLanguageCode?: string;
|
|
9880
|
+
receivedDateTime: string;
|
|
9881
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9882
|
+
modified?: string;
|
|
9883
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9884
|
+
isLiked?: boolean;
|
|
9885
|
+
threadId?: string;
|
|
9886
|
+
isUnread?: boolean;
|
|
9887
|
+
hasUnreadReplies?: boolean;
|
|
9888
|
+
isDemoContent?: boolean;
|
|
9889
|
+
attachmentContainerId?: string;
|
|
9890
|
+
}[];
|
|
9891
|
+
paginationToken?: any;
|
|
9892
|
+
nextItem?: StreamPostComment;
|
|
9893
|
+
hasMoreUnreadComments?: boolean;
|
|
9894
|
+
hasNextPage?: boolean;
|
|
9895
|
+
};
|
|
9896
|
+
keywords: {
|
|
9897
|
+
[key: string]: Keyword[];
|
|
9898
|
+
};
|
|
9899
|
+
type: StreamItemTypes.Post;
|
|
9900
|
+
isUnread: boolean;
|
|
9901
|
+
keywordsList?: Keyword[];
|
|
9902
|
+
groupIds?: string[];
|
|
9903
|
+
postAttachments?: StreamAttachment[];
|
|
9904
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9905
|
+
hasMoreUnreadComments: boolean;
|
|
9906
|
+
id: string;
|
|
9907
|
+
content: string;
|
|
9908
|
+
permalink?: string;
|
|
9909
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
9910
|
+
publishingDate: string;
|
|
9911
|
+
modified?: string;
|
|
9912
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
9913
|
+
contentLanguageCode?: string;
|
|
9914
|
+
isLiked?: boolean;
|
|
9915
|
+
isDemoContent?: boolean;
|
|
9916
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
9917
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9918
|
+
fileAccessToken?: string;
|
|
9919
|
+
attachmentContainerId?: string;
|
|
9920
|
+
} | {
|
|
9921
|
+
groupId: string;
|
|
9922
|
+
attachments: {
|
|
9923
|
+
type: AttachmentType;
|
|
9924
|
+
id: string;
|
|
9925
|
+
filename?: string;
|
|
9926
|
+
previewUrl?: string;
|
|
9927
|
+
url?: string;
|
|
9928
|
+
isUploadInProgress?: boolean;
|
|
9929
|
+
hasError?: boolean;
|
|
9930
|
+
width?: number;
|
|
9931
|
+
height?: number;
|
|
9932
|
+
}[];
|
|
9933
|
+
comments: {
|
|
9934
|
+
items: {
|
|
9935
|
+
conversationScope: ConversationScope;
|
|
9936
|
+
fileAccessToken: string;
|
|
9937
|
+
attachments: {
|
|
9938
|
+
type: AttachmentType;
|
|
9939
|
+
id: string;
|
|
9940
|
+
filename?: string;
|
|
9941
|
+
previewUrl?: string;
|
|
9942
|
+
url?: string;
|
|
9943
|
+
isUploadInProgress?: boolean;
|
|
9944
|
+
hasError?: boolean;
|
|
9945
|
+
width?: number;
|
|
9946
|
+
height?: number;
|
|
9947
|
+
}[];
|
|
9948
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9949
|
+
streamConversationScope?: StreamConversationScope;
|
|
9950
|
+
id: string;
|
|
9951
|
+
parentItemId: string;
|
|
9952
|
+
content: string;
|
|
9953
|
+
contentLanguageCode?: string;
|
|
9954
|
+
receivedDateTime: string;
|
|
9955
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9956
|
+
modified?: string;
|
|
9957
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9958
|
+
isLiked?: boolean;
|
|
9959
|
+
threadId?: string;
|
|
9960
|
+
isUnread?: boolean;
|
|
9961
|
+
hasUnreadReplies?: boolean;
|
|
9962
|
+
isDemoContent?: boolean;
|
|
9963
|
+
attachmentContainerId?: string;
|
|
9964
|
+
}[];
|
|
9965
|
+
paginationToken?: any;
|
|
9966
|
+
nextItem?: StreamPostComment;
|
|
9967
|
+
hasMoreUnreadComments?: boolean;
|
|
9968
|
+
hasNextPage?: boolean;
|
|
9969
|
+
};
|
|
9970
|
+
keywords: {
|
|
9971
|
+
[key: string]: Keyword[];
|
|
9972
|
+
};
|
|
9973
|
+
type: StreamItemTypes.News;
|
|
9974
|
+
contentsList: StreamPublishableItemContents[];
|
|
9975
|
+
channelsList: string[];
|
|
9976
|
+
isUnread: boolean;
|
|
9977
|
+
keywordsList?: Keyword[];
|
|
9978
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9979
|
+
source?: string;
|
|
9980
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
9981
|
+
expiryDate?: string;
|
|
9982
|
+
knownState: KnownNewsState;
|
|
9983
|
+
hasNewComments?: boolean;
|
|
9984
|
+
isLiked?: boolean;
|
|
9985
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
9986
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
9987
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
9988
|
+
id?: string;
|
|
9989
|
+
versionId?: string;
|
|
9990
|
+
publishingDate?: string;
|
|
9991
|
+
deleted?: string;
|
|
9992
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
9993
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
9994
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
9995
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
9996
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
9997
|
+
fileAccessToken?: string;
|
|
9998
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
9999
|
+
customProperties?: {
|
|
10000
|
+
[key: string]: any;
|
|
10001
|
+
};
|
|
10002
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10003
|
+
modified: string;
|
|
10004
|
+
created: string;
|
|
10005
|
+
publishedVersionId?: string;
|
|
10006
|
+
isCurrentPublishedVersion?: boolean;
|
|
10007
|
+
isLatestVersion?: boolean;
|
|
10008
|
+
permalink?: string;
|
|
10009
|
+
groupIds: string[];
|
|
10010
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10011
|
+
useExternalContent?: boolean;
|
|
10012
|
+
isDemoContent?: boolean;
|
|
10013
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10014
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10015
|
+
} | {
|
|
10016
|
+
groupId: string;
|
|
10017
|
+
attachments: {
|
|
10018
|
+
type: AttachmentType;
|
|
10019
|
+
id: string;
|
|
10020
|
+
filename?: string;
|
|
10021
|
+
previewUrl?: string;
|
|
10022
|
+
url?: string;
|
|
10023
|
+
isUploadInProgress?: boolean;
|
|
10024
|
+
hasError?: boolean;
|
|
10025
|
+
width?: number;
|
|
10026
|
+
height?: number;
|
|
10027
|
+
}[];
|
|
10028
|
+
comments: {
|
|
10029
|
+
items: {
|
|
10030
|
+
conversationScope: ConversationScope;
|
|
10031
|
+
fileAccessToken: string;
|
|
10032
|
+
attachments: {
|
|
10033
|
+
type: AttachmentType;
|
|
10034
|
+
id: string;
|
|
10035
|
+
filename?: string;
|
|
10036
|
+
previewUrl?: string;
|
|
10037
|
+
url?: string;
|
|
10038
|
+
isUploadInProgress?: boolean;
|
|
10039
|
+
hasError?: boolean;
|
|
10040
|
+
width?: number;
|
|
10041
|
+
height?: number;
|
|
10042
|
+
}[];
|
|
10043
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10044
|
+
streamConversationScope?: StreamConversationScope;
|
|
10045
|
+
id: string;
|
|
10046
|
+
parentItemId: string;
|
|
10047
|
+
content: string;
|
|
10048
|
+
contentLanguageCode?: string;
|
|
10049
|
+
receivedDateTime: string;
|
|
10050
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10051
|
+
modified?: string;
|
|
10052
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10053
|
+
isLiked?: boolean;
|
|
10054
|
+
threadId?: string;
|
|
10055
|
+
isUnread?: boolean;
|
|
10056
|
+
hasUnreadReplies?: boolean;
|
|
10057
|
+
isDemoContent?: boolean;
|
|
10058
|
+
attachmentContainerId?: string;
|
|
10059
|
+
}[];
|
|
10060
|
+
paginationToken?: any;
|
|
10061
|
+
nextItem?: StreamPostComment;
|
|
10062
|
+
hasMoreUnreadComments?: boolean;
|
|
10063
|
+
hasNextPage?: boolean;
|
|
10064
|
+
};
|
|
10065
|
+
keywords: {
|
|
10066
|
+
[key: string]: Keyword[];
|
|
10067
|
+
};
|
|
10068
|
+
type: StreamItemTypes.Event;
|
|
10069
|
+
contentsList: StreamPublishableItemContents[];
|
|
10070
|
+
channelsList: string[];
|
|
10071
|
+
isUnread: boolean;
|
|
10072
|
+
keywordsList?: Keyword[];
|
|
10073
|
+
userResponseType?: StreamEventResponse;
|
|
10074
|
+
startDate?: string;
|
|
10075
|
+
endDate?: string;
|
|
10076
|
+
timeZone?: string;
|
|
10077
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10078
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10079
|
+
userResponse?: EventResponse;
|
|
10080
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10081
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10082
|
+
hasNewComments?: boolean;
|
|
10083
|
+
isLiked?: boolean;
|
|
10084
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10085
|
+
recurrenceSeriesId?: string;
|
|
10086
|
+
isSeriesMaster?: string;
|
|
10087
|
+
isVirtual?: boolean;
|
|
10088
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10089
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10090
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10091
|
+
id?: string;
|
|
10092
|
+
versionId?: string;
|
|
10093
|
+
publishingDate?: string;
|
|
10094
|
+
deleted?: string;
|
|
10095
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10096
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10097
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10098
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10099
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10100
|
+
fileAccessToken?: string;
|
|
10101
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10102
|
+
customProperties?: {
|
|
10103
|
+
[key: string]: any;
|
|
10104
|
+
};
|
|
10105
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10106
|
+
modified: string;
|
|
10107
|
+
created: string;
|
|
10108
|
+
publishedVersionId?: string;
|
|
10109
|
+
isCurrentPublishedVersion?: boolean;
|
|
10110
|
+
isLatestVersion?: boolean;
|
|
10111
|
+
permalink?: string;
|
|
10112
|
+
groupIds: string[];
|
|
10113
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10114
|
+
useExternalContent?: boolean;
|
|
10115
|
+
isDemoContent?: boolean;
|
|
10116
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10117
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10118
|
+
} | {
|
|
10119
|
+
groupId: string;
|
|
10120
|
+
attachments: {
|
|
10121
|
+
type: AttachmentType;
|
|
10122
|
+
id: string;
|
|
10123
|
+
filename?: string;
|
|
10124
|
+
previewUrl?: string;
|
|
10125
|
+
url?: string;
|
|
10126
|
+
isUploadInProgress?: boolean;
|
|
10127
|
+
hasError?: boolean;
|
|
10128
|
+
width?: number;
|
|
10129
|
+
height?: number;
|
|
10130
|
+
}[];
|
|
10131
|
+
comments: {
|
|
10132
|
+
items: {
|
|
10133
|
+
conversationScope: ConversationScope;
|
|
10134
|
+
fileAccessToken: string;
|
|
10135
|
+
attachments: {
|
|
10136
|
+
type: AttachmentType;
|
|
10137
|
+
id: string;
|
|
10138
|
+
filename?: string;
|
|
10139
|
+
previewUrl?: string;
|
|
10140
|
+
url?: string;
|
|
10141
|
+
isUploadInProgress?: boolean;
|
|
10142
|
+
hasError?: boolean;
|
|
10143
|
+
width?: number;
|
|
10144
|
+
height?: number;
|
|
10145
|
+
}[];
|
|
10146
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10147
|
+
streamConversationScope?: StreamConversationScope;
|
|
10148
|
+
id: string;
|
|
10149
|
+
parentItemId: string;
|
|
10150
|
+
content: string;
|
|
10151
|
+
contentLanguageCode?: string;
|
|
10152
|
+
receivedDateTime: string;
|
|
10153
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10154
|
+
modified?: string;
|
|
10155
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10156
|
+
isLiked?: boolean;
|
|
10157
|
+
threadId?: string;
|
|
10158
|
+
isUnread?: boolean;
|
|
10159
|
+
hasUnreadReplies?: boolean;
|
|
10160
|
+
isDemoContent?: boolean;
|
|
10161
|
+
attachmentContainerId?: string;
|
|
10162
|
+
}[];
|
|
10163
|
+
paginationToken?: any;
|
|
10164
|
+
nextItem?: StreamPostComment;
|
|
10165
|
+
hasMoreUnreadComments?: boolean;
|
|
10166
|
+
hasNextPage?: boolean;
|
|
10167
|
+
};
|
|
10168
|
+
keywords: {
|
|
10169
|
+
[key: string]: Keyword[];
|
|
10170
|
+
};
|
|
10171
|
+
type: StreamItemTypes.Page;
|
|
10172
|
+
contentsList: StreamPublishableItemContents[];
|
|
10173
|
+
channelsList: string[];
|
|
10174
|
+
isUnread: boolean;
|
|
10175
|
+
keywordsList?: Keyword[];
|
|
10176
|
+
streamPageType?: string;
|
|
10177
|
+
path?: (PageNavigationNode & {
|
|
10178
|
+
parentId?: string;
|
|
10179
|
+
})[];
|
|
10180
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10181
|
+
parentId?: string;
|
|
10182
|
+
pathIds?: string[];
|
|
10183
|
+
position?: number;
|
|
10184
|
+
navigationContext?: PageNavigationContext;
|
|
10185
|
+
hasHiddenAncestor?: boolean;
|
|
10186
|
+
isUnlinked?: boolean;
|
|
10187
|
+
pageType?: PageType;
|
|
10188
|
+
firstChildId?: string;
|
|
10189
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10190
|
+
id?: string;
|
|
10191
|
+
versionId?: string;
|
|
10192
|
+
publishingDate?: string;
|
|
10193
|
+
deleted?: string;
|
|
10194
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10195
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10196
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10197
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10198
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10199
|
+
fileAccessToken?: string;
|
|
10200
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10201
|
+
customProperties?: {
|
|
10202
|
+
[key: string]: any;
|
|
10203
|
+
};
|
|
10204
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10205
|
+
modified: string;
|
|
10206
|
+
created: string;
|
|
10207
|
+
publishedVersionId?: string;
|
|
10208
|
+
isCurrentPublishedVersion?: boolean;
|
|
10209
|
+
isLatestVersion?: boolean;
|
|
10210
|
+
permalink?: string;
|
|
10211
|
+
groupIds: string[];
|
|
10212
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10213
|
+
useExternalContent?: boolean;
|
|
10214
|
+
isDemoContent?: boolean;
|
|
10215
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10216
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10217
|
+
} | {
|
|
10218
|
+
knownState?: undefined;
|
|
10219
|
+
pageType?: undefined;
|
|
10220
|
+
navigationContext?: undefined;
|
|
10221
|
+
userResponse: EventResponse;
|
|
10222
|
+
channels: {
|
|
10223
|
+
name: string;
|
|
10224
|
+
}[];
|
|
10225
|
+
contents: {};
|
|
10226
|
+
bannerInfo: {
|
|
10227
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10228
|
+
type: "video" | "image";
|
|
10229
|
+
videoId?: string;
|
|
10230
|
+
videoUrl?: string;
|
|
10231
|
+
isDirectVideoUrl?: boolean;
|
|
10232
|
+
imageId?: string;
|
|
10233
|
+
};
|
|
10234
|
+
keywords: {
|
|
10235
|
+
[key: string]: Keyword[];
|
|
10236
|
+
};
|
|
10237
|
+
type: StreamItemTypes.Post;
|
|
10238
|
+
isUnread: boolean;
|
|
10239
|
+
keywordsList?: Keyword[];
|
|
10240
|
+
groupIds?: string[];
|
|
10241
|
+
postAttachments?: StreamAttachment[];
|
|
10242
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10243
|
+
hasMoreUnreadComments: boolean;
|
|
10244
|
+
id: string;
|
|
10245
|
+
comments?: PaginatedList<Comment>;
|
|
10246
|
+
groupId: string;
|
|
10247
|
+
content: string;
|
|
10248
|
+
permalink?: string;
|
|
10249
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10250
|
+
publishingDate: string;
|
|
10251
|
+
modified?: string;
|
|
10252
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10253
|
+
contentLanguageCode?: string;
|
|
10254
|
+
isLiked?: boolean;
|
|
10255
|
+
isDemoContent?: boolean;
|
|
10256
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10257
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10258
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10259
|
+
fileAccessToken?: string;
|
|
10260
|
+
attachmentContainerId?: string;
|
|
10261
|
+
} | {
|
|
10262
|
+
knownState: KnownNewsState;
|
|
10263
|
+
pageType?: undefined;
|
|
10264
|
+
navigationContext?: undefined;
|
|
10265
|
+
userResponse: EventResponse;
|
|
10266
|
+
channels: {
|
|
10267
|
+
name: string;
|
|
10268
|
+
}[];
|
|
10269
|
+
contents: {};
|
|
10270
|
+
bannerInfo: {
|
|
10271
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10272
|
+
type: "video" | "image";
|
|
10273
|
+
videoId?: string;
|
|
10274
|
+
videoUrl?: string;
|
|
10275
|
+
isDirectVideoUrl?: boolean;
|
|
10276
|
+
imageId?: string;
|
|
10277
|
+
};
|
|
10278
|
+
keywords: {
|
|
10279
|
+
[key: string]: Keyword[];
|
|
10280
|
+
};
|
|
10281
|
+
type: StreamItemTypes.Post;
|
|
10282
|
+
isUnread: boolean;
|
|
10283
|
+
keywordsList?: Keyword[];
|
|
10284
|
+
groupIds?: string[];
|
|
10285
|
+
postAttachments?: StreamAttachment[];
|
|
10286
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10287
|
+
hasMoreUnreadComments: boolean;
|
|
10288
|
+
id: string;
|
|
10289
|
+
comments?: PaginatedList<Comment>;
|
|
10290
|
+
groupId: string;
|
|
10291
|
+
content: string;
|
|
10292
|
+
permalink?: string;
|
|
10293
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10294
|
+
publishingDate: string;
|
|
10295
|
+
modified?: string;
|
|
10296
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10297
|
+
contentLanguageCode?: string;
|
|
10298
|
+
isLiked?: boolean;
|
|
10299
|
+
isDemoContent?: boolean;
|
|
10300
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10301
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10302
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10303
|
+
fileAccessToken?: string;
|
|
10304
|
+
attachmentContainerId?: string;
|
|
10305
|
+
} | {
|
|
10306
|
+
knownState?: undefined;
|
|
10307
|
+
pageType: PageType;
|
|
10308
|
+
navigationContext: PageNavigationContext;
|
|
10309
|
+
userResponse: EventResponse;
|
|
10310
|
+
channels: {
|
|
10311
|
+
name: string;
|
|
10312
|
+
}[];
|
|
10313
|
+
contents: {};
|
|
10314
|
+
bannerInfo: {
|
|
10315
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10316
|
+
type: "video" | "image";
|
|
10317
|
+
videoId?: string;
|
|
10318
|
+
videoUrl?: string;
|
|
10319
|
+
isDirectVideoUrl?: boolean;
|
|
10320
|
+
imageId?: string;
|
|
10321
|
+
};
|
|
10322
|
+
keywords: {
|
|
10323
|
+
[key: string]: Keyword[];
|
|
10324
|
+
};
|
|
10325
|
+
type: StreamItemTypes.Post;
|
|
10326
|
+
isUnread: boolean;
|
|
10327
|
+
keywordsList?: Keyword[];
|
|
10328
|
+
groupIds?: string[];
|
|
10329
|
+
postAttachments?: StreamAttachment[];
|
|
10330
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10331
|
+
hasMoreUnreadComments: boolean;
|
|
10332
|
+
id: string;
|
|
10333
|
+
comments?: PaginatedList<Comment>;
|
|
10334
|
+
groupId: string;
|
|
10335
|
+
content: string;
|
|
10336
|
+
permalink?: string;
|
|
10337
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10338
|
+
publishingDate: string;
|
|
10339
|
+
modified?: string;
|
|
10340
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10341
|
+
contentLanguageCode?: string;
|
|
10342
|
+
isLiked?: boolean;
|
|
10343
|
+
isDemoContent?: boolean;
|
|
10344
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10345
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10346
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10347
|
+
fileAccessToken?: string;
|
|
10348
|
+
attachmentContainerId?: string;
|
|
10349
|
+
} | {
|
|
10350
|
+
knownState: KnownNewsState;
|
|
10351
|
+
pageType: PageType;
|
|
10352
|
+
navigationContext: PageNavigationContext;
|
|
10353
|
+
userResponse: EventResponse;
|
|
10354
|
+
channels: {
|
|
10355
|
+
name: string;
|
|
10356
|
+
}[];
|
|
10357
|
+
contents: {};
|
|
10358
|
+
bannerInfo: {
|
|
10359
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10360
|
+
type: "video" | "image";
|
|
10361
|
+
videoId?: string;
|
|
10362
|
+
videoUrl?: string;
|
|
10363
|
+
isDirectVideoUrl?: boolean;
|
|
10364
|
+
imageId?: string;
|
|
10365
|
+
};
|
|
10366
|
+
keywords: {
|
|
10367
|
+
[key: string]: Keyword[];
|
|
10368
|
+
};
|
|
10369
|
+
type: StreamItemTypes.Post;
|
|
10370
|
+
isUnread: boolean;
|
|
10371
|
+
keywordsList?: Keyword[];
|
|
10372
|
+
groupIds?: string[];
|
|
10373
|
+
postAttachments?: StreamAttachment[];
|
|
10374
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10375
|
+
hasMoreUnreadComments: boolean;
|
|
10376
|
+
id: string;
|
|
10377
|
+
comments?: PaginatedList<Comment>;
|
|
10378
|
+
groupId: string;
|
|
10379
|
+
content: string;
|
|
10380
|
+
permalink?: string;
|
|
10381
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10382
|
+
publishingDate: string;
|
|
10383
|
+
modified?: string;
|
|
10384
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10385
|
+
contentLanguageCode?: string;
|
|
10386
|
+
isLiked?: boolean;
|
|
10387
|
+
isDemoContent?: boolean;
|
|
10388
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10389
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10390
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10391
|
+
fileAccessToken?: string;
|
|
10392
|
+
attachmentContainerId?: string;
|
|
10393
|
+
} | {
|
|
10394
|
+
knownState: KnownNewsState;
|
|
10395
|
+
pageType?: undefined;
|
|
10396
|
+
navigationContext?: undefined;
|
|
10397
|
+
userResponse: EventResponse;
|
|
10398
|
+
channels: {
|
|
10399
|
+
name: string;
|
|
10400
|
+
}[];
|
|
10401
|
+
contents: {};
|
|
10402
|
+
bannerInfo: {
|
|
10403
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10404
|
+
type: "video" | "image";
|
|
10405
|
+
videoId?: string;
|
|
10406
|
+
videoUrl?: string;
|
|
10407
|
+
isDirectVideoUrl?: boolean;
|
|
10408
|
+
imageId?: string;
|
|
10409
|
+
};
|
|
10410
|
+
keywords: {
|
|
10411
|
+
[key: string]: Keyword[];
|
|
10412
|
+
};
|
|
10413
|
+
type: StreamItemTypes.News;
|
|
10414
|
+
contentsList: StreamPublishableItemContents[];
|
|
10415
|
+
channelsList: string[];
|
|
10416
|
+
isUnread: boolean;
|
|
10417
|
+
keywordsList?: Keyword[];
|
|
10418
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10419
|
+
source?: string;
|
|
10420
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10421
|
+
expiryDate?: string;
|
|
10422
|
+
hasNewComments?: boolean;
|
|
10423
|
+
isLiked?: boolean;
|
|
10424
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10425
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10426
|
+
id?: string;
|
|
10427
|
+
versionId?: string;
|
|
10428
|
+
publishingDate?: string;
|
|
10429
|
+
deleted?: string;
|
|
10430
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10431
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10432
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10433
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10434
|
+
fileAccessToken?: string;
|
|
10435
|
+
customProperties?: {
|
|
10436
|
+
[key: string]: any;
|
|
10437
|
+
};
|
|
10438
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10439
|
+
modified: string;
|
|
10440
|
+
created: string;
|
|
10441
|
+
publishedVersionId?: string;
|
|
10442
|
+
isCurrentPublishedVersion?: boolean;
|
|
10443
|
+
isLatestVersion?: boolean;
|
|
10444
|
+
permalink?: string;
|
|
10445
|
+
groupIds: string[];
|
|
10446
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10447
|
+
useExternalContent?: boolean;
|
|
10448
|
+
isDemoContent?: boolean;
|
|
10449
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10450
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10451
|
+
} | {
|
|
10452
|
+
knownState: KnownNewsState;
|
|
10453
|
+
pageType: PageType;
|
|
10454
|
+
navigationContext: PageNavigationContext;
|
|
10455
|
+
userResponse: EventResponse;
|
|
10456
|
+
channels: {
|
|
10457
|
+
name: string;
|
|
10458
|
+
}[];
|
|
10459
|
+
contents: {};
|
|
10460
|
+
bannerInfo: {
|
|
10461
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10462
|
+
type: "video" | "image";
|
|
10463
|
+
videoId?: string;
|
|
10464
|
+
videoUrl?: string;
|
|
10465
|
+
isDirectVideoUrl?: boolean;
|
|
10466
|
+
imageId?: string;
|
|
10467
|
+
};
|
|
10468
|
+
keywords: {
|
|
10469
|
+
[key: string]: Keyword[];
|
|
10470
|
+
};
|
|
10471
|
+
type: StreamItemTypes.News;
|
|
10472
|
+
contentsList: StreamPublishableItemContents[];
|
|
10473
|
+
channelsList: string[];
|
|
10474
|
+
isUnread: boolean;
|
|
10475
|
+
keywordsList?: Keyword[];
|
|
10476
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10477
|
+
source?: string;
|
|
10478
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10479
|
+
expiryDate?: string;
|
|
10480
|
+
hasNewComments?: boolean;
|
|
10481
|
+
isLiked?: boolean;
|
|
10482
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10483
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10484
|
+
id?: string;
|
|
10485
|
+
versionId?: string;
|
|
10486
|
+
publishingDate?: string;
|
|
10487
|
+
deleted?: string;
|
|
10488
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10489
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10490
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10491
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10492
|
+
fileAccessToken?: string;
|
|
10493
|
+
customProperties?: {
|
|
10494
|
+
[key: string]: any;
|
|
10495
|
+
};
|
|
10496
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10497
|
+
modified: string;
|
|
10498
|
+
created: string;
|
|
10499
|
+
publishedVersionId?: string;
|
|
10500
|
+
isCurrentPublishedVersion?: boolean;
|
|
10501
|
+
isLatestVersion?: boolean;
|
|
10502
|
+
permalink?: string;
|
|
10503
|
+
groupIds: string[];
|
|
10504
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10505
|
+
useExternalContent?: boolean;
|
|
10506
|
+
isDemoContent?: boolean;
|
|
10507
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10508
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10509
|
+
} | {
|
|
10510
|
+
knownState?: undefined;
|
|
10511
|
+
pageType?: undefined;
|
|
10512
|
+
navigationContext?: undefined;
|
|
10513
|
+
userResponse: EventResponse;
|
|
10514
|
+
channels: {
|
|
10515
|
+
name: string;
|
|
10516
|
+
}[];
|
|
10517
|
+
contents: {};
|
|
10518
|
+
bannerInfo: {
|
|
10519
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10520
|
+
type: "video" | "image";
|
|
10521
|
+
videoId?: string;
|
|
10522
|
+
videoUrl?: string;
|
|
10523
|
+
isDirectVideoUrl?: boolean;
|
|
10524
|
+
imageId?: string;
|
|
10525
|
+
};
|
|
10526
|
+
keywords: {
|
|
10527
|
+
[key: string]: Keyword[];
|
|
10528
|
+
};
|
|
10529
|
+
type: StreamItemTypes.Event;
|
|
10530
|
+
contentsList: StreamPublishableItemContents[];
|
|
10531
|
+
channelsList: string[];
|
|
10532
|
+
isUnread: boolean;
|
|
10533
|
+
keywordsList?: Keyword[];
|
|
10534
|
+
userResponseType?: StreamEventResponse;
|
|
10535
|
+
startDate?: string;
|
|
10536
|
+
endDate?: string;
|
|
10537
|
+
timeZone?: string;
|
|
10538
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10539
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10540
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10541
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10542
|
+
hasNewComments?: boolean;
|
|
10543
|
+
isLiked?: boolean;
|
|
10544
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10545
|
+
recurrenceSeriesId?: string;
|
|
10546
|
+
isSeriesMaster?: string;
|
|
10547
|
+
isVirtual?: boolean;
|
|
10548
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10549
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10550
|
+
id?: string;
|
|
10551
|
+
versionId?: string;
|
|
10552
|
+
publishingDate?: string;
|
|
10553
|
+
deleted?: string;
|
|
10554
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10555
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10556
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10557
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10558
|
+
fileAccessToken?: string;
|
|
10559
|
+
customProperties?: {
|
|
10560
|
+
[key: string]: any;
|
|
10561
|
+
};
|
|
10562
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10563
|
+
modified: string;
|
|
10564
|
+
created: string;
|
|
10565
|
+
publishedVersionId?: string;
|
|
10566
|
+
isCurrentPublishedVersion?: boolean;
|
|
10567
|
+
isLatestVersion?: boolean;
|
|
10568
|
+
permalink?: string;
|
|
10569
|
+
groupIds: string[];
|
|
10570
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10571
|
+
useExternalContent?: boolean;
|
|
10572
|
+
isDemoContent?: boolean;
|
|
10573
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10574
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10575
|
+
} | {
|
|
10576
|
+
knownState: KnownNewsState;
|
|
10577
|
+
pageType?: undefined;
|
|
10578
|
+
navigationContext?: undefined;
|
|
10579
|
+
userResponse: EventResponse;
|
|
10580
|
+
channels: {
|
|
10581
|
+
name: string;
|
|
10582
|
+
}[];
|
|
10583
|
+
contents: {};
|
|
10584
|
+
bannerInfo: {
|
|
10585
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10586
|
+
type: "video" | "image";
|
|
10587
|
+
videoId?: string;
|
|
10588
|
+
videoUrl?: string;
|
|
10589
|
+
isDirectVideoUrl?: boolean;
|
|
10590
|
+
imageId?: string;
|
|
10591
|
+
};
|
|
10592
|
+
keywords: {
|
|
10593
|
+
[key: string]: Keyword[];
|
|
10594
|
+
};
|
|
10595
|
+
type: StreamItemTypes.Event;
|
|
10596
|
+
contentsList: StreamPublishableItemContents[];
|
|
10597
|
+
channelsList: string[];
|
|
10598
|
+
isUnread: boolean;
|
|
10599
|
+
keywordsList?: Keyword[];
|
|
10600
|
+
userResponseType?: StreamEventResponse;
|
|
10601
|
+
startDate?: string;
|
|
10602
|
+
endDate?: string;
|
|
10603
|
+
timeZone?: string;
|
|
10604
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10605
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10606
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10607
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10608
|
+
hasNewComments?: boolean;
|
|
10609
|
+
isLiked?: boolean;
|
|
10610
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10611
|
+
recurrenceSeriesId?: string;
|
|
10612
|
+
isSeriesMaster?: string;
|
|
10613
|
+
isVirtual?: boolean;
|
|
10614
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10615
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10616
|
+
id?: string;
|
|
10617
|
+
versionId?: string;
|
|
10618
|
+
publishingDate?: string;
|
|
10619
|
+
deleted?: string;
|
|
10620
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10621
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10622
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10623
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10624
|
+
fileAccessToken?: string;
|
|
10625
|
+
customProperties?: {
|
|
10626
|
+
[key: string]: any;
|
|
10627
|
+
};
|
|
10628
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10629
|
+
modified: string;
|
|
10630
|
+
created: string;
|
|
10631
|
+
publishedVersionId?: string;
|
|
10632
|
+
isCurrentPublishedVersion?: boolean;
|
|
10633
|
+
isLatestVersion?: boolean;
|
|
10634
|
+
permalink?: string;
|
|
10635
|
+
groupIds: string[];
|
|
10636
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10637
|
+
useExternalContent?: boolean;
|
|
10638
|
+
isDemoContent?: boolean;
|
|
10639
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10640
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10641
|
+
} | {
|
|
10642
|
+
knownState?: undefined;
|
|
10643
|
+
pageType: PageType;
|
|
10644
|
+
navigationContext: PageNavigationContext;
|
|
10645
|
+
userResponse: EventResponse;
|
|
10646
|
+
channels: {
|
|
10647
|
+
name: string;
|
|
10648
|
+
}[];
|
|
10649
|
+
contents: {};
|
|
10650
|
+
bannerInfo: {
|
|
10651
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10652
|
+
type: "video" | "image";
|
|
10653
|
+
videoId?: string;
|
|
10654
|
+
videoUrl?: string;
|
|
10655
|
+
isDirectVideoUrl?: boolean;
|
|
10656
|
+
imageId?: string;
|
|
10657
|
+
};
|
|
10658
|
+
keywords: {
|
|
10659
|
+
[key: string]: Keyword[];
|
|
10660
|
+
};
|
|
10661
|
+
type: StreamItemTypes.Event;
|
|
10662
|
+
contentsList: StreamPublishableItemContents[];
|
|
10663
|
+
channelsList: string[];
|
|
10664
|
+
isUnread: boolean;
|
|
10665
|
+
keywordsList?: Keyword[];
|
|
10666
|
+
userResponseType?: StreamEventResponse;
|
|
10667
|
+
startDate?: string;
|
|
10668
|
+
endDate?: string;
|
|
10669
|
+
timeZone?: string;
|
|
10670
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10671
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10672
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10673
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10674
|
+
hasNewComments?: boolean;
|
|
10675
|
+
isLiked?: boolean;
|
|
10676
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10677
|
+
recurrenceSeriesId?: string;
|
|
10678
|
+
isSeriesMaster?: string;
|
|
10679
|
+
isVirtual?: boolean;
|
|
10680
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10681
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10682
|
+
id?: string;
|
|
10683
|
+
versionId?: string;
|
|
10684
|
+
publishingDate?: string;
|
|
10685
|
+
deleted?: string;
|
|
10686
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10687
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10688
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10689
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10690
|
+
fileAccessToken?: string;
|
|
10691
|
+
customProperties?: {
|
|
10692
|
+
[key: string]: any;
|
|
10693
|
+
};
|
|
10694
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10695
|
+
modified: string;
|
|
10696
|
+
created: string;
|
|
10697
|
+
publishedVersionId?: string;
|
|
10698
|
+
isCurrentPublishedVersion?: boolean;
|
|
10699
|
+
isLatestVersion?: boolean;
|
|
10700
|
+
permalink?: string;
|
|
10701
|
+
groupIds: string[];
|
|
10702
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10703
|
+
useExternalContent?: boolean;
|
|
10704
|
+
isDemoContent?: boolean;
|
|
10705
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10706
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10707
|
+
} | {
|
|
10708
|
+
knownState: KnownNewsState;
|
|
10709
|
+
pageType: PageType;
|
|
10710
|
+
navigationContext: PageNavigationContext;
|
|
10711
|
+
userResponse: EventResponse;
|
|
10712
|
+
channels: {
|
|
10713
|
+
name: string;
|
|
10714
|
+
}[];
|
|
10715
|
+
contents: {};
|
|
10716
|
+
bannerInfo: {
|
|
10717
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10718
|
+
type: "video" | "image";
|
|
10719
|
+
videoId?: string;
|
|
10720
|
+
videoUrl?: string;
|
|
10721
|
+
isDirectVideoUrl?: boolean;
|
|
10722
|
+
imageId?: string;
|
|
9545
10723
|
};
|
|
9546
|
-
|
|
9547
|
-
|
|
9548
|
-
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9549
|
-
import { FC } from 'react';
|
|
9550
|
-
export const PostFollowButton: FC<{
|
|
9551
|
-
itemId: string;
|
|
9552
|
-
}>;
|
|
9553
|
-
}
|
|
9554
|
-
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9555
|
-
import { FC } from 'react';
|
|
9556
|
-
import { NavLink } from 'react-router-dom';
|
|
9557
|
-
export const PostGroup: FC<{
|
|
9558
|
-
groupId: string;
|
|
9559
|
-
to: string;
|
|
9560
|
-
className?: string;
|
|
9561
|
-
}>;
|
|
9562
|
-
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9563
|
-
}
|
|
9564
|
-
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9565
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9566
|
-
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9567
|
-
interface Props {
|
|
9568
|
-
post: Post;
|
|
9569
|
-
className?: string;
|
|
9570
|
-
threadId?: string;
|
|
9571
|
-
onCustomPostDelete?: () => void;
|
|
9572
|
-
comments?: PaginatedList<Comment>;
|
|
9573
|
-
initialCommentsPageSize?: number;
|
|
9574
|
-
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9575
|
-
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9576
|
-
onThreadCommentDelete?: () => void;
|
|
9577
|
-
onThreadReply?: (threadId: string) => void;
|
|
9578
|
-
keywordSettings?: {
|
|
9579
|
-
availableKeywords?: Keyword[];
|
|
9580
|
-
defaultKeywords?: Keyword[];
|
|
9581
|
-
mandatoryKeywords?: Keyword[];
|
|
10724
|
+
keywords: {
|
|
10725
|
+
[key: string]: Keyword[];
|
|
9582
10726
|
};
|
|
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
|
-
|
|
10727
|
+
type: StreamItemTypes.Event;
|
|
10728
|
+
contentsList: StreamPublishableItemContents[];
|
|
10729
|
+
channelsList: string[];
|
|
10730
|
+
isUnread: boolean;
|
|
10731
|
+
keywordsList?: Keyword[];
|
|
10732
|
+
userResponseType?: StreamEventResponse;
|
|
10733
|
+
startDate?: string;
|
|
10734
|
+
endDate?: string;
|
|
10735
|
+
timeZone?: string;
|
|
10736
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10737
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10738
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10739
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10740
|
+
hasNewComments?: boolean;
|
|
10741
|
+
isLiked?: boolean;
|
|
10742
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10743
|
+
recurrenceSeriesId?: string;
|
|
10744
|
+
isSeriesMaster?: string;
|
|
10745
|
+
isVirtual?: boolean;
|
|
10746
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10747
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10748
|
+
id?: string;
|
|
10749
|
+
versionId?: string;
|
|
10750
|
+
publishingDate?: string;
|
|
10751
|
+
deleted?: string;
|
|
10752
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10753
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10754
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10755
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10756
|
+
fileAccessToken?: string;
|
|
10757
|
+
customProperties?: {
|
|
10758
|
+
[key: string]: any;
|
|
9608
10759
|
};
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9620
|
-
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
9626
|
-
|
|
10760
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10761
|
+
modified: string;
|
|
10762
|
+
created: string;
|
|
10763
|
+
publishedVersionId?: string;
|
|
10764
|
+
isCurrentPublishedVersion?: boolean;
|
|
10765
|
+
isLatestVersion?: boolean;
|
|
10766
|
+
permalink?: string;
|
|
10767
|
+
groupIds: string[];
|
|
10768
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10769
|
+
useExternalContent?: boolean;
|
|
10770
|
+
isDemoContent?: boolean;
|
|
10771
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10772
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10773
|
+
} | {
|
|
10774
|
+
knownState?: undefined;
|
|
10775
|
+
pageType?: PageType;
|
|
10776
|
+
navigationContext?: PageNavigationContext;
|
|
10777
|
+
userResponse: EventResponse;
|
|
10778
|
+
channels: {
|
|
10779
|
+
name: string;
|
|
10780
|
+
}[];
|
|
10781
|
+
contents: {};
|
|
10782
|
+
bannerInfo: {
|
|
10783
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10784
|
+
type: "video" | "image";
|
|
10785
|
+
videoId?: string;
|
|
10786
|
+
videoUrl?: string;
|
|
10787
|
+
isDirectVideoUrl?: boolean;
|
|
10788
|
+
imageId?: string;
|
|
9627
10789
|
};
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
9634
|
-
|
|
10790
|
+
keywords: {
|
|
10791
|
+
[key: string]: Keyword[];
|
|
10792
|
+
};
|
|
10793
|
+
type: StreamItemTypes.Page;
|
|
10794
|
+
contentsList: StreamPublishableItemContents[];
|
|
10795
|
+
channelsList: string[];
|
|
10796
|
+
isUnread: boolean;
|
|
10797
|
+
keywordsList?: Keyword[];
|
|
10798
|
+
streamPageType?: string;
|
|
10799
|
+
path?: (PageNavigationNode & {
|
|
10800
|
+
parentId?: string;
|
|
10801
|
+
})[];
|
|
10802
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10803
|
+
parentId?: string;
|
|
10804
|
+
pathIds?: string[];
|
|
10805
|
+
position?: number;
|
|
10806
|
+
hasHiddenAncestor?: boolean;
|
|
10807
|
+
isUnlinked?: boolean;
|
|
10808
|
+
firstChildId?: string;
|
|
10809
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10810
|
+
id?: string;
|
|
10811
|
+
versionId?: string;
|
|
10812
|
+
publishingDate?: string;
|
|
10813
|
+
deleted?: string;
|
|
10814
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10815
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10816
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10817
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10818
|
+
fileAccessToken?: string;
|
|
10819
|
+
customProperties?: {
|
|
10820
|
+
[key: string]: any;
|
|
10821
|
+
};
|
|
10822
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10823
|
+
modified: string;
|
|
10824
|
+
created: string;
|
|
10825
|
+
publishedVersionId?: string;
|
|
10826
|
+
isCurrentPublishedVersion?: boolean;
|
|
10827
|
+
isLatestVersion?: boolean;
|
|
10828
|
+
permalink?: string;
|
|
10829
|
+
groupIds: string[];
|
|
10830
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10831
|
+
useExternalContent?: boolean;
|
|
10832
|
+
isDemoContent?: boolean;
|
|
10833
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10834
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10835
|
+
} | {
|
|
10836
|
+
knownState: KnownNewsState;
|
|
10837
|
+
pageType?: PageType;
|
|
10838
|
+
navigationContext?: PageNavigationContext;
|
|
10839
|
+
userResponse: EventResponse;
|
|
10840
|
+
channels: {
|
|
10841
|
+
name: string;
|
|
10842
|
+
}[];
|
|
10843
|
+
contents: {};
|
|
10844
|
+
bannerInfo: {
|
|
10845
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10846
|
+
type: "video" | "image";
|
|
10847
|
+
videoId?: string;
|
|
10848
|
+
videoUrl?: string;
|
|
10849
|
+
isDirectVideoUrl?: boolean;
|
|
10850
|
+
imageId?: string;
|
|
10851
|
+
};
|
|
10852
|
+
keywords: {
|
|
10853
|
+
[key: string]: Keyword[];
|
|
10854
|
+
};
|
|
10855
|
+
type: StreamItemTypes.Page;
|
|
10856
|
+
contentsList: StreamPublishableItemContents[];
|
|
10857
|
+
channelsList: string[];
|
|
10858
|
+
isUnread: boolean;
|
|
10859
|
+
keywordsList?: Keyword[];
|
|
10860
|
+
streamPageType?: string;
|
|
10861
|
+
path?: (PageNavigationNode & {
|
|
10862
|
+
parentId?: string;
|
|
10863
|
+
})[];
|
|
10864
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10865
|
+
parentId?: string;
|
|
10866
|
+
pathIds?: string[];
|
|
10867
|
+
position?: number;
|
|
10868
|
+
hasHiddenAncestor?: boolean;
|
|
10869
|
+
isUnlinked?: boolean;
|
|
10870
|
+
firstChildId?: string;
|
|
10871
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10872
|
+
id?: string;
|
|
10873
|
+
versionId?: string;
|
|
10874
|
+
publishingDate?: string;
|
|
10875
|
+
deleted?: string;
|
|
10876
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10877
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10878
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10879
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10880
|
+
fileAccessToken?: string;
|
|
10881
|
+
customProperties?: {
|
|
10882
|
+
[key: string]: any;
|
|
10883
|
+
};
|
|
10884
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10885
|
+
modified: string;
|
|
10886
|
+
created: string;
|
|
10887
|
+
publishedVersionId?: string;
|
|
10888
|
+
isCurrentPublishedVersion?: boolean;
|
|
10889
|
+
isLatestVersion?: boolean;
|
|
10890
|
+
permalink?: string;
|
|
10891
|
+
groupIds: string[];
|
|
10892
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10893
|
+
useExternalContent?: boolean;
|
|
10894
|
+
isDemoContent?: boolean;
|
|
10895
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10896
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10897
|
+
})[];
|
|
9635
10898
|
}
|
|
9636
|
-
declare module "libs/reach/feature/content/src/
|
|
10899
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10900
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10901
|
+
import { DocumentNode } from '@apollo/client';
|
|
10902
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10903
|
+
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition, FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
10904
|
+
export enum StreamEventResponse {
|
|
10905
|
+
NotSet = "NOTSET",
|
|
10906
|
+
Registered = "REGISTERED",
|
|
10907
|
+
Declined = "DECLINED"
|
|
10908
|
+
}
|
|
10909
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10910
|
+
}
|
|
10911
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10912
|
+
items: StreamItem[];
|
|
10913
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10914
|
+
loadMore: () => Promise<void>;
|
|
10915
|
+
pageInfo: {
|
|
10916
|
+
errors?: any;
|
|
10917
|
+
hasNextPage: boolean;
|
|
10918
|
+
skip: number;
|
|
10919
|
+
};
|
|
10920
|
+
refresh: () => Promise<void>;
|
|
10921
|
+
isLoadingFirstPage: boolean;
|
|
10922
|
+
};
|
|
10923
|
+
export const getStreamQuery: () => DocumentNode;
|
|
10924
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10925
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10926
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10927
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10928
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10929
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10930
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10931
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
10932
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10933
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10934
|
+
}
|
|
10935
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
9637
10936
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9638
10937
|
import { DependencyList } from 'react';
|
|
9639
|
-
export function
|
|
10938
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
9640
10939
|
}
|
|
9641
10940
|
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
9642
10941
|
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -9654,7 +10953,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
9654
10953
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
9655
10954
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
9656
10955
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
9657
|
-
export * from "libs/reach/feature/content/src/posts/
|
|
10956
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
9658
10957
|
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
9659
10958
|
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
9660
10959
|
export * from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9674,7 +10973,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
|
9674
10973
|
onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
|
|
9675
10974
|
onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
|
|
9676
10975
|
className?: string;
|
|
9677
|
-
useLargeAvatar?: boolean;
|
|
9678
10976
|
useExternalLink?: boolean;
|
|
9679
10977
|
}
|
|
9680
10978
|
export const EditorListItem: FC<Props>;
|
|
@@ -9719,12 +11017,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
9719
11017
|
}
|
|
9720
11018
|
}
|
|
9721
11019
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
9722
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11020
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9723
11021
|
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
11022
|
import { Observable } from 'rxjs';
|
|
9729
11023
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
9730
11024
|
export function useEditorApi(): {
|
|
@@ -9744,6 +11038,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
|
9744
11038
|
keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
|
|
9745
11039
|
saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
|
|
9746
11040
|
updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
|
|
11041
|
+
translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
|
|
9747
11042
|
};
|
|
9748
11043
|
}
|
|
9749
11044
|
declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
@@ -9767,6 +11062,59 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
9767
11062
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
9768
11063
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
9769
11064
|
}
|
|
11065
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
11066
|
+
import { FC } from 'react';
|
|
11067
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11068
|
+
export const StreamPostItemCard: FC<{
|
|
11069
|
+
post: PostStreamItem;
|
|
11070
|
+
onPostDelete: (id: string) => unknown;
|
|
11071
|
+
}>;
|
|
11072
|
+
}
|
|
11073
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
11074
|
+
import { FC } from 'react';
|
|
11075
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11076
|
+
export const StreamNewsItemCard: FC<{
|
|
11077
|
+
news: NewsStreamItem;
|
|
11078
|
+
}>;
|
|
11079
|
+
}
|
|
11080
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
11081
|
+
import { FC } from 'react';
|
|
11082
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11083
|
+
export const StreamEventItemCard: FC<{
|
|
11084
|
+
event: EventStreamItem;
|
|
11085
|
+
}>;
|
|
11086
|
+
}
|
|
11087
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11088
|
+
import { FC } from 'react';
|
|
11089
|
+
export const GlobalSearchButton: FC;
|
|
11090
|
+
}
|
|
11091
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11092
|
+
import { FC } from 'react';
|
|
11093
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11094
|
+
export type StreamQueryResult = {
|
|
11095
|
+
items: StreamItem[];
|
|
11096
|
+
};
|
|
11097
|
+
export const StreamList: FC;
|
|
11098
|
+
}
|
|
11099
|
+
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
11100
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
11101
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
11102
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11103
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
|
|
11104
|
+
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11105
|
+
}
|
|
11106
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11107
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
11108
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11109
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11110
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
11111
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
11112
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
11113
|
+
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
11114
|
+
}
|
|
11115
|
+
declare module "libs/reach/feature/content/src/search/index" {
|
|
11116
|
+
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11117
|
+
}
|
|
9770
11118
|
declare module "libs/reach/feature/content/src/index" {
|
|
9771
11119
|
export * from "libs/reach/feature/content/src/comments/index";
|
|
9772
11120
|
export * from "libs/reach/feature/content/src/common/index";
|
|
@@ -9779,6 +11127,8 @@ declare module "libs/reach/feature/content/src/index" {
|
|
|
9779
11127
|
export * from "libs/reach/feature/content/src/posts/index";
|
|
9780
11128
|
export * from "libs/reach/feature/content/src/editor/index";
|
|
9781
11129
|
export * from "libs/reach/feature/content/src/public-user/index";
|
|
11130
|
+
export * from "libs/reach/feature/content/src/stream/index";
|
|
11131
|
+
export * from "libs/reach/feature/content/src/search/index";
|
|
9782
11132
|
}
|
|
9783
11133
|
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
9784
11134
|
import { FC } from 'react';
|
|
@@ -9849,20 +11199,22 @@ declare module "apps/reach-app/src/app/AppLoader" {
|
|
|
9849
11199
|
}
|
|
9850
11200
|
declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
|
|
9851
11201
|
import './ContainerWithLogo.scss';
|
|
11202
|
+
import { LogoInfo } from "libs/reach/util/common/src/index";
|
|
11203
|
+
import { FC, ReactNode } from 'react';
|
|
9852
11204
|
export enum DefaultLogoColor {
|
|
9853
11205
|
Default = 0,
|
|
9854
11206
|
White = 1
|
|
9855
11207
|
}
|
|
9856
|
-
type RenderChildren =
|
|
9857
|
-
export const ContainerWithLogo:
|
|
9858
|
-
|
|
9859
|
-
logoColor?: DefaultLogoColor;
|
|
11208
|
+
type RenderChildren = ReactNode | (() => ReactNode);
|
|
11209
|
+
export const ContainerWithLogo: FC<{
|
|
11210
|
+
logoInfo?: LogoInfo;
|
|
9860
11211
|
text?: string;
|
|
9861
11212
|
headerClassName?: string;
|
|
9862
11213
|
additionalClasses?: string;
|
|
9863
11214
|
children: RenderChildren;
|
|
9864
11215
|
className?: string;
|
|
9865
11216
|
additionalContent?: RenderChildren;
|
|
11217
|
+
isBrandedContainer?: boolean;
|
|
9866
11218
|
}>;
|
|
9867
11219
|
}
|
|
9868
11220
|
declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
|
|
@@ -9894,7 +11246,11 @@ declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
|
9894
11246
|
MobileHidden = 1
|
|
9895
11247
|
}
|
|
9896
11248
|
export function shutdownZendesk(): void;
|
|
9897
|
-
export function
|
|
11249
|
+
export function useZendeskWithSubscription(): {
|
|
11250
|
+
showZendeskChat: () => void;
|
|
11251
|
+
toggleIcon: (show: boolean) => void;
|
|
11252
|
+
};
|
|
11253
|
+
export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
|
|
9898
11254
|
showZendeskChat: () => void;
|
|
9899
11255
|
toggleIcon: (show: boolean) => void;
|
|
9900
11256
|
};
|
|
@@ -9939,7 +11295,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
|
|
|
9939
11295
|
import { FC } from 'react';
|
|
9940
11296
|
export const AdminActionItem: FC<{
|
|
9941
11297
|
submenuContents: JSX.Element;
|
|
9942
|
-
onClick
|
|
11298
|
+
onClick?: () => unknown;
|
|
9943
11299
|
title?: string;
|
|
9944
11300
|
}>;
|
|
9945
11301
|
const AdminRoutes: FC;
|
|
@@ -9953,7 +11309,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
|
|
|
9953
11309
|
import { FC } from 'react';
|
|
9954
11310
|
export const ChatMenuNode: FC<{
|
|
9955
11311
|
title: string;
|
|
9956
|
-
onClick
|
|
11312
|
+
onClick?: () => void;
|
|
9957
11313
|
}>;
|
|
9958
11314
|
}
|
|
9959
11315
|
declare module "apps/reach-app/src/app/chrome/Sidebar" {
|
|
@@ -9980,20 +11336,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
|
|
|
9980
11336
|
className?: string;
|
|
9981
11337
|
}>;
|
|
9982
11338
|
}
|
|
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
11339
|
declare module "apps/reach-app/src/AppLoaderContextProvider" {
|
|
9998
11340
|
import { FC, ReactNode } from 'react';
|
|
9999
11341
|
export const AppLoaderContext: import("react").Context<{
|