@livetiles/reach-plugin-types 0.4.0-preview.43 → 0.4.0-preview.432
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 +2471 -1023
- 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?: {
|
|
@@ -1388,6 +1409,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1388
1409
|
itemId: string;
|
|
1389
1410
|
}[];
|
|
1390
1411
|
unreadFeedItemsCount?: number;
|
|
1412
|
+
mostRecentPostGroups: string[];
|
|
1391
1413
|
notificationTypeSettings: NotificationTypeSettings;
|
|
1392
1414
|
hasPendingRegistration?: boolean;
|
|
1393
1415
|
minRoles: UserMinRoles;
|
|
@@ -1475,7 +1497,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1475
1497
|
export interface UserInvitationResult {
|
|
1476
1498
|
type: UserInvitationResultType;
|
|
1477
1499
|
message?: string;
|
|
1478
|
-
user?:
|
|
1500
|
+
user?: Account;
|
|
1479
1501
|
isSuccess: boolean;
|
|
1480
1502
|
}
|
|
1481
1503
|
export enum UserRegistrationResultType {
|
|
@@ -1705,6 +1727,7 @@ declare module "libs/reach/util/common/src/content/VideoSource" {
|
|
|
1705
1727
|
GenericUrl = 3,
|
|
1706
1728
|
Kaltura = 4
|
|
1707
1729
|
}
|
|
1730
|
+
export function convertStringToVideoSource(videoSource: string): VideoSource;
|
|
1708
1731
|
}
|
|
1709
1732
|
declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
1710
1733
|
import { ItemStatistics } from "libs/reach/util/common/src/content/ItemStatistics";
|
|
@@ -1712,6 +1735,19 @@ declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
|
1712
1735
|
id?: string;
|
|
1713
1736
|
statistics?: ItemStatistics;
|
|
1714
1737
|
poll?: Poll;
|
|
1738
|
+
searchHighlights?: SearchHighlightSummary;
|
|
1739
|
+
}
|
|
1740
|
+
export interface SearchHighlightSummary {
|
|
1741
|
+
title: SearchHighlight[];
|
|
1742
|
+
content: SearchHighlight[];
|
|
1743
|
+
}
|
|
1744
|
+
export interface SearchHighlight {
|
|
1745
|
+
language: string;
|
|
1746
|
+
texts: {
|
|
1747
|
+
value: string;
|
|
1748
|
+
type: 'text' | 'hit';
|
|
1749
|
+
}[];
|
|
1750
|
+
score: number;
|
|
1715
1751
|
}
|
|
1716
1752
|
export interface Poll {
|
|
1717
1753
|
questions: PollQuestion[];
|
|
@@ -1779,7 +1815,6 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1779
1815
|
headline?: string;
|
|
1780
1816
|
intro?: string;
|
|
1781
1817
|
body?: string;
|
|
1782
|
-
bodyRaw?: string;
|
|
1783
1818
|
customProperties?: {
|
|
1784
1819
|
[key: string]: any;
|
|
1785
1820
|
};
|
|
@@ -2049,7 +2084,7 @@ declare module "libs/reach/util/common/src/content/Comment" {
|
|
|
2049
2084
|
hasUnreadReplies?: boolean;
|
|
2050
2085
|
isDemoContent?: boolean;
|
|
2051
2086
|
}
|
|
2052
|
-
interface CommentStatistics {
|
|
2087
|
+
export interface CommentStatistics {
|
|
2053
2088
|
likeCount?: number;
|
|
2054
2089
|
replyCount?: number;
|
|
2055
2090
|
}
|
|
@@ -2135,14 +2170,83 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2135
2170
|
}
|
|
2136
2171
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
2137
2172
|
import { CurrentUser } from "libs/reach/util/common/src/user/User";
|
|
2173
|
+
import { SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2138
2174
|
export function useCurrentUserCache(): {
|
|
2139
2175
|
clear: () => Promise<void>;
|
|
2140
2176
|
setEssentials: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2141
2177
|
setUser: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2142
|
-
get: () => Promise<
|
|
2178
|
+
get: () => Promise<{
|
|
2179
|
+
subscription: {
|
|
2180
|
+
logoInfo: {
|
|
2181
|
+
smallUrl: any;
|
|
2182
|
+
largeUrl: string;
|
|
2183
|
+
isLegacyLogo: boolean;
|
|
2184
|
+
};
|
|
2185
|
+
languages: import("@livetiles/reach/util/common").LanguageBase[];
|
|
2186
|
+
featureMask: string;
|
|
2187
|
+
company: string;
|
|
2188
|
+
directories: import("libs/reach/util/common/src/user/Subscription").DirectoryConfiguration[];
|
|
2189
|
+
webPluginDefinitions: import("libs/reach/util/common/src/user/Subscription").WebPluginDefinition[];
|
|
2190
|
+
userPropertyDefinitions: import("libs/reach/util/common/src/user/Subscription").UserPropertyDefinition[];
|
|
2191
|
+
userFlowSettings?: import("libs/reach/util/common/src/user/Subscription").UserFlowSettings;
|
|
2192
|
+
customDomain?: string;
|
|
2193
|
+
allowSelfRegistration?: boolean;
|
|
2194
|
+
id: string;
|
|
2195
|
+
subscriptionName: string;
|
|
2196
|
+
subscriptionHandle?: string;
|
|
2197
|
+
contact: import("@livetiles/reach/util/common").Account;
|
|
2198
|
+
theme: import("libs/reach/util/common/src/user/Subscription").Theme;
|
|
2199
|
+
defaultLanguage: string;
|
|
2200
|
+
faviconUrl?: string;
|
|
2201
|
+
navigation: import("libs/reach/util/common/src/user/Subscription").NavigationNode[];
|
|
2202
|
+
regionSettings?: import("libs/reach/util/common/src/user/Subscription").RegionSettings;
|
|
2203
|
+
signInSettings?: import("libs/reach/util/common/src/user/Subscription").SignInSettings;
|
|
2204
|
+
useInAppBrowser?: boolean;
|
|
2205
|
+
hasUnreadItems: boolean;
|
|
2206
|
+
pageTrackingInfo: import("libs/reach/util/common/src/user/Subscription").PageTrackingInfo;
|
|
2207
|
+
termsAndConditionsHash?: string;
|
|
2208
|
+
};
|
|
2209
|
+
isEmailVerificationPending?: boolean;
|
|
2210
|
+
isSubscriptionOwner: boolean;
|
|
2211
|
+
givenName: string;
|
|
2212
|
+
surname: string;
|
|
2213
|
+
preferredUiLanguage: string;
|
|
2214
|
+
preferredContentLanguage?: string;
|
|
2215
|
+
preferredLocale?: string;
|
|
2216
|
+
bookmarks: string[];
|
|
2217
|
+
groups: import("libs/reach/util/common/src/user/User").UserGroup[];
|
|
2218
|
+
availableSubscriptions: SubscriptionSummary[];
|
|
2219
|
+
channels: import("@livetiles/reach/util/common").UserChannelSubscription[];
|
|
2220
|
+
userHash: string;
|
|
2221
|
+
unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2222
|
+
unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2223
|
+
unreadPosts: {
|
|
2224
|
+
groupId: string;
|
|
2225
|
+
itemId: string;
|
|
2226
|
+
}[];
|
|
2227
|
+
unreadFeedItemsCount?: number;
|
|
2228
|
+
mostRecentPostGroups: string[];
|
|
2229
|
+
notificationTypeSettings: import("libs/reach/util/common/src/user/User").NotificationTypeSettings;
|
|
2230
|
+
hasPendingRegistration?: boolean;
|
|
2231
|
+
minRoles: import("libs/reach/util/common/src/user/User").UserMinRoles;
|
|
2232
|
+
hasDirectory: boolean;
|
|
2233
|
+
contacts: import("libs/reach/util/common/src/user/User").UserContact[];
|
|
2234
|
+
termsAndConditionsApprovedHash: string;
|
|
2235
|
+
isPublicUser?: boolean;
|
|
2236
|
+
hasUnreadChats?: boolean;
|
|
2237
|
+
id?: string;
|
|
2238
|
+
type?: import("@livetiles/reach/util/common").AccountType;
|
|
2239
|
+
tenantId?: string;
|
|
2240
|
+
displayName?: string;
|
|
2241
|
+
userPrincipalName?: string;
|
|
2242
|
+
mail?: string;
|
|
2243
|
+
tokenUniqueId?: string;
|
|
2244
|
+
authenticationType?: import("@livetiles/shared/util/authentication").AuthenticationType;
|
|
2245
|
+
created?: string;
|
|
2246
|
+
}>;
|
|
2143
2247
|
};
|
|
2144
2248
|
export function getUserDetailFields(user: Partial<CurrentUser>): {
|
|
2145
|
-
availableSubscriptions:
|
|
2249
|
+
availableSubscriptions: SubscriptionSummary[];
|
|
2146
2250
|
bookmarks: string[];
|
|
2147
2251
|
unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2148
2252
|
unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
@@ -2152,6 +2256,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2152
2256
|
}[];
|
|
2153
2257
|
hasUnreadChats: boolean;
|
|
2154
2258
|
unreadFeedItemsCount: number;
|
|
2259
|
+
mostRecentPostGroups: string[];
|
|
2155
2260
|
};
|
|
2156
2261
|
}
|
|
2157
2262
|
declare module "libs/reach/util/common/src/user/CurrentUserDetailContextProvider" {
|
|
@@ -2222,9 +2327,9 @@ declare module "libs/reach/util/common/src/user/index" {
|
|
|
2222
2327
|
export * from "libs/reach/util/common/src/user/LanguageUtils";
|
|
2223
2328
|
export * from "libs/reach/util/common/src/user/content-languages-util";
|
|
2224
2329
|
}
|
|
2225
|
-
declare module "libs/reach/util/common/src/plugins/
|
|
2330
|
+
declare module "libs/reach/util/common/src/plugins/usePluginDeviceStore" {
|
|
2226
2331
|
import { Storage } from "libs/reach/util/context/src/index";
|
|
2227
|
-
export function
|
|
2332
|
+
export function usePluginDeviceStore(): PluginStorage;
|
|
2228
2333
|
export function getStorageWrapper(pluginId: string, storage: Storage): PluginStorage;
|
|
2229
2334
|
export interface PluginStorage {
|
|
2230
2335
|
getAllKeys(): Promise<string[]>;
|
|
@@ -2234,12 +2339,54 @@ declare module "libs/reach/util/common/src/plugins/usePluginStorage" {
|
|
|
2234
2339
|
clearAll(): Promise<void>;
|
|
2235
2340
|
}
|
|
2236
2341
|
}
|
|
2342
|
+
declare module "libs/reach/util/common/src/plugins/usePluginUserStore" {
|
|
2343
|
+
import { DependencyList } from 'react';
|
|
2344
|
+
import { Api } from 'restful.js';
|
|
2345
|
+
export function usePluginUserStore(): PluginUserStore;
|
|
2346
|
+
export function usePluginUserStoreValue<T>(key: string, deps?: DependencyList): {
|
|
2347
|
+
data: T;
|
|
2348
|
+
set: (newValue: T) => Promise<unknown>;
|
|
2349
|
+
isLoading: boolean;
|
|
2350
|
+
error: any;
|
|
2351
|
+
refresh: () => void;
|
|
2352
|
+
remove: () => Promise<unknown>;
|
|
2353
|
+
};
|
|
2354
|
+
export function getPluginUserStoreWrapper(pluginId: string, api: Api): PluginUserStore;
|
|
2355
|
+
export interface PluginUserStore {
|
|
2356
|
+
getPluginUserValue<T>(key: string): Promise<T>;
|
|
2357
|
+
setPluginUserValue<T>(key: string, value: T): Promise<unknown>;
|
|
2358
|
+
deletePluginUserValue(key: string): Promise<unknown>;
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
declare module "libs/reach/util/common/src/plugins/usePluginSubscriptionStore" {
|
|
2362
|
+
import { DependencyList } from 'react';
|
|
2363
|
+
import { Api } from 'restful.js';
|
|
2364
|
+
export function usePluginSubscriptionStore(): PluginSubscriptionStore;
|
|
2365
|
+
export function usePluginSubscriptionStoreValue<T>(key: string, deps?: DependencyList): {
|
|
2366
|
+
data: T;
|
|
2367
|
+
set: (newValue: T) => Promise<unknown>;
|
|
2368
|
+
isLoading: boolean;
|
|
2369
|
+
error: any;
|
|
2370
|
+
refresh: () => void;
|
|
2371
|
+
remove: () => Promise<unknown>;
|
|
2372
|
+
};
|
|
2373
|
+
export function getPluginSubscriptionStoreWrapper(pluginId: string, api: Api): PluginSubscriptionStore;
|
|
2374
|
+
export interface PluginSubscriptionStore {
|
|
2375
|
+
getPluginSubscriptionValue<T>(key: string): Promise<T>;
|
|
2376
|
+
setPluginSubscriptionValue<T>(key: string, value: T): Promise<unknown>;
|
|
2377
|
+
deletePluginSubscriptionValue(key: string): Promise<unknown>;
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2237
2380
|
declare module "libs/reach/util/common/src/plugins/PluginContext" {
|
|
2238
2381
|
import { PluginSettings } from "libs/reach/util/common/src/user/Subscription";
|
|
2239
|
-
import { PluginStorage } from "libs/reach/util/common/src/plugins/
|
|
2382
|
+
import { PluginStorage } from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
2383
|
+
import { PluginUserStore } from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
2384
|
+
import { PluginSubscriptionStore } from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
2240
2385
|
export const PluginContext: import("react").Context<{
|
|
2241
2386
|
settings: PluginSettings;
|
|
2242
2387
|
storage: PluginStorage;
|
|
2388
|
+
userStore: PluginUserStore;
|
|
2389
|
+
subscriptionStore: PluginSubscriptionStore;
|
|
2243
2390
|
}>;
|
|
2244
2391
|
export function usePluginSettings<T>(): T;
|
|
2245
2392
|
export function useReachApiEndPoints(): {
|
|
@@ -2265,15 +2412,133 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
|
|
|
2265
2412
|
unlinkPlugin: (pluginId: string) => Promise<any>;
|
|
2266
2413
|
};
|
|
2267
2414
|
}
|
|
2415
|
+
declare module "libs/reach/util/common/src/content/GraphQLAttachmentType" {
|
|
2416
|
+
export enum GraphQLAttachmentType {
|
|
2417
|
+
Image = "IMAGE",
|
|
2418
|
+
File = "FILE",
|
|
2419
|
+
YouTubeVideo = "YOU_TUBE_VIDEO",
|
|
2420
|
+
VimeoVideo = "VIMEO_VIDEO",
|
|
2421
|
+
News = "NEWS",
|
|
2422
|
+
Event = "EVENT",
|
|
2423
|
+
Page = "PAGE",
|
|
2424
|
+
Post = "POST",
|
|
2425
|
+
Giphy = "GIPHY"
|
|
2426
|
+
}
|
|
2427
|
+
}
|
|
2428
|
+
declare module "libs/reach/util/common/src/Models" {
|
|
2429
|
+
import { BaseAttachment } from "libs/reach/util/common/src/content/Attachment";
|
|
2430
|
+
import { GraphQLAttachmentType } from "libs/reach/util/common/src/content/GraphQLAttachmentType";
|
|
2431
|
+
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2432
|
+
export interface ColorStyleDefinition {
|
|
2433
|
+
backgroundColor: string;
|
|
2434
|
+
color: string;
|
|
2435
|
+
}
|
|
2436
|
+
export interface PageNavigationNodeProps {
|
|
2437
|
+
title?: string;
|
|
2438
|
+
iconName?: string;
|
|
2439
|
+
to?: string;
|
|
2440
|
+
onClick?: () => void;
|
|
2441
|
+
isActive?: boolean;
|
|
2442
|
+
exact?: boolean;
|
|
2443
|
+
cannotBeActive?: boolean;
|
|
2444
|
+
submenuContents?: JSX.Element;
|
|
2445
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
2446
|
+
badgeInfo?: number | boolean;
|
|
2447
|
+
domIdentifier?: string;
|
|
2448
|
+
secondaryIconName?: string;
|
|
2449
|
+
secondaryIconTooltipResourceKey?: string;
|
|
2450
|
+
onSecondaryIconClick?: () => void;
|
|
2451
|
+
iconColor?: string;
|
|
2452
|
+
className?: string;
|
|
2453
|
+
}
|
|
2454
|
+
export interface Chat {
|
|
2455
|
+
id: string;
|
|
2456
|
+
members: (Account & ChatMember)[];
|
|
2457
|
+
memberIds: string[];
|
|
2458
|
+
groupName?: string;
|
|
2459
|
+
lastMessageInfo?: {
|
|
2460
|
+
received: string;
|
|
2461
|
+
senderId: string;
|
|
2462
|
+
content?: string;
|
|
2463
|
+
attachments: ChatAttachment[];
|
|
2464
|
+
deleteDate?: string;
|
|
2465
|
+
deleteState?: DeleteState;
|
|
2466
|
+
messageType?: ChatMessageType;
|
|
2467
|
+
messageValues?: {
|
|
2468
|
+
groupName?: string;
|
|
2469
|
+
userId?: string;
|
|
2470
|
+
};
|
|
2471
|
+
};
|
|
2472
|
+
messages: ChatMessage[];
|
|
2473
|
+
hasNewMessages: boolean;
|
|
2474
|
+
fileAccessToken: string;
|
|
2475
|
+
}
|
|
2476
|
+
export enum DeleteState {
|
|
2477
|
+
NotDeleted = "NOT_DELETED",
|
|
2478
|
+
RecycleBin = "RECYCLE_BIN",
|
|
2479
|
+
Deleted = "DELETED"
|
|
2480
|
+
}
|
|
2481
|
+
export enum ChatMessageType {
|
|
2482
|
+
Default = "DEFAULT",
|
|
2483
|
+
GroupNameChange = "GROUP_NAME_CHANGE",
|
|
2484
|
+
UserLeftGroup = "USER_LEFT_GROUP"
|
|
2485
|
+
}
|
|
2486
|
+
export enum MemberStatus {
|
|
2487
|
+
Normal = "NORMAL",
|
|
2488
|
+
LeftGroupChat = "LEFT_GROUP_CHAT",
|
|
2489
|
+
LeftOneToOneChat = "LEFT_ONE_TO_ONE_CHAT"
|
|
2490
|
+
}
|
|
2491
|
+
export interface ChatMember {
|
|
2492
|
+
id?: string;
|
|
2493
|
+
status?: MemberStatus;
|
|
2494
|
+
joinDate?: string;
|
|
2495
|
+
leftDate?: string;
|
|
2496
|
+
}
|
|
2497
|
+
export interface ChatMessage {
|
|
2498
|
+
itemId: string;
|
|
2499
|
+
content: string;
|
|
2500
|
+
senderId?: string;
|
|
2501
|
+
chatId?: string;
|
|
2502
|
+
received?: string;
|
|
2503
|
+
attachments?: ChatAttachment[];
|
|
2504
|
+
attachmentContainerId?: string;
|
|
2505
|
+
fileAccessToken?: string;
|
|
2506
|
+
deleteDate?: string;
|
|
2507
|
+
deleteState?: DeleteState;
|
|
2508
|
+
modifiedDate?: string;
|
|
2509
|
+
chat?: Chat;
|
|
2510
|
+
messageType?: ChatMessageType;
|
|
2511
|
+
messageValues?: {
|
|
2512
|
+
groupName?: string;
|
|
2513
|
+
};
|
|
2514
|
+
}
|
|
2515
|
+
export interface ChatIsTypingInfo {
|
|
2516
|
+
sender: Account;
|
|
2517
|
+
chatId: string;
|
|
2518
|
+
sentOn: string;
|
|
2519
|
+
}
|
|
2520
|
+
export interface ChatView {
|
|
2521
|
+
chatId: string;
|
|
2522
|
+
timestamp: Date;
|
|
2523
|
+
isActive: boolean;
|
|
2524
|
+
}
|
|
2525
|
+
export interface ChatAttachment extends BaseAttachment {
|
|
2526
|
+
type: GraphQLAttachmentType;
|
|
2527
|
+
}
|
|
2528
|
+
}
|
|
2268
2529
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
2269
2530
|
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
2531
|
+
import { PageNavigationNodeProps } from "libs/reach/util/common/src/Models";
|
|
2270
2532
|
export enum ExtensionArea {
|
|
2271
2533
|
global = "Global",
|
|
2272
2534
|
page = "Page",
|
|
2273
2535
|
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
2274
2536
|
eventDetailViewSection = "EventDetailViewSection"
|
|
2275
2537
|
}
|
|
2276
|
-
export
|
|
2538
|
+
export interface PluginNavigationNodeProps {
|
|
2539
|
+
navigationNodeProps?: PageNavigationNodeProps;
|
|
2540
|
+
}
|
|
2541
|
+
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
2277
2542
|
type DevPlugin = {
|
|
2278
2543
|
pluginId: string;
|
|
2279
2544
|
port: number;
|
|
@@ -2281,15 +2546,15 @@ declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
|
2281
2546
|
linkPlugin?: boolean;
|
|
2282
2547
|
};
|
|
2283
2548
|
export function usePlugins(): WebPluginDefinition[];
|
|
2284
|
-
export function usePluginExtensions(area?: ExtensionArea):
|
|
2549
|
+
export function usePluginExtensions(area?: ExtensionArea): PluginProps[];
|
|
2285
2550
|
export function removeInjectedRemotePlugin(pluginId: string): void;
|
|
2286
2551
|
export function useInjectedRemotePlugins(): DevPlugin[];
|
|
2287
2552
|
export function useRemotePlugins(): WebPluginDefinition[];
|
|
2288
2553
|
}
|
|
2289
2554
|
declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
2290
2555
|
import { FC } from 'react';
|
|
2291
|
-
import {
|
|
2292
|
-
export const PluginWrapper: FC<
|
|
2556
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2557
|
+
export const PluginWrapper: FC<PluginProps & any>;
|
|
2293
2558
|
}
|
|
2294
2559
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2295
2560
|
import { FC } from 'react';
|
|
@@ -2305,7 +2570,9 @@ declare module "libs/reach/util/common/src/plugins/index" {
|
|
|
2305
2570
|
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
2306
2571
|
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
2307
2572
|
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2308
|
-
export * from "libs/reach/util/common/src/plugins/
|
|
2573
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
2574
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
2575
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
2309
2576
|
}
|
|
2310
2577
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
2311
2578
|
export class Color {
|
|
@@ -2324,6 +2591,7 @@ declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
|
2324
2591
|
declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
2325
2592
|
import { IPartialTheme } from 'office-ui-fabric-react';
|
|
2326
2593
|
import { Theme } from "libs/reach/util/common/src/user/Subscription";
|
|
2594
|
+
import * as wcag from 'wcag-contrast';
|
|
2327
2595
|
export const defaultThemeColors: Theme;
|
|
2328
2596
|
export const defaultPageBackgroundColor: string;
|
|
2329
2597
|
export const defaultLightColor = "#ffffff";
|
|
@@ -2420,6 +2688,12 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
|
2420
2688
|
}
|
|
2421
2689
|
export function getDarkAltColor(color: string): string;
|
|
2422
2690
|
export function getTextColor(bgColor: string): "#333333" | "#ffffff";
|
|
2691
|
+
export function shouldUseDarkForegroundColor(bgColor: string): boolean;
|
|
2692
|
+
export function getContrastInfo(backgroundColor: string, foregroundColor: string): {
|
|
2693
|
+
contrast: string;
|
|
2694
|
+
score: wcag.Score;
|
|
2695
|
+
isGood: boolean;
|
|
2696
|
+
};
|
|
2423
2697
|
}
|
|
2424
2698
|
declare module "libs/reach/util/common/src/theme/ThemeContext" {
|
|
2425
2699
|
import { FC, ReactNode } from 'react';
|
|
@@ -2440,19 +2714,6 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
2440
2714
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
2441
2715
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
2442
2716
|
}
|
|
2443
|
-
declare module "libs/reach/util/common/src/content/GraphQLAttachmentType" {
|
|
2444
|
-
export enum GraphQLAttachmentType {
|
|
2445
|
-
Image = "IMAGE",
|
|
2446
|
-
File = "FILE",
|
|
2447
|
-
YouTubeVideo = "YOU_TUBE_VIDEO",
|
|
2448
|
-
VimeoVideo = "VIMEO_VIDEO",
|
|
2449
|
-
News = "NEWS",
|
|
2450
|
-
Event = "EVENT",
|
|
2451
|
-
Page = "PAGE",
|
|
2452
|
-
Post = "POST",
|
|
2453
|
-
Giphy = "GIPHY"
|
|
2454
|
-
}
|
|
2455
|
-
}
|
|
2456
2717
|
declare module "libs/reach/util/common/src/content/EventItem" {
|
|
2457
2718
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2458
2719
|
import { PollResult } from "libs/reach/util/common/src/content/BaseItem";
|
|
@@ -2610,10 +2871,11 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2610
2871
|
useExternalContent?: boolean;
|
|
2611
2872
|
isSearchMatch?: boolean;
|
|
2612
2873
|
topLevelFolderName?: string;
|
|
2874
|
+
uploadToken?: string;
|
|
2613
2875
|
}
|
|
2614
2876
|
export interface PageNavigationContext {
|
|
2615
2877
|
parent?: PageNavigationNode;
|
|
2616
|
-
siblings
|
|
2878
|
+
siblings?: PageNavigationNode[];
|
|
2617
2879
|
children?: PageNavigationNode[];
|
|
2618
2880
|
}
|
|
2619
2881
|
export enum PageType {
|
|
@@ -2715,7 +2977,17 @@ declare module "libs/reach/util/common/src/content/useClearUnreadItems" {
|
|
|
2715
2977
|
onStarted?: () => unknown;
|
|
2716
2978
|
onFinished?: () => unknown;
|
|
2717
2979
|
}
|
|
2718
|
-
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers): () => Promise<void>;
|
|
2980
|
+
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
2981
|
+
}
|
|
2982
|
+
declare module "libs/reach/util/common/src/content/useClearUnreadOnlyFilter" {
|
|
2983
|
+
export function useClearUnreadOnlyFilter(): {
|
|
2984
|
+
clearUnreadOnlyFilter: () => void;
|
|
2985
|
+
};
|
|
2986
|
+
}
|
|
2987
|
+
declare module "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler" {
|
|
2988
|
+
export function useUnreadItemsTogglerHandler(): {
|
|
2989
|
+
toggleUnreadItems: () => void;
|
|
2990
|
+
};
|
|
2719
2991
|
}
|
|
2720
2992
|
declare module "libs/reach/util/common/src/content/index" {
|
|
2721
2993
|
export * from "libs/reach/util/common/src/content/Attachment";
|
|
@@ -2740,6 +3012,8 @@ declare module "libs/reach/util/common/src/content/index" {
|
|
|
2740
3012
|
export * from "libs/reach/util/common/src/content/useFileApi";
|
|
2741
3013
|
export * from "libs/reach/util/common/src/content/content-keyword-utils";
|
|
2742
3014
|
export * from "libs/reach/util/common/src/content/useClearUnreadItems";
|
|
3015
|
+
export * from "libs/reach/util/common/src/content/useClearUnreadOnlyFilter";
|
|
3016
|
+
export * from "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler";
|
|
2743
3017
|
}
|
|
2744
3018
|
declare module "libs/reach/util/common/src/Variables" {
|
|
2745
3019
|
export const maxContentWidth = 985;
|
|
@@ -2840,6 +3114,7 @@ declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
|
2840
3114
|
}
|
|
2841
3115
|
declare module "libs/reach/util/common/src/notification/ToastNotificationHost" {
|
|
2842
3116
|
import { FC } from 'react';
|
|
3117
|
+
import 'react-toastify/dist/ReactToastify.min.css';
|
|
2843
3118
|
export const ToastNotificationHost: FC;
|
|
2844
3119
|
}
|
|
2845
3120
|
declare module "libs/reach/util/common/src/notification/index" {
|
|
@@ -2858,6 +3133,7 @@ declare module "libs/reach/util/common/src/keywords/SubscriptionContext" {
|
|
|
2858
3133
|
selectedKeywordGroups?: KeywordGroup[];
|
|
2859
3134
|
}
|
|
2860
3135
|
export const LazySubscriptionContext: import("react").Context<SubscriptionData & {
|
|
3136
|
+
getChannels: () => Promise<Channel[]>;
|
|
2861
3137
|
refreshSubscription: () => void;
|
|
2862
3138
|
}>;
|
|
2863
3139
|
export const EnforcedSubscriptionContext: import("react").Context<SubscriptionData & {
|
|
@@ -2903,69 +3179,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
|
2903
3179
|
}
|
|
2904
3180
|
export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
|
|
2905
3181
|
}
|
|
2906
|
-
declare module "libs/reach/util/common/src/Models" {
|
|
2907
|
-
import { BaseAttachment } from "libs/reach/util/common/src/content/Attachment";
|
|
2908
|
-
import { GraphQLAttachmentType } from "libs/reach/util/common/src/content/GraphQLAttachmentType";
|
|
2909
|
-
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2910
|
-
export interface Chat {
|
|
2911
|
-
id: string;
|
|
2912
|
-
members: Account[];
|
|
2913
|
-
memberIds: string[];
|
|
2914
|
-
groupName?: string;
|
|
2915
|
-
lastMessageInfo?: {
|
|
2916
|
-
received: string;
|
|
2917
|
-
senderId: string;
|
|
2918
|
-
content?: string;
|
|
2919
|
-
attachments: ChatAttachment[];
|
|
2920
|
-
deleteDate?: string;
|
|
2921
|
-
deleteState?: DeleteState;
|
|
2922
|
-
messageType?: ChatMessageType;
|
|
2923
|
-
};
|
|
2924
|
-
messages: ChatMessage[];
|
|
2925
|
-
hasNewMessages: boolean;
|
|
2926
|
-
fileAccessToken: string;
|
|
2927
|
-
}
|
|
2928
|
-
export enum DeleteState {
|
|
2929
|
-
NotDeleted = "NOT_DELETED",
|
|
2930
|
-
RecycleBin = "RECYCLE_BIN",
|
|
2931
|
-
Deleted = "DELETED"
|
|
2932
|
-
}
|
|
2933
|
-
export enum ChatMessageType {
|
|
2934
|
-
Default = "DEFAULT",
|
|
2935
|
-
GroupNameChange = "GROUP_NAME_CHANGE"
|
|
2936
|
-
}
|
|
2937
|
-
export interface ChatMessage {
|
|
2938
|
-
itemId: string;
|
|
2939
|
-
content: string;
|
|
2940
|
-
senderId?: string;
|
|
2941
|
-
chatId?: string;
|
|
2942
|
-
received?: string;
|
|
2943
|
-
attachments?: ChatAttachment[];
|
|
2944
|
-
attachmentContainerId?: string;
|
|
2945
|
-
fileAccessToken?: string;
|
|
2946
|
-
deleteDate?: string;
|
|
2947
|
-
deleteState?: DeleteState;
|
|
2948
|
-
modifiedDate?: string;
|
|
2949
|
-
chat?: Chat;
|
|
2950
|
-
messageType?: ChatMessageType;
|
|
2951
|
-
messageValues?: {
|
|
2952
|
-
groupName?: string;
|
|
2953
|
-
};
|
|
2954
|
-
}
|
|
2955
|
-
export interface ChatIsTypingInfo {
|
|
2956
|
-
sender: Account;
|
|
2957
|
-
chatId: string;
|
|
2958
|
-
sentOn: string;
|
|
2959
|
-
}
|
|
2960
|
-
export interface ChatView {
|
|
2961
|
-
chatId: string;
|
|
2962
|
-
timestamp: Date;
|
|
2963
|
-
isActive: boolean;
|
|
2964
|
-
}
|
|
2965
|
-
export interface ChatAttachment extends BaseAttachment {
|
|
2966
|
-
type: GraphQLAttachmentType;
|
|
2967
|
-
}
|
|
2968
|
-
}
|
|
2969
3182
|
declare module "libs/reach/util/common/src/PagingService" {
|
|
2970
3183
|
import { Observable } from 'rxjs';
|
|
2971
3184
|
export const onPageScroll: Observable<number>;
|
|
@@ -3028,15 +3241,15 @@ declare module "libs/reach/ui/common/src/Link" {
|
|
|
3028
3241
|
}
|
|
3029
3242
|
declare module "libs/reach/ui/common/src/common/TextLink" {
|
|
3030
3243
|
import { CSSProperties, FC } from 'react';
|
|
3031
|
-
interface
|
|
3244
|
+
export interface TextLinkProps {
|
|
3032
3245
|
url: string;
|
|
3033
3246
|
target?: string;
|
|
3034
3247
|
ariaLabel?: string;
|
|
3035
3248
|
className?: string;
|
|
3036
3249
|
style?: CSSProperties;
|
|
3037
3250
|
}
|
|
3038
|
-
export const TextLink: FC<
|
|
3039
|
-
export const ExternalLinkHandler: FC<
|
|
3251
|
+
export const TextLink: FC<TextLinkProps>;
|
|
3252
|
+
export const ExternalLinkHandler: FC<TextLinkProps & {
|
|
3040
3253
|
onClick?: (e: MouseEvent) => unknown;
|
|
3041
3254
|
}>;
|
|
3042
3255
|
}
|
|
@@ -3069,13 +3282,13 @@ declare module "libs/reach/ui/common/src/EditorSettingsDialog" {
|
|
|
3069
3282
|
}>, import("styled-components").DefaultTheme, {}, never>;
|
|
3070
3283
|
}
|
|
3071
3284
|
declare module "libs/reach/ui/common/src/Tooltip" {
|
|
3072
|
-
|
|
3285
|
+
import { ITooltipHostProps } from 'office-ui-fabric-react';
|
|
3286
|
+
export interface TooltipProps extends ITooltipHostProps {
|
|
3073
3287
|
text?: string;
|
|
3074
3288
|
resourceKey?: string;
|
|
3075
3289
|
values?: {
|
|
3076
3290
|
[key: string]: string | number | boolean | Date;
|
|
3077
3291
|
};
|
|
3078
|
-
className?: string;
|
|
3079
3292
|
width?: number;
|
|
3080
3293
|
onClick?: () => unknown;
|
|
3081
3294
|
role?: string;
|
|
@@ -3146,12 +3359,14 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3146
3359
|
placeholderStringResourceKey?: string;
|
|
3147
3360
|
autoFocus?: boolean;
|
|
3148
3361
|
inputId?: string;
|
|
3362
|
+
inputAriaLabelResourceKey?: string;
|
|
3363
|
+
required?: boolean;
|
|
3149
3364
|
className?: string;
|
|
3150
3365
|
}
|
|
3151
3366
|
export const PeoplePicker: FC<Props>;
|
|
3152
3367
|
}
|
|
3153
3368
|
declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
3154
|
-
import { Account, AccountType, useCurrentUser, useNotificationContext, usePluginSettings,
|
|
3369
|
+
import { Account, AccountType, PluginProps, PluginNavigationNodeProps, useCurrentUser, useNotificationContext, usePluginSettings, usePluginDeviceStore, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useTheme, usePluginSubscriptionStoreValue, usePluginUserStoreValue, usePluginUserStore, usePluginSubscriptionStore } from "libs/reach/util/common/src/index";
|
|
3155
3370
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3156
3371
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3157
3372
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3164,8 +3379,12 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3164
3379
|
import { GutterToggle } from "libs/reach/ui/common/src/GutterToggle";
|
|
3165
3380
|
import { PeoplePicker } from "libs/reach/ui/common/src/PeoplePicker";
|
|
3166
3381
|
import { useAccountApi } from "libs/reach/util/common/src/index";
|
|
3167
|
-
export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings,
|
|
3168
|
-
|
|
3382
|
+
export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings,
|
|
3383
|
+
/**
|
|
3384
|
+
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3385
|
+
*/
|
|
3386
|
+
usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, };
|
|
3387
|
+
export type { Account, PluginNavigationNodeProps, PluginProps };
|
|
3169
3388
|
}
|
|
3170
3389
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3171
3390
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3183,7 +3402,6 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3183
3402
|
}
|
|
3184
3403
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3185
3404
|
import { FC } from 'react';
|
|
3186
|
-
import 'react-toastify/dist/ReactToastify.min.css';
|
|
3187
3405
|
export const NotificationBar: FC;
|
|
3188
3406
|
}
|
|
3189
3407
|
declare module "libs/reach/ui/common/src/common/AttachedMediaDownloadLink" {
|
|
@@ -3228,7 +3446,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
|
3228
3446
|
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3229
3447
|
}
|
|
3230
3448
|
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3231
|
-
import { BaseSubscription, CurrentUser, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3449
|
+
import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3232
3450
|
import { IntlShape } from 'react-intl';
|
|
3233
3451
|
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3234
3452
|
export function isValidUrl(url: string): boolean;
|
|
@@ -3240,9 +3458,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
|
|
|
3240
3458
|
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3241
3459
|
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3242
3460
|
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:
|
|
3461
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3462
|
+
logoInfo: LogoInfo;
|
|
3463
|
+
subscriptionName: string;
|
|
3246
3464
|
};
|
|
3247
3465
|
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3248
3466
|
export function delay(delayInMs: number): Promise<unknown>;
|
|
@@ -3262,8 +3480,8 @@ declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
|
3262
3480
|
}
|
|
3263
3481
|
declare module "libs/reach/ui/common/src/common/Callout" {
|
|
3264
3482
|
import { FC } from 'react';
|
|
3265
|
-
import {
|
|
3266
|
-
export const Callout: FC<
|
|
3483
|
+
import { IFocusTrapCalloutProps } from 'office-ui-fabric-react';
|
|
3484
|
+
export const Callout: FC<IFocusTrapCalloutProps>;
|
|
3267
3485
|
}
|
|
3268
3486
|
declare module "libs/reach/ui/common/src/common/CommentInputTheme" {
|
|
3269
3487
|
export type CommentInputTheme = 'light' | 'dark';
|
|
@@ -3275,6 +3493,7 @@ declare module "libs/reach/ui/common/src/common/ConfirmDeleteDialog" {
|
|
|
3275
3493
|
titleResourceValues?: any;
|
|
3276
3494
|
infoResourceKey: string;
|
|
3277
3495
|
infoResourceValues?: any;
|
|
3496
|
+
inputAriaLabelResourceKey: string;
|
|
3278
3497
|
compareValue: string;
|
|
3279
3498
|
onConfirm: () => any;
|
|
3280
3499
|
onCancel: () => any;
|
|
@@ -3340,12 +3559,13 @@ declare module "libs/reach/ui/common/src/common/Dropdown" {
|
|
|
3340
3559
|
export const Dropdown: FC<IDropdownProps>;
|
|
3341
3560
|
}
|
|
3342
3561
|
declare module "libs/reach/ui/common/src/common/EmptyList" {
|
|
3562
|
+
import { FC } from 'react';
|
|
3343
3563
|
interface EmptyListProps {
|
|
3344
3564
|
icon?: string;
|
|
3345
3565
|
emptyMessageResources?: string[];
|
|
3346
3566
|
className?: string;
|
|
3347
3567
|
}
|
|
3348
|
-
export const EmptyList:
|
|
3568
|
+
export const EmptyList: FC<EmptyListProps>;
|
|
3349
3569
|
}
|
|
3350
3570
|
declare module "libs/reach/ui/common/src/common/EnumHelpers" {
|
|
3351
3571
|
export const hasFlag: (baseValue: any, flag: any) => boolean;
|
|
@@ -3445,6 +3665,11 @@ declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
|
3445
3665
|
className?: string;
|
|
3446
3666
|
}>;
|
|
3447
3667
|
}
|
|
3668
|
+
declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
|
|
3669
|
+
import { FC } from 'react';
|
|
3670
|
+
import { IDialogProps } from 'office-ui-fabric-react';
|
|
3671
|
+
export const MobileFullHeightDialog: FC<IDialogProps>;
|
|
3672
|
+
}
|
|
3448
3673
|
declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
|
|
3449
3674
|
import { FC } from 'react';
|
|
3450
3675
|
export enum FabNavigationPosition {
|
|
@@ -3475,9 +3700,11 @@ declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
|
|
|
3475
3700
|
export const FabButtonWithCallout: FC<{
|
|
3476
3701
|
iconName: string;
|
|
3477
3702
|
tooltipResourceKey: string;
|
|
3703
|
+
titleResourceKey?: string;
|
|
3478
3704
|
showCloseButton?: boolean;
|
|
3479
3705
|
useSecondaryBgColor?: boolean;
|
|
3480
3706
|
domIdentifier?: string;
|
|
3707
|
+
useMobileFullHeight?: boolean;
|
|
3481
3708
|
}>;
|
|
3482
3709
|
export const FabButtonStyle: (useSecondaryBgColor?: boolean) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
3483
3710
|
}
|
|
@@ -3496,18 +3723,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
|
|
|
3496
3723
|
date: string;
|
|
3497
3724
|
}>;
|
|
3498
3725
|
}
|
|
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
3726
|
declare module "libs/reach/ui/common/src/common/IconLabel" {
|
|
3512
3727
|
import { FC, ReactNode } from 'react';
|
|
3513
3728
|
export const IconLabel: FC<{
|
|
@@ -3546,8 +3761,11 @@ declare module "libs/reach/ui/common/src/common/KeywordTitle" {
|
|
|
3546
3761
|
groupName?: string;
|
|
3547
3762
|
groupId?: string;
|
|
3548
3763
|
keywordName?: string;
|
|
3764
|
+
keywordId?: string;
|
|
3549
3765
|
language?: string;
|
|
3550
3766
|
underlined?: boolean;
|
|
3767
|
+
onClick?: (keyword: string) => unknown;
|
|
3768
|
+
tabIndex?: number;
|
|
3551
3769
|
}
|
|
3552
3770
|
export const KeywordTitle: FC<Props>;
|
|
3553
3771
|
export const GridKeywordTitle: FC<{
|
|
@@ -3562,12 +3780,7 @@ declare module "libs/reach/ui/common/src/common/Logos" {
|
|
|
3562
3780
|
export { ReactComponent as WhiteDefaultLogoWithText } from './logos/logo-white-with-name.svg';
|
|
3563
3781
|
export { ReactComponent as LogoPurpleXL } from './logos/logo-purple-xl.svg';
|
|
3564
3782
|
export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
|
|
3565
|
-
export { ReactComponent as
|
|
3566
|
-
}
|
|
3567
|
-
declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
|
|
3568
|
-
import { FC } from 'react';
|
|
3569
|
-
import { IDialogProps } from 'office-ui-fabric-react';
|
|
3570
|
-
export const MobileFullHeightDialog: FC<IDialogProps>;
|
|
3783
|
+
export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
|
|
3571
3784
|
}
|
|
3572
3785
|
declare module "libs/reach/ui/common/src/common/Modified" {
|
|
3573
3786
|
import { FC } from 'react';
|
|
@@ -3622,6 +3835,18 @@ declare module "libs/reach/ui/common/src/common/Prompt" {
|
|
|
3622
3835
|
}
|
|
3623
3836
|
export const Prompt: FC<Props>;
|
|
3624
3837
|
}
|
|
3838
|
+
declare module "libs/reach/ui/common/src/common/buttons/IconHeaderButton" {
|
|
3839
|
+
import { FC } from 'react';
|
|
3840
|
+
export const IconHeaderButton: FC<{
|
|
3841
|
+
icon: string;
|
|
3842
|
+
isActive?: boolean;
|
|
3843
|
+
disabled?: boolean;
|
|
3844
|
+
tooltipResourceKey?: string;
|
|
3845
|
+
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3846
|
+
link?: string;
|
|
3847
|
+
className?: string;
|
|
3848
|
+
}>;
|
|
3849
|
+
}
|
|
3625
3850
|
declare module "libs/reach/ui/common/src/common/toolbar/ToolbarIconButtonWithToolTip" {
|
|
3626
3851
|
import { FC } from 'react';
|
|
3627
3852
|
export interface ToolbarIconButtonProps {
|
|
@@ -3656,6 +3881,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
|
|
|
3656
3881
|
onSearchTextChange?: (text: string) => void;
|
|
3657
3882
|
onExecuteSearch?: (text: string) => void;
|
|
3658
3883
|
searchText?: string;
|
|
3884
|
+
showSearchBoxInput?: boolean;
|
|
3659
3885
|
}
|
|
3660
3886
|
export const SearchBox: FC<SearchBoxProps & {
|
|
3661
3887
|
onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
|
|
@@ -3734,8 +3960,7 @@ declare module "libs/reach/ui/common/src/common/buttons/ChoiceGroup" {
|
|
|
3734
3960
|
}
|
|
3735
3961
|
declare module "libs/reach/ui/common/src/common/buttons/CommentActionMenu" {
|
|
3736
3962
|
import { FC } from 'react';
|
|
3737
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
3738
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
3963
|
+
import { Account, Comment } from "libs/reach/util/common/src/index";
|
|
3739
3964
|
export const CommentActionMenu: FC<{
|
|
3740
3965
|
comment: Comment;
|
|
3741
3966
|
showEdit: boolean;
|
|
@@ -3781,12 +4006,27 @@ declare module "libs/reach/ui/common/src/common/buttons/TopActionButton" {
|
|
|
3781
4006
|
}
|
|
3782
4007
|
export const TopActionButton: import("styled-components").StyledComponent<import("react").FC<Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
3783
4008
|
}
|
|
3784
|
-
declare module "libs/reach/ui/common/src/common/
|
|
4009
|
+
declare module "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler" {
|
|
3785
4010
|
import { FC } from 'react';
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
4011
|
+
export const UnreadItemsToggler: FC<{
|
|
4012
|
+
disabled: boolean;
|
|
4013
|
+
className?: string;
|
|
4014
|
+
}>;
|
|
4015
|
+
}
|
|
4016
|
+
declare module "libs/reach/ui/common/src/common/buttons/HeaderMenuButton" {
|
|
4017
|
+
import { FC } from 'react';
|
|
4018
|
+
import { IContextualMenuItem } from 'office-ui-fabric-react';
|
|
4019
|
+
export const HeaderMenuButton: FC<{
|
|
4020
|
+
items: IContextualMenuItem[];
|
|
4021
|
+
className?: string;
|
|
4022
|
+
}>;
|
|
4023
|
+
}
|
|
4024
|
+
declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
|
|
4025
|
+
import { FC } from 'react';
|
|
4026
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
4027
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
4028
|
+
interface Props {
|
|
4029
|
+
channel: Channel | string;
|
|
3790
4030
|
language?: string;
|
|
3791
4031
|
applyChannelBubbleStyle?: boolean;
|
|
3792
4032
|
role?: string;
|
|
@@ -3831,6 +4071,7 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelList" {
|
|
|
3831
4071
|
language: string;
|
|
3832
4072
|
channelStyleDefinition?: ChannelStyleDefinition;
|
|
3833
4073
|
visibleChannelsCount?: number;
|
|
4074
|
+
onChannelClick?: (channel: string) => unknown;
|
|
3834
4075
|
className?: string;
|
|
3835
4076
|
}>;
|
|
3836
4077
|
}
|
|
@@ -3849,6 +4090,8 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelSelector" {
|
|
|
3849
4090
|
showSelectionToggle?: boolean;
|
|
3850
4091
|
placeholder?: string;
|
|
3851
4092
|
inlineControls?: boolean;
|
|
4093
|
+
required?: boolean;
|
|
4094
|
+
id?: string;
|
|
3852
4095
|
}
|
|
3853
4096
|
export const ChannelSelector: FC<Props>;
|
|
3854
4097
|
}
|
|
@@ -3860,6 +4103,7 @@ declare module "libs/reach/ui/common/src/common/channels/ClickableChannelTitles"
|
|
|
3860
4103
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
3861
4104
|
language?: string;
|
|
3862
4105
|
channelBackgroundColor?: string;
|
|
4106
|
+
onClick?: (channel: string) => unknown;
|
|
3863
4107
|
className?: string;
|
|
3864
4108
|
}>;
|
|
3865
4109
|
}
|
|
@@ -4105,7 +4349,7 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
|
|
|
4105
4349
|
declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
|
|
4106
4350
|
import { DependencyList } from 'react';
|
|
4107
4351
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4108
|
-
export function useItemLoaderWithPreFetch(pageSize: number, handler: (pageSize: number,
|
|
4352
|
+
export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: (pageSize: number, token?: TTokenType) => Promise<PaginatedList<TItem>>, deps?: DependencyList): {
|
|
4109
4353
|
items: any[];
|
|
4110
4354
|
isInitialLoading: boolean;
|
|
4111
4355
|
isLoadingNextPage: boolean;
|
|
@@ -4118,6 +4362,21 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
|
|
|
4118
4362
|
isEmpty: boolean;
|
|
4119
4363
|
};
|
|
4120
4364
|
}
|
|
4365
|
+
declare module "libs/reach/ui/common/src/common/paging/PaginationStatus" {
|
|
4366
|
+
import { FC } from 'react';
|
|
4367
|
+
export const PaginationStatus: FC<{
|
|
4368
|
+
allLoadedResourceId: string;
|
|
4369
|
+
showAllLoaded: boolean;
|
|
4370
|
+
showSpinner?: boolean;
|
|
4371
|
+
showPlaceholder?: boolean;
|
|
4372
|
+
}>;
|
|
4373
|
+
}
|
|
4374
|
+
declare module "libs/reach/ui/common/src/common/paging/usePageScrollPagination" {
|
|
4375
|
+
import { DependencyList } from 'react';
|
|
4376
|
+
export function usePageScrollPagination(loadMoreItems: () => Promise<void>, allItemsLoaded?: boolean, additionalDeps?: DependencyList): {
|
|
4377
|
+
isLoadingMore: boolean;
|
|
4378
|
+
};
|
|
4379
|
+
}
|
|
4121
4380
|
declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
|
|
4122
4381
|
import { FC, ReactNode } from 'react';
|
|
4123
4382
|
export const PullToRefreshContext: import("react").Context<{
|
|
@@ -4169,6 +4428,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarMarkAllAsReadButt
|
|
|
4169
4428
|
onMarkAsReadStarted?: () => unknown;
|
|
4170
4429
|
onMarkAsReadFinished?: () => unknown;
|
|
4171
4430
|
disabled?: boolean;
|
|
4431
|
+
unreadCount?: number;
|
|
4172
4432
|
}
|
|
4173
4433
|
export const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
4174
4434
|
export const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
@@ -4352,7 +4612,6 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4352
4612
|
export * from "libs/reach/ui/common/src/common/FloatingActionButton";
|
|
4353
4613
|
export * from "libs/reach/ui/common/src/common/FormattedMessageWithStyle";
|
|
4354
4614
|
export * from "libs/reach/ui/common/src/common/GroupedByDateTitles";
|
|
4355
|
-
export * from "libs/reach/ui/common/src/common/IconHeaderButton";
|
|
4356
4615
|
export * from "libs/reach/ui/common/src/common/IconLabel";
|
|
4357
4616
|
export * from "libs/reach/ui/common/src/common/ItemStatisticsCache";
|
|
4358
4617
|
export * from "libs/reach/ui/common/src/common/KeywordTitle";
|
|
@@ -4383,6 +4642,9 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4383
4642
|
export * from "libs/reach/ui/common/src/common/buttons/DeleteAttachmentButton";
|
|
4384
4643
|
export * from "libs/reach/ui/common/src/common/buttons/ToggleAllButtons";
|
|
4385
4644
|
export * from "libs/reach/ui/common/src/common/buttons/TopActionButton";
|
|
4645
|
+
export * from "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler";
|
|
4646
|
+
export * from "libs/reach/ui/common/src/common/buttons/IconHeaderButton";
|
|
4647
|
+
export * from "libs/reach/ui/common/src/common/buttons/HeaderMenuButton";
|
|
4386
4648
|
export * from "libs/reach/ui/common/src/common/channels/ChannelItem";
|
|
4387
4649
|
export * from "libs/reach/ui/common/src/common/channels/ChannelList";
|
|
4388
4650
|
export * from "libs/reach/ui/common/src/common/channels/ChannelSelector";
|
|
@@ -4411,6 +4673,8 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4411
4673
|
export * from "libs/reach/ui/common/src/common/paging/HorizontalPager";
|
|
4412
4674
|
export * from "libs/reach/ui/common/src/common/paging/VerticalPager";
|
|
4413
4675
|
export * from "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch";
|
|
4676
|
+
export * from "libs/reach/ui/common/src/common/paging/PaginationStatus";
|
|
4677
|
+
export * from "libs/reach/ui/common/src/common/paging/usePageScrollPagination";
|
|
4414
4678
|
export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
|
|
4415
4679
|
export * from "libs/reach/ui/common/src/common/refreshScripts";
|
|
4416
4680
|
export * from "libs/reach/ui/common/src/common/toolbar/Toolbar";
|
|
@@ -4491,10 +4755,10 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4491
4755
|
export function useEscapeOnClose(onClose: Function): void;
|
|
4492
4756
|
}
|
|
4493
4757
|
declare module "apps/reach-app/src/app/chrome/Header" {
|
|
4494
|
-
import { FC, ReactNode } from 'react';
|
|
4758
|
+
import { FC, Dispatch, SetStateAction, ReactNode, HTMLProps } from 'react';
|
|
4495
4759
|
import './Header.scss';
|
|
4496
4760
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
4497
|
-
interface Props extends
|
|
4761
|
+
interface Props extends HTMLProps<HTMLElement>, SearchBoxProps {
|
|
4498
4762
|
iconLeft?: string;
|
|
4499
4763
|
onToggleLeft?: () => void;
|
|
4500
4764
|
onToggleRight?: () => void;
|
|
@@ -4510,6 +4774,14 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
4510
4774
|
disableGoBack?: boolean;
|
|
4511
4775
|
route?: string;
|
|
4512
4776
|
}
|
|
4777
|
+
export interface HeaderContextType {
|
|
4778
|
+
setIsSearchInputFieldVisible: Dispatch<SetStateAction<boolean>>;
|
|
4779
|
+
isSearchInputFieldVisible: boolean;
|
|
4780
|
+
}
|
|
4781
|
+
export const HeaderContext: import("react").Context<HeaderContextType>;
|
|
4782
|
+
export const HeaderContextProvider: FC<{
|
|
4783
|
+
children: ReactNode;
|
|
4784
|
+
}>;
|
|
4513
4785
|
export const Header: FC<Props>;
|
|
4514
4786
|
}
|
|
4515
4787
|
declare module "apps/reach-app/src/app/chrome/FloatingPageActions" {
|
|
@@ -4624,17 +4896,19 @@ declare module "apps/reach-app/src/app/admin/AddButton" {
|
|
|
4624
4896
|
icon?: string;
|
|
4625
4897
|
tooltipResourceKey?: string;
|
|
4626
4898
|
labelResourceKey?: string;
|
|
4899
|
+
domIdentifier?: string;
|
|
4627
4900
|
className?: string;
|
|
4628
4901
|
}
|
|
4629
4902
|
export const AddButton: FC<AddButtonProps>;
|
|
4630
4903
|
}
|
|
4631
4904
|
declare module "apps/reach-app/src/app/admin/common" {
|
|
4632
|
-
|
|
4633
|
-
|
|
4905
|
+
import { FC, ReactNode } from 'react';
|
|
4906
|
+
export const AdminPage: FC<{
|
|
4907
|
+
children: ReactNode;
|
|
4634
4908
|
className?: string;
|
|
4635
4909
|
domIdentifier?: string;
|
|
4636
4910
|
}>;
|
|
4637
|
-
export const
|
|
4911
|
+
export const AdminPageTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
|
|
4638
4912
|
}
|
|
4639
4913
|
declare module "apps/reach-app/src/app/admin/keywords/useKeywordsApi" {
|
|
4640
4914
|
import { KeywordGroup } from "libs/reach/util/common/src/index";
|
|
@@ -4666,7 +4940,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
|
|
|
4666
4940
|
}
|
|
4667
4941
|
declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
4668
4942
|
import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
|
|
4669
|
-
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions } from "libs/reach/util/common/src/index";
|
|
4943
|
+
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
|
|
4670
4944
|
import { Account } from "libs/reach/util/common/src/index";
|
|
4671
4945
|
import { Language } from "libs/reach/util/common/src/index";
|
|
4672
4946
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -4681,7 +4955,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
4681
4955
|
setSubscriptionName: (name: string) => Promise<string>;
|
|
4682
4956
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
4683
4957
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
4684
|
-
updateLogo: (file?: File) => Promise<void>;
|
|
4958
|
+
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
4685
4959
|
updateFavicon: (file?: File) => Promise<void>;
|
|
4686
4960
|
updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
|
|
4687
4961
|
linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
|
|
@@ -4721,6 +4995,34 @@ declare module "apps/reach-app/src/app/admin/themes/ColorEditor" {
|
|
|
4721
4995
|
className?: string;
|
|
4722
4996
|
}>;
|
|
4723
4997
|
}
|
|
4998
|
+
declare module "apps/reach-app/src/app/admin/themes/ContrastInfo" {
|
|
4999
|
+
import { FC } from 'react';
|
|
5000
|
+
export const ContrastInfo: FC<{
|
|
5001
|
+
foregroundColor: string;
|
|
5002
|
+
backgroundColor: string;
|
|
5003
|
+
className?: string;
|
|
5004
|
+
}>;
|
|
5005
|
+
}
|
|
5006
|
+
declare module "apps/reach-app/src/app/admin/themes/ColorButton" {
|
|
5007
|
+
import { FC } from 'react';
|
|
5008
|
+
export const ColorButton: FC<{
|
|
5009
|
+
onClick: () => void;
|
|
5010
|
+
text: string;
|
|
5011
|
+
backgroundColor: string;
|
|
5012
|
+
color: string;
|
|
5013
|
+
}>;
|
|
5014
|
+
}
|
|
5015
|
+
declare module "apps/reach-app/src/app/admin/themes/ColorOnWhitePreview" {
|
|
5016
|
+
import { FC } from 'react';
|
|
5017
|
+
export const ColorOnWhitePreview: FC;
|
|
5018
|
+
}
|
|
5019
|
+
declare module "apps/reach-app/src/app/admin/themes/ThemeContrastPreview" {
|
|
5020
|
+
import { FC } from 'react';
|
|
5021
|
+
export const ThemeContrastPreview: FC<{
|
|
5022
|
+
backgroundColor: string;
|
|
5023
|
+
foregroundColor: string;
|
|
5024
|
+
}>;
|
|
5025
|
+
}
|
|
4724
5026
|
declare module "apps/reach-app/src/app/admin/themes/Themes" {
|
|
4725
5027
|
import { FC } from 'react';
|
|
4726
5028
|
export const Themes: FC;
|
|
@@ -4730,6 +5032,42 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
|
|
|
4730
5032
|
import './ApplicationName.scss';
|
|
4731
5033
|
export const ApplicationName: FC;
|
|
4732
5034
|
}
|
|
5035
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
|
|
5036
|
+
import { FC } from 'react';
|
|
5037
|
+
export const AppBarLogoPreview: FC<{
|
|
5038
|
+
src: string;
|
|
5039
|
+
subscriptionName: string;
|
|
5040
|
+
}>;
|
|
5041
|
+
export const SidePanelLogoPreview: FC<{
|
|
5042
|
+
src: string;
|
|
5043
|
+
subscriptionName: string;
|
|
5044
|
+
}>;
|
|
5045
|
+
export const EmailLogoPreview: FC<{
|
|
5046
|
+
src: string;
|
|
5047
|
+
subscriptionName: string;
|
|
5048
|
+
}>;
|
|
5049
|
+
export const SignInLogoPreview: FC<{
|
|
5050
|
+
src: string;
|
|
5051
|
+
}>;
|
|
5052
|
+
}
|
|
5053
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
|
|
5054
|
+
import { FC } from 'react';
|
|
5055
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5056
|
+
export const LogoPreviewDialog: FC<{
|
|
5057
|
+
canSave: boolean;
|
|
5058
|
+
onDismiss: () => unknown;
|
|
5059
|
+
onSave: (logoSize: LogoSize) => unknown;
|
|
5060
|
+
source: string;
|
|
5061
|
+
logoType: LogoSize;
|
|
5062
|
+
}>;
|
|
5063
|
+
}
|
|
5064
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
|
|
5065
|
+
import { FC } from 'react';
|
|
5066
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5067
|
+
export const LogoEditor: FC<{
|
|
5068
|
+
logoType: LogoSize;
|
|
5069
|
+
}>;
|
|
5070
|
+
}
|
|
4733
5071
|
declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
|
|
4734
5072
|
import { FC } from 'react';
|
|
4735
5073
|
export const ApplicationLogo: FC;
|
|
@@ -5491,6 +5829,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
|
|
|
5491
5829
|
}
|
|
5492
5830
|
export const GoToAdminConsentButton: React.FC<Props>;
|
|
5493
5831
|
}
|
|
5832
|
+
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
5833
|
+
import { IntlShape } from 'react-intl';
|
|
5834
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
5835
|
+
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
5836
|
+
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
5837
|
+
export const systemAccountGroupIds: {
|
|
5838
|
+
everyone: string;
|
|
5839
|
+
directoryUsers: string;
|
|
5840
|
+
nonDirectoryUsers: string;
|
|
5841
|
+
allGroups: string[];
|
|
5842
|
+
};
|
|
5843
|
+
export function getDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5844
|
+
export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5845
|
+
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
5846
|
+
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
5847
|
+
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
5848
|
+
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
5849
|
+
export const isAdGroup: (account: Account) => boolean;
|
|
5850
|
+
export const isUser: (account: Account) => boolean;
|
|
5851
|
+
}
|
|
5494
5852
|
declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
|
|
5495
5853
|
import { FC } from 'react';
|
|
5496
5854
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -5856,23 +6214,19 @@ declare module "apps/reach-app/src/app/chrome/BaseSidebarItem" {
|
|
|
5856
6214
|
}
|
|
5857
6215
|
declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
5858
6216
|
import { FC } from 'react';
|
|
5859
|
-
|
|
5860
|
-
backgroundColor: string;
|
|
5861
|
-
color: string;
|
|
5862
|
-
}
|
|
6217
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
5863
6218
|
export const SidebarItemSection: FC<{
|
|
5864
|
-
styleDefinition?:
|
|
6219
|
+
styleDefinition?: ColorStyleDefinition;
|
|
5865
6220
|
}>;
|
|
5866
6221
|
}
|
|
5867
6222
|
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
5868
|
-
import
|
|
6223
|
+
import { FC, ReactNode } from 'react';
|
|
6224
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
5869
6225
|
import './SidebarItem.scss';
|
|
5870
|
-
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
5871
6226
|
import { LocationDescriptor } from 'history';
|
|
5872
|
-
import {
|
|
5873
|
-
import { ReactNode } from 'react';
|
|
6227
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
5874
6228
|
interface CommonSidebarItemProps {
|
|
5875
|
-
title?:
|
|
6229
|
+
title?: string | JSX.Element;
|
|
5876
6230
|
titleResource?: string;
|
|
5877
6231
|
icon?: ReactNode;
|
|
5878
6232
|
iconName?: string;
|
|
@@ -5884,14 +6238,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5884
6238
|
reverse?: boolean;
|
|
5885
6239
|
notHighlightable?: boolean;
|
|
5886
6240
|
onClick?: () => void;
|
|
5887
|
-
children?: any;
|
|
5888
6241
|
className?: string;
|
|
5889
6242
|
isActive?: boolean;
|
|
5890
6243
|
activeClassName?: string;
|
|
5891
6244
|
readOnly?: boolean;
|
|
5892
6245
|
submenu?: JSX.Element;
|
|
5893
6246
|
submenuClassName?: string;
|
|
5894
|
-
submenuStyleDefinition?:
|
|
6247
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
5895
6248
|
badgeInfo?: number | boolean;
|
|
5896
6249
|
domIdentifier?: string;
|
|
5897
6250
|
}
|
|
@@ -5903,13 +6256,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5903
6256
|
secondaryIconRoute?: LocationDescriptor;
|
|
5904
6257
|
isHoverable?: boolean;
|
|
5905
6258
|
}
|
|
5906
|
-
export const SidebarItem:
|
|
6259
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
5907
6260
|
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
5908
|
-
route:
|
|
6261
|
+
route: LocationDescriptor;
|
|
5909
6262
|
exact?: boolean;
|
|
5910
6263
|
linkClassName?: string;
|
|
5911
6264
|
}
|
|
5912
|
-
export const NavLinkSidebarItem:
|
|
6265
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
5913
6266
|
}
|
|
5914
6267
|
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
5915
6268
|
import { WrappedComponentProps } from 'react-intl';
|
|
@@ -6002,24 +6355,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
|
6002
6355
|
import { FC } from 'react';
|
|
6003
6356
|
export const GroupListPage: FC;
|
|
6004
6357
|
}
|
|
6005
|
-
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
6006
|
-
import { IntlShape } from 'react-intl';
|
|
6007
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
6008
|
-
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
6009
|
-
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
6010
|
-
export const systemAccountGroupIds: {
|
|
6011
|
-
everyone: string;
|
|
6012
|
-
directoryUsers: string;
|
|
6013
|
-
nonDirectoryUsers: string;
|
|
6014
|
-
allGroups: string[];
|
|
6015
|
-
};
|
|
6016
|
-
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
6017
|
-
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
6018
|
-
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
6019
|
-
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
6020
|
-
export const isAdGroup: (account: Account) => boolean;
|
|
6021
|
-
export const isUser: (account: Account) => boolean;
|
|
6022
|
-
}
|
|
6023
6358
|
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
6024
6359
|
import { FC } from 'react';
|
|
6025
6360
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -6198,7 +6533,6 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
|
6198
6533
|
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
6199
6534
|
import { ReactNode } from 'react';
|
|
6200
6535
|
import { Account } from "libs/reach/util/common/src/index";
|
|
6201
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
6202
6536
|
export interface UserSuggestion {
|
|
6203
6537
|
id: string;
|
|
6204
6538
|
upn: string;
|
|
@@ -6218,13 +6552,18 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
|
6218
6552
|
onCtrlEnter?: () => unknown;
|
|
6219
6553
|
onChange?: (value: string) => void;
|
|
6220
6554
|
onFocus?: () => void;
|
|
6221
|
-
|
|
6555
|
+
additionalInputControl?: ReactNode;
|
|
6556
|
+
buttons?: {
|
|
6557
|
+
leftSide?: ReactNode;
|
|
6558
|
+
rightSide?: ReactNode;
|
|
6559
|
+
};
|
|
6222
6560
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6223
|
-
inputTheme?: CommentInputTheme;
|
|
6224
6561
|
placeHolderStringResourceKey?: string;
|
|
6225
6562
|
placeHolderStringResourceValues?: {
|
|
6226
6563
|
[key: string]: string | number | boolean | Date;
|
|
6227
6564
|
};
|
|
6565
|
+
disableBoxShadow?: boolean;
|
|
6566
|
+
ariaLabel?: string;
|
|
6228
6567
|
}
|
|
6229
6568
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6230
6569
|
}
|
|
@@ -6238,18 +6577,6 @@ declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
|
6238
6577
|
isLarge: boolean;
|
|
6239
6578
|
}>;
|
|
6240
6579
|
}
|
|
6241
|
-
declare module "libs/reach/feature/content/src/comments/KeywordsPicker" {
|
|
6242
|
-
import { FC } from 'react';
|
|
6243
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6244
|
-
export const KeywordsPicker: FC<{
|
|
6245
|
-
defaultKeywords?: {
|
|
6246
|
-
[key: string]: Keyword[];
|
|
6247
|
-
};
|
|
6248
|
-
availableKeywords?: Keyword[];
|
|
6249
|
-
mandatoryKeywords?: Keyword[];
|
|
6250
|
-
onChangeKeywords: (keywords: Keyword[]) => void;
|
|
6251
|
-
}>;
|
|
6252
|
-
}
|
|
6253
6580
|
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
6254
6581
|
import { VideoSource } from "libs/reach/util/common/src/index";
|
|
6255
6582
|
export interface KalturaProperties {
|
|
@@ -6264,6 +6591,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6264
6591
|
private static vimeoRegex;
|
|
6265
6592
|
private static microsoftStreamRegex;
|
|
6266
6593
|
private static vimeoDirectLinkRegex;
|
|
6594
|
+
private static vimeoRedirectLinkRegex;
|
|
6267
6595
|
private static kalturaRegex;
|
|
6268
6596
|
readonly source: VideoSource | null;
|
|
6269
6597
|
readonly id: string | null;
|
|
@@ -6271,9 +6599,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6271
6599
|
readonly videoProperties: any;
|
|
6272
6600
|
readonly thumbnailUrl: string;
|
|
6273
6601
|
constructor(url: string);
|
|
6274
|
-
isValid(): boolean;
|
|
6602
|
+
isValid(features?: any): boolean;
|
|
6275
6603
|
}
|
|
6604
|
+
export function getVideoSources(features: any): any[];
|
|
6276
6605
|
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6606
|
+
export function getAllVideoSources(features: any): any[];
|
|
6277
6607
|
}
|
|
6278
6608
|
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6279
6609
|
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
@@ -6301,9 +6631,9 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
|
6301
6631
|
}
|
|
6302
6632
|
}
|
|
6303
6633
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
6304
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6634
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6305
6635
|
export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
|
|
6306
|
-
keywords?:
|
|
6636
|
+
keywords?: FilterWithLogicalOperator;
|
|
6307
6637
|
}
|
|
6308
6638
|
}
|
|
6309
6639
|
declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
|
|
@@ -6328,6 +6658,14 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6328
6658
|
export interface IndexableFilterDefinition {
|
|
6329
6659
|
[key: string]: any;
|
|
6330
6660
|
}
|
|
6661
|
+
export interface FilterWithLogicalOperator {
|
|
6662
|
+
items?: string[];
|
|
6663
|
+
operator?: LogicalOperator;
|
|
6664
|
+
}
|
|
6665
|
+
export enum LogicalOperator {
|
|
6666
|
+
Or = "or",
|
|
6667
|
+
And = "and"
|
|
6668
|
+
}
|
|
6331
6669
|
}
|
|
6332
6670
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6333
6671
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
@@ -6350,12 +6688,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
|
|
|
6350
6688
|
contacts?: string[];
|
|
6351
6689
|
}
|
|
6352
6690
|
}
|
|
6691
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6692
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6693
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6694
|
+
channels?: FilterWithLogicalOperator;
|
|
6695
|
+
}
|
|
6696
|
+
}
|
|
6353
6697
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6354
6698
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6355
6699
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6356
6700
|
import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6357
6701
|
import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6358
|
-
|
|
6702
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6703
|
+
export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
|
|
6359
6704
|
excludePastEvents?: boolean;
|
|
6360
6705
|
pastEventsOnly?: boolean;
|
|
6361
6706
|
}
|
|
@@ -6366,26 +6711,19 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6366
6711
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6367
6712
|
export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6368
6713
|
}
|
|
6369
|
-
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6370
|
-
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6371
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6372
|
-
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6373
|
-
export function useEventsApi(): {
|
|
6374
|
-
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6375
|
-
getEvent: (id: string) => Promise<EventItem>;
|
|
6376
|
-
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6377
|
-
};
|
|
6378
|
-
}
|
|
6379
6714
|
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6380
6715
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6381
6716
|
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6382
6717
|
author?: string;
|
|
6383
6718
|
}
|
|
6384
6719
|
}
|
|
6385
|
-
declare module "libs/reach/feature/content/src/filter/
|
|
6720
|
+
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6386
6721
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6387
|
-
export interface
|
|
6388
|
-
|
|
6722
|
+
export interface FilteringProps {
|
|
6723
|
+
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6724
|
+
onShowFilterPanel?: () => unknown;
|
|
6725
|
+
onToggleFilterSidebar?: () => unknown;
|
|
6726
|
+
isFilterActive?: boolean;
|
|
6389
6727
|
}
|
|
6390
6728
|
}
|
|
6391
6729
|
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
@@ -6406,6 +6744,95 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6406
6744
|
unreadOnly?: boolean;
|
|
6407
6745
|
}
|
|
6408
6746
|
}
|
|
6747
|
+
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6748
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6749
|
+
export enum ItemType {
|
|
6750
|
+
None = 0,
|
|
6751
|
+
News = 1,
|
|
6752
|
+
Post = 2,
|
|
6753
|
+
Page = 4,
|
|
6754
|
+
Event = 8
|
|
6755
|
+
}
|
|
6756
|
+
export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
|
|
6757
|
+
itemType?: ItemType;
|
|
6758
|
+
}
|
|
6759
|
+
}
|
|
6760
|
+
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
6761
|
+
import { FC } from 'react';
|
|
6762
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6763
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6764
|
+
export interface InjectedFilterProps {
|
|
6765
|
+
filter: IndexableFilterDefinition;
|
|
6766
|
+
hasFilter: boolean;
|
|
6767
|
+
isSearchActive: boolean;
|
|
6768
|
+
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6769
|
+
onSearchChange: (text: string) => void;
|
|
6770
|
+
onClearFilter: () => void;
|
|
6771
|
+
}
|
|
6772
|
+
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
6773
|
+
filter: Partial<IndexableFilterDefinition>;
|
|
6774
|
+
hasFilter: boolean;
|
|
6775
|
+
isSearchActive: boolean;
|
|
6776
|
+
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
6777
|
+
onSearchChange: (search: string) => void;
|
|
6778
|
+
onClearFilter: () => void;
|
|
6779
|
+
};
|
|
6780
|
+
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
6781
|
+
export const FilterContextProvider: FC<{
|
|
6782
|
+
addFilters?: (locationParams: {
|
|
6783
|
+
[paramName: string]: any;
|
|
6784
|
+
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
6785
|
+
additionalExcludedFilterProperties?: string[];
|
|
6786
|
+
onClearQueryString?: (prev: any, next: any) => any;
|
|
6787
|
+
}>;
|
|
6788
|
+
export interface FilterVisibilityState {
|
|
6789
|
+
showFilterAsPanel?: boolean;
|
|
6790
|
+
showFilterSidebar?: boolean;
|
|
6791
|
+
}
|
|
6792
|
+
}
|
|
6793
|
+
declare module "libs/reach/feature/content/src/filter/index" {
|
|
6794
|
+
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6795
|
+
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6796
|
+
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6797
|
+
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6798
|
+
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6799
|
+
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6800
|
+
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6801
|
+
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
6802
|
+
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6803
|
+
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6804
|
+
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
6805
|
+
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6806
|
+
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6807
|
+
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6808
|
+
export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
|
|
6809
|
+
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
6810
|
+
export * from "libs/reach/feature/content/src/filter/utils";
|
|
6811
|
+
}
|
|
6812
|
+
declare module "libs/reach/feature/content/src/filter/utils" {
|
|
6813
|
+
import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
6814
|
+
export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
|
|
6815
|
+
channels?: undefined;
|
|
6816
|
+
} | {
|
|
6817
|
+
channels: string;
|
|
6818
|
+
};
|
|
6819
|
+
export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
|
|
6820
|
+
keywords?: undefined;
|
|
6821
|
+
} | {
|
|
6822
|
+
keywords: string;
|
|
6823
|
+
};
|
|
6824
|
+
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6825
|
+
}
|
|
6826
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6827
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6828
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6829
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6830
|
+
export function useEventsApi(): {
|
|
6831
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6832
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
6833
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6834
|
+
};
|
|
6835
|
+
}
|
|
6409
6836
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6410
6837
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6411
6838
|
import { Observable } from 'rxjs';
|
|
@@ -6495,6 +6922,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6495
6922
|
import { Account, BaseItem, CurrentUser, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
6496
6923
|
import { Comment, ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
6497
6924
|
import { ItemStatistics } from "libs/reach/util/common/src/index";
|
|
6925
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6498
6926
|
export interface Post extends BaseItem, ItemWithAttachments {
|
|
6499
6927
|
id: string;
|
|
6500
6928
|
comments?: PaginatedList<Comment>;
|
|
@@ -6517,6 +6945,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6517
6945
|
token?: string;
|
|
6518
6946
|
pageSize?: string;
|
|
6519
6947
|
search?: string;
|
|
6948
|
+
keywords?: FilterWithLogicalOperator;
|
|
6520
6949
|
}
|
|
6521
6950
|
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
6522
6951
|
export function getPostsBaseRoute(post: Post, user: CurrentUser): string;
|
|
@@ -6549,7 +6978,6 @@ declare module "libs/reach/feature/content/src/common/useEmbeddedObjectValidator
|
|
|
6549
6978
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
6550
6979
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
6551
6980
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
6552
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6553
6981
|
export interface ClientAttachment extends Attachment {
|
|
6554
6982
|
file?: File;
|
|
6555
6983
|
}
|
|
@@ -6563,14 +6991,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6563
6991
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6564
6992
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6565
6993
|
placeHolderStringResourceKey?: string;
|
|
6566
|
-
allowKeywords?: boolean;
|
|
6567
|
-
defaultKeywords?: {
|
|
6568
|
-
[key: string]: Keyword[];
|
|
6569
|
-
};
|
|
6570
|
-
availableKeywords?: Keyword[];
|
|
6571
|
-
mandatoryKeywords?: Keyword[];
|
|
6572
|
-
showKeywordsPicker?: boolean;
|
|
6573
|
-
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
6574
6994
|
disableAddGif?: boolean;
|
|
6575
6995
|
disableAddFiles?: boolean;
|
|
6576
6996
|
};
|
|
@@ -6583,14 +7003,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6583
7003
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6584
7004
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6585
7005
|
placeHolderStringResourceKey?: string;
|
|
6586
|
-
allowKeywords?: boolean;
|
|
6587
|
-
defaultKeywords?: {
|
|
6588
|
-
[key: string]: Keyword[];
|
|
6589
|
-
};
|
|
6590
|
-
availableKeywords?: Keyword[];
|
|
6591
|
-
mandatoryKeywords?: Keyword[];
|
|
6592
|
-
showKeywordsPicker?: boolean;
|
|
6593
|
-
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
6594
7006
|
disableAddGif?: boolean;
|
|
6595
7007
|
disableAddFiles?: boolean;
|
|
6596
7008
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -6619,7 +7031,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
6619
7031
|
private getVideoElement;
|
|
6620
7032
|
private getNotSupportedElement;
|
|
6621
7033
|
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
6622
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "
|
|
7034
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
6623
7035
|
}
|
|
6624
7036
|
}
|
|
6625
7037
|
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
@@ -6668,8 +7080,7 @@ declare module "libs/reach/feature/content/src/posts/VideoList" {
|
|
|
6668
7080
|
}
|
|
6669
7081
|
declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
6670
7082
|
import { FC } from 'react';
|
|
6671
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6672
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
7083
|
+
import { Keyword, PublishableItem } from "libs/reach/util/common/src/index";
|
|
6673
7084
|
export interface KeywordsInfoProps {
|
|
6674
7085
|
keywords: {
|
|
6675
7086
|
[key: string]: Keyword[];
|
|
@@ -6689,18 +7100,21 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
6689
7100
|
className?: string;
|
|
6690
7101
|
filterBaseUrl?: string;
|
|
6691
7102
|
}>;
|
|
6692
|
-
export const FlatKeywords:
|
|
7103
|
+
export const FlatKeywords: FC<{
|
|
6693
7104
|
item: PublishableItem;
|
|
6694
7105
|
filterBaseUrl?: string;
|
|
6695
7106
|
className?: string;
|
|
6696
7107
|
useGridKeywordTitle?: boolean;
|
|
6697
|
-
|
|
7108
|
+
onClick?: (keyword: string) => unknown;
|
|
7109
|
+
showAllKeywordsInCallout?: boolean;
|
|
7110
|
+
}>;
|
|
6698
7111
|
}
|
|
6699
7112
|
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
6700
7113
|
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6701
7114
|
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
6702
7115
|
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
6703
7116
|
export class NewsService {
|
|
7117
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6704
7118
|
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6705
7119
|
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
6706
7120
|
static getContentLanguages(contents: {
|
|
@@ -6808,12 +7222,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
6808
7222
|
}
|
|
6809
7223
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
6810
7224
|
import { FC } from 'react';
|
|
6811
|
-
import { BannerInfo } from "libs/reach/util/common/src/index";
|
|
6812
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7225
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6813
7226
|
interface Props {
|
|
6814
7227
|
itemId: string;
|
|
6815
7228
|
bannerInfo: BannerInfo;
|
|
6816
|
-
|
|
7229
|
+
useEditorRoutes?: boolean;
|
|
6817
7230
|
width: number;
|
|
6818
7231
|
resourceType: ItemResourceTypes;
|
|
6819
7232
|
token?: string;
|
|
@@ -7211,7 +7624,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7211
7624
|
Table = "table",
|
|
7212
7625
|
Contact = "contact",
|
|
7213
7626
|
InlinePageList = "inline-page-list",
|
|
7214
|
-
UrlPreview = "url-preview"
|
|
7627
|
+
UrlPreview = "url-preview",
|
|
7628
|
+
ActionButton = "action-button"
|
|
7215
7629
|
}
|
|
7216
7630
|
export interface HtmlComponentMapper {
|
|
7217
7631
|
component: FC<any>;
|
|
@@ -7244,7 +7658,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7244
7658
|
updateSelectedLanguage: (lang: string) => unknown;
|
|
7245
7659
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7246
7660
|
handleLanguageChange: (language: string) => unknown;
|
|
7247
|
-
|
|
7661
|
+
isEditorPreview?: boolean;
|
|
7248
7662
|
}
|
|
7249
7663
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7250
7664
|
}
|
|
@@ -7440,6 +7854,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7440
7854
|
buttons?: ReactNode;
|
|
7441
7855
|
openTargetInNewWindow?: boolean;
|
|
7442
7856
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7857
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7858
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
7443
7859
|
styleDefinition?: StyleDefinition;
|
|
7444
7860
|
readOnly?: boolean;
|
|
7445
7861
|
className?: string;
|
|
@@ -7526,14 +7942,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7526
7942
|
onAttachmentsChange: (attachments: import("libs/reach/feature/content/src/comments/RichCommentInput").Attachments) => void;
|
|
7527
7943
|
onDeleteAttachment?: (attachment: import("@livetiles/reach/util/common").Attachment) => void;
|
|
7528
7944
|
placeHolderStringResourceKey?: string;
|
|
7529
|
-
allowKeywords?: boolean;
|
|
7530
|
-
defaultKeywords?: {
|
|
7531
|
-
[key: string]: import("@livetiles/reach/util/common").Keyword[];
|
|
7532
|
-
};
|
|
7533
|
-
availableKeywords?: import("@livetiles/reach/util/common").Keyword[];
|
|
7534
|
-
mandatoryKeywords?: import("@livetiles/reach/util/common").Keyword[];
|
|
7535
|
-
showKeywordsPicker?: boolean;
|
|
7536
|
-
onKeywordsChange?: (keywords: import("@livetiles/reach/util/common").Keyword[]) => void;
|
|
7537
7945
|
disableAddGif?: boolean;
|
|
7538
7946
|
disableAddFiles?: boolean;
|
|
7539
7947
|
} & {
|
|
@@ -7542,12 +7950,59 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7542
7950
|
attachmentPreviewTheme?: CommentInputTheme;
|
|
7543
7951
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7544
7952
|
}
|
|
7545
|
-
declare module "libs/reach/feature/content/src/
|
|
7953
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
7954
|
+
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
7955
|
+
import { FC } from 'react';
|
|
7956
|
+
interface Props {
|
|
7957
|
+
group: KeywordGroup;
|
|
7958
|
+
keywords?: Keyword[];
|
|
7959
|
+
expanded?: boolean;
|
|
7960
|
+
selectedKeywords: Keyword[];
|
|
7961
|
+
onChange?: (keywords: Keyword[]) => void;
|
|
7962
|
+
mandatoryKeywordIds?: string[];
|
|
7963
|
+
}
|
|
7964
|
+
export const KeywordPickerGroup: FC<Props>;
|
|
7965
|
+
}
|
|
7966
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
|
|
7546
7967
|
import { FC } from 'react';
|
|
7547
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
7548
|
-
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7549
7968
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7550
|
-
|
|
7969
|
+
interface Props {
|
|
7970
|
+
value?: Keyword[] | string[];
|
|
7971
|
+
onChange: (keywords: Keyword[]) => void;
|
|
7972
|
+
showSelectionToggle?: boolean;
|
|
7973
|
+
availableKeywords?: Keyword[];
|
|
7974
|
+
mandatoryKeywordIds?: string[];
|
|
7975
|
+
className?: string;
|
|
7976
|
+
}
|
|
7977
|
+
export const KeywordPicker: FC<Props>;
|
|
7978
|
+
}
|
|
7979
|
+
declare module "libs/reach/feature/content/src/common/keywords/AddKeywordsButton" {
|
|
7980
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7981
|
+
import { FC } from 'react';
|
|
7982
|
+
export const AddKeywordsButton: FC<{
|
|
7983
|
+
availableKeywords?: Keyword[];
|
|
7984
|
+
mandatoryKeywords?: Keyword[];
|
|
7985
|
+
preselectedKeywords?: Keyword[];
|
|
7986
|
+
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
7987
|
+
disabled?: boolean;
|
|
7988
|
+
keywordPickerTitleResourceKey?: string;
|
|
7989
|
+
}>;
|
|
7990
|
+
}
|
|
7991
|
+
declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsList" {
|
|
7992
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7993
|
+
import { FC } from 'react';
|
|
7994
|
+
export const EditableKeywordsList: FC<{
|
|
7995
|
+
keywords?: Keyword[];
|
|
7996
|
+
mandatoryKeywordIds?: string[];
|
|
7997
|
+
onRemoveKeyword?: (id: string) => void;
|
|
7998
|
+
}>;
|
|
7999
|
+
}
|
|
8000
|
+
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
8001
|
+
import { FC } from 'react';
|
|
8002
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
8003
|
+
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8004
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8005
|
+
export interface BaseProps {
|
|
7551
8006
|
readOnly?: boolean;
|
|
7552
8007
|
disableSaving?: boolean;
|
|
7553
8008
|
className?: string;
|
|
@@ -7573,6 +8028,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7573
8028
|
defaultKeywords?: Keyword[];
|
|
7574
8029
|
mandatoryKeywords?: Keyword[];
|
|
7575
8030
|
};
|
|
8031
|
+
disableBoxShadow?: boolean;
|
|
8032
|
+
ariaLabel?: string;
|
|
7576
8033
|
}
|
|
7577
8034
|
interface Props extends BaseProps {
|
|
7578
8035
|
allowAttachments?: boolean;
|
|
@@ -7663,9 +8120,9 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7663
8120
|
deletedFileUrls?: string[];
|
|
7664
8121
|
onCancel?: () => void;
|
|
7665
8122
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7666
|
-
inputTheme?: CommentInputTheme;
|
|
7667
8123
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
7668
8124
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8125
|
+
ariaLabel?: string;
|
|
7669
8126
|
}
|
|
7670
8127
|
interface Props extends BaseProps {
|
|
7671
8128
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -7673,14 +8130,18 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7673
8130
|
}) => void;
|
|
7674
8131
|
allowAttachments?: boolean;
|
|
7675
8132
|
allowKeywords?: boolean;
|
|
7676
|
-
|
|
7677
|
-
|
|
8133
|
+
keywordSettings?: {
|
|
8134
|
+
availableKeywords?: Keyword[];
|
|
8135
|
+
defaultKeywords?: Keyword[];
|
|
8136
|
+
mandatoryKeywords?: Keyword[];
|
|
8137
|
+
};
|
|
7678
8138
|
keywords?: {
|
|
7679
8139
|
[key: string]: Keyword[];
|
|
7680
8140
|
};
|
|
7681
8141
|
allowSaveWithoutContent?: boolean;
|
|
7682
8142
|
saveOnEnter?: boolean;
|
|
7683
8143
|
saveOnCtrlEnter?: boolean;
|
|
8144
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7684
8145
|
}
|
|
7685
8146
|
export const EditComment: FC<Props>;
|
|
7686
8147
|
}
|
|
@@ -7702,6 +8163,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7702
8163
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7703
8164
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
7704
8165
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8166
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7705
8167
|
interface Props extends CreateCommentProps {
|
|
7706
8168
|
onSave: (newContent: string, attachments?: Attachment[], keywords?: {
|
|
7707
8169
|
[key: string]: Keyword[];
|
|
@@ -7709,14 +8171,18 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7709
8171
|
item: ItemWithAttachments;
|
|
7710
8172
|
basePath: string;
|
|
7711
8173
|
allowKeywords?: boolean;
|
|
7712
|
-
|
|
7713
|
-
|
|
8174
|
+
keywordSettings?: {
|
|
8175
|
+
availableKeywords?: Keyword[];
|
|
8176
|
+
defaultKeywords?: Keyword[];
|
|
8177
|
+
mandatoryKeywords?: Keyword[];
|
|
8178
|
+
};
|
|
7714
8179
|
keywords?: {
|
|
7715
8180
|
[key: string]: Keyword[];
|
|
7716
8181
|
};
|
|
7717
8182
|
allowSaveWithoutContent?: boolean;
|
|
7718
8183
|
saveOnEnter?: boolean;
|
|
7719
8184
|
saveOnCtrlEnter?: boolean;
|
|
8185
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7720
8186
|
}
|
|
7721
8187
|
export const EditCommentWithAttachments: FC<Props>;
|
|
7722
8188
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
@@ -7796,34 +8262,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
7796
8262
|
}>;
|
|
7797
8263
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
7798
8264
|
}
|
|
7799
|
-
declare module "libs/reach/feature/content/src/
|
|
7800
|
-
import { FC
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
className?: string;
|
|
8265
|
+
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8266
|
+
import { FC } from 'react';
|
|
8267
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8268
|
+
export const DetailViewContextProvider: FC<{
|
|
8269
|
+
itemId: string;
|
|
8270
|
+
type?: ItemResourceTypes;
|
|
8271
|
+
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8272
|
+
isEditorPreview?: boolean;
|
|
7808
8273
|
}>;
|
|
7809
8274
|
}
|
|
7810
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7811
|
-
import {
|
|
7812
|
-
export
|
|
8275
|
+
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8276
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8277
|
+
export interface EmbeddedObjectPreviewData {
|
|
8278
|
+
itemId: string;
|
|
8279
|
+
type: string;
|
|
8280
|
+
subscriptionIdentifier: string;
|
|
8281
|
+
}
|
|
8282
|
+
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
7813
8283
|
}
|
|
7814
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7815
|
-
import {
|
|
7816
|
-
export const
|
|
8284
|
+
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8285
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8286
|
+
export const InlineImageMapper: HtmlComponentMapper;
|
|
7817
8287
|
}
|
|
7818
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7819
|
-
import {
|
|
7820
|
-
export
|
|
8288
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
8289
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8290
|
+
export interface ContactDetails {
|
|
8291
|
+
id: string;
|
|
8292
|
+
upn?: string;
|
|
8293
|
+
tenantId?: string;
|
|
8294
|
+
properties?: {
|
|
8295
|
+
[key: string]: {
|
|
8296
|
+
value: string;
|
|
8297
|
+
shouldAutoLoad?: boolean;
|
|
8298
|
+
};
|
|
8299
|
+
};
|
|
8300
|
+
}
|
|
8301
|
+
export const InlineContactMapper: HtmlComponentMapper;
|
|
7821
8302
|
}
|
|
7822
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7823
|
-
import { FC
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
8303
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
|
|
8304
|
+
import { FC } from 'react';
|
|
8305
|
+
import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8306
|
+
export const InlineContactViewer: FC<{
|
|
8307
|
+
contact: ContactDetails;
|
|
7827
8308
|
}>;
|
|
7828
8309
|
}
|
|
7829
8310
|
declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
|
|
@@ -7849,6 +8330,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
|
|
|
7849
8330
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7850
8331
|
export const InlineQuoteMapper: HtmlComponentMapper;
|
|
7851
8332
|
}
|
|
8333
|
+
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
8334
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8335
|
+
export const InlineVideoMapper: HtmlComponentMapper;
|
|
8336
|
+
}
|
|
8337
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
8338
|
+
import { FC } from 'react';
|
|
8339
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8340
|
+
export const InlinePageListViewer: FC<{
|
|
8341
|
+
items: PageItem[];
|
|
8342
|
+
baseRoute: string;
|
|
8343
|
+
filterBaseUrl?: string;
|
|
8344
|
+
isInitialLoading?: boolean;
|
|
8345
|
+
}>;
|
|
8346
|
+
}
|
|
8347
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
8348
|
+
import { FC } from 'react';
|
|
8349
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8350
|
+
export interface ListPagingProps {
|
|
8351
|
+
getNextPage: () => unknown;
|
|
8352
|
+
getPrevPage: () => unknown;
|
|
8353
|
+
getFirstPage: () => unknown;
|
|
8354
|
+
isLoadingNextPage: boolean;
|
|
8355
|
+
isInitialLoading: boolean;
|
|
8356
|
+
isFirstPage: boolean;
|
|
8357
|
+
hideNextButton: boolean;
|
|
8358
|
+
}
|
|
8359
|
+
export const InlinePageListWithPaging: FC<{
|
|
8360
|
+
pages: PageItem[];
|
|
8361
|
+
baseRoute: string;
|
|
8362
|
+
pagingProps?: ListPagingProps;
|
|
8363
|
+
filterBaseUrl?: string;
|
|
8364
|
+
}>;
|
|
8365
|
+
}
|
|
8366
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8367
|
+
import { DependencyList } from 'react';
|
|
8368
|
+
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8369
|
+
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8370
|
+
showPages: boolean;
|
|
8371
|
+
showDocuments: boolean;
|
|
8372
|
+
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8373
|
+
pageItems: any[];
|
|
8374
|
+
pagingProps: {
|
|
8375
|
+
hideNextButton: boolean;
|
|
8376
|
+
isInitialLoading: boolean;
|
|
8377
|
+
isLoadingNextPage: boolean;
|
|
8378
|
+
error: any;
|
|
8379
|
+
getFirstPage: () => void;
|
|
8380
|
+
getPrevPage: () => void;
|
|
8381
|
+
getNextPage: () => Promise<void>;
|
|
8382
|
+
isFirstPage: boolean;
|
|
8383
|
+
isLastPage: boolean;
|
|
8384
|
+
isEmpty: boolean;
|
|
8385
|
+
};
|
|
8386
|
+
};
|
|
8387
|
+
}
|
|
8388
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8389
|
+
import { FC } from 'react';
|
|
8390
|
+
export const InlinePageListSkeleton: FC<{
|
|
8391
|
+
isDataLoaded: boolean;
|
|
8392
|
+
pageSize?: number;
|
|
8393
|
+
}>;
|
|
8394
|
+
}
|
|
7852
8395
|
declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
|
|
7853
8396
|
export interface CodeDetails {
|
|
7854
8397
|
id: string;
|
|
@@ -7870,20 +8413,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
|
|
|
7870
8413
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7871
8414
|
export const InlineCodeMapper: HtmlComponentMapper;
|
|
7872
8415
|
}
|
|
7873
|
-
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
7874
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7875
|
-
export const InlineVideoMapper: HtmlComponentMapper;
|
|
7876
|
-
}
|
|
7877
|
-
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
7878
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7879
|
-
export const InlineImageMapper: HtmlComponentMapper;
|
|
7880
|
-
}
|
|
7881
|
-
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
7882
|
-
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
7883
|
-
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
7884
|
-
format: TableFormat;
|
|
7885
|
-
}, never>;
|
|
7886
|
-
}
|
|
7887
8416
|
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
7888
8417
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7889
8418
|
import { CSSProperties } from 'react';
|
|
@@ -7924,156 +8453,52 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
|
7924
8453
|
export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
|
|
7925
8454
|
export const InlineTable: HtmlComponentMapper;
|
|
7926
8455
|
}
|
|
7927
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7928
|
-
import {
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
8456
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
8457
|
+
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8458
|
+
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
8459
|
+
format: TableFormat;
|
|
8460
|
+
}, never>;
|
|
8461
|
+
}
|
|
8462
|
+
declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
8463
|
+
import { FC, ReactNode } from 'react';
|
|
8464
|
+
export const ItemBodyWrapper: FC<{
|
|
8465
|
+
className?: string;
|
|
8466
|
+
children?: ReactNode;
|
|
7932
8467
|
}>;
|
|
7933
8468
|
}
|
|
7934
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
8469
|
+
declare module "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles" {
|
|
8470
|
+
export const InlineActionButton: import("styled-components").StyledComponent<import("react").FC<import("@livetiles/reach/ui/common").TextLinkProps>, import("styled-components").DefaultTheme, {
|
|
8471
|
+
isPrimary?: boolean;
|
|
8472
|
+
}, never>;
|
|
8473
|
+
export const InlineActionButtonListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
|
|
8474
|
+
export const InlineActionButtonsHost: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
|
|
8475
|
+
}
|
|
8476
|
+
declare module "libs/reach/feature/content/src/common/body/InlineActionButtonList" {
|
|
7935
8477
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7936
|
-
export interface
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
|
|
7941
|
-
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
|
-
};
|
|
8478
|
+
export interface ActionButtonBlock {
|
|
8479
|
+
blockId: string;
|
|
8480
|
+
actionButtons: {
|
|
8481
|
+
label: string;
|
|
8482
|
+
url: string;
|
|
8483
|
+
isPrimary: boolean;
|
|
8484
|
+
id: string;
|
|
8485
|
+
}[];
|
|
8486
|
+
entityKey?: string;
|
|
7946
8487
|
}
|
|
7947
|
-
export const
|
|
8488
|
+
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
7948
8489
|
}
|
|
7949
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8490
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
7950
8491
|
import { FC } from 'react';
|
|
7951
|
-
|
|
7952
|
-
export const InlinePageListViewer: FC<{
|
|
7953
|
-
items: PageItem[];
|
|
7954
|
-
baseRoute: string;
|
|
7955
|
-
filterBaseUrl?: string;
|
|
7956
|
-
isInitialLoading?: boolean;
|
|
7957
|
-
}>;
|
|
8492
|
+
export const EventDetailViewPeopleInfo: FC;
|
|
7958
8493
|
}
|
|
7959
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8494
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
7960
8495
|
import { FC } from 'react';
|
|
7961
|
-
|
|
7962
|
-
export interface ListPagingProps {
|
|
7963
|
-
getNextPage: () => unknown;
|
|
7964
|
-
getPrevPage: () => unknown;
|
|
7965
|
-
getFirstPage: () => unknown;
|
|
7966
|
-
isLoadingNextPage: boolean;
|
|
7967
|
-
isInitialLoading: boolean;
|
|
7968
|
-
isFirstPage: boolean;
|
|
7969
|
-
hideNextButton: boolean;
|
|
7970
|
-
}
|
|
7971
|
-
export const InlinePageListWithPaging: FC<{
|
|
7972
|
-
pages: PageItem[];
|
|
7973
|
-
baseRoute: string;
|
|
7974
|
-
pagingProps?: ListPagingProps;
|
|
7975
|
-
filterBaseUrl?: string;
|
|
7976
|
-
}>;
|
|
7977
|
-
}
|
|
7978
|
-
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
7979
|
-
import { PageType } from "libs/reach/util/common/src/index";
|
|
7980
|
-
export function useLoadPublishedItemsByKeywords(keywords: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
|
|
8496
|
+
export const EventDetailViewLocationInfo: FC;
|
|
7981
8497
|
}
|
|
7982
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8498
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
7983
8499
|
import { FC } from 'react';
|
|
7984
|
-
export const
|
|
7985
|
-
|
|
7986
|
-
pageSize?: number;
|
|
7987
|
-
}>;
|
|
7988
|
-
}
|
|
7989
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
7990
|
-
import { FC } from 'react';
|
|
7991
|
-
export const InlinePageListByKeywords: FC<{
|
|
7992
|
-
keywords: string;
|
|
7993
|
-
showDocuments?: boolean;
|
|
7994
|
-
showPages?: boolean;
|
|
7995
|
-
}>;
|
|
7996
|
-
}
|
|
7997
|
-
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
7998
|
-
import { PageType } from "libs/reach/util/common/src/index";
|
|
7999
|
-
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
|
|
8000
|
-
}
|
|
8001
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
8002
|
-
import { FC } from 'react';
|
|
8003
|
-
export const InlinePageListByPageId: FC<{
|
|
8004
|
-
pageId: string;
|
|
8005
|
-
showDocuments: boolean;
|
|
8006
|
-
showPages: boolean;
|
|
8007
|
-
}>;
|
|
8008
|
-
}
|
|
8009
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8010
|
-
import { DependencyList } from 'react';
|
|
8011
|
-
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8012
|
-
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8013
|
-
showPages: boolean;
|
|
8014
|
-
showDocuments: boolean;
|
|
8015
|
-
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8016
|
-
pageItems: any[];
|
|
8017
|
-
pagingProps: {
|
|
8018
|
-
hideNextButton: boolean;
|
|
8019
|
-
isInitialLoading: boolean;
|
|
8020
|
-
isLoadingNextPage: boolean;
|
|
8021
|
-
error: any;
|
|
8022
|
-
getFirstPage: () => void;
|
|
8023
|
-
getPrevPage: () => void;
|
|
8024
|
-
getNextPage: () => Promise<void>;
|
|
8025
|
-
isFirstPage: boolean;
|
|
8026
|
-
isLastPage: boolean;
|
|
8027
|
-
isEmpty: boolean;
|
|
8028
|
-
};
|
|
8029
|
-
};
|
|
8030
|
-
}
|
|
8031
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
8032
|
-
import { FC } from 'react';
|
|
8033
|
-
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8034
|
-
export const InlinePageListByCurrentPage: FC<{
|
|
8035
|
-
blockProps?: PageListDetails;
|
|
8036
|
-
}>;
|
|
8037
|
-
}
|
|
8038
|
-
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
8039
|
-
import { FC } from 'react';
|
|
8040
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8041
|
-
export interface PageListDetails {
|
|
8042
|
-
id?: string;
|
|
8043
|
-
showChildren?: boolean;
|
|
8044
|
-
showDocuments?: boolean;
|
|
8045
|
-
showPages?: boolean;
|
|
8046
|
-
pageId?: string;
|
|
8047
|
-
keywords?: string;
|
|
8048
|
-
}
|
|
8049
|
-
export const InlinePageList: FC<{
|
|
8050
|
-
blockProps?: PageListDetails;
|
|
8051
|
-
}>;
|
|
8052
|
-
export const InlinePageListMapper: HtmlComponentMapper;
|
|
8053
|
-
}
|
|
8054
|
-
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8055
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8056
|
-
export interface EmbeddedObjectPreviewData {
|
|
8057
|
-
itemId: string;
|
|
8058
|
-
type: string;
|
|
8059
|
-
subscriptionIdentifier: string;
|
|
8060
|
-
}
|
|
8061
|
-
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
8062
|
-
}
|
|
8063
|
-
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
8064
|
-
import { FC } from 'react';
|
|
8065
|
-
export const RichTextViewer: FC<{
|
|
8066
|
-
html: string;
|
|
8067
|
-
}>;
|
|
8068
|
-
}
|
|
8069
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
8070
|
-
import { FC } from 'react';
|
|
8071
|
-
export const DetailViewBody: FC;
|
|
8072
|
-
}
|
|
8073
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
8074
|
-
import { FC } from 'react';
|
|
8075
|
-
export const DetailViewKeywords: FC<{
|
|
8076
|
-
filterBaseUrl: string;
|
|
8500
|
+
export const EventDetailViewMetaInfo: FC<{
|
|
8501
|
+
allowFilterByChannels?: boolean;
|
|
8077
8502
|
}>;
|
|
8078
8503
|
}
|
|
8079
8504
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
@@ -8082,24 +8507,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8082
8507
|
className?: string;
|
|
8083
8508
|
}>;
|
|
8084
8509
|
}
|
|
8085
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8086
|
-
import { FC } from 'react';
|
|
8087
|
-
export const EventDetailViewPeopleInfo: FC;
|
|
8088
|
-
}
|
|
8089
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
8090
|
-
import { FC } from 'react';
|
|
8091
|
-
export const EventDetailViewLocationInfo: FC;
|
|
8092
|
-
}
|
|
8093
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
8094
|
-
import { FC } from 'react';
|
|
8095
|
-
export const EventDetailViewMetaInfo: FC<{
|
|
8096
|
-
allowFilterByChannels?: boolean;
|
|
8097
|
-
}>;
|
|
8098
|
-
}
|
|
8099
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8100
|
-
import { FC } from 'react';
|
|
8101
|
-
export const EventDetailViewCancelInformation: FC;
|
|
8102
|
-
}
|
|
8103
8510
|
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8104
8511
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8105
8512
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
@@ -8210,8 +8617,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8210
8617
|
}
|
|
8211
8618
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
|
|
8212
8619
|
import { FC } from 'react';
|
|
8213
|
-
import { EventParticipant } from "libs/reach/util/common/src/index";
|
|
8214
|
-
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
8620
|
+
import { EventParticipant, EventResponse } from "libs/reach/util/common/src/index";
|
|
8215
8621
|
export const EventRegistrationRegisterSomeoneElseDialog: FC<{
|
|
8216
8622
|
show: boolean;
|
|
8217
8623
|
onDismiss: () => unknown;
|
|
@@ -8257,6 +8663,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8257
8663
|
import { FC } from 'react';
|
|
8258
8664
|
export const EventDetailViewRegistration: FC;
|
|
8259
8665
|
}
|
|
8666
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8667
|
+
import { FC } from 'react';
|
|
8668
|
+
export const EventDetailViewCancelInformation: FC;
|
|
8669
|
+
}
|
|
8260
8670
|
declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
8261
8671
|
import { FC } from 'react';
|
|
8262
8672
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
@@ -8512,92 +8922,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
|
|
|
8512
8922
|
eventItem: EventItem;
|
|
8513
8923
|
}>;
|
|
8514
8924
|
}
|
|
8515
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
8516
|
-
import { FC } from 'react';
|
|
8517
|
-
export const DetailViewPageViewTracker: FC;
|
|
8518
|
-
}
|
|
8519
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
8520
|
-
import { FC } from 'react';
|
|
8521
|
-
export const DetailViewIntro: FC;
|
|
8522
|
-
}
|
|
8523
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
8524
|
-
import { FC } from 'react';
|
|
8525
|
-
export const ConfirmationBox: FC<{
|
|
8526
|
-
disabled?: boolean;
|
|
8527
|
-
onChange?: (value: boolean) => void;
|
|
8528
|
-
checked: boolean;
|
|
8529
|
-
}>;
|
|
8530
|
-
}
|
|
8531
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
8532
|
-
import { FC } from 'react';
|
|
8533
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8534
|
-
export const ConfirmationSection: FC<{
|
|
8535
|
-
item?: NewsItem;
|
|
8536
|
-
showDescription: boolean;
|
|
8537
|
-
readOnly?: boolean;
|
|
8538
|
-
className?: string;
|
|
8539
|
-
}>;
|
|
8540
|
-
}
|
|
8541
|
-
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
8542
|
-
import { FC } from 'react';
|
|
8543
|
-
export const DetailViewConfirmations: FC;
|
|
8544
|
-
}
|
|
8545
|
-
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
8546
|
-
import { FC } from 'react';
|
|
8547
|
-
export const FeedbackButtonBookmark: FC<{
|
|
8548
|
-
isReadOnly?: boolean;
|
|
8549
|
-
}>;
|
|
8550
|
-
}
|
|
8551
|
-
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
8552
|
-
import { FC } from 'react';
|
|
8553
|
-
export const NewsDetailViewFeedbackSection: FC<{
|
|
8554
|
-
hideLikes?: boolean;
|
|
8555
|
-
hideComments?: boolean;
|
|
8556
|
-
hideProfileUrl?: boolean;
|
|
8557
|
-
disableLoginForPublicUser?: boolean;
|
|
8558
|
-
}>;
|
|
8559
|
-
}
|
|
8560
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
8561
|
-
import { FC } from 'react';
|
|
8562
|
-
export const DetailViewHeadline: FC;
|
|
8563
|
-
}
|
|
8564
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
8565
|
-
import { FC } from 'react';
|
|
8566
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8567
|
-
export const DetailViewBodyExternalContent: FC<{
|
|
8568
|
-
itemType: ItemResourceTypes;
|
|
8569
|
-
}>;
|
|
8570
|
-
}
|
|
8571
|
-
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8572
|
-
import { FC } from 'react';
|
|
8573
|
-
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8574
|
-
export const DetailViewContextProvider: FC<{
|
|
8575
|
-
itemId: string;
|
|
8576
|
-
type?: ItemResourceTypes;
|
|
8577
|
-
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8578
|
-
isReadOnly?: boolean;
|
|
8579
|
-
}>;
|
|
8580
|
-
}
|
|
8581
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8582
|
-
import { FC } from 'react';
|
|
8583
|
-
export const PageDetailViewFeedbackSection: FC<{
|
|
8584
|
-
hideLikes?: boolean;
|
|
8585
|
-
hideComments?: boolean;
|
|
8586
|
-
hideProfileUrl?: boolean;
|
|
8587
|
-
disableLoginForPublicUser?: boolean;
|
|
8588
|
-
}>;
|
|
8589
|
-
}
|
|
8590
|
-
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
8591
|
-
import { FC } from 'react';
|
|
8592
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8593
|
-
export const PageBreadcrumb: FC<{
|
|
8594
|
-
page: PageItem;
|
|
8595
|
-
target?: string;
|
|
8596
|
-
language?: string;
|
|
8597
|
-
hideCurrentPageNode?: boolean;
|
|
8598
|
-
className?: string;
|
|
8599
|
-
}>;
|
|
8600
|
-
}
|
|
8601
8925
|
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8602
8926
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8603
8927
|
interface DateInfoProps {
|
|
@@ -8637,51 +8961,13 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8637
8961
|
import { FC } from 'react';
|
|
8638
8962
|
export const PageDetailViewMetaInfo: FC;
|
|
8639
8963
|
}
|
|
8640
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/
|
|
8964
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8641
8965
|
import { FC } from 'react';
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
content: PublishableItemContent;
|
|
8648
|
-
basePath?: string;
|
|
8649
|
-
}>;
|
|
8650
|
-
}
|
|
8651
|
-
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8652
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8653
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8654
|
-
interface Props {
|
|
8655
|
-
id: string;
|
|
8656
|
-
item: PublishableItem;
|
|
8657
|
-
itemResourceType: ItemResourceTypes;
|
|
8658
|
-
}
|
|
8659
|
-
export const CardBanner: React.FC<Props>;
|
|
8660
|
-
}
|
|
8661
|
-
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8662
|
-
import { FC, ReactNode } from 'react';
|
|
8663
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8664
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8665
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8666
|
-
interface CardProps {
|
|
8667
|
-
item: PublishableItem;
|
|
8668
|
-
itemResourceType: ItemResourceTypes;
|
|
8669
|
-
additionalMetadata?: ReactNode;
|
|
8670
|
-
highlight?: boolean;
|
|
8671
|
-
className?: string;
|
|
8672
|
-
}
|
|
8673
|
-
export const Card: FC<CardProps>;
|
|
8674
|
-
export interface CardItem<TItem = PublishableItem> {
|
|
8675
|
-
item: TItem;
|
|
8676
|
-
language: string;
|
|
8677
|
-
}
|
|
8678
|
-
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8679
|
-
}
|
|
8680
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
8681
|
-
import { FC, ReactNode } from 'react';
|
|
8682
|
-
export const DetailViewNavigation: FC<{
|
|
8683
|
-
children?: ReactNode;
|
|
8684
|
-
callout?: ReactNode;
|
|
8966
|
+
export const PageDetailViewFeedbackSection: FC<{
|
|
8967
|
+
hideLikes?: boolean;
|
|
8968
|
+
hideComments?: boolean;
|
|
8969
|
+
hideProfileUrl?: boolean;
|
|
8970
|
+
disableLoginForPublicUser?: boolean;
|
|
8685
8971
|
}>;
|
|
8686
8972
|
}
|
|
8687
8973
|
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
@@ -8790,9 +9076,107 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8790
9076
|
import { FC } from 'react';
|
|
8791
9077
|
export const PageDetailViewTableOfContentsButton: FC;
|
|
8792
9078
|
}
|
|
8793
|
-
declare module "libs/reach/feature/content/src/
|
|
9079
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
9080
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9081
|
+
export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
9082
|
+
}
|
|
9083
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
8794
9084
|
import { FC } from 'react';
|
|
8795
|
-
|
|
9085
|
+
export const InlinePageListByKeywords: FC<{
|
|
9086
|
+
keywords: string[];
|
|
9087
|
+
showDocuments?: boolean;
|
|
9088
|
+
showPages?: boolean;
|
|
9089
|
+
}>;
|
|
9090
|
+
}
|
|
9091
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
9092
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9093
|
+
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
9094
|
+
}
|
|
9095
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
9096
|
+
import { FC } from 'react';
|
|
9097
|
+
export const InlinePageListByPageId: FC<{
|
|
9098
|
+
pageId: string;
|
|
9099
|
+
showDocuments: boolean;
|
|
9100
|
+
showPages: boolean;
|
|
9101
|
+
}>;
|
|
9102
|
+
}
|
|
9103
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
9104
|
+
import { FC } from 'react';
|
|
9105
|
+
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9106
|
+
export const InlinePageListByCurrentPage: FC<{
|
|
9107
|
+
blockProps?: PageListDetails;
|
|
9108
|
+
}>;
|
|
9109
|
+
}
|
|
9110
|
+
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
9111
|
+
import { FC } from 'react';
|
|
9112
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9113
|
+
export interface PageListDetails {
|
|
9114
|
+
id?: string;
|
|
9115
|
+
showChildren?: boolean;
|
|
9116
|
+
showDocuments?: boolean;
|
|
9117
|
+
showPages?: boolean;
|
|
9118
|
+
pageId?: string;
|
|
9119
|
+
keywords?: string;
|
|
9120
|
+
}
|
|
9121
|
+
export const InlinePageList: FC<{
|
|
9122
|
+
blockProps?: PageListDetails;
|
|
9123
|
+
}>;
|
|
9124
|
+
export const InlinePageListMapper: HtmlComponentMapper;
|
|
9125
|
+
}
|
|
9126
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
9127
|
+
import { FC } from 'react';
|
|
9128
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9129
|
+
export const PageBreadcrumb: FC<{
|
|
9130
|
+
page: PageItem;
|
|
9131
|
+
target?: string;
|
|
9132
|
+
language?: string;
|
|
9133
|
+
hideCurrentPageNode?: boolean;
|
|
9134
|
+
className?: string;
|
|
9135
|
+
}>;
|
|
9136
|
+
}
|
|
9137
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
9138
|
+
import { FC } from 'react';
|
|
9139
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9140
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
9141
|
+
export const DetailViewPageDocumentDownload: FC;
|
|
9142
|
+
export const PageDocumentDownloadButton: FC<{
|
|
9143
|
+
item: PageItem;
|
|
9144
|
+
content: PublishableItemContent;
|
|
9145
|
+
basePath?: string;
|
|
9146
|
+
}>;
|
|
9147
|
+
}
|
|
9148
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
9149
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9150
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9151
|
+
interface Props {
|
|
9152
|
+
id: string;
|
|
9153
|
+
item: PublishableItem;
|
|
9154
|
+
itemResourceType: ItemResourceTypes;
|
|
9155
|
+
}
|
|
9156
|
+
export const CardBanner: React.FC<Props>;
|
|
9157
|
+
}
|
|
9158
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
9159
|
+
import { FC, ReactNode } from 'react';
|
|
9160
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9161
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9162
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9163
|
+
interface CardProps {
|
|
9164
|
+
item: PublishableItem;
|
|
9165
|
+
itemResourceType: ItemResourceTypes;
|
|
9166
|
+
additionalMetadata?: ReactNode;
|
|
9167
|
+
highlight?: boolean;
|
|
9168
|
+
className?: string;
|
|
9169
|
+
}
|
|
9170
|
+
export const Card: FC<CardProps>;
|
|
9171
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
9172
|
+
item: TItem;
|
|
9173
|
+
language: string;
|
|
9174
|
+
}
|
|
9175
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
9176
|
+
}
|
|
9177
|
+
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
9178
|
+
import { FC } from 'react';
|
|
9179
|
+
interface LanguageSelectorProps {
|
|
8796
9180
|
languages: string[];
|
|
8797
9181
|
selectedLanguage: string;
|
|
8798
9182
|
onLanguageChange: (selected: string) => void;
|
|
@@ -8811,10 +9195,112 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8811
9195
|
className?: string;
|
|
8812
9196
|
}>;
|
|
8813
9197
|
}
|
|
9198
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
|
|
9199
|
+
import { FC } from 'react';
|
|
9200
|
+
export const DetailViewBanner: FC;
|
|
9201
|
+
}
|
|
9202
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
9203
|
+
import { FC } from 'react';
|
|
9204
|
+
export const DetailViewIntro: FC;
|
|
9205
|
+
}
|
|
9206
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
9207
|
+
import { FC } from 'react';
|
|
9208
|
+
export const DetailMainSection: FC;
|
|
9209
|
+
}
|
|
9210
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
9211
|
+
import { FC, ReactNode } from 'react';
|
|
9212
|
+
export const GutterMarkerIcon: FC<{
|
|
9213
|
+
iconName: string;
|
|
9214
|
+
children: ReactNode;
|
|
9215
|
+
isActive: boolean;
|
|
9216
|
+
color: string;
|
|
9217
|
+
tooltipResourceKey?: string;
|
|
9218
|
+
className?: string;
|
|
9219
|
+
}>;
|
|
9220
|
+
}
|
|
9221
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9222
|
+
import { FC } from 'react';
|
|
9223
|
+
export const DetailViewTitle: FC;
|
|
9224
|
+
}
|
|
8814
9225
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
|
|
8815
9226
|
import { FC } from 'react';
|
|
8816
9227
|
export const NewsDetailViewMetaInfo: FC;
|
|
8817
9228
|
}
|
|
9229
|
+
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
9230
|
+
import { FC } from 'react';
|
|
9231
|
+
export const RichTextViewer: FC<{
|
|
9232
|
+
html: string;
|
|
9233
|
+
}>;
|
|
9234
|
+
}
|
|
9235
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
9236
|
+
import { FC } from 'react';
|
|
9237
|
+
export const DetailViewBody: FC;
|
|
9238
|
+
}
|
|
9239
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
9240
|
+
import { FC } from 'react';
|
|
9241
|
+
export const DetailViewKeywords: FC<{
|
|
9242
|
+
filterBaseUrl: string;
|
|
9243
|
+
}>;
|
|
9244
|
+
}
|
|
9245
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9246
|
+
import { FC } from 'react';
|
|
9247
|
+
export const ConfirmationBox: FC<{
|
|
9248
|
+
disabled?: boolean;
|
|
9249
|
+
onChange?: (value: boolean) => void;
|
|
9250
|
+
checked: boolean;
|
|
9251
|
+
}>;
|
|
9252
|
+
}
|
|
9253
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9254
|
+
import { FC } from 'react';
|
|
9255
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9256
|
+
export const ConfirmationSection: FC<{
|
|
9257
|
+
item?: NewsItem;
|
|
9258
|
+
showDescription: boolean;
|
|
9259
|
+
readOnly?: boolean;
|
|
9260
|
+
className?: string;
|
|
9261
|
+
}>;
|
|
9262
|
+
}
|
|
9263
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
9264
|
+
import { FC } from 'react';
|
|
9265
|
+
export const DetailViewConfirmations: FC;
|
|
9266
|
+
}
|
|
9267
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
9268
|
+
import { FC } from 'react';
|
|
9269
|
+
export const DetailViewPageViewTracker: FC;
|
|
9270
|
+
}
|
|
9271
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
9272
|
+
import { FC } from 'react';
|
|
9273
|
+
export const FeedbackButtonBookmark: FC<{
|
|
9274
|
+
isReadOnly?: boolean;
|
|
9275
|
+
}>;
|
|
9276
|
+
}
|
|
9277
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
9278
|
+
import { FC } from 'react';
|
|
9279
|
+
export const NewsDetailViewFeedbackSection: FC<{
|
|
9280
|
+
hideLikes?: boolean;
|
|
9281
|
+
hideComments?: boolean;
|
|
9282
|
+
hideProfileUrl?: boolean;
|
|
9283
|
+
disableLoginForPublicUser?: boolean;
|
|
9284
|
+
}>;
|
|
9285
|
+
}
|
|
9286
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
9287
|
+
import { FC, ReactNode } from 'react';
|
|
9288
|
+
export const DetailViewNavigation: FC<{
|
|
9289
|
+
children?: ReactNode;
|
|
9290
|
+
callout?: ReactNode;
|
|
9291
|
+
}>;
|
|
9292
|
+
}
|
|
9293
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9294
|
+
import { FC } from 'react';
|
|
9295
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9296
|
+
export const DetailViewBodyExternalContent: FC<{
|
|
9297
|
+
itemType: ItemResourceTypes;
|
|
9298
|
+
}>;
|
|
9299
|
+
}
|
|
9300
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
9301
|
+
import { FC } from 'react';
|
|
9302
|
+
export const DetailViewHeadline: FC;
|
|
9303
|
+
}
|
|
8818
9304
|
declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
8819
9305
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
8820
9306
|
export const StateIcon: React.FC<{
|
|
@@ -8835,205 +9321,67 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
|
8835
9321
|
}
|
|
8836
9322
|
declare module "libs/reach/feature/content/src/common/index" {
|
|
8837
9323
|
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
8838
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8839
9324
|
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8840
9325
|
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
8841
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
8842
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8843
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8844
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8845
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8846
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8847
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
8848
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8849
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8850
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8851
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
8852
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
8853
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8854
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8855
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8856
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8857
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8858
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
8859
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8860
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8861
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
8862
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
8863
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
8864
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
8865
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8866
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
8867
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8868
9326
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
8869
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8870
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8871
|
-
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
8872
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8873
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
8874
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8875
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8876
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8877
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8878
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8879
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
8880
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8881
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8882
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
8883
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
8884
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
8885
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
8886
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
8887
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8888
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8889
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
8890
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
8891
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8892
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8893
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8894
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
8895
9327
|
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
8896
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8897
9328
|
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
8898
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8899
9329
|
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
8900
9330
|
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
8901
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8902
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8903
|
-
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8904
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8905
9331
|
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
8906
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8907
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8908
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8909
9332
|
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
8910
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8911
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8912
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8913
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8914
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8915
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8916
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8917
9333
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
8918
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8919
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8920
9334
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
8921
9335
|
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
8922
9336
|
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
8923
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8924
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8925
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8926
9337
|
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
8927
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8928
9338
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
8929
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8930
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8931
9339
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
8932
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8933
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
8934
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8935
9340
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
8936
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8937
9341
|
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
8938
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8939
9342
|
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8940
9343
|
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8941
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8942
9344
|
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
8943
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8944
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8945
9345
|
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8946
9346
|
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8947
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8948
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8949
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8950
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8951
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8952
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8953
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8954
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8955
9347
|
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
8956
9348
|
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
8957
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8958
9349
|
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8959
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8960
9350
|
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8961
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8962
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8963
9351
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8964
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8965
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8966
9352
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8967
9353
|
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8968
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
8969
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8970
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
8971
9354
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
8972
9355
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
8973
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8974
9356
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
9357
|
+
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
9358
|
+
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
8975
9359
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
8976
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
8977
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8978
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8979
9360
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
8980
9361
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
8981
9362
|
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8982
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8983
9363
|
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8984
9364
|
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8985
9365
|
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8986
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8987
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8988
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8989
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8990
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8991
9366
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8992
9367
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
8993
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8994
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8995
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8996
9368
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8997
9369
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8998
9370
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
8999
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9000
9371
|
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
9001
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9002
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9003
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9004
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
9005
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
9006
9372
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
9007
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
9008
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
9009
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
9010
9373
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
9011
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9012
9374
|
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9013
9375
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9014
9376
|
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9015
9377
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9016
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9017
9378
|
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
9018
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
9019
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9020
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9021
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9022
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9023
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9024
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9025
9379
|
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9026
9380
|
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9027
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9028
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9029
|
-
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9030
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9031
9381
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9032
9382
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9033
9383
|
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9034
9384
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
9035
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9036
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9037
9385
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9038
9386
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9039
9387
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
@@ -9050,7 +9398,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9050
9398
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9051
9399
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9052
9400
|
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9053
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9054
9401
|
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9055
9402
|
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9056
9403
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
@@ -9072,91 +9419,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
|
|
|
9072
9419
|
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9073
9420
|
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9074
9421
|
}
|
|
9075
|
-
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
9076
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9077
|
-
export interface FilteringProps {
|
|
9078
|
-
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
9079
|
-
onShowFilterPanel?: () => unknown;
|
|
9080
|
-
onToggleFilterSidebar?: () => unknown;
|
|
9081
|
-
isFilterActive?: boolean;
|
|
9082
|
-
}
|
|
9083
|
-
}
|
|
9084
|
-
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
9085
|
-
import { FC } from 'react';
|
|
9086
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9087
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9088
|
-
export interface InjectedFilterProps {
|
|
9089
|
-
filter: IndexableFilterDefinition;
|
|
9090
|
-
hasFilter: boolean;
|
|
9091
|
-
isSearchActive: boolean;
|
|
9092
|
-
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
9093
|
-
onSearchChange: (text: string) => void;
|
|
9094
|
-
onClearFilter: () => void;
|
|
9095
|
-
}
|
|
9096
|
-
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
9097
|
-
filter: Partial<IndexableFilterDefinition>;
|
|
9098
|
-
hasFilter: boolean;
|
|
9099
|
-
isSearchActive: boolean;
|
|
9100
|
-
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
9101
|
-
onSearchChange: (search: string) => void;
|
|
9102
|
-
onClearFilter: () => void;
|
|
9103
|
-
};
|
|
9104
|
-
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
9105
|
-
export const FilterContextProvider: FC<{
|
|
9106
|
-
addFilters?: (locationParams: {
|
|
9107
|
-
[paramName: string]: any;
|
|
9108
|
-
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
9109
|
-
additionalExcludedFilterProperties?: string[];
|
|
9110
|
-
onClearQueryString?: (prev: any, next: any) => any;
|
|
9111
|
-
}>;
|
|
9112
|
-
export interface FilterVisibilityState {
|
|
9113
|
-
showFilterAsPanel?: boolean;
|
|
9114
|
-
showFilterSidebar?: boolean;
|
|
9115
|
-
}
|
|
9116
|
-
}
|
|
9117
|
-
declare module "libs/reach/feature/content/src/filter/index" {
|
|
9118
|
-
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
9119
|
-
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9120
|
-
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
9121
|
-
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
9122
|
-
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
9123
|
-
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
9124
|
-
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
9125
|
-
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
9126
|
-
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
9127
|
-
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
9128
|
-
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
9129
|
-
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
9130
|
-
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
9131
|
-
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
9132
|
-
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
9133
|
-
}
|
|
9134
|
-
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
9135
|
-
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
9136
|
-
import { FC } from 'react';
|
|
9137
|
-
interface Props {
|
|
9138
|
-
group: KeywordGroup;
|
|
9139
|
-
keywords?: Keyword[];
|
|
9140
|
-
expanded?: boolean;
|
|
9141
|
-
selectedKeywords: Keyword[];
|
|
9142
|
-
onChange?: (keywords: Keyword[]) => void;
|
|
9143
|
-
mandatoryKeywordIds?: string[];
|
|
9144
|
-
}
|
|
9145
|
-
export const KeywordPickerGroup: FC<Props>;
|
|
9146
|
-
}
|
|
9147
|
-
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
|
|
9148
|
-
import { FC } from 'react';
|
|
9149
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9150
|
-
interface Props {
|
|
9151
|
-
value?: Keyword[] | string[];
|
|
9152
|
-
onChange: (keywords: Keyword[]) => void;
|
|
9153
|
-
showSelectionToggle?: boolean;
|
|
9154
|
-
availableKeywords?: Keyword[];
|
|
9155
|
-
mandatoryKeywordIds?: string[];
|
|
9156
|
-
className?: string;
|
|
9157
|
-
}
|
|
9158
|
-
export const KeywordPicker: FC<Props>;
|
|
9159
|
-
}
|
|
9160
9422
|
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
9161
9423
|
import { FC, ReactNode } from 'react';
|
|
9162
9424
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -9205,33 +9467,15 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
9205
9467
|
*/
|
|
9206
9468
|
export const Textarea: FC<TextareaProps>;
|
|
9207
9469
|
}
|
|
9208
|
-
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9209
|
-
import { FC } from 'react';
|
|
9210
|
-
interface DateTimePickerProps {
|
|
9211
|
-
date: string;
|
|
9212
|
-
maxDate?: string;
|
|
9213
|
-
minDate?: string;
|
|
9214
|
-
dateValidationResourceKey?: string;
|
|
9215
|
-
timeValidationResourceKey?: string;
|
|
9216
|
-
readOnly?: boolean;
|
|
9217
|
-
onChanged: (date: string, isValid: boolean) => void;
|
|
9218
|
-
noDateResourceKey: string;
|
|
9219
|
-
selectDateResourceKey: string;
|
|
9220
|
-
dateOnly?: boolean;
|
|
9221
|
-
initialPickerDate?: string;
|
|
9222
|
-
label?: string;
|
|
9223
|
-
className?: string;
|
|
9224
|
-
}
|
|
9225
|
-
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9226
|
-
export default DateTimePicker;
|
|
9227
|
-
}
|
|
9228
9470
|
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9229
9471
|
import { FC } from 'react';
|
|
9230
9472
|
interface Props {
|
|
9231
9473
|
onInsert: (files: File[]) => void;
|
|
9232
9474
|
accept?: string;
|
|
9233
9475
|
captionKey?: string;
|
|
9476
|
+
captionIconName?: string;
|
|
9234
9477
|
descriptionKey?: string;
|
|
9478
|
+
descriptionIconName?: string;
|
|
9235
9479
|
singleMode?: boolean;
|
|
9236
9480
|
}
|
|
9237
9481
|
export const InsertFilesButton: FC<Props>;
|
|
@@ -9249,6 +9493,27 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
|
9249
9493
|
}
|
|
9250
9494
|
export const InsertImagesButton: FC<Props>;
|
|
9251
9495
|
}
|
|
9496
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9497
|
+
import { FC } from 'react';
|
|
9498
|
+
interface DateTimePickerProps {
|
|
9499
|
+
date: string;
|
|
9500
|
+
maxDate?: string;
|
|
9501
|
+
minDate?: string;
|
|
9502
|
+
dateValidationResourceKey?: string;
|
|
9503
|
+
timeValidationResourceKey?: string;
|
|
9504
|
+
readOnly?: boolean;
|
|
9505
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
9506
|
+
noDateResourceKey: string;
|
|
9507
|
+
selectDateResourceKey: string;
|
|
9508
|
+
dateOnly?: boolean;
|
|
9509
|
+
initialPickerDate?: string;
|
|
9510
|
+
label?: string;
|
|
9511
|
+
isRequired?: boolean;
|
|
9512
|
+
className?: string;
|
|
9513
|
+
}
|
|
9514
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9515
|
+
export default DateTimePicker;
|
|
9516
|
+
}
|
|
9252
9517
|
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
9253
9518
|
import moment, { Moment } from 'moment';
|
|
9254
9519
|
export enum DateRange {
|
|
@@ -9291,37 +9556,22 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
|
9291
9556
|
allowEmptyValue: boolean;
|
|
9292
9557
|
includePendingInvitationUsers?: boolean;
|
|
9293
9558
|
placeholderStringResourceKey?: string;
|
|
9559
|
+
inputAriaLabelResourceKey: string;
|
|
9294
9560
|
}
|
|
9295
9561
|
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
9296
9562
|
}
|
|
9297
9563
|
declare module "libs/reach/feature/content/src/forms/index" {
|
|
9298
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9299
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9300
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9301
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9302
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9303
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9304
9564
|
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9305
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9306
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9307
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9308
9565
|
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9309
9566
|
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
9310
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9311
9567
|
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
9312
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9313
9568
|
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
9314
9569
|
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
9315
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9316
9570
|
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9317
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9318
9571
|
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9319
9572
|
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9320
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9321
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9322
9573
|
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
9323
9574
|
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
9324
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9325
9575
|
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9326
9576
|
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9327
9577
|
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
@@ -9401,6 +9651,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9401
9651
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9402
9652
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9403
9653
|
}
|
|
9654
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9655
|
+
import { FC } from 'react';
|
|
9656
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9657
|
+
export const SearchHighlighter: FC<{
|
|
9658
|
+
highlight: SearchHighlight;
|
|
9659
|
+
}>;
|
|
9660
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9661
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9662
|
+
}
|
|
9404
9663
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9405
9664
|
import { FC } from 'react';
|
|
9406
9665
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9429,11 +9688,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9429
9688
|
}
|
|
9430
9689
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9431
9690
|
import { FC } from 'react';
|
|
9432
|
-
import {
|
|
9691
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9433
9692
|
export const PageListItemBody: FC<{
|
|
9434
|
-
|
|
9435
|
-
[key: string]: PublishableItemContent;
|
|
9436
|
-
};
|
|
9693
|
+
page: PageItem;
|
|
9437
9694
|
search?: string;
|
|
9438
9695
|
}>;
|
|
9439
9696
|
}
|
|
@@ -9499,7 +9756,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9499
9756
|
import { FC } from 'react';
|
|
9500
9757
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9501
9758
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9502
|
-
export
|
|
9759
|
+
export interface PostCreatorProps {
|
|
9503
9760
|
groupId: string;
|
|
9504
9761
|
disabled: boolean;
|
|
9505
9762
|
disableDragAndDrop?: boolean;
|
|
@@ -9510,129 +9767,1294 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9510
9767
|
defaultKeywords?: Keyword[];
|
|
9511
9768
|
mandatoryKeywords?: Keyword[];
|
|
9512
9769
|
};
|
|
9513
|
-
|
|
9514
|
-
}
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
import {
|
|
9519
|
-
import {
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
}
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
import {
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9545
|
-
|
|
9770
|
+
disableAutoFocus?: boolean;
|
|
9771
|
+
}
|
|
9772
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9773
|
+
}
|
|
9774
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9775
|
+
import { FC } from 'react';
|
|
9776
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9777
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
9778
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9779
|
+
interface Props {
|
|
9780
|
+
className?: string;
|
|
9781
|
+
post: Post;
|
|
9782
|
+
initialPageSize?: number;
|
|
9783
|
+
comments?: PaginatedList<Comment>;
|
|
9784
|
+
autoFocusReplyField?: boolean;
|
|
9785
|
+
onReplyAdded: () => void;
|
|
9786
|
+
onReplyDeleted: () => void;
|
|
9787
|
+
onThreadReply?: (threadId: string) => void;
|
|
9788
|
+
}
|
|
9789
|
+
export const PostReplies: FC<Props>;
|
|
9790
|
+
}
|
|
9791
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
9792
|
+
import { FC } from 'react';
|
|
9793
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9794
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9795
|
+
export const PostEditor: FC<{
|
|
9796
|
+
className?: string;
|
|
9797
|
+
post: Post;
|
|
9798
|
+
onCancel: () => void;
|
|
9799
|
+
onBeforeSave: (post: Post) => void;
|
|
9800
|
+
onSaved: (post: Post) => void;
|
|
9801
|
+
keywordSettings?: {
|
|
9802
|
+
availableKeywords?: Keyword[];
|
|
9803
|
+
defaultKeywords?: Keyword[];
|
|
9804
|
+
mandatoryKeywords?: Keyword[];
|
|
9805
|
+
};
|
|
9806
|
+
}>;
|
|
9807
|
+
}
|
|
9808
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9809
|
+
import { FC } from 'react';
|
|
9810
|
+
export const PostFollowButton: FC<{
|
|
9811
|
+
itemId: string;
|
|
9812
|
+
}>;
|
|
9813
|
+
}
|
|
9814
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9815
|
+
import { FC } from 'react';
|
|
9816
|
+
import { NavLink } from 'react-router-dom';
|
|
9817
|
+
export const PostGroup: FC<{
|
|
9818
|
+
groupId: string;
|
|
9819
|
+
to: string;
|
|
9820
|
+
className?: string;
|
|
9821
|
+
}>;
|
|
9822
|
+
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9823
|
+
}
|
|
9824
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9825
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9826
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9827
|
+
interface Props {
|
|
9828
|
+
post: Post;
|
|
9829
|
+
className?: string;
|
|
9830
|
+
threadId?: string;
|
|
9831
|
+
onCustomPostDelete?: () => void;
|
|
9832
|
+
comments?: PaginatedList<Comment>;
|
|
9833
|
+
initialCommentsPageSize?: number;
|
|
9834
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9835
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9836
|
+
onThreadCommentDelete?: () => void;
|
|
9837
|
+
onThreadReply?: (threadId: string) => void;
|
|
9838
|
+
keywordSettings?: {
|
|
9839
|
+
availableKeywords?: Keyword[];
|
|
9840
|
+
defaultKeywords?: Keyword[];
|
|
9841
|
+
mandatoryKeywords?: Keyword[];
|
|
9842
|
+
};
|
|
9843
|
+
showGroup?: boolean;
|
|
9844
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9845
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9846
|
+
}
|
|
9847
|
+
export const PostDisplay: React.FC<Props>;
|
|
9848
|
+
}
|
|
9849
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
|
|
9850
|
+
import { FC } from 'react';
|
|
9851
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
9852
|
+
export const PostGroupsSelector: FC<{
|
|
9853
|
+
groups: UserGroup[];
|
|
9854
|
+
}>;
|
|
9855
|
+
}
|
|
9856
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
9857
|
+
import { FC } from 'react';
|
|
9858
|
+
export const PostGroupSelector: FC;
|
|
9859
|
+
}
|
|
9860
|
+
declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
9861
|
+
import { FC } from 'react';
|
|
9862
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9863
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9864
|
+
interface Props {
|
|
9865
|
+
post: Post;
|
|
9866
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9867
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9868
|
+
keywordSettings?: {
|
|
9869
|
+
availableKeywords?: Keyword[];
|
|
9870
|
+
defaultKeywords?: Keyword[];
|
|
9871
|
+
mandatoryKeywords?: Keyword[];
|
|
9872
|
+
};
|
|
9873
|
+
showGroup: boolean;
|
|
9874
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9875
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9876
|
+
}
|
|
9877
|
+
export const PostListItem: FC<Props>;
|
|
9878
|
+
}
|
|
9879
|
+
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9880
|
+
import { FC } from 'react';
|
|
9881
|
+
import { Post } from "libs/reach/feature/content/src/index";
|
|
9882
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9883
|
+
export const PostWithSelfThreadHandling: FC<{
|
|
9884
|
+
post: Post;
|
|
9885
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9886
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9887
|
+
keywordSettings?: {
|
|
9888
|
+
availableKeywords?: Keyword[];
|
|
9889
|
+
defaultKeywords?: Keyword[];
|
|
9890
|
+
mandatoryKeywords?: Keyword[];
|
|
9891
|
+
};
|
|
9892
|
+
showGroup: boolean;
|
|
9893
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9894
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9895
|
+
}>;
|
|
9896
|
+
}
|
|
9897
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
9898
|
+
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";
|
|
9899
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9900
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9901
|
+
enum StreamItemTypes {
|
|
9902
|
+
Post = "POST",
|
|
9903
|
+
News = "NEWS",
|
|
9904
|
+
Event = "EVENT",
|
|
9905
|
+
Page = "PAGE"
|
|
9906
|
+
}
|
|
9907
|
+
export enum StreamConversationScope {
|
|
9908
|
+
Public = "PUBLIC",
|
|
9909
|
+
Editor = "EDITOR",
|
|
9910
|
+
Posts = "POSTS"
|
|
9911
|
+
}
|
|
9912
|
+
export interface PostStreamItem extends Post {
|
|
9913
|
+
type: StreamItemTypes.Post;
|
|
9914
|
+
isUnread: boolean;
|
|
9915
|
+
keywordsList?: Keyword[];
|
|
9916
|
+
groupIds?: string[];
|
|
9917
|
+
postAttachments?: StreamAttachment[];
|
|
9918
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9919
|
+
hasMoreUnreadComments: boolean;
|
|
9920
|
+
}
|
|
9921
|
+
export interface StreamPostComment extends Comment {
|
|
9922
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9923
|
+
streamConversationScope?: StreamConversationScope;
|
|
9924
|
+
}
|
|
9925
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
9926
|
+
type: GraphQLAttachmentType;
|
|
9927
|
+
}
|
|
9928
|
+
export interface NewsStreamItem extends NewsItem {
|
|
9929
|
+
type: StreamItemTypes.News;
|
|
9930
|
+
contentsList: StreamPublishableItemContents[];
|
|
9931
|
+
channelsList: string[];
|
|
9932
|
+
isUnread: boolean;
|
|
9933
|
+
keywordsList?: Keyword[];
|
|
9934
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9935
|
+
}
|
|
9936
|
+
export enum StreamKnownNewsState {
|
|
9937
|
+
Unconfirmed = "UNCONFIRMED",
|
|
9938
|
+
Alert = "ALERT"
|
|
9939
|
+
}
|
|
9940
|
+
export interface EventStreamItem extends EventItem {
|
|
9941
|
+
type: StreamItemTypes.Event;
|
|
9942
|
+
contentsList: StreamPublishableItemContents[];
|
|
9943
|
+
channelsList: string[];
|
|
9944
|
+
isUnread: boolean;
|
|
9945
|
+
keywordsList?: Keyword[];
|
|
9946
|
+
userResponseType?: StreamEventResponse;
|
|
9947
|
+
}
|
|
9948
|
+
export interface PageStreamItem extends PageItem {
|
|
9949
|
+
type: StreamItemTypes.Page;
|
|
9950
|
+
contentsList: StreamPublishableItemContents[];
|
|
9951
|
+
channelsList: string[];
|
|
9952
|
+
isUnread: boolean;
|
|
9953
|
+
keywordsList?: Keyword[];
|
|
9954
|
+
streamPageType?: string;
|
|
9955
|
+
path?: (PageNavigationNode & {
|
|
9956
|
+
parentId?: string;
|
|
9957
|
+
})[];
|
|
9958
|
+
}
|
|
9959
|
+
interface StreamPublishableItemContents {
|
|
9960
|
+
language: string;
|
|
9961
|
+
title: string;
|
|
9962
|
+
intro?: string;
|
|
9963
|
+
headline?: string;
|
|
9964
|
+
}
|
|
9965
|
+
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9966
|
+
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9967
|
+
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
9968
|
+
export function isEvent(item: StreamItem): item is EventStreamItem;
|
|
9969
|
+
export function isPage(item: StreamItem): item is PageStreamItem;
|
|
9970
|
+
export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
|
|
9971
|
+
groupId: string;
|
|
9972
|
+
attachments: {
|
|
9973
|
+
type: AttachmentType;
|
|
9974
|
+
id: string;
|
|
9975
|
+
filename?: string;
|
|
9976
|
+
previewUrl?: string;
|
|
9977
|
+
url?: string;
|
|
9978
|
+
isUploadInProgress?: boolean;
|
|
9979
|
+
hasError?: boolean;
|
|
9980
|
+
width?: number;
|
|
9981
|
+
height?: number;
|
|
9982
|
+
}[];
|
|
9983
|
+
comments: {
|
|
9984
|
+
items: {
|
|
9985
|
+
conversationScope: ConversationScope;
|
|
9986
|
+
fileAccessToken: string;
|
|
9987
|
+
attachments: {
|
|
9988
|
+
type: AttachmentType;
|
|
9989
|
+
id: string;
|
|
9990
|
+
filename?: string;
|
|
9991
|
+
previewUrl?: string;
|
|
9992
|
+
url?: string;
|
|
9993
|
+
isUploadInProgress?: boolean;
|
|
9994
|
+
hasError?: boolean;
|
|
9995
|
+
width?: number;
|
|
9996
|
+
height?: number;
|
|
9997
|
+
}[];
|
|
9998
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9999
|
+
streamConversationScope?: StreamConversationScope;
|
|
10000
|
+
id: string;
|
|
10001
|
+
parentItemId: string;
|
|
10002
|
+
content: string;
|
|
10003
|
+
contentLanguageCode?: string;
|
|
10004
|
+
receivedDateTime: string;
|
|
10005
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10006
|
+
modified?: string;
|
|
10007
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10008
|
+
isLiked?: boolean;
|
|
10009
|
+
threadId?: string;
|
|
10010
|
+
isUnread?: boolean;
|
|
10011
|
+
hasUnreadReplies?: boolean;
|
|
10012
|
+
isDemoContent?: boolean;
|
|
10013
|
+
attachmentContainerId?: string;
|
|
10014
|
+
}[];
|
|
10015
|
+
paginationToken?: any;
|
|
10016
|
+
nextItem?: StreamPostComment;
|
|
10017
|
+
hasMoreUnreadComments?: boolean;
|
|
10018
|
+
hasNextPage?: boolean;
|
|
10019
|
+
};
|
|
10020
|
+
keywords: {
|
|
10021
|
+
[key: string]: Keyword[];
|
|
10022
|
+
};
|
|
10023
|
+
type: StreamItemTypes.Post;
|
|
10024
|
+
isUnread: boolean;
|
|
10025
|
+
keywordsList?: Keyword[];
|
|
10026
|
+
groupIds?: string[];
|
|
10027
|
+
postAttachments?: StreamAttachment[];
|
|
10028
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10029
|
+
hasMoreUnreadComments: boolean;
|
|
10030
|
+
id: string;
|
|
10031
|
+
content: string;
|
|
10032
|
+
permalink?: string;
|
|
10033
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10034
|
+
publishingDate: string;
|
|
10035
|
+
modified?: string;
|
|
10036
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10037
|
+
contentLanguageCode?: string;
|
|
10038
|
+
isLiked?: boolean;
|
|
10039
|
+
isDemoContent?: boolean;
|
|
10040
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10041
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10042
|
+
fileAccessToken?: string;
|
|
10043
|
+
attachmentContainerId?: string;
|
|
10044
|
+
} | {
|
|
10045
|
+
groupId: string;
|
|
10046
|
+
attachments: {
|
|
10047
|
+
type: AttachmentType;
|
|
10048
|
+
id: string;
|
|
10049
|
+
filename?: string;
|
|
10050
|
+
previewUrl?: string;
|
|
10051
|
+
url?: string;
|
|
10052
|
+
isUploadInProgress?: boolean;
|
|
10053
|
+
hasError?: boolean;
|
|
10054
|
+
width?: number;
|
|
10055
|
+
height?: number;
|
|
10056
|
+
}[];
|
|
10057
|
+
comments: {
|
|
10058
|
+
items: {
|
|
10059
|
+
conversationScope: ConversationScope;
|
|
10060
|
+
fileAccessToken: string;
|
|
10061
|
+
attachments: {
|
|
10062
|
+
type: AttachmentType;
|
|
10063
|
+
id: string;
|
|
10064
|
+
filename?: string;
|
|
10065
|
+
previewUrl?: string;
|
|
10066
|
+
url?: string;
|
|
10067
|
+
isUploadInProgress?: boolean;
|
|
10068
|
+
hasError?: boolean;
|
|
10069
|
+
width?: number;
|
|
10070
|
+
height?: number;
|
|
10071
|
+
}[];
|
|
10072
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10073
|
+
streamConversationScope?: StreamConversationScope;
|
|
10074
|
+
id: string;
|
|
10075
|
+
parentItemId: string;
|
|
10076
|
+
content: string;
|
|
10077
|
+
contentLanguageCode?: string;
|
|
10078
|
+
receivedDateTime: string;
|
|
10079
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10080
|
+
modified?: string;
|
|
10081
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10082
|
+
isLiked?: boolean;
|
|
10083
|
+
threadId?: string;
|
|
10084
|
+
isUnread?: boolean;
|
|
10085
|
+
hasUnreadReplies?: boolean;
|
|
10086
|
+
isDemoContent?: boolean;
|
|
10087
|
+
attachmentContainerId?: string;
|
|
10088
|
+
}[];
|
|
10089
|
+
paginationToken?: any;
|
|
10090
|
+
nextItem?: StreamPostComment;
|
|
10091
|
+
hasMoreUnreadComments?: boolean;
|
|
10092
|
+
hasNextPage?: boolean;
|
|
10093
|
+
};
|
|
10094
|
+
keywords: {
|
|
10095
|
+
[key: string]: Keyword[];
|
|
10096
|
+
};
|
|
10097
|
+
type: StreamItemTypes.News;
|
|
10098
|
+
contentsList: StreamPublishableItemContents[];
|
|
10099
|
+
channelsList: string[];
|
|
10100
|
+
isUnread: boolean;
|
|
10101
|
+
keywordsList?: Keyword[];
|
|
10102
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10103
|
+
source?: string;
|
|
10104
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10105
|
+
expiryDate?: string;
|
|
10106
|
+
knownState: KnownNewsState;
|
|
10107
|
+
hasNewComments?: boolean;
|
|
10108
|
+
isLiked?: boolean;
|
|
10109
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10110
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10111
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10112
|
+
id?: string;
|
|
10113
|
+
versionId?: string;
|
|
10114
|
+
publishingDate?: string;
|
|
10115
|
+
deleted?: string;
|
|
10116
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10117
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10118
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10119
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10120
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10121
|
+
fileAccessToken?: string;
|
|
10122
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10123
|
+
customProperties?: {
|
|
10124
|
+
[key: string]: any;
|
|
10125
|
+
};
|
|
10126
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10127
|
+
modified: string;
|
|
10128
|
+
created: string;
|
|
10129
|
+
publishedVersionId?: string;
|
|
10130
|
+
isCurrentPublishedVersion?: boolean;
|
|
10131
|
+
isLatestVersion?: boolean;
|
|
10132
|
+
permalink?: string;
|
|
10133
|
+
groupIds: string[];
|
|
10134
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10135
|
+
useExternalContent?: boolean;
|
|
10136
|
+
isDemoContent?: boolean;
|
|
10137
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10138
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10139
|
+
} | {
|
|
10140
|
+
groupId: string;
|
|
10141
|
+
attachments: {
|
|
10142
|
+
type: AttachmentType;
|
|
10143
|
+
id: string;
|
|
10144
|
+
filename?: string;
|
|
10145
|
+
previewUrl?: string;
|
|
10146
|
+
url?: string;
|
|
10147
|
+
isUploadInProgress?: boolean;
|
|
10148
|
+
hasError?: boolean;
|
|
10149
|
+
width?: number;
|
|
10150
|
+
height?: number;
|
|
10151
|
+
}[];
|
|
10152
|
+
comments: {
|
|
10153
|
+
items: {
|
|
10154
|
+
conversationScope: ConversationScope;
|
|
10155
|
+
fileAccessToken: string;
|
|
10156
|
+
attachments: {
|
|
10157
|
+
type: AttachmentType;
|
|
10158
|
+
id: string;
|
|
10159
|
+
filename?: string;
|
|
10160
|
+
previewUrl?: string;
|
|
10161
|
+
url?: string;
|
|
10162
|
+
isUploadInProgress?: boolean;
|
|
10163
|
+
hasError?: boolean;
|
|
10164
|
+
width?: number;
|
|
10165
|
+
height?: number;
|
|
10166
|
+
}[];
|
|
10167
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10168
|
+
streamConversationScope?: StreamConversationScope;
|
|
10169
|
+
id: string;
|
|
10170
|
+
parentItemId: string;
|
|
10171
|
+
content: string;
|
|
10172
|
+
contentLanguageCode?: string;
|
|
10173
|
+
receivedDateTime: string;
|
|
10174
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10175
|
+
modified?: string;
|
|
10176
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10177
|
+
isLiked?: boolean;
|
|
10178
|
+
threadId?: string;
|
|
10179
|
+
isUnread?: boolean;
|
|
10180
|
+
hasUnreadReplies?: boolean;
|
|
10181
|
+
isDemoContent?: boolean;
|
|
10182
|
+
attachmentContainerId?: string;
|
|
10183
|
+
}[];
|
|
10184
|
+
paginationToken?: any;
|
|
10185
|
+
nextItem?: StreamPostComment;
|
|
10186
|
+
hasMoreUnreadComments?: boolean;
|
|
10187
|
+
hasNextPage?: boolean;
|
|
10188
|
+
};
|
|
10189
|
+
keywords: {
|
|
10190
|
+
[key: string]: Keyword[];
|
|
10191
|
+
};
|
|
10192
|
+
type: StreamItemTypes.Event;
|
|
10193
|
+
contentsList: StreamPublishableItemContents[];
|
|
10194
|
+
channelsList: string[];
|
|
10195
|
+
isUnread: boolean;
|
|
10196
|
+
keywordsList?: Keyword[];
|
|
10197
|
+
userResponseType?: StreamEventResponse;
|
|
10198
|
+
startDate?: string;
|
|
10199
|
+
endDate?: string;
|
|
10200
|
+
timeZone?: string;
|
|
10201
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10202
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10203
|
+
userResponse?: EventResponse;
|
|
10204
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10205
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10206
|
+
hasNewComments?: boolean;
|
|
10207
|
+
isLiked?: boolean;
|
|
10208
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10209
|
+
recurrenceSeriesId?: string;
|
|
10210
|
+
isSeriesMaster?: string;
|
|
10211
|
+
isVirtual?: boolean;
|
|
10212
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10213
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10214
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10215
|
+
id?: string;
|
|
10216
|
+
versionId?: string;
|
|
10217
|
+
publishingDate?: string;
|
|
10218
|
+
deleted?: string;
|
|
10219
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10220
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10221
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10222
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10223
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10224
|
+
fileAccessToken?: string;
|
|
10225
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10226
|
+
customProperties?: {
|
|
10227
|
+
[key: string]: any;
|
|
10228
|
+
};
|
|
10229
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10230
|
+
modified: string;
|
|
10231
|
+
created: string;
|
|
10232
|
+
publishedVersionId?: string;
|
|
10233
|
+
isCurrentPublishedVersion?: boolean;
|
|
10234
|
+
isLatestVersion?: boolean;
|
|
10235
|
+
permalink?: string;
|
|
10236
|
+
groupIds: string[];
|
|
10237
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10238
|
+
useExternalContent?: boolean;
|
|
10239
|
+
isDemoContent?: boolean;
|
|
10240
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10241
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10242
|
+
} | {
|
|
10243
|
+
groupId: string;
|
|
10244
|
+
attachments: {
|
|
10245
|
+
type: AttachmentType;
|
|
10246
|
+
id: string;
|
|
10247
|
+
filename?: string;
|
|
10248
|
+
previewUrl?: string;
|
|
10249
|
+
url?: string;
|
|
10250
|
+
isUploadInProgress?: boolean;
|
|
10251
|
+
hasError?: boolean;
|
|
10252
|
+
width?: number;
|
|
10253
|
+
height?: number;
|
|
10254
|
+
}[];
|
|
10255
|
+
comments: {
|
|
10256
|
+
items: {
|
|
10257
|
+
conversationScope: ConversationScope;
|
|
10258
|
+
fileAccessToken: string;
|
|
10259
|
+
attachments: {
|
|
10260
|
+
type: AttachmentType;
|
|
10261
|
+
id: string;
|
|
10262
|
+
filename?: string;
|
|
10263
|
+
previewUrl?: string;
|
|
10264
|
+
url?: string;
|
|
10265
|
+
isUploadInProgress?: boolean;
|
|
10266
|
+
hasError?: boolean;
|
|
10267
|
+
width?: number;
|
|
10268
|
+
height?: number;
|
|
10269
|
+
}[];
|
|
10270
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10271
|
+
streamConversationScope?: StreamConversationScope;
|
|
10272
|
+
id: string;
|
|
10273
|
+
parentItemId: string;
|
|
10274
|
+
content: string;
|
|
10275
|
+
contentLanguageCode?: string;
|
|
10276
|
+
receivedDateTime: string;
|
|
10277
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10278
|
+
modified?: string;
|
|
10279
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10280
|
+
isLiked?: boolean;
|
|
10281
|
+
threadId?: string;
|
|
10282
|
+
isUnread?: boolean;
|
|
10283
|
+
hasUnreadReplies?: boolean;
|
|
10284
|
+
isDemoContent?: boolean;
|
|
10285
|
+
attachmentContainerId?: string;
|
|
10286
|
+
}[];
|
|
10287
|
+
paginationToken?: any;
|
|
10288
|
+
nextItem?: StreamPostComment;
|
|
10289
|
+
hasMoreUnreadComments?: boolean;
|
|
10290
|
+
hasNextPage?: boolean;
|
|
10291
|
+
};
|
|
10292
|
+
keywords: {
|
|
10293
|
+
[key: string]: Keyword[];
|
|
10294
|
+
};
|
|
10295
|
+
type: StreamItemTypes.Page;
|
|
10296
|
+
contentsList: StreamPublishableItemContents[];
|
|
10297
|
+
channelsList: string[];
|
|
10298
|
+
isUnread: boolean;
|
|
10299
|
+
keywordsList?: Keyword[];
|
|
10300
|
+
streamPageType?: string;
|
|
10301
|
+
path?: (PageNavigationNode & {
|
|
10302
|
+
parentId?: string;
|
|
10303
|
+
})[];
|
|
10304
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10305
|
+
parentId?: string;
|
|
10306
|
+
pathIds?: string[];
|
|
10307
|
+
position?: number;
|
|
10308
|
+
navigationContext?: PageNavigationContext;
|
|
10309
|
+
hasHiddenAncestor?: boolean;
|
|
10310
|
+
isUnlinked?: boolean;
|
|
10311
|
+
pageType?: PageType;
|
|
10312
|
+
firstChildId?: string;
|
|
10313
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10314
|
+
id?: string;
|
|
10315
|
+
versionId?: string;
|
|
10316
|
+
publishingDate?: string;
|
|
10317
|
+
deleted?: string;
|
|
10318
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10319
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10320
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10321
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10322
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10323
|
+
fileAccessToken?: string;
|
|
10324
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10325
|
+
customProperties?: {
|
|
10326
|
+
[key: string]: any;
|
|
10327
|
+
};
|
|
10328
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10329
|
+
modified: string;
|
|
10330
|
+
created: string;
|
|
10331
|
+
publishedVersionId?: string;
|
|
10332
|
+
isCurrentPublishedVersion?: boolean;
|
|
10333
|
+
isLatestVersion?: boolean;
|
|
10334
|
+
permalink?: string;
|
|
10335
|
+
groupIds: string[];
|
|
10336
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10337
|
+
useExternalContent?: boolean;
|
|
10338
|
+
isDemoContent?: boolean;
|
|
10339
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10340
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10341
|
+
} | {
|
|
10342
|
+
knownState?: undefined;
|
|
10343
|
+
pageType?: undefined;
|
|
10344
|
+
navigationContext?: undefined;
|
|
10345
|
+
userResponse: EventResponse;
|
|
10346
|
+
channels: {
|
|
10347
|
+
name: string;
|
|
10348
|
+
}[];
|
|
10349
|
+
contents: {};
|
|
10350
|
+
bannerInfo: {
|
|
10351
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10352
|
+
type: "video" | "image";
|
|
10353
|
+
videoId?: string;
|
|
10354
|
+
videoUrl?: string;
|
|
10355
|
+
isDirectVideoUrl?: boolean;
|
|
10356
|
+
imageId?: string;
|
|
10357
|
+
};
|
|
10358
|
+
keywords: {
|
|
10359
|
+
[key: string]: Keyword[];
|
|
10360
|
+
};
|
|
10361
|
+
type: StreamItemTypes.Post;
|
|
10362
|
+
isUnread: boolean;
|
|
10363
|
+
keywordsList?: Keyword[];
|
|
10364
|
+
groupIds?: string[];
|
|
10365
|
+
postAttachments?: StreamAttachment[];
|
|
10366
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10367
|
+
hasMoreUnreadComments: boolean;
|
|
10368
|
+
id: string;
|
|
10369
|
+
comments?: PaginatedList<Comment>;
|
|
10370
|
+
groupId: string;
|
|
10371
|
+
content: string;
|
|
10372
|
+
permalink?: string;
|
|
10373
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10374
|
+
publishingDate: string;
|
|
10375
|
+
modified?: string;
|
|
10376
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10377
|
+
contentLanguageCode?: string;
|
|
10378
|
+
isLiked?: boolean;
|
|
10379
|
+
isDemoContent?: boolean;
|
|
10380
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10381
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10382
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10383
|
+
fileAccessToken?: string;
|
|
10384
|
+
attachmentContainerId?: string;
|
|
10385
|
+
} | {
|
|
10386
|
+
knownState: KnownNewsState;
|
|
10387
|
+
pageType?: undefined;
|
|
10388
|
+
navigationContext?: undefined;
|
|
10389
|
+
userResponse: EventResponse;
|
|
10390
|
+
channels: {
|
|
10391
|
+
name: string;
|
|
10392
|
+
}[];
|
|
10393
|
+
contents: {};
|
|
10394
|
+
bannerInfo: {
|
|
10395
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10396
|
+
type: "video" | "image";
|
|
10397
|
+
videoId?: string;
|
|
10398
|
+
videoUrl?: string;
|
|
10399
|
+
isDirectVideoUrl?: boolean;
|
|
10400
|
+
imageId?: string;
|
|
10401
|
+
};
|
|
10402
|
+
keywords: {
|
|
10403
|
+
[key: string]: Keyword[];
|
|
10404
|
+
};
|
|
10405
|
+
type: StreamItemTypes.Post;
|
|
10406
|
+
isUnread: boolean;
|
|
10407
|
+
keywordsList?: Keyword[];
|
|
10408
|
+
groupIds?: string[];
|
|
10409
|
+
postAttachments?: StreamAttachment[];
|
|
10410
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10411
|
+
hasMoreUnreadComments: boolean;
|
|
10412
|
+
id: string;
|
|
10413
|
+
comments?: PaginatedList<Comment>;
|
|
10414
|
+
groupId: string;
|
|
10415
|
+
content: string;
|
|
10416
|
+
permalink?: string;
|
|
10417
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10418
|
+
publishingDate: string;
|
|
10419
|
+
modified?: string;
|
|
10420
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10421
|
+
contentLanguageCode?: string;
|
|
10422
|
+
isLiked?: boolean;
|
|
10423
|
+
isDemoContent?: boolean;
|
|
10424
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10425
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10426
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10427
|
+
fileAccessToken?: string;
|
|
10428
|
+
attachmentContainerId?: string;
|
|
10429
|
+
} | {
|
|
10430
|
+
knownState?: undefined;
|
|
10431
|
+
pageType: PageType;
|
|
10432
|
+
navigationContext: PageNavigationContext;
|
|
10433
|
+
userResponse: EventResponse;
|
|
10434
|
+
channels: {
|
|
10435
|
+
name: string;
|
|
10436
|
+
}[];
|
|
10437
|
+
contents: {};
|
|
10438
|
+
bannerInfo: {
|
|
10439
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10440
|
+
type: "video" | "image";
|
|
10441
|
+
videoId?: string;
|
|
10442
|
+
videoUrl?: string;
|
|
10443
|
+
isDirectVideoUrl?: boolean;
|
|
10444
|
+
imageId?: string;
|
|
10445
|
+
};
|
|
10446
|
+
keywords: {
|
|
10447
|
+
[key: string]: Keyword[];
|
|
10448
|
+
};
|
|
10449
|
+
type: StreamItemTypes.Post;
|
|
10450
|
+
isUnread: boolean;
|
|
10451
|
+
keywordsList?: Keyword[];
|
|
10452
|
+
groupIds?: string[];
|
|
10453
|
+
postAttachments?: StreamAttachment[];
|
|
10454
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10455
|
+
hasMoreUnreadComments: boolean;
|
|
10456
|
+
id: string;
|
|
10457
|
+
comments?: PaginatedList<Comment>;
|
|
10458
|
+
groupId: string;
|
|
10459
|
+
content: string;
|
|
10460
|
+
permalink?: string;
|
|
10461
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10462
|
+
publishingDate: string;
|
|
10463
|
+
modified?: string;
|
|
10464
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10465
|
+
contentLanguageCode?: string;
|
|
10466
|
+
isLiked?: boolean;
|
|
10467
|
+
isDemoContent?: boolean;
|
|
10468
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10469
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10470
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10471
|
+
fileAccessToken?: string;
|
|
10472
|
+
attachmentContainerId?: string;
|
|
10473
|
+
} | {
|
|
10474
|
+
knownState: KnownNewsState;
|
|
10475
|
+
pageType: PageType;
|
|
10476
|
+
navigationContext: PageNavigationContext;
|
|
10477
|
+
userResponse: EventResponse;
|
|
10478
|
+
channels: {
|
|
10479
|
+
name: string;
|
|
10480
|
+
}[];
|
|
10481
|
+
contents: {};
|
|
10482
|
+
bannerInfo: {
|
|
10483
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10484
|
+
type: "video" | "image";
|
|
10485
|
+
videoId?: string;
|
|
10486
|
+
videoUrl?: string;
|
|
10487
|
+
isDirectVideoUrl?: boolean;
|
|
10488
|
+
imageId?: string;
|
|
10489
|
+
};
|
|
10490
|
+
keywords: {
|
|
10491
|
+
[key: string]: Keyword[];
|
|
10492
|
+
};
|
|
10493
|
+
type: StreamItemTypes.Post;
|
|
10494
|
+
isUnread: boolean;
|
|
10495
|
+
keywordsList?: Keyword[];
|
|
10496
|
+
groupIds?: string[];
|
|
10497
|
+
postAttachments?: StreamAttachment[];
|
|
10498
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10499
|
+
hasMoreUnreadComments: boolean;
|
|
10500
|
+
id: string;
|
|
10501
|
+
comments?: PaginatedList<Comment>;
|
|
10502
|
+
groupId: string;
|
|
10503
|
+
content: string;
|
|
10504
|
+
permalink?: string;
|
|
10505
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10506
|
+
publishingDate: string;
|
|
10507
|
+
modified?: string;
|
|
10508
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10509
|
+
contentLanguageCode?: string;
|
|
10510
|
+
isLiked?: boolean;
|
|
10511
|
+
isDemoContent?: boolean;
|
|
10512
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10513
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10514
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10515
|
+
fileAccessToken?: string;
|
|
10516
|
+
attachmentContainerId?: string;
|
|
10517
|
+
} | {
|
|
10518
|
+
knownState: KnownNewsState;
|
|
10519
|
+
pageType?: undefined;
|
|
10520
|
+
navigationContext?: undefined;
|
|
10521
|
+
userResponse: EventResponse;
|
|
10522
|
+
channels: {
|
|
10523
|
+
name: string;
|
|
10524
|
+
}[];
|
|
10525
|
+
contents: {};
|
|
10526
|
+
bannerInfo: {
|
|
10527
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10528
|
+
type: "video" | "image";
|
|
10529
|
+
videoId?: string;
|
|
10530
|
+
videoUrl?: string;
|
|
10531
|
+
isDirectVideoUrl?: boolean;
|
|
10532
|
+
imageId?: string;
|
|
10533
|
+
};
|
|
10534
|
+
keywords: {
|
|
10535
|
+
[key: string]: Keyword[];
|
|
10536
|
+
};
|
|
10537
|
+
type: StreamItemTypes.News;
|
|
10538
|
+
contentsList: StreamPublishableItemContents[];
|
|
10539
|
+
channelsList: string[];
|
|
10540
|
+
isUnread: boolean;
|
|
10541
|
+
keywordsList?: Keyword[];
|
|
10542
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10543
|
+
source?: string;
|
|
10544
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10545
|
+
expiryDate?: string;
|
|
10546
|
+
hasNewComments?: boolean;
|
|
10547
|
+
isLiked?: 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: PageType;
|
|
10578
|
+
navigationContext: PageNavigationContext;
|
|
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.News;
|
|
10596
|
+
contentsList: StreamPublishableItemContents[];
|
|
10597
|
+
channelsList: string[];
|
|
10598
|
+
isUnread: boolean;
|
|
10599
|
+
keywordsList?: Keyword[];
|
|
10600
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10601
|
+
source?: string;
|
|
10602
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10603
|
+
expiryDate?: string;
|
|
10604
|
+
hasNewComments?: boolean;
|
|
10605
|
+
isLiked?: boolean;
|
|
10606
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10607
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10608
|
+
id?: string;
|
|
10609
|
+
versionId?: string;
|
|
10610
|
+
publishingDate?: string;
|
|
10611
|
+
deleted?: string;
|
|
10612
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10613
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10614
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10615
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10616
|
+
fileAccessToken?: string;
|
|
10617
|
+
customProperties?: {
|
|
10618
|
+
[key: string]: any;
|
|
10619
|
+
};
|
|
10620
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10621
|
+
modified: string;
|
|
10622
|
+
created: string;
|
|
10623
|
+
publishedVersionId?: string;
|
|
10624
|
+
isCurrentPublishedVersion?: boolean;
|
|
10625
|
+
isLatestVersion?: boolean;
|
|
10626
|
+
permalink?: string;
|
|
10627
|
+
groupIds: string[];
|
|
10628
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10629
|
+
useExternalContent?: boolean;
|
|
10630
|
+
isDemoContent?: boolean;
|
|
10631
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10632
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10633
|
+
} | {
|
|
10634
|
+
knownState?: undefined;
|
|
10635
|
+
pageType?: undefined;
|
|
10636
|
+
navigationContext?: undefined;
|
|
10637
|
+
userResponse: EventResponse;
|
|
10638
|
+
channels: {
|
|
10639
|
+
name: string;
|
|
10640
|
+
}[];
|
|
10641
|
+
contents: {};
|
|
10642
|
+
bannerInfo: {
|
|
10643
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10644
|
+
type: "video" | "image";
|
|
10645
|
+
videoId?: string;
|
|
10646
|
+
videoUrl?: string;
|
|
10647
|
+
isDirectVideoUrl?: boolean;
|
|
10648
|
+
imageId?: string;
|
|
10649
|
+
};
|
|
10650
|
+
keywords: {
|
|
10651
|
+
[key: string]: Keyword[];
|
|
10652
|
+
};
|
|
10653
|
+
type: StreamItemTypes.Event;
|
|
10654
|
+
contentsList: StreamPublishableItemContents[];
|
|
10655
|
+
channelsList: string[];
|
|
10656
|
+
isUnread: boolean;
|
|
10657
|
+
keywordsList?: Keyword[];
|
|
10658
|
+
userResponseType?: StreamEventResponse;
|
|
10659
|
+
startDate?: string;
|
|
10660
|
+
endDate?: string;
|
|
10661
|
+
timeZone?: string;
|
|
10662
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10663
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10664
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10665
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10666
|
+
hasNewComments?: boolean;
|
|
10667
|
+
isLiked?: boolean;
|
|
10668
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10669
|
+
recurrenceSeriesId?: string;
|
|
10670
|
+
isSeriesMaster?: string;
|
|
10671
|
+
isVirtual?: boolean;
|
|
10672
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10673
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10674
|
+
id?: string;
|
|
10675
|
+
versionId?: string;
|
|
10676
|
+
publishingDate?: string;
|
|
10677
|
+
deleted?: string;
|
|
10678
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10679
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10680
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10681
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10682
|
+
fileAccessToken?: string;
|
|
10683
|
+
customProperties?: {
|
|
10684
|
+
[key: string]: any;
|
|
10685
|
+
};
|
|
10686
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10687
|
+
modified: string;
|
|
10688
|
+
created: string;
|
|
10689
|
+
publishedVersionId?: string;
|
|
10690
|
+
isCurrentPublishedVersion?: boolean;
|
|
10691
|
+
isLatestVersion?: boolean;
|
|
10692
|
+
permalink?: string;
|
|
10693
|
+
groupIds: string[];
|
|
10694
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10695
|
+
useExternalContent?: boolean;
|
|
10696
|
+
isDemoContent?: boolean;
|
|
10697
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10698
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10699
|
+
} | {
|
|
10700
|
+
knownState: KnownNewsState;
|
|
10701
|
+
pageType?: undefined;
|
|
10702
|
+
navigationContext?: undefined;
|
|
10703
|
+
userResponse: EventResponse;
|
|
10704
|
+
channels: {
|
|
10705
|
+
name: string;
|
|
10706
|
+
}[];
|
|
10707
|
+
contents: {};
|
|
10708
|
+
bannerInfo: {
|
|
10709
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10710
|
+
type: "video" | "image";
|
|
10711
|
+
videoId?: string;
|
|
10712
|
+
videoUrl?: string;
|
|
10713
|
+
isDirectVideoUrl?: boolean;
|
|
10714
|
+
imageId?: string;
|
|
10715
|
+
};
|
|
10716
|
+
keywords: {
|
|
10717
|
+
[key: string]: Keyword[];
|
|
10718
|
+
};
|
|
10719
|
+
type: StreamItemTypes.Event;
|
|
10720
|
+
contentsList: StreamPublishableItemContents[];
|
|
10721
|
+
channelsList: string[];
|
|
10722
|
+
isUnread: boolean;
|
|
10723
|
+
keywordsList?: Keyword[];
|
|
10724
|
+
userResponseType?: StreamEventResponse;
|
|
10725
|
+
startDate?: string;
|
|
10726
|
+
endDate?: string;
|
|
10727
|
+
timeZone?: string;
|
|
10728
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10729
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10730
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10731
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10732
|
+
hasNewComments?: boolean;
|
|
10733
|
+
isLiked?: boolean;
|
|
10734
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10735
|
+
recurrenceSeriesId?: string;
|
|
10736
|
+
isSeriesMaster?: string;
|
|
10737
|
+
isVirtual?: boolean;
|
|
10738
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10739
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10740
|
+
id?: string;
|
|
10741
|
+
versionId?: string;
|
|
10742
|
+
publishingDate?: string;
|
|
10743
|
+
deleted?: string;
|
|
10744
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10745
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10746
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10747
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10748
|
+
fileAccessToken?: string;
|
|
10749
|
+
customProperties?: {
|
|
10750
|
+
[key: string]: any;
|
|
10751
|
+
};
|
|
10752
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10753
|
+
modified: string;
|
|
10754
|
+
created: string;
|
|
10755
|
+
publishedVersionId?: string;
|
|
10756
|
+
isCurrentPublishedVersion?: boolean;
|
|
10757
|
+
isLatestVersion?: boolean;
|
|
10758
|
+
permalink?: string;
|
|
10759
|
+
groupIds: string[];
|
|
10760
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10761
|
+
useExternalContent?: boolean;
|
|
10762
|
+
isDemoContent?: boolean;
|
|
10763
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10764
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10765
|
+
} | {
|
|
10766
|
+
knownState?: undefined;
|
|
10767
|
+
pageType: PageType;
|
|
10768
|
+
navigationContext: PageNavigationContext;
|
|
10769
|
+
userResponse: EventResponse;
|
|
10770
|
+
channels: {
|
|
10771
|
+
name: string;
|
|
10772
|
+
}[];
|
|
10773
|
+
contents: {};
|
|
10774
|
+
bannerInfo: {
|
|
10775
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10776
|
+
type: "video" | "image";
|
|
10777
|
+
videoId?: string;
|
|
10778
|
+
videoUrl?: string;
|
|
10779
|
+
isDirectVideoUrl?: boolean;
|
|
10780
|
+
imageId?: string;
|
|
10781
|
+
};
|
|
10782
|
+
keywords: {
|
|
10783
|
+
[key: string]: Keyword[];
|
|
10784
|
+
};
|
|
10785
|
+
type: StreamItemTypes.Event;
|
|
10786
|
+
contentsList: StreamPublishableItemContents[];
|
|
10787
|
+
channelsList: string[];
|
|
10788
|
+
isUnread: boolean;
|
|
10789
|
+
keywordsList?: Keyword[];
|
|
10790
|
+
userResponseType?: StreamEventResponse;
|
|
10791
|
+
startDate?: string;
|
|
10792
|
+
endDate?: string;
|
|
10793
|
+
timeZone?: string;
|
|
10794
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10795
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10796
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10797
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10798
|
+
hasNewComments?: boolean;
|
|
10799
|
+
isLiked?: boolean;
|
|
10800
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10801
|
+
recurrenceSeriesId?: string;
|
|
10802
|
+
isSeriesMaster?: string;
|
|
10803
|
+
isVirtual?: boolean;
|
|
10804
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10805
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10806
|
+
id?: string;
|
|
10807
|
+
versionId?: string;
|
|
10808
|
+
publishingDate?: string;
|
|
10809
|
+
deleted?: string;
|
|
10810
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10811
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10812
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10813
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10814
|
+
fileAccessToken?: string;
|
|
10815
|
+
customProperties?: {
|
|
10816
|
+
[key: string]: any;
|
|
10817
|
+
};
|
|
10818
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10819
|
+
modified: string;
|
|
10820
|
+
created: string;
|
|
10821
|
+
publishedVersionId?: string;
|
|
10822
|
+
isCurrentPublishedVersion?: boolean;
|
|
10823
|
+
isLatestVersion?: boolean;
|
|
10824
|
+
permalink?: string;
|
|
10825
|
+
groupIds: string[];
|
|
10826
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10827
|
+
useExternalContent?: boolean;
|
|
10828
|
+
isDemoContent?: boolean;
|
|
10829
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10830
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10831
|
+
} | {
|
|
10832
|
+
knownState: KnownNewsState;
|
|
10833
|
+
pageType: PageType;
|
|
10834
|
+
navigationContext: PageNavigationContext;
|
|
10835
|
+
userResponse: EventResponse;
|
|
10836
|
+
channels: {
|
|
10837
|
+
name: string;
|
|
10838
|
+
}[];
|
|
10839
|
+
contents: {};
|
|
10840
|
+
bannerInfo: {
|
|
10841
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10842
|
+
type: "video" | "image";
|
|
10843
|
+
videoId?: string;
|
|
10844
|
+
videoUrl?: string;
|
|
10845
|
+
isDirectVideoUrl?: boolean;
|
|
10846
|
+
imageId?: string;
|
|
10847
|
+
};
|
|
10848
|
+
keywords: {
|
|
10849
|
+
[key: string]: Keyword[];
|
|
9546
10850
|
};
|
|
9547
|
-
|
|
9548
|
-
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9568
|
-
|
|
9569
|
-
|
|
9570
|
-
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
|
|
9574
|
-
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
|
|
9578
|
-
|
|
9579
|
-
keywordSettings?: {
|
|
9580
|
-
availableKeywords?: Keyword[];
|
|
9581
|
-
defaultKeywords?: Keyword[];
|
|
9582
|
-
mandatoryKeywords?: Keyword[];
|
|
10851
|
+
type: StreamItemTypes.Event;
|
|
10852
|
+
contentsList: StreamPublishableItemContents[];
|
|
10853
|
+
channelsList: string[];
|
|
10854
|
+
isUnread: boolean;
|
|
10855
|
+
keywordsList?: Keyword[];
|
|
10856
|
+
userResponseType?: StreamEventResponse;
|
|
10857
|
+
startDate?: string;
|
|
10858
|
+
endDate?: string;
|
|
10859
|
+
timeZone?: string;
|
|
10860
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10861
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10862
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10863
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10864
|
+
hasNewComments?: boolean;
|
|
10865
|
+
isLiked?: boolean;
|
|
10866
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10867
|
+
recurrenceSeriesId?: string;
|
|
10868
|
+
isSeriesMaster?: string;
|
|
10869
|
+
isVirtual?: boolean;
|
|
10870
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
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;
|
|
9583
10883
|
};
|
|
9584
|
-
|
|
9585
|
-
|
|
9586
|
-
|
|
9587
|
-
|
|
9588
|
-
|
|
9589
|
-
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
|
|
9593
|
-
|
|
9594
|
-
|
|
9595
|
-
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
|
|
9599
|
-
|
|
9600
|
-
|
|
9601
|
-
|
|
9602
|
-
|
|
9603
|
-
|
|
9604
|
-
|
|
9605
|
-
|
|
9606
|
-
|
|
9607
|
-
|
|
9608
|
-
|
|
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
|
+
} | {
|
|
10898
|
+
knownState?: undefined;
|
|
10899
|
+
pageType?: PageType;
|
|
10900
|
+
navigationContext?: PageNavigationContext;
|
|
10901
|
+
userResponse: EventResponse;
|
|
10902
|
+
channels: {
|
|
10903
|
+
name: string;
|
|
10904
|
+
}[];
|
|
10905
|
+
contents: {};
|
|
10906
|
+
bannerInfo: {
|
|
10907
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10908
|
+
type: "video" | "image";
|
|
10909
|
+
videoId?: string;
|
|
10910
|
+
videoUrl?: string;
|
|
10911
|
+
isDirectVideoUrl?: boolean;
|
|
10912
|
+
imageId?: string;
|
|
9609
10913
|
};
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
onAfterDelete?: (id: string) => unknown;
|
|
9613
|
-
}
|
|
9614
|
-
export const PostListItem: FC<Props>;
|
|
9615
|
-
}
|
|
9616
|
-
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9617
|
-
import { FC } from 'react';
|
|
9618
|
-
import { Post } from "libs/reach/feature/content/src/index";
|
|
9619
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9620
|
-
export const PostWithSelfThreadHandling: FC<{
|
|
9621
|
-
post: Post;
|
|
9622
|
-
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9623
|
-
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9624
|
-
keywordSettings?: {
|
|
9625
|
-
availableKeywords?: Keyword[];
|
|
9626
|
-
defaultKeywords?: Keyword[];
|
|
9627
|
-
mandatoryKeywords?: Keyword[];
|
|
10914
|
+
keywords: {
|
|
10915
|
+
[key: string]: Keyword[];
|
|
9628
10916
|
};
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
10917
|
+
type: StreamItemTypes.Page;
|
|
10918
|
+
contentsList: StreamPublishableItemContents[];
|
|
10919
|
+
channelsList: string[];
|
|
10920
|
+
isUnread: boolean;
|
|
10921
|
+
keywordsList?: Keyword[];
|
|
10922
|
+
streamPageType?: string;
|
|
10923
|
+
path?: (PageNavigationNode & {
|
|
10924
|
+
parentId?: string;
|
|
10925
|
+
})[];
|
|
10926
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10927
|
+
parentId?: string;
|
|
10928
|
+
pathIds?: string[];
|
|
10929
|
+
position?: number;
|
|
10930
|
+
hasHiddenAncestor?: boolean;
|
|
10931
|
+
isUnlinked?: boolean;
|
|
10932
|
+
firstChildId?: string;
|
|
10933
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10934
|
+
id?: string;
|
|
10935
|
+
versionId?: string;
|
|
10936
|
+
publishingDate?: string;
|
|
10937
|
+
deleted?: string;
|
|
10938
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10939
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10940
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10941
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10942
|
+
fileAccessToken?: string;
|
|
10943
|
+
customProperties?: {
|
|
10944
|
+
[key: string]: any;
|
|
10945
|
+
};
|
|
10946
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10947
|
+
modified: string;
|
|
10948
|
+
created: string;
|
|
10949
|
+
publishedVersionId?: string;
|
|
10950
|
+
isCurrentPublishedVersion?: boolean;
|
|
10951
|
+
isLatestVersion?: boolean;
|
|
10952
|
+
permalink?: string;
|
|
10953
|
+
groupIds: string[];
|
|
10954
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10955
|
+
useExternalContent?: boolean;
|
|
10956
|
+
isDemoContent?: boolean;
|
|
10957
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10958
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10959
|
+
} | {
|
|
10960
|
+
knownState: KnownNewsState;
|
|
10961
|
+
pageType?: PageType;
|
|
10962
|
+
navigationContext?: PageNavigationContext;
|
|
10963
|
+
userResponse: EventResponse;
|
|
10964
|
+
channels: {
|
|
10965
|
+
name: string;
|
|
10966
|
+
}[];
|
|
10967
|
+
contents: {};
|
|
10968
|
+
bannerInfo: {
|
|
10969
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10970
|
+
type: "video" | "image";
|
|
10971
|
+
videoId?: string;
|
|
10972
|
+
videoUrl?: string;
|
|
10973
|
+
isDirectVideoUrl?: boolean;
|
|
10974
|
+
imageId?: string;
|
|
10975
|
+
};
|
|
10976
|
+
keywords: {
|
|
10977
|
+
[key: string]: Keyword[];
|
|
10978
|
+
};
|
|
10979
|
+
type: StreamItemTypes.Page;
|
|
10980
|
+
contentsList: StreamPublishableItemContents[];
|
|
10981
|
+
channelsList: string[];
|
|
10982
|
+
isUnread: boolean;
|
|
10983
|
+
keywordsList?: Keyword[];
|
|
10984
|
+
streamPageType?: string;
|
|
10985
|
+
path?: (PageNavigationNode & {
|
|
10986
|
+
parentId?: string;
|
|
10987
|
+
})[];
|
|
10988
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10989
|
+
parentId?: string;
|
|
10990
|
+
pathIds?: string[];
|
|
10991
|
+
position?: number;
|
|
10992
|
+
hasHiddenAncestor?: boolean;
|
|
10993
|
+
isUnlinked?: boolean;
|
|
10994
|
+
firstChildId?: string;
|
|
10995
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10996
|
+
id?: string;
|
|
10997
|
+
versionId?: string;
|
|
10998
|
+
publishingDate?: string;
|
|
10999
|
+
deleted?: string;
|
|
11000
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
11001
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
11002
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
11003
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
11004
|
+
fileAccessToken?: string;
|
|
11005
|
+
customProperties?: {
|
|
11006
|
+
[key: string]: any;
|
|
11007
|
+
};
|
|
11008
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
11009
|
+
modified: string;
|
|
11010
|
+
created: string;
|
|
11011
|
+
publishedVersionId?: string;
|
|
11012
|
+
isCurrentPublishedVersion?: boolean;
|
|
11013
|
+
isLatestVersion?: boolean;
|
|
11014
|
+
permalink?: string;
|
|
11015
|
+
groupIds: string[];
|
|
11016
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
11017
|
+
useExternalContent?: boolean;
|
|
11018
|
+
isDemoContent?: boolean;
|
|
11019
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11020
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11021
|
+
})[];
|
|
9633
11022
|
}
|
|
9634
|
-
declare module "libs/reach/feature/content/src/stream/
|
|
9635
|
-
|
|
11023
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
11024
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11025
|
+
import { DocumentNode } from '@apollo/client';
|
|
11026
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
11027
|
+
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition, FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
11028
|
+
export enum StreamEventResponse {
|
|
11029
|
+
NotSet = "NOTSET",
|
|
11030
|
+
Registered = "REGISTERED",
|
|
11031
|
+
Declined = "DECLINED"
|
|
11032
|
+
}
|
|
11033
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
11034
|
+
}
|
|
11035
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
11036
|
+
items: StreamItem[];
|
|
11037
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
11038
|
+
loadMore: () => Promise<void>;
|
|
11039
|
+
pageInfo: {
|
|
11040
|
+
errors?: any;
|
|
11041
|
+
hasNextPage: boolean;
|
|
11042
|
+
skip: number;
|
|
11043
|
+
};
|
|
11044
|
+
refresh: () => Promise<void>;
|
|
11045
|
+
isLoadingFirstPage: boolean;
|
|
11046
|
+
};
|
|
11047
|
+
export const getStreamQuery: () => DocumentNode;
|
|
11048
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11049
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11050
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
11051
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
11052
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
11053
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
11054
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
11055
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
11056
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
11057
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
9636
11058
|
}
|
|
9637
11059
|
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
9638
11060
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9652,6 +11074,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
9652
11074
|
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
9653
11075
|
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
9654
11076
|
export * from "libs/reach/feature/content/src/posts/PostGroupsSelector";
|
|
11077
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
9655
11078
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
9656
11079
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
9657
11080
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
@@ -9675,7 +11098,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
|
9675
11098
|
onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
|
|
9676
11099
|
onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
|
|
9677
11100
|
className?: string;
|
|
9678
|
-
useLargeAvatar?: boolean;
|
|
9679
11101
|
useExternalLink?: boolean;
|
|
9680
11102
|
}
|
|
9681
11103
|
export const EditorListItem: FC<Props>;
|
|
@@ -9720,12 +11142,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
9720
11142
|
}
|
|
9721
11143
|
}
|
|
9722
11144
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
9723
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11145
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9724
11146
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
9725
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9726
|
-
import { PublishableItem, ItemVersionSummary, PublishableItemVersion } from "libs/reach/util/common/src/index";
|
|
9727
|
-
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9728
|
-
import { ResponseItem } from "libs/reach/util/common/src/index";
|
|
9729
11147
|
import { Observable } from 'rxjs';
|
|
9730
11148
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
9731
11149
|
export function useEditorApi(): {
|
|
@@ -9745,6 +11163,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
|
9745
11163
|
keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
|
|
9746
11164
|
saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
|
|
9747
11165
|
updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
|
|
11166
|
+
translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
|
|
9748
11167
|
};
|
|
9749
11168
|
}
|
|
9750
11169
|
declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
@@ -9768,6 +11187,59 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
9768
11187
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
9769
11188
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
9770
11189
|
}
|
|
11190
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
11191
|
+
import { FC } from 'react';
|
|
11192
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11193
|
+
export const StreamPostItemCard: FC<{
|
|
11194
|
+
post: PostStreamItem;
|
|
11195
|
+
onPostDelete: (id: string) => unknown;
|
|
11196
|
+
}>;
|
|
11197
|
+
}
|
|
11198
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
11199
|
+
import { FC } from 'react';
|
|
11200
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11201
|
+
export const StreamNewsItemCard: FC<{
|
|
11202
|
+
news: NewsStreamItem;
|
|
11203
|
+
}>;
|
|
11204
|
+
}
|
|
11205
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
11206
|
+
import { FC } from 'react';
|
|
11207
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11208
|
+
export const StreamEventItemCard: FC<{
|
|
11209
|
+
event: EventStreamItem;
|
|
11210
|
+
}>;
|
|
11211
|
+
}
|
|
11212
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11213
|
+
import { FC } from 'react';
|
|
11214
|
+
export const GlobalSearchButton: FC;
|
|
11215
|
+
}
|
|
11216
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11217
|
+
import { FC } from 'react';
|
|
11218
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11219
|
+
export type StreamQueryResult = {
|
|
11220
|
+
items: StreamItem[];
|
|
11221
|
+
};
|
|
11222
|
+
export const StreamList: FC;
|
|
11223
|
+
}
|
|
11224
|
+
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
11225
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
11226
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
11227
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11228
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
|
|
11229
|
+
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11230
|
+
}
|
|
11231
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11232
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
11233
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11234
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11235
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
11236
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
11237
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
11238
|
+
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
11239
|
+
}
|
|
11240
|
+
declare module "libs/reach/feature/content/src/search/index" {
|
|
11241
|
+
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11242
|
+
}
|
|
9771
11243
|
declare module "libs/reach/feature/content/src/index" {
|
|
9772
11244
|
export * from "libs/reach/feature/content/src/comments/index";
|
|
9773
11245
|
export * from "libs/reach/feature/content/src/common/index";
|
|
@@ -9780,6 +11252,8 @@ declare module "libs/reach/feature/content/src/index" {
|
|
|
9780
11252
|
export * from "libs/reach/feature/content/src/posts/index";
|
|
9781
11253
|
export * from "libs/reach/feature/content/src/editor/index";
|
|
9782
11254
|
export * from "libs/reach/feature/content/src/public-user/index";
|
|
11255
|
+
export * from "libs/reach/feature/content/src/stream/index";
|
|
11256
|
+
export * from "libs/reach/feature/content/src/search/index";
|
|
9783
11257
|
}
|
|
9784
11258
|
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
9785
11259
|
import { FC } from 'react';
|
|
@@ -9850,20 +11324,22 @@ declare module "apps/reach-app/src/app/AppLoader" {
|
|
|
9850
11324
|
}
|
|
9851
11325
|
declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
|
|
9852
11326
|
import './ContainerWithLogo.scss';
|
|
11327
|
+
import { LogoInfo } from "libs/reach/util/common/src/index";
|
|
11328
|
+
import { FC, ReactNode } from 'react';
|
|
9853
11329
|
export enum DefaultLogoColor {
|
|
9854
11330
|
Default = 0,
|
|
9855
11331
|
White = 1
|
|
9856
11332
|
}
|
|
9857
|
-
type RenderChildren =
|
|
9858
|
-
export const ContainerWithLogo:
|
|
9859
|
-
|
|
9860
|
-
logoColor?: DefaultLogoColor;
|
|
11333
|
+
type RenderChildren = ReactNode | (() => ReactNode);
|
|
11334
|
+
export const ContainerWithLogo: FC<{
|
|
11335
|
+
logoInfo?: LogoInfo;
|
|
9861
11336
|
text?: string;
|
|
9862
11337
|
headerClassName?: string;
|
|
9863
11338
|
additionalClasses?: string;
|
|
9864
11339
|
children: RenderChildren;
|
|
9865
11340
|
className?: string;
|
|
9866
11341
|
additionalContent?: RenderChildren;
|
|
11342
|
+
isBrandedContainer?: boolean;
|
|
9867
11343
|
}>;
|
|
9868
11344
|
}
|
|
9869
11345
|
declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
|
|
@@ -9895,7 +11371,11 @@ declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
|
9895
11371
|
MobileHidden = 1
|
|
9896
11372
|
}
|
|
9897
11373
|
export function shutdownZendesk(): void;
|
|
9898
|
-
export function
|
|
11374
|
+
export function useZendeskWithSubscription(): {
|
|
11375
|
+
showZendeskChat: () => void;
|
|
11376
|
+
toggleIcon: (show: boolean) => void;
|
|
11377
|
+
};
|
|
11378
|
+
export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
|
|
9899
11379
|
showZendeskChat: () => void;
|
|
9900
11380
|
toggleIcon: (show: boolean) => void;
|
|
9901
11381
|
};
|
|
@@ -9910,27 +11390,8 @@ declare module "apps/reach-app/src/app/EnforcedSubscriptionContextProvider" {
|
|
|
9910
11390
|
}
|
|
9911
11391
|
declare module "apps/reach-app/src/app/chrome/PageMenuActionItem" {
|
|
9912
11392
|
import { FC } from 'react';
|
|
9913
|
-
import {
|
|
9914
|
-
export
|
|
9915
|
-
key?: string | number;
|
|
9916
|
-
title?: string;
|
|
9917
|
-
iconName?: string;
|
|
9918
|
-
to?: string;
|
|
9919
|
-
onClick?: () => void;
|
|
9920
|
-
isActive?: boolean;
|
|
9921
|
-
exact?: boolean;
|
|
9922
|
-
cannotBeActive?: boolean;
|
|
9923
|
-
submenuContents?: JSX.Element;
|
|
9924
|
-
submenuStyleDefinition?: StyleDefinition;
|
|
9925
|
-
badgeInfo?: number | boolean;
|
|
9926
|
-
domIdentifier?: string;
|
|
9927
|
-
secondaryIconName?: string;
|
|
9928
|
-
secondaryIconTooltipResourceKey?: string;
|
|
9929
|
-
onSecondaryIconClick?: () => void;
|
|
9930
|
-
iconColor?: string;
|
|
9931
|
-
className?: string;
|
|
9932
|
-
}
|
|
9933
|
-
export const PageMenuActionItem: FC<PageAction>;
|
|
11393
|
+
import { PageNavigationNodeProps } from "libs/reach/util/common/src/index";
|
|
11394
|
+
export const PageMenuActionItem: FC<PageNavigationNodeProps>;
|
|
9934
11395
|
}
|
|
9935
11396
|
declare module "apps/reach-app/src/app/admin/ManagePluginsPage" {
|
|
9936
11397
|
import { FC } from 'react';
|
|
@@ -9940,7 +11401,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
|
|
|
9940
11401
|
import { FC } from 'react';
|
|
9941
11402
|
export const AdminActionItem: FC<{
|
|
9942
11403
|
submenuContents: JSX.Element;
|
|
9943
|
-
onClick
|
|
11404
|
+
onClick?: () => unknown;
|
|
9944
11405
|
title?: string;
|
|
9945
11406
|
}>;
|
|
9946
11407
|
const AdminRoutes: FC;
|
|
@@ -9954,7 +11415,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
|
|
|
9954
11415
|
import { FC } from 'react';
|
|
9955
11416
|
export const ChatMenuNode: FC<{
|
|
9956
11417
|
title: string;
|
|
9957
|
-
onClick
|
|
11418
|
+
onClick?: () => void;
|
|
9958
11419
|
}>;
|
|
9959
11420
|
}
|
|
9960
11421
|
declare module "apps/reach-app/src/app/chrome/Sidebar" {
|
|
@@ -9981,20 +11442,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
|
|
|
9981
11442
|
className?: string;
|
|
9982
11443
|
}>;
|
|
9983
11444
|
}
|
|
9984
|
-
declare module "apps/reach-app/src/app/about/ApplicationVersion" {
|
|
9985
|
-
export default interface ApplicationVersion {
|
|
9986
|
-
description: string;
|
|
9987
|
-
version: string;
|
|
9988
|
-
commitId: string;
|
|
9989
|
-
}
|
|
9990
|
-
}
|
|
9991
|
-
declare module "apps/reach-app/src/app/chrome/VersionInfo" {
|
|
9992
|
-
import { FC } from 'react';
|
|
9993
|
-
export const VersionInfo: FC<{
|
|
9994
|
-
className?: string;
|
|
9995
|
-
renderCommitId?: boolean;
|
|
9996
|
-
}>;
|
|
9997
|
-
}
|
|
9998
11445
|
declare module "apps/reach-app/src/AppLoaderContextProvider" {
|
|
9999
11446
|
import { FC, ReactNode } from 'react';
|
|
10000
11447
|
export const AppLoaderContext: import("react").Context<{
|
|
@@ -10140,6 +11587,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
10140
11587
|
}
|
|
10141
11588
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
10142
11589
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|
|
11590
|
+
import { PageMenuActionItem } from "apps/reach-app/src/app/chrome/PageMenuActionItem";
|
|
10143
11591
|
import { NavLinkSidebarItem } from "apps/reach-app/src/app/chrome/SidebarItem";
|
|
10144
|
-
export { Page, NavLinkSidebarItem };
|
|
11592
|
+
export { Page, NavLinkSidebarItem, PageMenuActionItem };
|
|
10145
11593
|
}
|