@livetiles/reach-plugin-types 0.4.0-preview.42 → 0.4.0-preview.423
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 +2447 -1026
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -207,7 +207,7 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
|
|
|
207
207
|
clientId: string;
|
|
208
208
|
basePolicyUrl: string;
|
|
209
209
|
signInPolicy: string;
|
|
210
|
-
forgotPasswordPolicy
|
|
210
|
+
forgotPasswordPolicy?: string;
|
|
211
211
|
apiScope: string;
|
|
212
212
|
scopes: string[];
|
|
213
213
|
extraScopes: string[];
|
|
@@ -233,12 +233,12 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
233
233
|
export interface AppConfiguration {
|
|
234
234
|
configType: ConfigType;
|
|
235
235
|
authentication: {
|
|
236
|
-
useSingleAuthType
|
|
236
|
+
useSingleAuthType?: AuthenticationType;
|
|
237
237
|
azuread: MsalConfiguration;
|
|
238
|
-
b2c
|
|
239
|
-
keycloak
|
|
240
|
-
teams
|
|
241
|
-
teamsAustralia
|
|
238
|
+
b2c?: MsalConfiguration;
|
|
239
|
+
keycloak?: KeycloakConfiguration;
|
|
240
|
+
teams?: MsalConfiguration;
|
|
241
|
+
teamsAustralia?: MsalConfiguration;
|
|
242
242
|
};
|
|
243
243
|
apiEndpoint: string;
|
|
244
244
|
api2Endpoint: string;
|
|
@@ -247,6 +247,7 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
247
247
|
webAppUrl: string;
|
|
248
248
|
productWebsite: string;
|
|
249
249
|
supportUrl: string;
|
|
250
|
+
releaseNotesUrl: string;
|
|
250
251
|
privacyUrl: string;
|
|
251
252
|
eulaUrl: string;
|
|
252
253
|
appInsightsKey: string;
|
|
@@ -415,6 +416,7 @@ declare module "libs/reach/util/common/src/PaginatedList" {
|
|
|
415
416
|
paginationToken?: any;
|
|
416
417
|
nextItem?: TItem;
|
|
417
418
|
hasMoreUnreadComments?: boolean;
|
|
419
|
+
hasNextPage?: boolean;
|
|
418
420
|
}
|
|
419
421
|
}
|
|
420
422
|
declare module "libs/reach/util/common/src/SortDirection" {
|
|
@@ -520,6 +522,12 @@ declare module "libs/reach/util/common/src/useCacheLanguageApi" {
|
|
|
520
522
|
getLocaleFromLocalStorage: () => Promise<string>;
|
|
521
523
|
};
|
|
522
524
|
}
|
|
525
|
+
declare module "libs/reach/util/common/src/resources/languages/da.async" {
|
|
526
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/da';
|
|
527
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/da';
|
|
528
|
+
import da from "libs/reach/util/common/src/resources/languages/string-resources/da";
|
|
529
|
+
export default da;
|
|
530
|
+
}
|
|
523
531
|
declare module "libs/reach/util/common/src/resources/languages/de.async" {
|
|
524
532
|
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
525
533
|
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
@@ -575,7 +583,7 @@ declare module "libs/reach/util/common/src/resources/languages/en.async" {
|
|
|
575
583
|
export default en;
|
|
576
584
|
}
|
|
577
585
|
declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
|
|
578
|
-
export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/
|
|
586
|
+
export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/da.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
|
|
579
587
|
}
|
|
580
588
|
declare module "libs/reach/util/common/src/resources/locales/ar-dz.async" {
|
|
581
589
|
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
@@ -1068,6 +1076,8 @@ declare module "libs/reach/util/common/src/user/Audience" {
|
|
|
1068
1076
|
[key: string]: string;
|
|
1069
1077
|
};
|
|
1070
1078
|
mode: AudienceMatchMode;
|
|
1079
|
+
includeDirectoryUsers?: boolean;
|
|
1080
|
+
includeNonDirectoryUsers?: boolean;
|
|
1071
1081
|
}
|
|
1072
1082
|
}
|
|
1073
1083
|
declare module "libs/reach/util/common/src/content/Language" {
|
|
@@ -1093,7 +1103,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1093
1103
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
1094
1104
|
import { Audience } from "libs/reach/util/common/src/user/Audience";
|
|
1095
1105
|
import { CurrentUser, NotificationType, UserGroupRole } from "libs/reach/util/common/src/user/User";
|
|
1096
|
-
import { SubscriptionInfo as BaseSubscriptionInfo
|
|
1106
|
+
import { IdentityProviderNames, IdentityProviderSettings, SubscriptionInfo as BaseSubscriptionInfo } from "libs/shared/util/authentication/src/index";
|
|
1097
1107
|
import { Language, LanguageBase } from "libs/reach/util/common/src/content/Language";
|
|
1098
1108
|
export interface DirectoryConfiguration extends DirectoryConfigurationPatch {
|
|
1099
1109
|
domains?: string[];
|
|
@@ -1126,11 +1136,12 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1126
1136
|
useInAppBrowser?: boolean;
|
|
1127
1137
|
tenantId?: string;
|
|
1128
1138
|
signInSettings?: SignInSettings;
|
|
1129
|
-
logoUrl?: string;
|
|
1130
1139
|
faviconUrl?: string;
|
|
1131
1140
|
theme?: Theme;
|
|
1132
1141
|
allowPublicAccess?: boolean;
|
|
1133
1142
|
redirectToContent?: boolean;
|
|
1143
|
+
allowZendesk?: boolean;
|
|
1144
|
+
logoInfo: LogoInfo;
|
|
1134
1145
|
}
|
|
1135
1146
|
export interface SignInSettings {
|
|
1136
1147
|
customIdentityProviders: IdentityProviderSettings[];
|
|
@@ -1144,7 +1155,6 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1144
1155
|
contact: Account;
|
|
1145
1156
|
theme: Theme;
|
|
1146
1157
|
defaultLanguage: string;
|
|
1147
|
-
logoUrl: string;
|
|
1148
1158
|
faviconUrl?: string;
|
|
1149
1159
|
navigation: NavigationNode[];
|
|
1150
1160
|
regionSettings?: RegionSettings;
|
|
@@ -1153,6 +1163,16 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1153
1163
|
hasUnreadItems: boolean;
|
|
1154
1164
|
pageTrackingInfo: PageTrackingInfo;
|
|
1155
1165
|
termsAndConditionsHash?: string;
|
|
1166
|
+
logoInfo: LogoInfo;
|
|
1167
|
+
}
|
|
1168
|
+
export enum LogoSize {
|
|
1169
|
+
large = "large",
|
|
1170
|
+
small = "small"
|
|
1171
|
+
}
|
|
1172
|
+
export interface LogoInfo {
|
|
1173
|
+
smallUrl: string;
|
|
1174
|
+
largeUrl: string;
|
|
1175
|
+
isLegacyLogo: boolean;
|
|
1156
1176
|
}
|
|
1157
1177
|
export interface TermsAndConditions {
|
|
1158
1178
|
value?: string;
|
|
@@ -1252,6 +1272,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1252
1272
|
componentName: string;
|
|
1253
1273
|
route: string;
|
|
1254
1274
|
navigationNode?: {
|
|
1275
|
+
componentName?: string;
|
|
1255
1276
|
iconName?: string;
|
|
1256
1277
|
label?: string;
|
|
1257
1278
|
translations?: {
|
|
@@ -1475,7 +1496,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1475
1496
|
export interface UserInvitationResult {
|
|
1476
1497
|
type: UserInvitationResultType;
|
|
1477
1498
|
message?: string;
|
|
1478
|
-
user?:
|
|
1499
|
+
user?: Account;
|
|
1479
1500
|
isSuccess: boolean;
|
|
1480
1501
|
}
|
|
1481
1502
|
export enum UserRegistrationResultType {
|
|
@@ -1705,6 +1726,7 @@ declare module "libs/reach/util/common/src/content/VideoSource" {
|
|
|
1705
1726
|
GenericUrl = 3,
|
|
1706
1727
|
Kaltura = 4
|
|
1707
1728
|
}
|
|
1729
|
+
export function convertStringToVideoSource(videoSource: string): VideoSource;
|
|
1708
1730
|
}
|
|
1709
1731
|
declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
1710
1732
|
import { ItemStatistics } from "libs/reach/util/common/src/content/ItemStatistics";
|
|
@@ -1712,6 +1734,19 @@ declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
|
1712
1734
|
id?: string;
|
|
1713
1735
|
statistics?: ItemStatistics;
|
|
1714
1736
|
poll?: Poll;
|
|
1737
|
+
searchHighlights?: SearchHighlightSummary;
|
|
1738
|
+
}
|
|
1739
|
+
export interface SearchHighlightSummary {
|
|
1740
|
+
title: SearchHighlight[];
|
|
1741
|
+
content: SearchHighlight[];
|
|
1742
|
+
}
|
|
1743
|
+
export interface SearchHighlight {
|
|
1744
|
+
language: string;
|
|
1745
|
+
texts: {
|
|
1746
|
+
value: string;
|
|
1747
|
+
type: 'text' | 'hit';
|
|
1748
|
+
}[];
|
|
1749
|
+
score: number;
|
|
1715
1750
|
}
|
|
1716
1751
|
export interface Poll {
|
|
1717
1752
|
questions: PollQuestion[];
|
|
@@ -1779,7 +1814,6 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1779
1814
|
headline?: string;
|
|
1780
1815
|
intro?: string;
|
|
1781
1816
|
body?: string;
|
|
1782
|
-
bodyRaw?: string;
|
|
1783
1817
|
customProperties?: {
|
|
1784
1818
|
[key: string]: any;
|
|
1785
1819
|
};
|
|
@@ -2049,7 +2083,7 @@ declare module "libs/reach/util/common/src/content/Comment" {
|
|
|
2049
2083
|
hasUnreadReplies?: boolean;
|
|
2050
2084
|
isDemoContent?: boolean;
|
|
2051
2085
|
}
|
|
2052
|
-
interface CommentStatistics {
|
|
2086
|
+
export interface CommentStatistics {
|
|
2053
2087
|
likeCount?: number;
|
|
2054
2088
|
replyCount?: number;
|
|
2055
2089
|
}
|
|
@@ -2135,14 +2169,82 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2135
2169
|
}
|
|
2136
2170
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
2137
2171
|
import { CurrentUser } from "libs/reach/util/common/src/user/User";
|
|
2172
|
+
import { SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2138
2173
|
export function useCurrentUserCache(): {
|
|
2139
2174
|
clear: () => Promise<void>;
|
|
2140
2175
|
setEssentials: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2141
2176
|
setUser: (user: CurrentUser) => Promise<CurrentUser>;
|
|
2142
|
-
get: () => Promise<
|
|
2177
|
+
get: () => Promise<{
|
|
2178
|
+
subscription: {
|
|
2179
|
+
logoInfo: {
|
|
2180
|
+
smallUrl: any;
|
|
2181
|
+
largeUrl: string;
|
|
2182
|
+
isLegacyLogo: boolean;
|
|
2183
|
+
};
|
|
2184
|
+
languages: import("@livetiles/reach/util/common").LanguageBase[];
|
|
2185
|
+
featureMask: string;
|
|
2186
|
+
company: string;
|
|
2187
|
+
directories: import("libs/reach/util/common/src/user/Subscription").DirectoryConfiguration[];
|
|
2188
|
+
webPluginDefinitions: import("libs/reach/util/common/src/user/Subscription").WebPluginDefinition[];
|
|
2189
|
+
userPropertyDefinitions: import("libs/reach/util/common/src/user/Subscription").UserPropertyDefinition[];
|
|
2190
|
+
userFlowSettings?: import("libs/reach/util/common/src/user/Subscription").UserFlowSettings;
|
|
2191
|
+
customDomain?: string;
|
|
2192
|
+
allowSelfRegistration?: boolean;
|
|
2193
|
+
id: string;
|
|
2194
|
+
subscriptionName: string;
|
|
2195
|
+
subscriptionHandle?: string;
|
|
2196
|
+
contact: import("@livetiles/reach/util/common").Account;
|
|
2197
|
+
theme: import("libs/reach/util/common/src/user/Subscription").Theme;
|
|
2198
|
+
defaultLanguage: string;
|
|
2199
|
+
faviconUrl?: string;
|
|
2200
|
+
navigation: import("libs/reach/util/common/src/user/Subscription").NavigationNode[];
|
|
2201
|
+
regionSettings?: import("libs/reach/util/common/src/user/Subscription").RegionSettings;
|
|
2202
|
+
signInSettings?: import("libs/reach/util/common/src/user/Subscription").SignInSettings;
|
|
2203
|
+
useInAppBrowser?: boolean;
|
|
2204
|
+
hasUnreadItems: boolean;
|
|
2205
|
+
pageTrackingInfo: import("libs/reach/util/common/src/user/Subscription").PageTrackingInfo;
|
|
2206
|
+
termsAndConditionsHash?: string;
|
|
2207
|
+
};
|
|
2208
|
+
isEmailVerificationPending?: boolean;
|
|
2209
|
+
isSubscriptionOwner: boolean;
|
|
2210
|
+
givenName: string;
|
|
2211
|
+
surname: string;
|
|
2212
|
+
preferredUiLanguage: string;
|
|
2213
|
+
preferredContentLanguage?: string;
|
|
2214
|
+
preferredLocale?: string;
|
|
2215
|
+
bookmarks: string[];
|
|
2216
|
+
groups: import("libs/reach/util/common/src/user/User").UserGroup[];
|
|
2217
|
+
availableSubscriptions: SubscriptionSummary[];
|
|
2218
|
+
channels: import("@livetiles/reach/util/common").UserChannelSubscription[];
|
|
2219
|
+
userHash: string;
|
|
2220
|
+
unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2221
|
+
unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2222
|
+
unreadPosts: {
|
|
2223
|
+
groupId: string;
|
|
2224
|
+
itemId: string;
|
|
2225
|
+
}[];
|
|
2226
|
+
unreadFeedItemsCount?: number;
|
|
2227
|
+
notificationTypeSettings: import("libs/reach/util/common/src/user/User").NotificationTypeSettings;
|
|
2228
|
+
hasPendingRegistration?: boolean;
|
|
2229
|
+
minRoles: import("libs/reach/util/common/src/user/User").UserMinRoles;
|
|
2230
|
+
hasDirectory: boolean;
|
|
2231
|
+
contacts: import("libs/reach/util/common/src/user/User").UserContact[];
|
|
2232
|
+
termsAndConditionsApprovedHash: string;
|
|
2233
|
+
isPublicUser?: boolean;
|
|
2234
|
+
hasUnreadChats?: boolean;
|
|
2235
|
+
id?: string;
|
|
2236
|
+
type?: import("@livetiles/reach/util/common").AccountType;
|
|
2237
|
+
tenantId?: string;
|
|
2238
|
+
displayName?: string;
|
|
2239
|
+
userPrincipalName?: string;
|
|
2240
|
+
mail?: string;
|
|
2241
|
+
tokenUniqueId?: string;
|
|
2242
|
+
authenticationType?: import("@livetiles/shared/util/authentication").AuthenticationType;
|
|
2243
|
+
created?: string;
|
|
2244
|
+
}>;
|
|
2143
2245
|
};
|
|
2144
2246
|
export function getUserDetailFields(user: Partial<CurrentUser>): {
|
|
2145
|
-
availableSubscriptions:
|
|
2247
|
+
availableSubscriptions: SubscriptionSummary[];
|
|
2146
2248
|
bookmarks: string[];
|
|
2147
2249
|
unreadNews: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
2148
2250
|
unreadEvents: import("libs/reach/util/common/src/user/User").PublishableItemNotificationSummary[];
|
|
@@ -2222,9 +2324,9 @@ declare module "libs/reach/util/common/src/user/index" {
|
|
|
2222
2324
|
export * from "libs/reach/util/common/src/user/LanguageUtils";
|
|
2223
2325
|
export * from "libs/reach/util/common/src/user/content-languages-util";
|
|
2224
2326
|
}
|
|
2225
|
-
declare module "libs/reach/util/common/src/plugins/
|
|
2327
|
+
declare module "libs/reach/util/common/src/plugins/usePluginDeviceStore" {
|
|
2226
2328
|
import { Storage } from "libs/reach/util/context/src/index";
|
|
2227
|
-
export function
|
|
2329
|
+
export function usePluginDeviceStore(): PluginStorage;
|
|
2228
2330
|
export function getStorageWrapper(pluginId: string, storage: Storage): PluginStorage;
|
|
2229
2331
|
export interface PluginStorage {
|
|
2230
2332
|
getAllKeys(): Promise<string[]>;
|
|
@@ -2234,12 +2336,54 @@ declare module "libs/reach/util/common/src/plugins/usePluginStorage" {
|
|
|
2234
2336
|
clearAll(): Promise<void>;
|
|
2235
2337
|
}
|
|
2236
2338
|
}
|
|
2339
|
+
declare module "libs/reach/util/common/src/plugins/usePluginUserStore" {
|
|
2340
|
+
import { DependencyList } from 'react';
|
|
2341
|
+
import { Api } from 'restful.js';
|
|
2342
|
+
export function usePluginUserStore(): PluginUserStore;
|
|
2343
|
+
export function usePluginUserStoreValue<T>(key: string, deps?: DependencyList): {
|
|
2344
|
+
data: T;
|
|
2345
|
+
set: (newValue: T) => Promise<unknown>;
|
|
2346
|
+
isLoading: boolean;
|
|
2347
|
+
error: any;
|
|
2348
|
+
refresh: () => void;
|
|
2349
|
+
remove: () => Promise<unknown>;
|
|
2350
|
+
};
|
|
2351
|
+
export function getPluginUserStoreWrapper(pluginId: string, api: Api): PluginUserStore;
|
|
2352
|
+
export interface PluginUserStore {
|
|
2353
|
+
getPluginUserValue<T>(key: string): Promise<T>;
|
|
2354
|
+
setPluginUserValue<T>(key: string, value: T): Promise<unknown>;
|
|
2355
|
+
deletePluginUserValue(key: string): Promise<unknown>;
|
|
2356
|
+
}
|
|
2357
|
+
}
|
|
2358
|
+
declare module "libs/reach/util/common/src/plugins/usePluginSubscriptionStore" {
|
|
2359
|
+
import { DependencyList } from 'react';
|
|
2360
|
+
import { Api } from 'restful.js';
|
|
2361
|
+
export function usePluginSubscriptionStore(): PluginSubscriptionStore;
|
|
2362
|
+
export function usePluginSubscriptionStoreValue<T>(key: string, deps?: DependencyList): {
|
|
2363
|
+
data: T;
|
|
2364
|
+
set: (newValue: T) => Promise<unknown>;
|
|
2365
|
+
isLoading: boolean;
|
|
2366
|
+
error: any;
|
|
2367
|
+
refresh: () => void;
|
|
2368
|
+
remove: () => Promise<unknown>;
|
|
2369
|
+
};
|
|
2370
|
+
export function getPluginSubscriptionStoreWrapper(pluginId: string, api: Api): PluginSubscriptionStore;
|
|
2371
|
+
export interface PluginSubscriptionStore {
|
|
2372
|
+
getPluginSubscriptionValue<T>(key: string): Promise<T>;
|
|
2373
|
+
setPluginSubscriptionValue<T>(key: string, value: T): Promise<unknown>;
|
|
2374
|
+
deletePluginSubscriptionValue(key: string): Promise<unknown>;
|
|
2375
|
+
}
|
|
2376
|
+
}
|
|
2237
2377
|
declare module "libs/reach/util/common/src/plugins/PluginContext" {
|
|
2238
2378
|
import { PluginSettings } from "libs/reach/util/common/src/user/Subscription";
|
|
2239
|
-
import { PluginStorage } from "libs/reach/util/common/src/plugins/
|
|
2379
|
+
import { PluginStorage } from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
2380
|
+
import { PluginUserStore } from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
2381
|
+
import { PluginSubscriptionStore } from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
2240
2382
|
export const PluginContext: import("react").Context<{
|
|
2241
2383
|
settings: PluginSettings;
|
|
2242
2384
|
storage: PluginStorage;
|
|
2385
|
+
userStore: PluginUserStore;
|
|
2386
|
+
subscriptionStore: PluginSubscriptionStore;
|
|
2243
2387
|
}>;
|
|
2244
2388
|
export function usePluginSettings<T>(): T;
|
|
2245
2389
|
export function useReachApiEndPoints(): {
|
|
@@ -2265,15 +2409,133 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
|
|
|
2265
2409
|
unlinkPlugin: (pluginId: string) => Promise<any>;
|
|
2266
2410
|
};
|
|
2267
2411
|
}
|
|
2412
|
+
declare module "libs/reach/util/common/src/content/GraphQLAttachmentType" {
|
|
2413
|
+
export enum GraphQLAttachmentType {
|
|
2414
|
+
Image = "IMAGE",
|
|
2415
|
+
File = "FILE",
|
|
2416
|
+
YouTubeVideo = "YOU_TUBE_VIDEO",
|
|
2417
|
+
VimeoVideo = "VIMEO_VIDEO",
|
|
2418
|
+
News = "NEWS",
|
|
2419
|
+
Event = "EVENT",
|
|
2420
|
+
Page = "PAGE",
|
|
2421
|
+
Post = "POST",
|
|
2422
|
+
Giphy = "GIPHY"
|
|
2423
|
+
}
|
|
2424
|
+
}
|
|
2425
|
+
declare module "libs/reach/util/common/src/Models" {
|
|
2426
|
+
import { BaseAttachment } from "libs/reach/util/common/src/content/Attachment";
|
|
2427
|
+
import { GraphQLAttachmentType } from "libs/reach/util/common/src/content/GraphQLAttachmentType";
|
|
2428
|
+
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2429
|
+
export interface ColorStyleDefinition {
|
|
2430
|
+
backgroundColor: string;
|
|
2431
|
+
color: string;
|
|
2432
|
+
}
|
|
2433
|
+
export interface PageNavigationNodeProps {
|
|
2434
|
+
title?: string;
|
|
2435
|
+
iconName?: string;
|
|
2436
|
+
to?: string;
|
|
2437
|
+
onClick?: () => void;
|
|
2438
|
+
isActive?: boolean;
|
|
2439
|
+
exact?: boolean;
|
|
2440
|
+
cannotBeActive?: boolean;
|
|
2441
|
+
submenuContents?: JSX.Element;
|
|
2442
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
2443
|
+
badgeInfo?: number | boolean;
|
|
2444
|
+
domIdentifier?: string;
|
|
2445
|
+
secondaryIconName?: string;
|
|
2446
|
+
secondaryIconTooltipResourceKey?: string;
|
|
2447
|
+
onSecondaryIconClick?: () => void;
|
|
2448
|
+
iconColor?: string;
|
|
2449
|
+
className?: string;
|
|
2450
|
+
}
|
|
2451
|
+
export interface Chat {
|
|
2452
|
+
id: string;
|
|
2453
|
+
members: (Account & ChatMember)[];
|
|
2454
|
+
memberIds: string[];
|
|
2455
|
+
groupName?: string;
|
|
2456
|
+
lastMessageInfo?: {
|
|
2457
|
+
received: string;
|
|
2458
|
+
senderId: string;
|
|
2459
|
+
content?: string;
|
|
2460
|
+
attachments: ChatAttachment[];
|
|
2461
|
+
deleteDate?: string;
|
|
2462
|
+
deleteState?: DeleteState;
|
|
2463
|
+
messageType?: ChatMessageType;
|
|
2464
|
+
messageValues?: {
|
|
2465
|
+
groupName?: string;
|
|
2466
|
+
userId?: string;
|
|
2467
|
+
};
|
|
2468
|
+
};
|
|
2469
|
+
messages: ChatMessage[];
|
|
2470
|
+
hasNewMessages: boolean;
|
|
2471
|
+
fileAccessToken: string;
|
|
2472
|
+
}
|
|
2473
|
+
export enum DeleteState {
|
|
2474
|
+
NotDeleted = "NOT_DELETED",
|
|
2475
|
+
RecycleBin = "RECYCLE_BIN",
|
|
2476
|
+
Deleted = "DELETED"
|
|
2477
|
+
}
|
|
2478
|
+
export enum ChatMessageType {
|
|
2479
|
+
Default = "DEFAULT",
|
|
2480
|
+
GroupNameChange = "GROUP_NAME_CHANGE",
|
|
2481
|
+
UserLeftGroup = "USER_LEFT_GROUP"
|
|
2482
|
+
}
|
|
2483
|
+
export enum MemberStatus {
|
|
2484
|
+
Normal = "NORMAL",
|
|
2485
|
+
LeftGroupChat = "LEFT_GROUP_CHAT",
|
|
2486
|
+
LeftOneToOneChat = "LEFT_ONE_TO_ONE_CHAT"
|
|
2487
|
+
}
|
|
2488
|
+
export interface ChatMember {
|
|
2489
|
+
id?: string;
|
|
2490
|
+
status?: MemberStatus;
|
|
2491
|
+
joinDate?: string;
|
|
2492
|
+
leftDate?: string;
|
|
2493
|
+
}
|
|
2494
|
+
export interface ChatMessage {
|
|
2495
|
+
itemId: string;
|
|
2496
|
+
content: string;
|
|
2497
|
+
senderId?: string;
|
|
2498
|
+
chatId?: string;
|
|
2499
|
+
received?: string;
|
|
2500
|
+
attachments?: ChatAttachment[];
|
|
2501
|
+
attachmentContainerId?: string;
|
|
2502
|
+
fileAccessToken?: string;
|
|
2503
|
+
deleteDate?: string;
|
|
2504
|
+
deleteState?: DeleteState;
|
|
2505
|
+
modifiedDate?: string;
|
|
2506
|
+
chat?: Chat;
|
|
2507
|
+
messageType?: ChatMessageType;
|
|
2508
|
+
messageValues?: {
|
|
2509
|
+
groupName?: string;
|
|
2510
|
+
};
|
|
2511
|
+
}
|
|
2512
|
+
export interface ChatIsTypingInfo {
|
|
2513
|
+
sender: Account;
|
|
2514
|
+
chatId: string;
|
|
2515
|
+
sentOn: string;
|
|
2516
|
+
}
|
|
2517
|
+
export interface ChatView {
|
|
2518
|
+
chatId: string;
|
|
2519
|
+
timestamp: Date;
|
|
2520
|
+
isActive: boolean;
|
|
2521
|
+
}
|
|
2522
|
+
export interface ChatAttachment extends BaseAttachment {
|
|
2523
|
+
type: GraphQLAttachmentType;
|
|
2524
|
+
}
|
|
2525
|
+
}
|
|
2268
2526
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
2269
2527
|
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
2528
|
+
import { PageNavigationNodeProps } from "libs/reach/util/common/src/Models";
|
|
2270
2529
|
export enum ExtensionArea {
|
|
2271
2530
|
global = "Global",
|
|
2272
2531
|
page = "Page",
|
|
2273
2532
|
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
2274
2533
|
eventDetailViewSection = "EventDetailViewSection"
|
|
2275
2534
|
}
|
|
2276
|
-
export
|
|
2535
|
+
export interface PluginNavigationNodeProps {
|
|
2536
|
+
navigationNodeProps?: PageNavigationNodeProps;
|
|
2537
|
+
}
|
|
2538
|
+
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
2277
2539
|
type DevPlugin = {
|
|
2278
2540
|
pluginId: string;
|
|
2279
2541
|
port: number;
|
|
@@ -2281,15 +2543,15 @@ declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
|
2281
2543
|
linkPlugin?: boolean;
|
|
2282
2544
|
};
|
|
2283
2545
|
export function usePlugins(): WebPluginDefinition[];
|
|
2284
|
-
export function usePluginExtensions(area?: ExtensionArea):
|
|
2546
|
+
export function usePluginExtensions(area?: ExtensionArea): PluginProps[];
|
|
2285
2547
|
export function removeInjectedRemotePlugin(pluginId: string): void;
|
|
2286
2548
|
export function useInjectedRemotePlugins(): DevPlugin[];
|
|
2287
2549
|
export function useRemotePlugins(): WebPluginDefinition[];
|
|
2288
2550
|
}
|
|
2289
2551
|
declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
2290
2552
|
import { FC } from 'react';
|
|
2291
|
-
import {
|
|
2292
|
-
export const PluginWrapper: FC<
|
|
2553
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2554
|
+
export const PluginWrapper: FC<PluginProps & any>;
|
|
2293
2555
|
}
|
|
2294
2556
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2295
2557
|
import { FC } from 'react';
|
|
@@ -2305,7 +2567,9 @@ declare module "libs/reach/util/common/src/plugins/index" {
|
|
|
2305
2567
|
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
2306
2568
|
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
2307
2569
|
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2308
|
-
export * from "libs/reach/util/common/src/plugins/
|
|
2570
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
2571
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
2572
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
2309
2573
|
}
|
|
2310
2574
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
2311
2575
|
export class Color {
|
|
@@ -2324,6 +2588,7 @@ declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
|
2324
2588
|
declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
2325
2589
|
import { IPartialTheme } from 'office-ui-fabric-react';
|
|
2326
2590
|
import { Theme } from "libs/reach/util/common/src/user/Subscription";
|
|
2591
|
+
import * as wcag from 'wcag-contrast';
|
|
2327
2592
|
export const defaultThemeColors: Theme;
|
|
2328
2593
|
export const defaultPageBackgroundColor: string;
|
|
2329
2594
|
export const defaultLightColor = "#ffffff";
|
|
@@ -2420,6 +2685,12 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
|
2420
2685
|
}
|
|
2421
2686
|
export function getDarkAltColor(color: string): string;
|
|
2422
2687
|
export function getTextColor(bgColor: string): "#333333" | "#ffffff";
|
|
2688
|
+
export function shouldUseDarkForegroundColor(bgColor: string): boolean;
|
|
2689
|
+
export function getContrastInfo(backgroundColor: string, foregroundColor: string): {
|
|
2690
|
+
contrast: string;
|
|
2691
|
+
score: wcag.Score;
|
|
2692
|
+
isGood: boolean;
|
|
2693
|
+
};
|
|
2423
2694
|
}
|
|
2424
2695
|
declare module "libs/reach/util/common/src/theme/ThemeContext" {
|
|
2425
2696
|
import { FC, ReactNode } from 'react';
|
|
@@ -2440,19 +2711,6 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
2440
2711
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
2441
2712
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
2442
2713
|
}
|
|
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
2714
|
declare module "libs/reach/util/common/src/content/EventItem" {
|
|
2457
2715
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2458
2716
|
import { PollResult } from "libs/reach/util/common/src/content/BaseItem";
|
|
@@ -2610,10 +2868,11 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2610
2868
|
useExternalContent?: boolean;
|
|
2611
2869
|
isSearchMatch?: boolean;
|
|
2612
2870
|
topLevelFolderName?: string;
|
|
2871
|
+
uploadToken?: string;
|
|
2613
2872
|
}
|
|
2614
2873
|
export interface PageNavigationContext {
|
|
2615
2874
|
parent?: PageNavigationNode;
|
|
2616
|
-
siblings
|
|
2875
|
+
siblings?: PageNavigationNode[];
|
|
2617
2876
|
children?: PageNavigationNode[];
|
|
2618
2877
|
}
|
|
2619
2878
|
export enum PageType {
|
|
@@ -2715,7 +2974,17 @@ declare module "libs/reach/util/common/src/content/useClearUnreadItems" {
|
|
|
2715
2974
|
onStarted?: () => unknown;
|
|
2716
2975
|
onFinished?: () => unknown;
|
|
2717
2976
|
}
|
|
2718
|
-
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers): () => Promise<void>;
|
|
2977
|
+
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
2978
|
+
}
|
|
2979
|
+
declare module "libs/reach/util/common/src/content/useClearUnreadOnlyFilter" {
|
|
2980
|
+
export function useClearUnreadOnlyFilter(): {
|
|
2981
|
+
clearUnreadOnlyFilter: () => void;
|
|
2982
|
+
};
|
|
2983
|
+
}
|
|
2984
|
+
declare module "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler" {
|
|
2985
|
+
export function useUnreadItemsTogglerHandler(): {
|
|
2986
|
+
toggleUnreadItems: () => void;
|
|
2987
|
+
};
|
|
2719
2988
|
}
|
|
2720
2989
|
declare module "libs/reach/util/common/src/content/index" {
|
|
2721
2990
|
export * from "libs/reach/util/common/src/content/Attachment";
|
|
@@ -2740,6 +3009,8 @@ declare module "libs/reach/util/common/src/content/index" {
|
|
|
2740
3009
|
export * from "libs/reach/util/common/src/content/useFileApi";
|
|
2741
3010
|
export * from "libs/reach/util/common/src/content/content-keyword-utils";
|
|
2742
3011
|
export * from "libs/reach/util/common/src/content/useClearUnreadItems";
|
|
3012
|
+
export * from "libs/reach/util/common/src/content/useClearUnreadOnlyFilter";
|
|
3013
|
+
export * from "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler";
|
|
2743
3014
|
}
|
|
2744
3015
|
declare module "libs/reach/util/common/src/Variables" {
|
|
2745
3016
|
export const maxContentWidth = 985;
|
|
@@ -2840,6 +3111,7 @@ declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
|
2840
3111
|
}
|
|
2841
3112
|
declare module "libs/reach/util/common/src/notification/ToastNotificationHost" {
|
|
2842
3113
|
import { FC } from 'react';
|
|
3114
|
+
import 'react-toastify/dist/ReactToastify.min.css';
|
|
2843
3115
|
export const ToastNotificationHost: FC;
|
|
2844
3116
|
}
|
|
2845
3117
|
declare module "libs/reach/util/common/src/notification/index" {
|
|
@@ -2858,6 +3130,7 @@ declare module "libs/reach/util/common/src/keywords/SubscriptionContext" {
|
|
|
2858
3130
|
selectedKeywordGroups?: KeywordGroup[];
|
|
2859
3131
|
}
|
|
2860
3132
|
export const LazySubscriptionContext: import("react").Context<SubscriptionData & {
|
|
3133
|
+
getChannels: () => Promise<Channel[]>;
|
|
2861
3134
|
refreshSubscription: () => void;
|
|
2862
3135
|
}>;
|
|
2863
3136
|
export const EnforcedSubscriptionContext: import("react").Context<SubscriptionData & {
|
|
@@ -2903,69 +3176,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
|
2903
3176
|
}
|
|
2904
3177
|
export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
|
|
2905
3178
|
}
|
|
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
3179
|
declare module "libs/reach/util/common/src/PagingService" {
|
|
2970
3180
|
import { Observable } from 'rxjs';
|
|
2971
3181
|
export const onPageScroll: Observable<number>;
|
|
@@ -3069,13 +3279,13 @@ declare module "libs/reach/ui/common/src/EditorSettingsDialog" {
|
|
|
3069
3279
|
}>, import("styled-components").DefaultTheme, {}, never>;
|
|
3070
3280
|
}
|
|
3071
3281
|
declare module "libs/reach/ui/common/src/Tooltip" {
|
|
3072
|
-
|
|
3282
|
+
import { ITooltipHostProps } from 'office-ui-fabric-react';
|
|
3283
|
+
export interface TooltipProps extends ITooltipHostProps {
|
|
3073
3284
|
text?: string;
|
|
3074
3285
|
resourceKey?: string;
|
|
3075
3286
|
values?: {
|
|
3076
3287
|
[key: string]: string | number | boolean | Date;
|
|
3077
3288
|
};
|
|
3078
|
-
className?: string;
|
|
3079
3289
|
width?: number;
|
|
3080
3290
|
onClick?: () => unknown;
|
|
3081
3291
|
role?: string;
|
|
@@ -3146,12 +3356,14 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3146
3356
|
placeholderStringResourceKey?: string;
|
|
3147
3357
|
autoFocus?: boolean;
|
|
3148
3358
|
inputId?: string;
|
|
3359
|
+
inputAriaLabelResourceKey?: string;
|
|
3360
|
+
required?: boolean;
|
|
3149
3361
|
className?: string;
|
|
3150
3362
|
}
|
|
3151
3363
|
export const PeoplePicker: FC<Props>;
|
|
3152
3364
|
}
|
|
3153
3365
|
declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
3154
|
-
import { Account, AccountType, useCurrentUser, useNotificationContext, usePluginSettings,
|
|
3366
|
+
import { Account, AccountType, PluginProps, PluginNavigationNodeProps, useCurrentUser, useNotificationContext, usePluginSettings, usePluginDeviceStore, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useTheme, usePluginSubscriptionStoreValue, usePluginUserStoreValue, usePluginUserStore, usePluginSubscriptionStore } from "libs/reach/util/common/src/index";
|
|
3155
3367
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3156
3368
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3157
3369
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3164,8 +3376,12 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3164
3376
|
import { GutterToggle } from "libs/reach/ui/common/src/GutterToggle";
|
|
3165
3377
|
import { PeoplePicker } from "libs/reach/ui/common/src/PeoplePicker";
|
|
3166
3378
|
import { useAccountApi } from "libs/reach/util/common/src/index";
|
|
3167
|
-
export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings,
|
|
3168
|
-
|
|
3379
|
+
export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings,
|
|
3380
|
+
/**
|
|
3381
|
+
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3382
|
+
*/
|
|
3383
|
+
usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, };
|
|
3384
|
+
export type { Account, PluginNavigationNodeProps, PluginProps };
|
|
3169
3385
|
}
|
|
3170
3386
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3171
3387
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3183,7 +3399,6 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3183
3399
|
}
|
|
3184
3400
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3185
3401
|
import { FC } from 'react';
|
|
3186
|
-
import 'react-toastify/dist/ReactToastify.min.css';
|
|
3187
3402
|
export const NotificationBar: FC;
|
|
3188
3403
|
}
|
|
3189
3404
|
declare module "libs/reach/ui/common/src/common/AttachedMediaDownloadLink" {
|
|
@@ -3228,7 +3443,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
|
3228
3443
|
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3229
3444
|
}
|
|
3230
3445
|
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3231
|
-
import { BaseSubscription, CurrentUser, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3446
|
+
import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3232
3447
|
import { IntlShape } from 'react-intl';
|
|
3233
3448
|
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3234
3449
|
export function isValidUrl(url: string): boolean;
|
|
@@ -3240,9 +3455,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
|
|
|
3240
3455
|
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3241
3456
|
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3242
3457
|
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:
|
|
3458
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3459
|
+
logoInfo: LogoInfo;
|
|
3460
|
+
subscriptionName: string;
|
|
3246
3461
|
};
|
|
3247
3462
|
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3248
3463
|
export function delay(delayInMs: number): Promise<unknown>;
|
|
@@ -3262,8 +3477,8 @@ declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
|
3262
3477
|
}
|
|
3263
3478
|
declare module "libs/reach/ui/common/src/common/Callout" {
|
|
3264
3479
|
import { FC } from 'react';
|
|
3265
|
-
import {
|
|
3266
|
-
export const Callout: FC<
|
|
3480
|
+
import { IFocusTrapCalloutProps } from 'office-ui-fabric-react';
|
|
3481
|
+
export const Callout: FC<IFocusTrapCalloutProps>;
|
|
3267
3482
|
}
|
|
3268
3483
|
declare module "libs/reach/ui/common/src/common/CommentInputTheme" {
|
|
3269
3484
|
export type CommentInputTheme = 'light' | 'dark';
|
|
@@ -3275,6 +3490,7 @@ declare module "libs/reach/ui/common/src/common/ConfirmDeleteDialog" {
|
|
|
3275
3490
|
titleResourceValues?: any;
|
|
3276
3491
|
infoResourceKey: string;
|
|
3277
3492
|
infoResourceValues?: any;
|
|
3493
|
+
inputAriaLabelResourceKey: string;
|
|
3278
3494
|
compareValue: string;
|
|
3279
3495
|
onConfirm: () => any;
|
|
3280
3496
|
onCancel: () => any;
|
|
@@ -3340,12 +3556,13 @@ declare module "libs/reach/ui/common/src/common/Dropdown" {
|
|
|
3340
3556
|
export const Dropdown: FC<IDropdownProps>;
|
|
3341
3557
|
}
|
|
3342
3558
|
declare module "libs/reach/ui/common/src/common/EmptyList" {
|
|
3559
|
+
import { FC } from 'react';
|
|
3343
3560
|
interface EmptyListProps {
|
|
3344
3561
|
icon?: string;
|
|
3345
3562
|
emptyMessageResources?: string[];
|
|
3346
3563
|
className?: string;
|
|
3347
3564
|
}
|
|
3348
|
-
export const EmptyList:
|
|
3565
|
+
export const EmptyList: FC<EmptyListProps>;
|
|
3349
3566
|
}
|
|
3350
3567
|
declare module "libs/reach/ui/common/src/common/EnumHelpers" {
|
|
3351
3568
|
export const hasFlag: (baseValue: any, flag: any) => boolean;
|
|
@@ -3445,6 +3662,11 @@ declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
|
3445
3662
|
className?: string;
|
|
3446
3663
|
}>;
|
|
3447
3664
|
}
|
|
3665
|
+
declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
|
|
3666
|
+
import { FC } from 'react';
|
|
3667
|
+
import { IDialogProps } from 'office-ui-fabric-react';
|
|
3668
|
+
export const MobileFullHeightDialog: FC<IDialogProps>;
|
|
3669
|
+
}
|
|
3448
3670
|
declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
|
|
3449
3671
|
import { FC } from 'react';
|
|
3450
3672
|
export enum FabNavigationPosition {
|
|
@@ -3475,9 +3697,11 @@ declare module "libs/reach/ui/common/src/common/FloatingActionButton" {
|
|
|
3475
3697
|
export const FabButtonWithCallout: FC<{
|
|
3476
3698
|
iconName: string;
|
|
3477
3699
|
tooltipResourceKey: string;
|
|
3700
|
+
titleResourceKey?: string;
|
|
3478
3701
|
showCloseButton?: boolean;
|
|
3479
3702
|
useSecondaryBgColor?: boolean;
|
|
3480
3703
|
domIdentifier?: string;
|
|
3704
|
+
useMobileFullHeight?: boolean;
|
|
3481
3705
|
}>;
|
|
3482
3706
|
export const FabButtonStyle: (useSecondaryBgColor?: boolean) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
3483
3707
|
}
|
|
@@ -3496,18 +3720,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
|
|
|
3496
3720
|
date: string;
|
|
3497
3721
|
}>;
|
|
3498
3722
|
}
|
|
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
3723
|
declare module "libs/reach/ui/common/src/common/IconLabel" {
|
|
3512
3724
|
import { FC, ReactNode } from 'react';
|
|
3513
3725
|
export const IconLabel: FC<{
|
|
@@ -3546,8 +3758,11 @@ declare module "libs/reach/ui/common/src/common/KeywordTitle" {
|
|
|
3546
3758
|
groupName?: string;
|
|
3547
3759
|
groupId?: string;
|
|
3548
3760
|
keywordName?: string;
|
|
3761
|
+
keywordId?: string;
|
|
3549
3762
|
language?: string;
|
|
3550
3763
|
underlined?: boolean;
|
|
3764
|
+
onClick?: (keyword: string) => unknown;
|
|
3765
|
+
tabIndex?: number;
|
|
3551
3766
|
}
|
|
3552
3767
|
export const KeywordTitle: FC<Props>;
|
|
3553
3768
|
export const GridKeywordTitle: FC<{
|
|
@@ -3562,12 +3777,7 @@ declare module "libs/reach/ui/common/src/common/Logos" {
|
|
|
3562
3777
|
export { ReactComponent as WhiteDefaultLogoWithText } from './logos/logo-white-with-name.svg';
|
|
3563
3778
|
export { ReactComponent as LogoPurpleXL } from './logos/logo-purple-xl.svg';
|
|
3564
3779
|
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>;
|
|
3780
|
+
export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
|
|
3571
3781
|
}
|
|
3572
3782
|
declare module "libs/reach/ui/common/src/common/Modified" {
|
|
3573
3783
|
import { FC } from 'react';
|
|
@@ -3622,6 +3832,18 @@ declare module "libs/reach/ui/common/src/common/Prompt" {
|
|
|
3622
3832
|
}
|
|
3623
3833
|
export const Prompt: FC<Props>;
|
|
3624
3834
|
}
|
|
3835
|
+
declare module "libs/reach/ui/common/src/common/buttons/IconHeaderButton" {
|
|
3836
|
+
import { FC } from 'react';
|
|
3837
|
+
export const IconHeaderButton: FC<{
|
|
3838
|
+
icon: string;
|
|
3839
|
+
isActive?: boolean;
|
|
3840
|
+
disabled?: boolean;
|
|
3841
|
+
tooltipResourceKey?: string;
|
|
3842
|
+
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3843
|
+
link?: string;
|
|
3844
|
+
className?: string;
|
|
3845
|
+
}>;
|
|
3846
|
+
}
|
|
3625
3847
|
declare module "libs/reach/ui/common/src/common/toolbar/ToolbarIconButtonWithToolTip" {
|
|
3626
3848
|
import { FC } from 'react';
|
|
3627
3849
|
export interface ToolbarIconButtonProps {
|
|
@@ -3656,6 +3878,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
|
|
|
3656
3878
|
onSearchTextChange?: (text: string) => void;
|
|
3657
3879
|
onExecuteSearch?: (text: string) => void;
|
|
3658
3880
|
searchText?: string;
|
|
3881
|
+
showSearchBoxInput?: boolean;
|
|
3659
3882
|
}
|
|
3660
3883
|
export const SearchBox: FC<SearchBoxProps & {
|
|
3661
3884
|
onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
|
|
@@ -3734,8 +3957,7 @@ declare module "libs/reach/ui/common/src/common/buttons/ChoiceGroup" {
|
|
|
3734
3957
|
}
|
|
3735
3958
|
declare module "libs/reach/ui/common/src/common/buttons/CommentActionMenu" {
|
|
3736
3959
|
import { FC } from 'react';
|
|
3737
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
3738
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
3960
|
+
import { Account, Comment } from "libs/reach/util/common/src/index";
|
|
3739
3961
|
export const CommentActionMenu: FC<{
|
|
3740
3962
|
comment: Comment;
|
|
3741
3963
|
showEdit: boolean;
|
|
@@ -3781,13 +4003,28 @@ declare module "libs/reach/ui/common/src/common/buttons/TopActionButton" {
|
|
|
3781
4003
|
}
|
|
3782
4004
|
export const TopActionButton: import("styled-components").StyledComponent<import("react").FC<Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
3783
4005
|
}
|
|
3784
|
-
declare module "libs/reach/ui/common/src/common/
|
|
4006
|
+
declare module "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler" {
|
|
3785
4007
|
import { FC } from 'react';
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
4008
|
+
export const UnreadItemsToggler: FC<{
|
|
4009
|
+
disabled: boolean;
|
|
4010
|
+
className?: string;
|
|
4011
|
+
}>;
|
|
4012
|
+
}
|
|
4013
|
+
declare module "libs/reach/ui/common/src/common/buttons/HeaderMenuButton" {
|
|
4014
|
+
import { FC } from 'react';
|
|
4015
|
+
import { IContextualMenuItem } from 'office-ui-fabric-react';
|
|
4016
|
+
export const HeaderMenuButton: FC<{
|
|
4017
|
+
items: IContextualMenuItem[];
|
|
4018
|
+
className?: string;
|
|
4019
|
+
}>;
|
|
4020
|
+
}
|
|
4021
|
+
declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
|
|
4022
|
+
import { FC } from 'react';
|
|
4023
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
4024
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
4025
|
+
interface Props {
|
|
4026
|
+
channel: Channel | string;
|
|
4027
|
+
language?: string;
|
|
3791
4028
|
applyChannelBubbleStyle?: boolean;
|
|
3792
4029
|
role?: string;
|
|
3793
4030
|
className?: string;
|
|
@@ -3831,6 +4068,7 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelList" {
|
|
|
3831
4068
|
language: string;
|
|
3832
4069
|
channelStyleDefinition?: ChannelStyleDefinition;
|
|
3833
4070
|
visibleChannelsCount?: number;
|
|
4071
|
+
onChannelClick?: (channel: string) => unknown;
|
|
3834
4072
|
className?: string;
|
|
3835
4073
|
}>;
|
|
3836
4074
|
}
|
|
@@ -3849,6 +4087,8 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelSelector" {
|
|
|
3849
4087
|
showSelectionToggle?: boolean;
|
|
3850
4088
|
placeholder?: string;
|
|
3851
4089
|
inlineControls?: boolean;
|
|
4090
|
+
required?: boolean;
|
|
4091
|
+
id?: string;
|
|
3852
4092
|
}
|
|
3853
4093
|
export const ChannelSelector: FC<Props>;
|
|
3854
4094
|
}
|
|
@@ -3860,6 +4100,7 @@ declare module "libs/reach/ui/common/src/common/channels/ClickableChannelTitles"
|
|
|
3860
4100
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
3861
4101
|
language?: string;
|
|
3862
4102
|
channelBackgroundColor?: string;
|
|
4103
|
+
onClick?: (channel: string) => unknown;
|
|
3863
4104
|
className?: string;
|
|
3864
4105
|
}>;
|
|
3865
4106
|
}
|
|
@@ -4105,7 +4346,7 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
|
|
|
4105
4346
|
declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
|
|
4106
4347
|
import { DependencyList } from 'react';
|
|
4107
4348
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4108
|
-
export function useItemLoaderWithPreFetch(pageSize: number, handler: (pageSize: number,
|
|
4349
|
+
export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: (pageSize: number, token?: TTokenType) => Promise<PaginatedList<TItem>>, deps?: DependencyList): {
|
|
4109
4350
|
items: any[];
|
|
4110
4351
|
isInitialLoading: boolean;
|
|
4111
4352
|
isLoadingNextPage: boolean;
|
|
@@ -4118,6 +4359,21 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
|
|
|
4118
4359
|
isEmpty: boolean;
|
|
4119
4360
|
};
|
|
4120
4361
|
}
|
|
4362
|
+
declare module "libs/reach/ui/common/src/common/paging/PaginationStatus" {
|
|
4363
|
+
import { FC } from 'react';
|
|
4364
|
+
export const PaginationStatus: FC<{
|
|
4365
|
+
allLoadedResourceId: string;
|
|
4366
|
+
showAllLoaded: boolean;
|
|
4367
|
+
showSpinner?: boolean;
|
|
4368
|
+
showPlaceholder?: boolean;
|
|
4369
|
+
}>;
|
|
4370
|
+
}
|
|
4371
|
+
declare module "libs/reach/ui/common/src/common/paging/usePageScrollPagination" {
|
|
4372
|
+
import { DependencyList } from 'react';
|
|
4373
|
+
export function usePageScrollPagination(loadMoreItems: () => Promise<void>, allItemsLoaded?: boolean, additionalDeps?: DependencyList): {
|
|
4374
|
+
isLoadingMore: boolean;
|
|
4375
|
+
};
|
|
4376
|
+
}
|
|
4121
4377
|
declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
|
|
4122
4378
|
import { FC, ReactNode } from 'react';
|
|
4123
4379
|
export const PullToRefreshContext: import("react").Context<{
|
|
@@ -4169,6 +4425,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarMarkAllAsReadButt
|
|
|
4169
4425
|
onMarkAsReadStarted?: () => unknown;
|
|
4170
4426
|
onMarkAsReadFinished?: () => unknown;
|
|
4171
4427
|
disabled?: boolean;
|
|
4428
|
+
unreadCount?: number;
|
|
4172
4429
|
}
|
|
4173
4430
|
export const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
4174
4431
|
export const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
@@ -4352,7 +4609,6 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4352
4609
|
export * from "libs/reach/ui/common/src/common/FloatingActionButton";
|
|
4353
4610
|
export * from "libs/reach/ui/common/src/common/FormattedMessageWithStyle";
|
|
4354
4611
|
export * from "libs/reach/ui/common/src/common/GroupedByDateTitles";
|
|
4355
|
-
export * from "libs/reach/ui/common/src/common/IconHeaderButton";
|
|
4356
4612
|
export * from "libs/reach/ui/common/src/common/IconLabel";
|
|
4357
4613
|
export * from "libs/reach/ui/common/src/common/ItemStatisticsCache";
|
|
4358
4614
|
export * from "libs/reach/ui/common/src/common/KeywordTitle";
|
|
@@ -4383,6 +4639,9 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4383
4639
|
export * from "libs/reach/ui/common/src/common/buttons/DeleteAttachmentButton";
|
|
4384
4640
|
export * from "libs/reach/ui/common/src/common/buttons/ToggleAllButtons";
|
|
4385
4641
|
export * from "libs/reach/ui/common/src/common/buttons/TopActionButton";
|
|
4642
|
+
export * from "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler";
|
|
4643
|
+
export * from "libs/reach/ui/common/src/common/buttons/IconHeaderButton";
|
|
4644
|
+
export * from "libs/reach/ui/common/src/common/buttons/HeaderMenuButton";
|
|
4386
4645
|
export * from "libs/reach/ui/common/src/common/channels/ChannelItem";
|
|
4387
4646
|
export * from "libs/reach/ui/common/src/common/channels/ChannelList";
|
|
4388
4647
|
export * from "libs/reach/ui/common/src/common/channels/ChannelSelector";
|
|
@@ -4411,6 +4670,8 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4411
4670
|
export * from "libs/reach/ui/common/src/common/paging/HorizontalPager";
|
|
4412
4671
|
export * from "libs/reach/ui/common/src/common/paging/VerticalPager";
|
|
4413
4672
|
export * from "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch";
|
|
4673
|
+
export * from "libs/reach/ui/common/src/common/paging/PaginationStatus";
|
|
4674
|
+
export * from "libs/reach/ui/common/src/common/paging/usePageScrollPagination";
|
|
4414
4675
|
export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
|
|
4415
4676
|
export * from "libs/reach/ui/common/src/common/refreshScripts";
|
|
4416
4677
|
export * from "libs/reach/ui/common/src/common/toolbar/Toolbar";
|
|
@@ -4491,10 +4752,10 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4491
4752
|
export function useEscapeOnClose(onClose: Function): void;
|
|
4492
4753
|
}
|
|
4493
4754
|
declare module "apps/reach-app/src/app/chrome/Header" {
|
|
4494
|
-
import { FC, ReactNode } from 'react';
|
|
4755
|
+
import { FC, Dispatch, SetStateAction, ReactNode, HTMLProps } from 'react';
|
|
4495
4756
|
import './Header.scss';
|
|
4496
4757
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
4497
|
-
interface Props extends
|
|
4758
|
+
interface Props extends HTMLProps<HTMLElement>, SearchBoxProps {
|
|
4498
4759
|
iconLeft?: string;
|
|
4499
4760
|
onToggleLeft?: () => void;
|
|
4500
4761
|
onToggleRight?: () => void;
|
|
@@ -4510,6 +4771,14 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
4510
4771
|
disableGoBack?: boolean;
|
|
4511
4772
|
route?: string;
|
|
4512
4773
|
}
|
|
4774
|
+
export interface HeaderContextType {
|
|
4775
|
+
setIsSearchInputFieldVisible: Dispatch<SetStateAction<boolean>>;
|
|
4776
|
+
isSearchInputFieldVisible: boolean;
|
|
4777
|
+
}
|
|
4778
|
+
export const HeaderContext: import("react").Context<HeaderContextType>;
|
|
4779
|
+
export const HeaderContextProvider: FC<{
|
|
4780
|
+
children: ReactNode;
|
|
4781
|
+
}>;
|
|
4513
4782
|
export const Header: FC<Props>;
|
|
4514
4783
|
}
|
|
4515
4784
|
declare module "apps/reach-app/src/app/chrome/FloatingPageActions" {
|
|
@@ -4624,17 +4893,19 @@ declare module "apps/reach-app/src/app/admin/AddButton" {
|
|
|
4624
4893
|
icon?: string;
|
|
4625
4894
|
tooltipResourceKey?: string;
|
|
4626
4895
|
labelResourceKey?: string;
|
|
4896
|
+
domIdentifier?: string;
|
|
4627
4897
|
className?: string;
|
|
4628
4898
|
}
|
|
4629
4899
|
export const AddButton: FC<AddButtonProps>;
|
|
4630
4900
|
}
|
|
4631
4901
|
declare module "apps/reach-app/src/app/admin/common" {
|
|
4632
|
-
|
|
4633
|
-
|
|
4902
|
+
import { FC, ReactNode } from 'react';
|
|
4903
|
+
export const AdminPage: FC<{
|
|
4904
|
+
children: ReactNode;
|
|
4634
4905
|
className?: string;
|
|
4635
4906
|
domIdentifier?: string;
|
|
4636
4907
|
}>;
|
|
4637
|
-
export const
|
|
4908
|
+
export const AdminPageTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
|
|
4638
4909
|
}
|
|
4639
4910
|
declare module "apps/reach-app/src/app/admin/keywords/useKeywordsApi" {
|
|
4640
4911
|
import { KeywordGroup } from "libs/reach/util/common/src/index";
|
|
@@ -4666,7 +4937,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
|
|
|
4666
4937
|
}
|
|
4667
4938
|
declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
4668
4939
|
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";
|
|
4940
|
+
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
|
|
4670
4941
|
import { Account } from "libs/reach/util/common/src/index";
|
|
4671
4942
|
import { Language } from "libs/reach/util/common/src/index";
|
|
4672
4943
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -4681,7 +4952,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
4681
4952
|
setSubscriptionName: (name: string) => Promise<string>;
|
|
4682
4953
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
4683
4954
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
4684
|
-
updateLogo: (file?: File) => Promise<void>;
|
|
4955
|
+
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
4685
4956
|
updateFavicon: (file?: File) => Promise<void>;
|
|
4686
4957
|
updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
|
|
4687
4958
|
linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
|
|
@@ -4721,6 +4992,34 @@ declare module "apps/reach-app/src/app/admin/themes/ColorEditor" {
|
|
|
4721
4992
|
className?: string;
|
|
4722
4993
|
}>;
|
|
4723
4994
|
}
|
|
4995
|
+
declare module "apps/reach-app/src/app/admin/themes/ContrastInfo" {
|
|
4996
|
+
import { FC } from 'react';
|
|
4997
|
+
export const ContrastInfo: FC<{
|
|
4998
|
+
foregroundColor: string;
|
|
4999
|
+
backgroundColor: string;
|
|
5000
|
+
className?: string;
|
|
5001
|
+
}>;
|
|
5002
|
+
}
|
|
5003
|
+
declare module "apps/reach-app/src/app/admin/themes/ColorButton" {
|
|
5004
|
+
import { FC } from 'react';
|
|
5005
|
+
export const ColorButton: FC<{
|
|
5006
|
+
onClick: () => void;
|
|
5007
|
+
text: string;
|
|
5008
|
+
backgroundColor: string;
|
|
5009
|
+
color: string;
|
|
5010
|
+
}>;
|
|
5011
|
+
}
|
|
5012
|
+
declare module "apps/reach-app/src/app/admin/themes/ColorOnWhitePreview" {
|
|
5013
|
+
import { FC } from 'react';
|
|
5014
|
+
export const ColorOnWhitePreview: FC;
|
|
5015
|
+
}
|
|
5016
|
+
declare module "apps/reach-app/src/app/admin/themes/ThemeContrastPreview" {
|
|
5017
|
+
import { FC } from 'react';
|
|
5018
|
+
export const ThemeContrastPreview: FC<{
|
|
5019
|
+
backgroundColor: string;
|
|
5020
|
+
foregroundColor: string;
|
|
5021
|
+
}>;
|
|
5022
|
+
}
|
|
4724
5023
|
declare module "apps/reach-app/src/app/admin/themes/Themes" {
|
|
4725
5024
|
import { FC } from 'react';
|
|
4726
5025
|
export const Themes: FC;
|
|
@@ -4730,6 +5029,42 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
|
|
|
4730
5029
|
import './ApplicationName.scss';
|
|
4731
5030
|
export const ApplicationName: FC;
|
|
4732
5031
|
}
|
|
5032
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
|
|
5033
|
+
import { FC } from 'react';
|
|
5034
|
+
export const AppBarLogoPreview: FC<{
|
|
5035
|
+
src: string;
|
|
5036
|
+
subscriptionName: string;
|
|
5037
|
+
}>;
|
|
5038
|
+
export const SidePanelLogoPreview: FC<{
|
|
5039
|
+
src: string;
|
|
5040
|
+
subscriptionName: string;
|
|
5041
|
+
}>;
|
|
5042
|
+
export const EmailLogoPreview: FC<{
|
|
5043
|
+
src: string;
|
|
5044
|
+
subscriptionName: string;
|
|
5045
|
+
}>;
|
|
5046
|
+
export const SignInLogoPreview: FC<{
|
|
5047
|
+
src: string;
|
|
5048
|
+
}>;
|
|
5049
|
+
}
|
|
5050
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
|
|
5051
|
+
import { FC } from 'react';
|
|
5052
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5053
|
+
export const LogoPreviewDialog: FC<{
|
|
5054
|
+
canSave: boolean;
|
|
5055
|
+
onDismiss: () => unknown;
|
|
5056
|
+
onSave: (logoSize: LogoSize) => unknown;
|
|
5057
|
+
source: string;
|
|
5058
|
+
logoType: LogoSize;
|
|
5059
|
+
}>;
|
|
5060
|
+
}
|
|
5061
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
|
|
5062
|
+
import { FC } from 'react';
|
|
5063
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
5064
|
+
export const LogoEditor: FC<{
|
|
5065
|
+
logoType: LogoSize;
|
|
5066
|
+
}>;
|
|
5067
|
+
}
|
|
4733
5068
|
declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
|
|
4734
5069
|
import { FC } from 'react';
|
|
4735
5070
|
export const ApplicationLogo: FC;
|
|
@@ -5491,6 +5826,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
|
|
|
5491
5826
|
}
|
|
5492
5827
|
export const GoToAdminConsentButton: React.FC<Props>;
|
|
5493
5828
|
}
|
|
5829
|
+
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
5830
|
+
import { IntlShape } from 'react-intl';
|
|
5831
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
5832
|
+
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
5833
|
+
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
5834
|
+
export const systemAccountGroupIds: {
|
|
5835
|
+
everyone: string;
|
|
5836
|
+
directoryUsers: string;
|
|
5837
|
+
nonDirectoryUsers: string;
|
|
5838
|
+
allGroups: string[];
|
|
5839
|
+
};
|
|
5840
|
+
export function getDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5841
|
+
export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5842
|
+
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
5843
|
+
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
5844
|
+
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
5845
|
+
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
5846
|
+
export const isAdGroup: (account: Account) => boolean;
|
|
5847
|
+
export const isUser: (account: Account) => boolean;
|
|
5848
|
+
}
|
|
5494
5849
|
declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
|
|
5495
5850
|
import { FC } from 'react';
|
|
5496
5851
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -5856,23 +6211,19 @@ declare module "apps/reach-app/src/app/chrome/BaseSidebarItem" {
|
|
|
5856
6211
|
}
|
|
5857
6212
|
declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
5858
6213
|
import { FC } from 'react';
|
|
5859
|
-
|
|
5860
|
-
backgroundColor: string;
|
|
5861
|
-
color: string;
|
|
5862
|
-
}
|
|
6214
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
5863
6215
|
export const SidebarItemSection: FC<{
|
|
5864
|
-
styleDefinition?:
|
|
6216
|
+
styleDefinition?: ColorStyleDefinition;
|
|
5865
6217
|
}>;
|
|
5866
6218
|
}
|
|
5867
6219
|
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
5868
|
-
import
|
|
6220
|
+
import { FC, ReactNode } from 'react';
|
|
6221
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
5869
6222
|
import './SidebarItem.scss';
|
|
5870
|
-
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
5871
6223
|
import { LocationDescriptor } from 'history';
|
|
5872
|
-
import {
|
|
5873
|
-
import { ReactNode } from 'react';
|
|
6224
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
5874
6225
|
interface CommonSidebarItemProps {
|
|
5875
|
-
title?:
|
|
6226
|
+
title?: string | JSX.Element;
|
|
5876
6227
|
titleResource?: string;
|
|
5877
6228
|
icon?: ReactNode;
|
|
5878
6229
|
iconName?: string;
|
|
@@ -5884,14 +6235,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5884
6235
|
reverse?: boolean;
|
|
5885
6236
|
notHighlightable?: boolean;
|
|
5886
6237
|
onClick?: () => void;
|
|
5887
|
-
children?: any;
|
|
5888
6238
|
className?: string;
|
|
5889
6239
|
isActive?: boolean;
|
|
5890
6240
|
activeClassName?: string;
|
|
5891
6241
|
readOnly?: boolean;
|
|
5892
6242
|
submenu?: JSX.Element;
|
|
5893
6243
|
submenuClassName?: string;
|
|
5894
|
-
submenuStyleDefinition?:
|
|
6244
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
5895
6245
|
badgeInfo?: number | boolean;
|
|
5896
6246
|
domIdentifier?: string;
|
|
5897
6247
|
}
|
|
@@ -5903,13 +6253,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5903
6253
|
secondaryIconRoute?: LocationDescriptor;
|
|
5904
6254
|
isHoverable?: boolean;
|
|
5905
6255
|
}
|
|
5906
|
-
export const SidebarItem:
|
|
6256
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
5907
6257
|
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
5908
|
-
route:
|
|
6258
|
+
route: LocationDescriptor;
|
|
5909
6259
|
exact?: boolean;
|
|
5910
6260
|
linkClassName?: string;
|
|
5911
6261
|
}
|
|
5912
|
-
export const NavLinkSidebarItem:
|
|
6262
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
5913
6263
|
}
|
|
5914
6264
|
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
5915
6265
|
import { WrappedComponentProps } from 'react-intl';
|
|
@@ -6002,24 +6352,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
|
6002
6352
|
import { FC } from 'react';
|
|
6003
6353
|
export const GroupListPage: FC;
|
|
6004
6354
|
}
|
|
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
6355
|
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
6024
6356
|
import { FC } from 'react';
|
|
6025
6357
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -6198,7 +6530,6 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
|
6198
6530
|
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
6199
6531
|
import { ReactNode } from 'react';
|
|
6200
6532
|
import { Account } from "libs/reach/util/common/src/index";
|
|
6201
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
6202
6533
|
export interface UserSuggestion {
|
|
6203
6534
|
id: string;
|
|
6204
6535
|
upn: string;
|
|
@@ -6218,13 +6549,18 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
|
6218
6549
|
onCtrlEnter?: () => unknown;
|
|
6219
6550
|
onChange?: (value: string) => void;
|
|
6220
6551
|
onFocus?: () => void;
|
|
6221
|
-
|
|
6552
|
+
additionalInputControl?: ReactNode;
|
|
6553
|
+
buttons?: {
|
|
6554
|
+
leftSide?: ReactNode;
|
|
6555
|
+
rightSide?: ReactNode;
|
|
6556
|
+
};
|
|
6222
6557
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6223
|
-
inputTheme?: CommentInputTheme;
|
|
6224
6558
|
placeHolderStringResourceKey?: string;
|
|
6225
6559
|
placeHolderStringResourceValues?: {
|
|
6226
6560
|
[key: string]: string | number | boolean | Date;
|
|
6227
6561
|
};
|
|
6562
|
+
disableBoxShadow?: boolean;
|
|
6563
|
+
ariaLabel?: string;
|
|
6228
6564
|
}
|
|
6229
6565
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6230
6566
|
}
|
|
@@ -6238,18 +6574,6 @@ declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
|
6238
6574
|
isLarge: boolean;
|
|
6239
6575
|
}>;
|
|
6240
6576
|
}
|
|
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
6577
|
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
6254
6578
|
import { VideoSource } from "libs/reach/util/common/src/index";
|
|
6255
6579
|
export interface KalturaProperties {
|
|
@@ -6264,6 +6588,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6264
6588
|
private static vimeoRegex;
|
|
6265
6589
|
private static microsoftStreamRegex;
|
|
6266
6590
|
private static vimeoDirectLinkRegex;
|
|
6591
|
+
private static vimeoRedirectLinkRegex;
|
|
6267
6592
|
private static kalturaRegex;
|
|
6268
6593
|
readonly source: VideoSource | null;
|
|
6269
6594
|
readonly id: string | null;
|
|
@@ -6271,9 +6596,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6271
6596
|
readonly videoProperties: any;
|
|
6272
6597
|
readonly thumbnailUrl: string;
|
|
6273
6598
|
constructor(url: string);
|
|
6274
|
-
isValid(): boolean;
|
|
6599
|
+
isValid(features?: any): boolean;
|
|
6275
6600
|
}
|
|
6601
|
+
export function getVideoSources(features: any): any[];
|
|
6276
6602
|
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6603
|
+
export function getAllVideoSources(features: any): any[];
|
|
6277
6604
|
}
|
|
6278
6605
|
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6279
6606
|
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
@@ -6301,9 +6628,9 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
|
6301
6628
|
}
|
|
6302
6629
|
}
|
|
6303
6630
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
6304
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6631
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6305
6632
|
export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
|
|
6306
|
-
keywords?:
|
|
6633
|
+
keywords?: FilterWithLogicalOperator;
|
|
6307
6634
|
}
|
|
6308
6635
|
}
|
|
6309
6636
|
declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
|
|
@@ -6328,6 +6655,14 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6328
6655
|
export interface IndexableFilterDefinition {
|
|
6329
6656
|
[key: string]: any;
|
|
6330
6657
|
}
|
|
6658
|
+
export interface FilterWithLogicalOperator {
|
|
6659
|
+
items?: string[];
|
|
6660
|
+
operator?: LogicalOperator;
|
|
6661
|
+
}
|
|
6662
|
+
export enum LogicalOperator {
|
|
6663
|
+
Or = "or",
|
|
6664
|
+
And = "and"
|
|
6665
|
+
}
|
|
6331
6666
|
}
|
|
6332
6667
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6333
6668
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
@@ -6350,12 +6685,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
|
|
|
6350
6685
|
contacts?: string[];
|
|
6351
6686
|
}
|
|
6352
6687
|
}
|
|
6688
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6689
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6690
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6691
|
+
channels?: FilterWithLogicalOperator;
|
|
6692
|
+
}
|
|
6693
|
+
}
|
|
6353
6694
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6354
6695
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6355
6696
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6356
6697
|
import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6357
6698
|
import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6358
|
-
|
|
6699
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6700
|
+
export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
|
|
6359
6701
|
excludePastEvents?: boolean;
|
|
6360
6702
|
pastEventsOnly?: boolean;
|
|
6361
6703
|
}
|
|
@@ -6366,26 +6708,19 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6366
6708
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6367
6709
|
export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6368
6710
|
}
|
|
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
6711
|
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6380
6712
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6381
6713
|
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6382
6714
|
author?: string;
|
|
6383
6715
|
}
|
|
6384
6716
|
}
|
|
6385
|
-
declare module "libs/reach/feature/content/src/filter/
|
|
6717
|
+
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6386
6718
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6387
|
-
export interface
|
|
6388
|
-
|
|
6719
|
+
export interface FilteringProps {
|
|
6720
|
+
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6721
|
+
onShowFilterPanel?: () => unknown;
|
|
6722
|
+
onToggleFilterSidebar?: () => unknown;
|
|
6723
|
+
isFilterActive?: boolean;
|
|
6389
6724
|
}
|
|
6390
6725
|
}
|
|
6391
6726
|
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
@@ -6406,6 +6741,95 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6406
6741
|
unreadOnly?: boolean;
|
|
6407
6742
|
}
|
|
6408
6743
|
}
|
|
6744
|
+
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6745
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6746
|
+
export enum ItemType {
|
|
6747
|
+
None = 0,
|
|
6748
|
+
News = 1,
|
|
6749
|
+
Post = 2,
|
|
6750
|
+
Page = 4,
|
|
6751
|
+
Event = 8
|
|
6752
|
+
}
|
|
6753
|
+
export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
|
|
6754
|
+
itemType?: ItemType;
|
|
6755
|
+
}
|
|
6756
|
+
}
|
|
6757
|
+
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
6758
|
+
import { FC } from 'react';
|
|
6759
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6760
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6761
|
+
export interface InjectedFilterProps {
|
|
6762
|
+
filter: IndexableFilterDefinition;
|
|
6763
|
+
hasFilter: boolean;
|
|
6764
|
+
isSearchActive: boolean;
|
|
6765
|
+
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6766
|
+
onSearchChange: (text: string) => void;
|
|
6767
|
+
onClearFilter: () => void;
|
|
6768
|
+
}
|
|
6769
|
+
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
6770
|
+
filter: Partial<IndexableFilterDefinition>;
|
|
6771
|
+
hasFilter: boolean;
|
|
6772
|
+
isSearchActive: boolean;
|
|
6773
|
+
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
6774
|
+
onSearchChange: (search: string) => void;
|
|
6775
|
+
onClearFilter: () => void;
|
|
6776
|
+
};
|
|
6777
|
+
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
6778
|
+
export const FilterContextProvider: FC<{
|
|
6779
|
+
addFilters?: (locationParams: {
|
|
6780
|
+
[paramName: string]: any;
|
|
6781
|
+
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
6782
|
+
additionalExcludedFilterProperties?: string[];
|
|
6783
|
+
onClearQueryString?: (prev: any, next: any) => any;
|
|
6784
|
+
}>;
|
|
6785
|
+
export interface FilterVisibilityState {
|
|
6786
|
+
showFilterAsPanel?: boolean;
|
|
6787
|
+
showFilterSidebar?: boolean;
|
|
6788
|
+
}
|
|
6789
|
+
}
|
|
6790
|
+
declare module "libs/reach/feature/content/src/filter/index" {
|
|
6791
|
+
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6792
|
+
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6793
|
+
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6794
|
+
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6795
|
+
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6796
|
+
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6797
|
+
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6798
|
+
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
6799
|
+
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6800
|
+
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6801
|
+
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
6802
|
+
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6803
|
+
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6804
|
+
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6805
|
+
export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
|
|
6806
|
+
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
6807
|
+
export * from "libs/reach/feature/content/src/filter/utils";
|
|
6808
|
+
}
|
|
6809
|
+
declare module "libs/reach/feature/content/src/filter/utils" {
|
|
6810
|
+
import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
6811
|
+
export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
|
|
6812
|
+
channels?: undefined;
|
|
6813
|
+
} | {
|
|
6814
|
+
channels: string;
|
|
6815
|
+
};
|
|
6816
|
+
export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
|
|
6817
|
+
keywords?: undefined;
|
|
6818
|
+
} | {
|
|
6819
|
+
keywords: string;
|
|
6820
|
+
};
|
|
6821
|
+
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6822
|
+
}
|
|
6823
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6824
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6825
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6826
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6827
|
+
export function useEventsApi(): {
|
|
6828
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6829
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
6830
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6831
|
+
};
|
|
6832
|
+
}
|
|
6409
6833
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6410
6834
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6411
6835
|
import { Observable } from 'rxjs';
|
|
@@ -6495,6 +6919,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6495
6919
|
import { Account, BaseItem, CurrentUser, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
6496
6920
|
import { Comment, ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
6497
6921
|
import { ItemStatistics } from "libs/reach/util/common/src/index";
|
|
6922
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6498
6923
|
export interface Post extends BaseItem, ItemWithAttachments {
|
|
6499
6924
|
id: string;
|
|
6500
6925
|
comments?: PaginatedList<Comment>;
|
|
@@ -6517,6 +6942,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6517
6942
|
token?: string;
|
|
6518
6943
|
pageSize?: string;
|
|
6519
6944
|
search?: string;
|
|
6945
|
+
keywords?: FilterWithLogicalOperator;
|
|
6520
6946
|
}
|
|
6521
6947
|
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
6522
6948
|
export function getPostsBaseRoute(post: Post, user: CurrentUser): string;
|
|
@@ -6549,7 +6975,6 @@ declare module "libs/reach/feature/content/src/common/useEmbeddedObjectValidator
|
|
|
6549
6975
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
6550
6976
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
6551
6977
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
6552
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6553
6978
|
export interface ClientAttachment extends Attachment {
|
|
6554
6979
|
file?: File;
|
|
6555
6980
|
}
|
|
@@ -6563,14 +6988,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6563
6988
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6564
6989
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6565
6990
|
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
6991
|
disableAddGif?: boolean;
|
|
6575
6992
|
disableAddFiles?: boolean;
|
|
6576
6993
|
};
|
|
@@ -6583,14 +7000,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
6583
7000
|
onAttachmentsChange: (attachments: Attachments) => void;
|
|
6584
7001
|
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
6585
7002
|
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
7003
|
disableAddGif?: boolean;
|
|
6595
7004
|
disableAddFiles?: boolean;
|
|
6596
7005
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -6619,7 +7028,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
6619
7028
|
private getVideoElement;
|
|
6620
7029
|
private getNotSupportedElement;
|
|
6621
7030
|
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
6622
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "
|
|
7031
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
6623
7032
|
}
|
|
6624
7033
|
}
|
|
6625
7034
|
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
@@ -6668,8 +7077,7 @@ declare module "libs/reach/feature/content/src/posts/VideoList" {
|
|
|
6668
7077
|
}
|
|
6669
7078
|
declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
6670
7079
|
import { FC } from 'react';
|
|
6671
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
6672
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
7080
|
+
import { Keyword, PublishableItem } from "libs/reach/util/common/src/index";
|
|
6673
7081
|
export interface KeywordsInfoProps {
|
|
6674
7082
|
keywords: {
|
|
6675
7083
|
[key: string]: Keyword[];
|
|
@@ -6689,18 +7097,21 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
6689
7097
|
className?: string;
|
|
6690
7098
|
filterBaseUrl?: string;
|
|
6691
7099
|
}>;
|
|
6692
|
-
export const FlatKeywords:
|
|
7100
|
+
export const FlatKeywords: FC<{
|
|
6693
7101
|
item: PublishableItem;
|
|
6694
7102
|
filterBaseUrl?: string;
|
|
6695
7103
|
className?: string;
|
|
6696
7104
|
useGridKeywordTitle?: boolean;
|
|
6697
|
-
|
|
7105
|
+
onClick?: (keyword: string) => unknown;
|
|
7106
|
+
showAllKeywordsInCallout?: boolean;
|
|
7107
|
+
}>;
|
|
6698
7108
|
}
|
|
6699
7109
|
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
6700
7110
|
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6701
7111
|
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
6702
7112
|
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
6703
7113
|
export class NewsService {
|
|
7114
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6704
7115
|
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6705
7116
|
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
6706
7117
|
static getContentLanguages(contents: {
|
|
@@ -6808,12 +7219,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
6808
7219
|
}
|
|
6809
7220
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
6810
7221
|
import { FC } from 'react';
|
|
6811
|
-
import { BannerInfo } from "libs/reach/util/common/src/index";
|
|
6812
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7222
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6813
7223
|
interface Props {
|
|
6814
7224
|
itemId: string;
|
|
6815
7225
|
bannerInfo: BannerInfo;
|
|
6816
|
-
|
|
7226
|
+
useEditorRoutes?: boolean;
|
|
6817
7227
|
width: number;
|
|
6818
7228
|
resourceType: ItemResourceTypes;
|
|
6819
7229
|
token?: string;
|
|
@@ -7244,7 +7654,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7244
7654
|
updateSelectedLanguage: (lang: string) => unknown;
|
|
7245
7655
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7246
7656
|
handleLanguageChange: (language: string) => unknown;
|
|
7247
|
-
|
|
7657
|
+
isEditorPreview?: boolean;
|
|
7248
7658
|
}
|
|
7249
7659
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7250
7660
|
}
|
|
@@ -7440,6 +7850,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7440
7850
|
buttons?: ReactNode;
|
|
7441
7851
|
openTargetInNewWindow?: boolean;
|
|
7442
7852
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7853
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7854
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
7443
7855
|
styleDefinition?: StyleDefinition;
|
|
7444
7856
|
readOnly?: boolean;
|
|
7445
7857
|
className?: string;
|
|
@@ -7526,14 +7938,6 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7526
7938
|
onAttachmentsChange: (attachments: import("libs/reach/feature/content/src/comments/RichCommentInput").Attachments) => void;
|
|
7527
7939
|
onDeleteAttachment?: (attachment: import("@livetiles/reach/util/common").Attachment) => void;
|
|
7528
7940
|
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
7941
|
disableAddGif?: boolean;
|
|
7538
7942
|
disableAddFiles?: boolean;
|
|
7539
7943
|
} & {
|
|
@@ -7542,10 +7946,57 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
7542
7946
|
attachmentPreviewTheme?: CommentInputTheme;
|
|
7543
7947
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7544
7948
|
}
|
|
7545
|
-
declare module "libs/reach/feature/content/src/
|
|
7949
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
7950
|
+
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
7951
|
+
import { FC } from 'react';
|
|
7952
|
+
interface Props {
|
|
7953
|
+
group: KeywordGroup;
|
|
7954
|
+
keywords?: Keyword[];
|
|
7955
|
+
expanded?: boolean;
|
|
7956
|
+
selectedKeywords: Keyword[];
|
|
7957
|
+
onChange?: (keywords: Keyword[]) => void;
|
|
7958
|
+
mandatoryKeywordIds?: string[];
|
|
7959
|
+
}
|
|
7960
|
+
export const KeywordPickerGroup: FC<Props>;
|
|
7961
|
+
}
|
|
7962
|
+
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker" {
|
|
7546
7963
|
import { FC } from 'react';
|
|
7547
|
-
import {
|
|
7548
|
-
|
|
7964
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7965
|
+
interface Props {
|
|
7966
|
+
value?: Keyword[] | string[];
|
|
7967
|
+
onChange: (keywords: Keyword[]) => void;
|
|
7968
|
+
showSelectionToggle?: boolean;
|
|
7969
|
+
availableKeywords?: Keyword[];
|
|
7970
|
+
mandatoryKeywordIds?: string[];
|
|
7971
|
+
className?: string;
|
|
7972
|
+
}
|
|
7973
|
+
export const KeywordPicker: FC<Props>;
|
|
7974
|
+
}
|
|
7975
|
+
declare module "libs/reach/feature/content/src/common/keywords/AddKeywordsButton" {
|
|
7976
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7977
|
+
import { FC } from 'react';
|
|
7978
|
+
export const AddKeywordsButton: FC<{
|
|
7979
|
+
availableKeywords?: Keyword[];
|
|
7980
|
+
mandatoryKeywords?: Keyword[];
|
|
7981
|
+
preselectedKeywords?: Keyword[];
|
|
7982
|
+
onKeywordsChange?: (keywords: Keyword[]) => void;
|
|
7983
|
+
disabled?: boolean;
|
|
7984
|
+
keywordPickerTitleResourceKey?: string;
|
|
7985
|
+
}>;
|
|
7986
|
+
}
|
|
7987
|
+
declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsList" {
|
|
7988
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7989
|
+
import { FC } from 'react';
|
|
7990
|
+
export const EditableKeywordsList: FC<{
|
|
7991
|
+
keywords?: Keyword[];
|
|
7992
|
+
mandatoryKeywordIds?: string[];
|
|
7993
|
+
onRemoveKeyword?: (id: string) => void;
|
|
7994
|
+
}>;
|
|
7995
|
+
}
|
|
7996
|
+
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
7997
|
+
import { FC } from 'react';
|
|
7998
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
7999
|
+
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7549
8000
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7550
8001
|
export interface BaseProps {
|
|
7551
8002
|
readOnly?: boolean;
|
|
@@ -7573,6 +8024,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7573
8024
|
defaultKeywords?: Keyword[];
|
|
7574
8025
|
mandatoryKeywords?: Keyword[];
|
|
7575
8026
|
};
|
|
8027
|
+
disableBoxShadow?: boolean;
|
|
8028
|
+
ariaLabel?: string;
|
|
7576
8029
|
}
|
|
7577
8030
|
interface Props extends BaseProps {
|
|
7578
8031
|
allowAttachments?: boolean;
|
|
@@ -7663,9 +8116,9 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7663
8116
|
deletedFileUrls?: string[];
|
|
7664
8117
|
onCancel?: () => void;
|
|
7665
8118
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7666
|
-
inputTheme?: CommentInputTheme;
|
|
7667
8119
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
7668
8120
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8121
|
+
ariaLabel?: string;
|
|
7669
8122
|
}
|
|
7670
8123
|
interface Props extends BaseProps {
|
|
7671
8124
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -7673,14 +8126,18 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7673
8126
|
}) => void;
|
|
7674
8127
|
allowAttachments?: boolean;
|
|
7675
8128
|
allowKeywords?: boolean;
|
|
7676
|
-
|
|
7677
|
-
|
|
8129
|
+
keywordSettings?: {
|
|
8130
|
+
availableKeywords?: Keyword[];
|
|
8131
|
+
defaultKeywords?: Keyword[];
|
|
8132
|
+
mandatoryKeywords?: Keyword[];
|
|
8133
|
+
};
|
|
7678
8134
|
keywords?: {
|
|
7679
8135
|
[key: string]: Keyword[];
|
|
7680
8136
|
};
|
|
7681
8137
|
allowSaveWithoutContent?: boolean;
|
|
7682
8138
|
saveOnEnter?: boolean;
|
|
7683
8139
|
saveOnCtrlEnter?: boolean;
|
|
8140
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7684
8141
|
}
|
|
7685
8142
|
export const EditComment: FC<Props>;
|
|
7686
8143
|
}
|
|
@@ -7702,6 +8159,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7702
8159
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7703
8160
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
7704
8161
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8162
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7705
8163
|
interface Props extends CreateCommentProps {
|
|
7706
8164
|
onSave: (newContent: string, attachments?: Attachment[], keywords?: {
|
|
7707
8165
|
[key: string]: Keyword[];
|
|
@@ -7709,14 +8167,18 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7709
8167
|
item: ItemWithAttachments;
|
|
7710
8168
|
basePath: string;
|
|
7711
8169
|
allowKeywords?: boolean;
|
|
7712
|
-
|
|
7713
|
-
|
|
8170
|
+
keywordSettings?: {
|
|
8171
|
+
availableKeywords?: Keyword[];
|
|
8172
|
+
defaultKeywords?: Keyword[];
|
|
8173
|
+
mandatoryKeywords?: Keyword[];
|
|
8174
|
+
};
|
|
7714
8175
|
keywords?: {
|
|
7715
8176
|
[key: string]: Keyword[];
|
|
7716
8177
|
};
|
|
7717
8178
|
allowSaveWithoutContent?: boolean;
|
|
7718
8179
|
saveOnEnter?: boolean;
|
|
7719
8180
|
saveOnCtrlEnter?: boolean;
|
|
8181
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7720
8182
|
}
|
|
7721
8183
|
export const EditCommentWithAttachments: FC<Props>;
|
|
7722
8184
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
@@ -7796,34 +8258,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
7796
8258
|
}>;
|
|
7797
8259
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
7798
8260
|
}
|
|
7799
|
-
declare module "libs/reach/feature/content/src/
|
|
7800
|
-
import { FC
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
className?: string;
|
|
8261
|
+
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8262
|
+
import { FC } from 'react';
|
|
8263
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8264
|
+
export const DetailViewContextProvider: FC<{
|
|
8265
|
+
itemId: string;
|
|
8266
|
+
type?: ItemResourceTypes;
|
|
8267
|
+
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8268
|
+
isEditorPreview?: boolean;
|
|
7808
8269
|
}>;
|
|
7809
8270
|
}
|
|
7810
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7811
|
-
import {
|
|
7812
|
-
export
|
|
8271
|
+
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8272
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8273
|
+
export interface EmbeddedObjectPreviewData {
|
|
8274
|
+
itemId: string;
|
|
8275
|
+
type: string;
|
|
8276
|
+
subscriptionIdentifier: string;
|
|
8277
|
+
}
|
|
8278
|
+
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
7813
8279
|
}
|
|
7814
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7815
|
-
import {
|
|
7816
|
-
export const
|
|
8280
|
+
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8281
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8282
|
+
export const InlineImageMapper: HtmlComponentMapper;
|
|
7817
8283
|
}
|
|
7818
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7819
|
-
import {
|
|
7820
|
-
export
|
|
8284
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
8285
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8286
|
+
export interface ContactDetails {
|
|
8287
|
+
id: string;
|
|
8288
|
+
upn?: string;
|
|
8289
|
+
tenantId?: string;
|
|
8290
|
+
properties?: {
|
|
8291
|
+
[key: string]: {
|
|
8292
|
+
value: string;
|
|
8293
|
+
shouldAutoLoad?: boolean;
|
|
8294
|
+
};
|
|
8295
|
+
};
|
|
8296
|
+
}
|
|
8297
|
+
export const InlineContactMapper: HtmlComponentMapper;
|
|
7821
8298
|
}
|
|
7822
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7823
|
-
import { FC
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
8299
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
|
|
8300
|
+
import { FC } from 'react';
|
|
8301
|
+
import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8302
|
+
export const InlineContactViewer: FC<{
|
|
8303
|
+
contact: ContactDetails;
|
|
7827
8304
|
}>;
|
|
7828
8305
|
}
|
|
7829
8306
|
declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
|
|
@@ -7849,6 +8326,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
|
|
|
7849
8326
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7850
8327
|
export const InlineQuoteMapper: HtmlComponentMapper;
|
|
7851
8328
|
}
|
|
8329
|
+
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
8330
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8331
|
+
export const InlineVideoMapper: HtmlComponentMapper;
|
|
8332
|
+
}
|
|
8333
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
8334
|
+
import { FC } from 'react';
|
|
8335
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8336
|
+
export const InlinePageListViewer: FC<{
|
|
8337
|
+
items: PageItem[];
|
|
8338
|
+
baseRoute: string;
|
|
8339
|
+
filterBaseUrl?: string;
|
|
8340
|
+
isInitialLoading?: boolean;
|
|
8341
|
+
}>;
|
|
8342
|
+
}
|
|
8343
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
8344
|
+
import { FC } from 'react';
|
|
8345
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8346
|
+
export interface ListPagingProps {
|
|
8347
|
+
getNextPage: () => unknown;
|
|
8348
|
+
getPrevPage: () => unknown;
|
|
8349
|
+
getFirstPage: () => unknown;
|
|
8350
|
+
isLoadingNextPage: boolean;
|
|
8351
|
+
isInitialLoading: boolean;
|
|
8352
|
+
isFirstPage: boolean;
|
|
8353
|
+
hideNextButton: boolean;
|
|
8354
|
+
}
|
|
8355
|
+
export const InlinePageListWithPaging: FC<{
|
|
8356
|
+
pages: PageItem[];
|
|
8357
|
+
baseRoute: string;
|
|
8358
|
+
pagingProps?: ListPagingProps;
|
|
8359
|
+
filterBaseUrl?: string;
|
|
8360
|
+
}>;
|
|
8361
|
+
}
|
|
8362
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8363
|
+
import { DependencyList } from 'react';
|
|
8364
|
+
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8365
|
+
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8366
|
+
showPages: boolean;
|
|
8367
|
+
showDocuments: boolean;
|
|
8368
|
+
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8369
|
+
pageItems: any[];
|
|
8370
|
+
pagingProps: {
|
|
8371
|
+
hideNextButton: boolean;
|
|
8372
|
+
isInitialLoading: boolean;
|
|
8373
|
+
isLoadingNextPage: boolean;
|
|
8374
|
+
error: any;
|
|
8375
|
+
getFirstPage: () => void;
|
|
8376
|
+
getPrevPage: () => void;
|
|
8377
|
+
getNextPage: () => Promise<void>;
|
|
8378
|
+
isFirstPage: boolean;
|
|
8379
|
+
isLastPage: boolean;
|
|
8380
|
+
isEmpty: boolean;
|
|
8381
|
+
};
|
|
8382
|
+
};
|
|
8383
|
+
}
|
|
8384
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8385
|
+
import { FC } from 'react';
|
|
8386
|
+
export const InlinePageListSkeleton: FC<{
|
|
8387
|
+
isDataLoaded: boolean;
|
|
8388
|
+
pageSize?: number;
|
|
8389
|
+
}>;
|
|
8390
|
+
}
|
|
7852
8391
|
declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
|
|
7853
8392
|
export interface CodeDetails {
|
|
7854
8393
|
id: string;
|
|
@@ -7870,20 +8409,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
|
|
|
7870
8409
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7871
8410
|
export const InlineCodeMapper: HtmlComponentMapper;
|
|
7872
8411
|
}
|
|
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
8412
|
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
7888
8413
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7889
8414
|
import { CSSProperties } from 'react';
|
|
@@ -7924,182 +8449,39 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
|
7924
8449
|
export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
|
|
7925
8450
|
export const InlineTable: HtmlComponentMapper;
|
|
7926
8451
|
}
|
|
7927
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7928
|
-
import {
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
8452
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
8453
|
+
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8454
|
+
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
8455
|
+
format: TableFormat;
|
|
8456
|
+
}, never>;
|
|
8457
|
+
}
|
|
8458
|
+
declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
8459
|
+
import { FC, ReactNode } from 'react';
|
|
8460
|
+
export const ItemBodyWrapper: FC<{
|
|
8461
|
+
className?: string;
|
|
8462
|
+
children?: ReactNode;
|
|
7932
8463
|
}>;
|
|
7933
8464
|
}
|
|
7934
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7935
|
-
import {
|
|
7936
|
-
export
|
|
7937
|
-
id: string;
|
|
7938
|
-
upn?: string;
|
|
7939
|
-
tenantId?: string;
|
|
7940
|
-
properties?: {
|
|
7941
|
-
[key: string]: {
|
|
7942
|
-
value: string;
|
|
7943
|
-
shouldAutoLoad?: boolean;
|
|
7944
|
-
};
|
|
7945
|
-
};
|
|
7946
|
-
}
|
|
7947
|
-
export const InlineContactMapper: HtmlComponentMapper;
|
|
8465
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8466
|
+
import { FC } from 'react';
|
|
8467
|
+
export const EventDetailViewPeopleInfo: FC;
|
|
7948
8468
|
}
|
|
7949
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8469
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
7950
8470
|
import { FC } from 'react';
|
|
7951
|
-
|
|
7952
|
-
export const InlinePageListViewer: FC<{
|
|
7953
|
-
items: PageItem[];
|
|
7954
|
-
baseRoute: string;
|
|
7955
|
-
filterBaseUrl?: string;
|
|
7956
|
-
isInitialLoading?: boolean;
|
|
7957
|
-
}>;
|
|
8471
|
+
export const EventDetailViewLocationInfo: FC;
|
|
7958
8472
|
}
|
|
7959
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8473
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
7960
8474
|
import { FC } from 'react';
|
|
7961
|
-
|
|
7962
|
-
|
|
7963
|
-
getNextPage: () => unknown;
|
|
7964
|
-
getPrevPage: () => unknown;
|
|
7965
|
-
getFirstPage: () => unknown;
|
|
7966
|
-
isLoadingNextPage: boolean;
|
|
7967
|
-
isInitialLoading: boolean;
|
|
7968
|
-
isFirstPage: boolean;
|
|
7969
|
-
hideNextButton: boolean;
|
|
7970
|
-
}
|
|
7971
|
-
export const InlinePageListWithPaging: FC<{
|
|
7972
|
-
pages: PageItem[];
|
|
7973
|
-
baseRoute: string;
|
|
7974
|
-
pagingProps?: ListPagingProps;
|
|
7975
|
-
filterBaseUrl?: string;
|
|
8475
|
+
export const EventDetailViewMetaInfo: FC<{
|
|
8476
|
+
allowFilterByChannels?: boolean;
|
|
7976
8477
|
}>;
|
|
7977
8478
|
}
|
|
7978
|
-
declare module "libs/reach/feature/content/src/
|
|
7979
|
-
import { PageType } from "libs/reach/util/common/src/index";
|
|
7980
|
-
export function useLoadPublishedItemsByKeywords(keywords: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
|
|
7981
|
-
}
|
|
7982
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8479
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
7983
8480
|
import { FC } from 'react';
|
|
7984
|
-
export const
|
|
7985
|
-
|
|
7986
|
-
pageSize?: number;
|
|
8481
|
+
export const EventDetailViewDatesInfo: FC<{
|
|
8482
|
+
className?: string;
|
|
7987
8483
|
}>;
|
|
7988
8484
|
}
|
|
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;
|
|
8077
|
-
}>;
|
|
8078
|
-
}
|
|
8079
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
8080
|
-
import { FC } from 'react';
|
|
8081
|
-
export const EventDetailViewDatesInfo: FC<{
|
|
8082
|
-
className?: string;
|
|
8083
|
-
}>;
|
|
8084
|
-
}
|
|
8085
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8086
|
-
import { FC } from 'react';
|
|
8087
|
-
export const EventDetailViewPeopleInfo: FC;
|
|
8088
|
-
}
|
|
8089
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
8090
|
-
import { FC } from 'react';
|
|
8091
|
-
export const EventDetailViewLocationInfo: FC;
|
|
8092
|
-
}
|
|
8093
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
8094
|
-
import { FC } from 'react';
|
|
8095
|
-
export const EventDetailViewMetaInfo: FC<{
|
|
8096
|
-
allowFilterByChannels?: boolean;
|
|
8097
|
-
}>;
|
|
8098
|
-
}
|
|
8099
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8100
|
-
import { FC } from 'react';
|
|
8101
|
-
export const EventDetailViewCancelInformation: FC;
|
|
8102
|
-
}
|
|
8103
8485
|
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8104
8486
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8105
8487
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
@@ -8210,8 +8592,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8210
8592
|
}
|
|
8211
8593
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
|
|
8212
8594
|
import { FC } from 'react';
|
|
8213
|
-
import { EventParticipant } from "libs/reach/util/common/src/index";
|
|
8214
|
-
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
8595
|
+
import { EventParticipant, EventResponse } from "libs/reach/util/common/src/index";
|
|
8215
8596
|
export const EventRegistrationRegisterSomeoneElseDialog: FC<{
|
|
8216
8597
|
show: boolean;
|
|
8217
8598
|
onDismiss: () => unknown;
|
|
@@ -8257,6 +8638,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8257
8638
|
import { FC } from 'react';
|
|
8258
8639
|
export const EventDetailViewRegistration: FC;
|
|
8259
8640
|
}
|
|
8641
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8642
|
+
import { FC } from 'react';
|
|
8643
|
+
export const EventDetailViewCancelInformation: FC;
|
|
8644
|
+
}
|
|
8260
8645
|
declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
8261
8646
|
import { FC } from 'react';
|
|
8262
8647
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
@@ -8512,92 +8897,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
|
|
|
8512
8897
|
eventItem: EventItem;
|
|
8513
8898
|
}>;
|
|
8514
8899
|
}
|
|
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
8900
|
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8602
8901
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8603
8902
|
interface DateInfoProps {
|
|
@@ -8637,51 +8936,13 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8637
8936
|
import { FC } from 'react';
|
|
8638
8937
|
export const PageDetailViewMetaInfo: FC;
|
|
8639
8938
|
}
|
|
8640
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/
|
|
8939
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8641
8940
|
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;
|
|
8941
|
+
export const PageDetailViewFeedbackSection: FC<{
|
|
8942
|
+
hideLikes?: boolean;
|
|
8943
|
+
hideComments?: boolean;
|
|
8944
|
+
hideProfileUrl?: boolean;
|
|
8945
|
+
disableLoginForPublicUser?: boolean;
|
|
8685
8946
|
}>;
|
|
8686
8947
|
}
|
|
8687
8948
|
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
@@ -8790,8 +9051,106 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8790
9051
|
import { FC } from 'react';
|
|
8791
9052
|
export const PageDetailViewTableOfContentsButton: FC;
|
|
8792
9053
|
}
|
|
8793
|
-
declare module "libs/reach/feature/content/src/
|
|
8794
|
-
import {
|
|
9054
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
9055
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9056
|
+
export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
9057
|
+
}
|
|
9058
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
9059
|
+
import { FC } from 'react';
|
|
9060
|
+
export const InlinePageListByKeywords: FC<{
|
|
9061
|
+
keywords: string[];
|
|
9062
|
+
showDocuments?: boolean;
|
|
9063
|
+
showPages?: boolean;
|
|
9064
|
+
}>;
|
|
9065
|
+
}
|
|
9066
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
9067
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9068
|
+
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
9069
|
+
}
|
|
9070
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
9071
|
+
import { FC } from 'react';
|
|
9072
|
+
export const InlinePageListByPageId: FC<{
|
|
9073
|
+
pageId: string;
|
|
9074
|
+
showDocuments: boolean;
|
|
9075
|
+
showPages: boolean;
|
|
9076
|
+
}>;
|
|
9077
|
+
}
|
|
9078
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
9079
|
+
import { FC } from 'react';
|
|
9080
|
+
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9081
|
+
export const InlinePageListByCurrentPage: FC<{
|
|
9082
|
+
blockProps?: PageListDetails;
|
|
9083
|
+
}>;
|
|
9084
|
+
}
|
|
9085
|
+
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
9086
|
+
import { FC } from 'react';
|
|
9087
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9088
|
+
export interface PageListDetails {
|
|
9089
|
+
id?: string;
|
|
9090
|
+
showChildren?: boolean;
|
|
9091
|
+
showDocuments?: boolean;
|
|
9092
|
+
showPages?: boolean;
|
|
9093
|
+
pageId?: string;
|
|
9094
|
+
keywords?: string;
|
|
9095
|
+
}
|
|
9096
|
+
export const InlinePageList: FC<{
|
|
9097
|
+
blockProps?: PageListDetails;
|
|
9098
|
+
}>;
|
|
9099
|
+
export const InlinePageListMapper: HtmlComponentMapper;
|
|
9100
|
+
}
|
|
9101
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
9102
|
+
import { FC } from 'react';
|
|
9103
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9104
|
+
export const PageBreadcrumb: FC<{
|
|
9105
|
+
page: PageItem;
|
|
9106
|
+
target?: string;
|
|
9107
|
+
language?: string;
|
|
9108
|
+
hideCurrentPageNode?: boolean;
|
|
9109
|
+
className?: string;
|
|
9110
|
+
}>;
|
|
9111
|
+
}
|
|
9112
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
9113
|
+
import { FC } from 'react';
|
|
9114
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9115
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
9116
|
+
export const DetailViewPageDocumentDownload: FC;
|
|
9117
|
+
export const PageDocumentDownloadButton: FC<{
|
|
9118
|
+
item: PageItem;
|
|
9119
|
+
content: PublishableItemContent;
|
|
9120
|
+
basePath?: string;
|
|
9121
|
+
}>;
|
|
9122
|
+
}
|
|
9123
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
9124
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9125
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9126
|
+
interface Props {
|
|
9127
|
+
id: string;
|
|
9128
|
+
item: PublishableItem;
|
|
9129
|
+
itemResourceType: ItemResourceTypes;
|
|
9130
|
+
}
|
|
9131
|
+
export const CardBanner: React.FC<Props>;
|
|
9132
|
+
}
|
|
9133
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
9134
|
+
import { FC, ReactNode } from 'react';
|
|
9135
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9136
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9137
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9138
|
+
interface CardProps {
|
|
9139
|
+
item: PublishableItem;
|
|
9140
|
+
itemResourceType: ItemResourceTypes;
|
|
9141
|
+
additionalMetadata?: ReactNode;
|
|
9142
|
+
highlight?: boolean;
|
|
9143
|
+
className?: string;
|
|
9144
|
+
}
|
|
9145
|
+
export const Card: FC<CardProps>;
|
|
9146
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
9147
|
+
item: TItem;
|
|
9148
|
+
language: string;
|
|
9149
|
+
}
|
|
9150
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
9151
|
+
}
|
|
9152
|
+
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
9153
|
+
import { FC } from 'react';
|
|
8795
9154
|
interface LanguageSelectorProps {
|
|
8796
9155
|
languages: string[];
|
|
8797
9156
|
selectedLanguage: string;
|
|
@@ -8811,10 +9170,112 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8811
9170
|
className?: string;
|
|
8812
9171
|
}>;
|
|
8813
9172
|
}
|
|
9173
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
|
|
9174
|
+
import { FC } from 'react';
|
|
9175
|
+
export const DetailViewBanner: FC;
|
|
9176
|
+
}
|
|
9177
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
9178
|
+
import { FC } from 'react';
|
|
9179
|
+
export const DetailViewIntro: FC;
|
|
9180
|
+
}
|
|
9181
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
9182
|
+
import { FC } from 'react';
|
|
9183
|
+
export const DetailMainSection: FC;
|
|
9184
|
+
}
|
|
9185
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
9186
|
+
import { FC, ReactNode } from 'react';
|
|
9187
|
+
export const GutterMarkerIcon: FC<{
|
|
9188
|
+
iconName: string;
|
|
9189
|
+
children: ReactNode;
|
|
9190
|
+
isActive: boolean;
|
|
9191
|
+
color: string;
|
|
9192
|
+
tooltipResourceKey?: string;
|
|
9193
|
+
className?: string;
|
|
9194
|
+
}>;
|
|
9195
|
+
}
|
|
9196
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9197
|
+
import { FC } from 'react';
|
|
9198
|
+
export const DetailViewTitle: FC;
|
|
9199
|
+
}
|
|
8814
9200
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
|
|
8815
9201
|
import { FC } from 'react';
|
|
8816
9202
|
export const NewsDetailViewMetaInfo: FC;
|
|
8817
9203
|
}
|
|
9204
|
+
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
9205
|
+
import { FC } from 'react';
|
|
9206
|
+
export const RichTextViewer: FC<{
|
|
9207
|
+
html: string;
|
|
9208
|
+
}>;
|
|
9209
|
+
}
|
|
9210
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
9211
|
+
import { FC } from 'react';
|
|
9212
|
+
export const DetailViewBody: FC;
|
|
9213
|
+
}
|
|
9214
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
9215
|
+
import { FC } from 'react';
|
|
9216
|
+
export const DetailViewKeywords: FC<{
|
|
9217
|
+
filterBaseUrl: string;
|
|
9218
|
+
}>;
|
|
9219
|
+
}
|
|
9220
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9221
|
+
import { FC } from 'react';
|
|
9222
|
+
export const ConfirmationBox: FC<{
|
|
9223
|
+
disabled?: boolean;
|
|
9224
|
+
onChange?: (value: boolean) => void;
|
|
9225
|
+
checked: boolean;
|
|
9226
|
+
}>;
|
|
9227
|
+
}
|
|
9228
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9229
|
+
import { FC } from 'react';
|
|
9230
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9231
|
+
export const ConfirmationSection: FC<{
|
|
9232
|
+
item?: NewsItem;
|
|
9233
|
+
showDescription: boolean;
|
|
9234
|
+
readOnly?: boolean;
|
|
9235
|
+
className?: string;
|
|
9236
|
+
}>;
|
|
9237
|
+
}
|
|
9238
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
9239
|
+
import { FC } from 'react';
|
|
9240
|
+
export const DetailViewConfirmations: FC;
|
|
9241
|
+
}
|
|
9242
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
9243
|
+
import { FC } from 'react';
|
|
9244
|
+
export const DetailViewPageViewTracker: FC;
|
|
9245
|
+
}
|
|
9246
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
9247
|
+
import { FC } from 'react';
|
|
9248
|
+
export const FeedbackButtonBookmark: FC<{
|
|
9249
|
+
isReadOnly?: boolean;
|
|
9250
|
+
}>;
|
|
9251
|
+
}
|
|
9252
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
9253
|
+
import { FC } from 'react';
|
|
9254
|
+
export const NewsDetailViewFeedbackSection: FC<{
|
|
9255
|
+
hideLikes?: boolean;
|
|
9256
|
+
hideComments?: boolean;
|
|
9257
|
+
hideProfileUrl?: boolean;
|
|
9258
|
+
disableLoginForPublicUser?: boolean;
|
|
9259
|
+
}>;
|
|
9260
|
+
}
|
|
9261
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
9262
|
+
import { FC, ReactNode } from 'react';
|
|
9263
|
+
export const DetailViewNavigation: FC<{
|
|
9264
|
+
children?: ReactNode;
|
|
9265
|
+
callout?: ReactNode;
|
|
9266
|
+
}>;
|
|
9267
|
+
}
|
|
9268
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9269
|
+
import { FC } from 'react';
|
|
9270
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9271
|
+
export const DetailViewBodyExternalContent: FC<{
|
|
9272
|
+
itemType: ItemResourceTypes;
|
|
9273
|
+
}>;
|
|
9274
|
+
}
|
|
9275
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
9276
|
+
import { FC } from 'react';
|
|
9277
|
+
export const DetailViewHeadline: FC;
|
|
9278
|
+
}
|
|
8818
9279
|
declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
8819
9280
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
8820
9281
|
export const StateIcon: React.FC<{
|
|
@@ -8835,205 +9296,65 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
|
8835
9296
|
}
|
|
8836
9297
|
declare module "libs/reach/feature/content/src/common/index" {
|
|
8837
9298
|
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
8838
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8839
9299
|
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8840
9300
|
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
9301
|
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
9302
|
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
8896
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8897
9303
|
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
8898
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8899
9304
|
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
8900
9305
|
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
9306
|
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
9307
|
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
9308
|
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
9309
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
8921
9310
|
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
8922
9311
|
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
9312
|
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
8927
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8928
9313
|
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
9314
|
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
9315
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
8934
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8935
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
8936
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8937
9316
|
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
8938
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8939
9317
|
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8940
9318
|
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8941
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8942
9319
|
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
8943
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8944
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8945
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8946
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8947
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8948
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8949
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8950
9320
|
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8951
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8952
9321
|
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
9322
|
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
8956
9323
|
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
8957
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8958
9324
|
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8959
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8960
9325
|
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
9326
|
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
9327
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8967
9328
|
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
9329
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
8972
9330
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
8973
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8974
9331
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8975
9332
|
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
9333
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
8980
9334
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
8981
9335
|
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8982
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8983
9336
|
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8984
9337
|
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8985
9338
|
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
9339
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8992
9340
|
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
9341
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8997
9342
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8998
9343
|
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
9344
|
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
9345
|
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
9346
|
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
9347
|
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9013
9348
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9014
9349
|
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9015
9350
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9016
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9017
9351
|
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
9352
|
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9026
9353
|
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
9354
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9032
9355
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9033
9356
|
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9034
9357
|
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
9358
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9038
9359
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9039
9360
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
@@ -9050,7 +9371,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9050
9371
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9051
9372
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9052
9373
|
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9053
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9054
9374
|
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9055
9375
|
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9056
9376
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
@@ -9072,91 +9392,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
|
|
|
9072
9392
|
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9073
9393
|
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9074
9394
|
}
|
|
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
9395
|
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
9161
9396
|
import { FC, ReactNode } from 'react';
|
|
9162
9397
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -9205,33 +9440,15 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
9205
9440
|
*/
|
|
9206
9441
|
export const Textarea: FC<TextareaProps>;
|
|
9207
9442
|
}
|
|
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
9443
|
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9229
9444
|
import { FC } from 'react';
|
|
9230
9445
|
interface Props {
|
|
9231
9446
|
onInsert: (files: File[]) => void;
|
|
9232
9447
|
accept?: string;
|
|
9233
9448
|
captionKey?: string;
|
|
9449
|
+
captionIconName?: string;
|
|
9234
9450
|
descriptionKey?: string;
|
|
9451
|
+
descriptionIconName?: string;
|
|
9235
9452
|
singleMode?: boolean;
|
|
9236
9453
|
}
|
|
9237
9454
|
export const InsertFilesButton: FC<Props>;
|
|
@@ -9249,6 +9466,27 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
|
9249
9466
|
}
|
|
9250
9467
|
export const InsertImagesButton: FC<Props>;
|
|
9251
9468
|
}
|
|
9469
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9470
|
+
import { FC } from 'react';
|
|
9471
|
+
interface DateTimePickerProps {
|
|
9472
|
+
date: string;
|
|
9473
|
+
maxDate?: string;
|
|
9474
|
+
minDate?: string;
|
|
9475
|
+
dateValidationResourceKey?: string;
|
|
9476
|
+
timeValidationResourceKey?: string;
|
|
9477
|
+
readOnly?: boolean;
|
|
9478
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
9479
|
+
noDateResourceKey: string;
|
|
9480
|
+
selectDateResourceKey: string;
|
|
9481
|
+
dateOnly?: boolean;
|
|
9482
|
+
initialPickerDate?: string;
|
|
9483
|
+
label?: string;
|
|
9484
|
+
isRequired?: boolean;
|
|
9485
|
+
className?: string;
|
|
9486
|
+
}
|
|
9487
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9488
|
+
export default DateTimePicker;
|
|
9489
|
+
}
|
|
9252
9490
|
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
9253
9491
|
import moment, { Moment } from 'moment';
|
|
9254
9492
|
export enum DateRange {
|
|
@@ -9291,37 +9529,22 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
|
9291
9529
|
allowEmptyValue: boolean;
|
|
9292
9530
|
includePendingInvitationUsers?: boolean;
|
|
9293
9531
|
placeholderStringResourceKey?: string;
|
|
9532
|
+
inputAriaLabelResourceKey: string;
|
|
9294
9533
|
}
|
|
9295
9534
|
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
9296
9535
|
}
|
|
9297
9536
|
declare module "libs/reach/feature/content/src/forms/index" {
|
|
9298
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9299
9537
|
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9300
9538
|
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
|
-
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
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9309
9539
|
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
9310
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9311
9540
|
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
9312
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9313
9541
|
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
9314
9542
|
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
9315
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9316
9543
|
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9317
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9318
9544
|
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9319
9545
|
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
9546
|
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
9323
9547
|
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
9324
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9325
9548
|
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9326
9549
|
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9327
9550
|
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
@@ -9401,6 +9624,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9401
9624
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9402
9625
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9403
9626
|
}
|
|
9627
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9628
|
+
import { FC } from 'react';
|
|
9629
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9630
|
+
export const SearchHighlighter: FC<{
|
|
9631
|
+
highlight: SearchHighlight;
|
|
9632
|
+
}>;
|
|
9633
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9634
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9635
|
+
}
|
|
9404
9636
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9405
9637
|
import { FC } from 'react';
|
|
9406
9638
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9429,11 +9661,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9429
9661
|
}
|
|
9430
9662
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9431
9663
|
import { FC } from 'react';
|
|
9432
|
-
import {
|
|
9664
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9433
9665
|
export const PageListItemBody: FC<{
|
|
9434
|
-
|
|
9435
|
-
[key: string]: PublishableItemContent;
|
|
9436
|
-
};
|
|
9666
|
+
page: PageItem;
|
|
9437
9667
|
search?: string;
|
|
9438
9668
|
}>;
|
|
9439
9669
|
}
|
|
@@ -9499,7 +9729,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9499
9729
|
import { FC } from 'react';
|
|
9500
9730
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9501
9731
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9502
|
-
export
|
|
9732
|
+
export interface PostCreatorProps {
|
|
9503
9733
|
groupId: string;
|
|
9504
9734
|
disabled: boolean;
|
|
9505
9735
|
disableDragAndDrop?: boolean;
|
|
@@ -9510,129 +9740,1294 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9510
9740
|
defaultKeywords?: Keyword[];
|
|
9511
9741
|
mandatoryKeywords?: Keyword[];
|
|
9512
9742
|
};
|
|
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
|
-
|
|
9743
|
+
disableAutoFocus?: boolean;
|
|
9744
|
+
}
|
|
9745
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9746
|
+
}
|
|
9747
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9748
|
+
import { FC } from 'react';
|
|
9749
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9750
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
9751
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9752
|
+
interface Props {
|
|
9753
|
+
className?: string;
|
|
9754
|
+
post: Post;
|
|
9755
|
+
initialPageSize?: number;
|
|
9756
|
+
comments?: PaginatedList<Comment>;
|
|
9757
|
+
autoFocusReplyField?: boolean;
|
|
9758
|
+
onReplyAdded: () => void;
|
|
9759
|
+
onReplyDeleted: () => void;
|
|
9760
|
+
onThreadReply?: (threadId: string) => void;
|
|
9761
|
+
}
|
|
9762
|
+
export const PostReplies: FC<Props>;
|
|
9763
|
+
}
|
|
9764
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
9765
|
+
import { FC } from 'react';
|
|
9766
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9767
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9768
|
+
export const PostEditor: FC<{
|
|
9769
|
+
className?: string;
|
|
9770
|
+
post: Post;
|
|
9771
|
+
onCancel: () => void;
|
|
9772
|
+
onBeforeSave: (post: Post) => void;
|
|
9773
|
+
onSaved: (post: Post) => void;
|
|
9774
|
+
keywordSettings?: {
|
|
9775
|
+
availableKeywords?: Keyword[];
|
|
9776
|
+
defaultKeywords?: Keyword[];
|
|
9777
|
+
mandatoryKeywords?: Keyword[];
|
|
9778
|
+
};
|
|
9779
|
+
}>;
|
|
9780
|
+
}
|
|
9781
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9782
|
+
import { FC } from 'react';
|
|
9783
|
+
export const PostFollowButton: FC<{
|
|
9784
|
+
itemId: string;
|
|
9785
|
+
}>;
|
|
9786
|
+
}
|
|
9787
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9788
|
+
import { FC } from 'react';
|
|
9789
|
+
import { NavLink } from 'react-router-dom';
|
|
9790
|
+
export const PostGroup: FC<{
|
|
9791
|
+
groupId: string;
|
|
9792
|
+
to: string;
|
|
9793
|
+
className?: string;
|
|
9794
|
+
}>;
|
|
9795
|
+
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9796
|
+
}
|
|
9797
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9798
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9799
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9800
|
+
interface Props {
|
|
9801
|
+
post: Post;
|
|
9802
|
+
className?: string;
|
|
9803
|
+
threadId?: string;
|
|
9804
|
+
onCustomPostDelete?: () => void;
|
|
9805
|
+
comments?: PaginatedList<Comment>;
|
|
9806
|
+
initialCommentsPageSize?: number;
|
|
9807
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9808
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9809
|
+
onThreadCommentDelete?: () => void;
|
|
9810
|
+
onThreadReply?: (threadId: string) => void;
|
|
9811
|
+
keywordSettings?: {
|
|
9812
|
+
availableKeywords?: Keyword[];
|
|
9813
|
+
defaultKeywords?: Keyword[];
|
|
9814
|
+
mandatoryKeywords?: Keyword[];
|
|
9815
|
+
};
|
|
9816
|
+
showGroup?: boolean;
|
|
9817
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9818
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9819
|
+
}
|
|
9820
|
+
export const PostDisplay: React.FC<Props>;
|
|
9821
|
+
}
|
|
9822
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
|
|
9823
|
+
import { FC } from 'react';
|
|
9824
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
9825
|
+
export const PostGroupsSelector: FC<{
|
|
9826
|
+
groups: UserGroup[];
|
|
9827
|
+
}>;
|
|
9828
|
+
}
|
|
9829
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
9830
|
+
import { FC } from 'react';
|
|
9831
|
+
export const PostGroupSelector: FC;
|
|
9832
|
+
}
|
|
9833
|
+
declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
9834
|
+
import { FC } from 'react';
|
|
9835
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9836
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9837
|
+
interface Props {
|
|
9838
|
+
post: Post;
|
|
9839
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9840
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9841
|
+
keywordSettings?: {
|
|
9842
|
+
availableKeywords?: Keyword[];
|
|
9843
|
+
defaultKeywords?: Keyword[];
|
|
9844
|
+
mandatoryKeywords?: Keyword[];
|
|
9845
|
+
};
|
|
9846
|
+
showGroup: boolean;
|
|
9847
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9848
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9849
|
+
}
|
|
9850
|
+
export const PostListItem: FC<Props>;
|
|
9851
|
+
}
|
|
9852
|
+
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9853
|
+
import { FC } from 'react';
|
|
9854
|
+
import { Post } from "libs/reach/feature/content/src/index";
|
|
9855
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9856
|
+
export const PostWithSelfThreadHandling: FC<{
|
|
9857
|
+
post: Post;
|
|
9858
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9859
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9860
|
+
keywordSettings?: {
|
|
9861
|
+
availableKeywords?: Keyword[];
|
|
9862
|
+
defaultKeywords?: Keyword[];
|
|
9863
|
+
mandatoryKeywords?: Keyword[];
|
|
9864
|
+
};
|
|
9865
|
+
showGroup: boolean;
|
|
9866
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9867
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9868
|
+
}>;
|
|
9869
|
+
}
|
|
9870
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
9871
|
+
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";
|
|
9872
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9873
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9874
|
+
enum StreamItemTypes {
|
|
9875
|
+
Post = "POST",
|
|
9876
|
+
News = "NEWS",
|
|
9877
|
+
Event = "EVENT",
|
|
9878
|
+
Page = "PAGE"
|
|
9879
|
+
}
|
|
9880
|
+
export enum StreamConversationScope {
|
|
9881
|
+
Public = "PUBLIC",
|
|
9882
|
+
Editor = "EDITOR",
|
|
9883
|
+
Posts = "POSTS"
|
|
9884
|
+
}
|
|
9885
|
+
export interface PostStreamItem extends Post {
|
|
9886
|
+
type: StreamItemTypes.Post;
|
|
9887
|
+
isUnread: boolean;
|
|
9888
|
+
keywordsList?: Keyword[];
|
|
9889
|
+
groupIds?: string[];
|
|
9890
|
+
postAttachments?: StreamAttachment[];
|
|
9891
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9892
|
+
hasMoreUnreadComments: boolean;
|
|
9893
|
+
}
|
|
9894
|
+
export interface StreamPostComment extends Comment {
|
|
9895
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9896
|
+
streamConversationScope?: StreamConversationScope;
|
|
9897
|
+
}
|
|
9898
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
9899
|
+
type: GraphQLAttachmentType;
|
|
9900
|
+
}
|
|
9901
|
+
export interface NewsStreamItem extends NewsItem {
|
|
9902
|
+
type: StreamItemTypes.News;
|
|
9903
|
+
contentsList: StreamPublishableItemContents[];
|
|
9904
|
+
channelsList: string[];
|
|
9905
|
+
isUnread: boolean;
|
|
9906
|
+
keywordsList?: Keyword[];
|
|
9907
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9908
|
+
}
|
|
9909
|
+
export enum StreamKnownNewsState {
|
|
9910
|
+
Unconfirmed = "UNCONFIRMED",
|
|
9911
|
+
Alert = "ALERT"
|
|
9912
|
+
}
|
|
9913
|
+
export interface EventStreamItem extends EventItem {
|
|
9914
|
+
type: StreamItemTypes.Event;
|
|
9915
|
+
contentsList: StreamPublishableItemContents[];
|
|
9916
|
+
channelsList: string[];
|
|
9917
|
+
isUnread: boolean;
|
|
9918
|
+
keywordsList?: Keyword[];
|
|
9919
|
+
userResponseType?: StreamEventResponse;
|
|
9920
|
+
}
|
|
9921
|
+
export interface PageStreamItem extends PageItem {
|
|
9922
|
+
type: StreamItemTypes.Page;
|
|
9923
|
+
contentsList: StreamPublishableItemContents[];
|
|
9924
|
+
channelsList: string[];
|
|
9925
|
+
isUnread: boolean;
|
|
9926
|
+
keywordsList?: Keyword[];
|
|
9927
|
+
streamPageType?: string;
|
|
9928
|
+
path?: (PageNavigationNode & {
|
|
9929
|
+
parentId?: string;
|
|
9930
|
+
})[];
|
|
9931
|
+
}
|
|
9932
|
+
interface StreamPublishableItemContents {
|
|
9933
|
+
language: string;
|
|
9934
|
+
title: string;
|
|
9935
|
+
intro?: string;
|
|
9936
|
+
headline?: string;
|
|
9937
|
+
}
|
|
9938
|
+
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9939
|
+
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9940
|
+
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
9941
|
+
export function isEvent(item: StreamItem): item is EventStreamItem;
|
|
9942
|
+
export function isPage(item: StreamItem): item is PageStreamItem;
|
|
9943
|
+
export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
|
|
9944
|
+
groupId: string;
|
|
9945
|
+
attachments: {
|
|
9946
|
+
type: AttachmentType;
|
|
9947
|
+
id: string;
|
|
9948
|
+
filename?: string;
|
|
9949
|
+
previewUrl?: string;
|
|
9950
|
+
url?: string;
|
|
9951
|
+
isUploadInProgress?: boolean;
|
|
9952
|
+
hasError?: boolean;
|
|
9953
|
+
width?: number;
|
|
9954
|
+
height?: number;
|
|
9955
|
+
}[];
|
|
9956
|
+
comments: {
|
|
9957
|
+
items: {
|
|
9958
|
+
conversationScope: ConversationScope;
|
|
9959
|
+
fileAccessToken: string;
|
|
9960
|
+
attachments: {
|
|
9961
|
+
type: AttachmentType;
|
|
9962
|
+
id: string;
|
|
9963
|
+
filename?: string;
|
|
9964
|
+
previewUrl?: string;
|
|
9965
|
+
url?: string;
|
|
9966
|
+
isUploadInProgress?: boolean;
|
|
9967
|
+
hasError?: boolean;
|
|
9968
|
+
width?: number;
|
|
9969
|
+
height?: number;
|
|
9970
|
+
}[];
|
|
9971
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9972
|
+
streamConversationScope?: StreamConversationScope;
|
|
9973
|
+
id: string;
|
|
9974
|
+
parentItemId: string;
|
|
9975
|
+
content: string;
|
|
9976
|
+
contentLanguageCode?: string;
|
|
9977
|
+
receivedDateTime: string;
|
|
9978
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9979
|
+
modified?: string;
|
|
9980
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9981
|
+
isLiked?: boolean;
|
|
9982
|
+
threadId?: string;
|
|
9983
|
+
isUnread?: boolean;
|
|
9984
|
+
hasUnreadReplies?: boolean;
|
|
9985
|
+
isDemoContent?: boolean;
|
|
9986
|
+
attachmentContainerId?: string;
|
|
9987
|
+
}[];
|
|
9988
|
+
paginationToken?: any;
|
|
9989
|
+
nextItem?: StreamPostComment;
|
|
9990
|
+
hasMoreUnreadComments?: boolean;
|
|
9991
|
+
hasNextPage?: boolean;
|
|
9992
|
+
};
|
|
9993
|
+
keywords: {
|
|
9994
|
+
[key: string]: Keyword[];
|
|
9995
|
+
};
|
|
9996
|
+
type: StreamItemTypes.Post;
|
|
9997
|
+
isUnread: boolean;
|
|
9998
|
+
keywordsList?: Keyword[];
|
|
9999
|
+
groupIds?: string[];
|
|
10000
|
+
postAttachments?: StreamAttachment[];
|
|
10001
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10002
|
+
hasMoreUnreadComments: boolean;
|
|
10003
|
+
id: string;
|
|
10004
|
+
content: string;
|
|
10005
|
+
permalink?: string;
|
|
10006
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10007
|
+
publishingDate: string;
|
|
10008
|
+
modified?: string;
|
|
10009
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10010
|
+
contentLanguageCode?: string;
|
|
10011
|
+
isLiked?: boolean;
|
|
10012
|
+
isDemoContent?: boolean;
|
|
10013
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10014
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10015
|
+
fileAccessToken?: string;
|
|
10016
|
+
attachmentContainerId?: string;
|
|
10017
|
+
} | {
|
|
10018
|
+
groupId: string;
|
|
10019
|
+
attachments: {
|
|
10020
|
+
type: AttachmentType;
|
|
10021
|
+
id: string;
|
|
10022
|
+
filename?: string;
|
|
10023
|
+
previewUrl?: string;
|
|
10024
|
+
url?: string;
|
|
10025
|
+
isUploadInProgress?: boolean;
|
|
10026
|
+
hasError?: boolean;
|
|
10027
|
+
width?: number;
|
|
10028
|
+
height?: number;
|
|
10029
|
+
}[];
|
|
10030
|
+
comments: {
|
|
10031
|
+
items: {
|
|
10032
|
+
conversationScope: ConversationScope;
|
|
10033
|
+
fileAccessToken: string;
|
|
10034
|
+
attachments: {
|
|
10035
|
+
type: AttachmentType;
|
|
10036
|
+
id: string;
|
|
10037
|
+
filename?: string;
|
|
10038
|
+
previewUrl?: string;
|
|
10039
|
+
url?: string;
|
|
10040
|
+
isUploadInProgress?: boolean;
|
|
10041
|
+
hasError?: boolean;
|
|
10042
|
+
width?: number;
|
|
10043
|
+
height?: number;
|
|
10044
|
+
}[];
|
|
10045
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10046
|
+
streamConversationScope?: StreamConversationScope;
|
|
10047
|
+
id: string;
|
|
10048
|
+
parentItemId: string;
|
|
10049
|
+
content: string;
|
|
10050
|
+
contentLanguageCode?: string;
|
|
10051
|
+
receivedDateTime: string;
|
|
10052
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10053
|
+
modified?: string;
|
|
10054
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10055
|
+
isLiked?: boolean;
|
|
10056
|
+
threadId?: string;
|
|
10057
|
+
isUnread?: boolean;
|
|
10058
|
+
hasUnreadReplies?: boolean;
|
|
10059
|
+
isDemoContent?: boolean;
|
|
10060
|
+
attachmentContainerId?: string;
|
|
10061
|
+
}[];
|
|
10062
|
+
paginationToken?: any;
|
|
10063
|
+
nextItem?: StreamPostComment;
|
|
10064
|
+
hasMoreUnreadComments?: boolean;
|
|
10065
|
+
hasNextPage?: boolean;
|
|
10066
|
+
};
|
|
10067
|
+
keywords: {
|
|
10068
|
+
[key: string]: Keyword[];
|
|
10069
|
+
};
|
|
10070
|
+
type: StreamItemTypes.News;
|
|
10071
|
+
contentsList: StreamPublishableItemContents[];
|
|
10072
|
+
channelsList: string[];
|
|
10073
|
+
isUnread: boolean;
|
|
10074
|
+
keywordsList?: Keyword[];
|
|
10075
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10076
|
+
source?: string;
|
|
10077
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10078
|
+
expiryDate?: string;
|
|
10079
|
+
knownState: KnownNewsState;
|
|
10080
|
+
hasNewComments?: boolean;
|
|
10081
|
+
isLiked?: boolean;
|
|
10082
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10083
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10084
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10085
|
+
id?: string;
|
|
10086
|
+
versionId?: string;
|
|
10087
|
+
publishingDate?: string;
|
|
10088
|
+
deleted?: string;
|
|
10089
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10090
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10091
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10092
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10093
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10094
|
+
fileAccessToken?: string;
|
|
10095
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10096
|
+
customProperties?: {
|
|
10097
|
+
[key: string]: any;
|
|
10098
|
+
};
|
|
10099
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10100
|
+
modified: string;
|
|
10101
|
+
created: string;
|
|
10102
|
+
publishedVersionId?: string;
|
|
10103
|
+
isCurrentPublishedVersion?: boolean;
|
|
10104
|
+
isLatestVersion?: boolean;
|
|
10105
|
+
permalink?: string;
|
|
10106
|
+
groupIds: string[];
|
|
10107
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10108
|
+
useExternalContent?: boolean;
|
|
10109
|
+
isDemoContent?: boolean;
|
|
10110
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10111
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10112
|
+
} | {
|
|
10113
|
+
groupId: string;
|
|
10114
|
+
attachments: {
|
|
10115
|
+
type: AttachmentType;
|
|
10116
|
+
id: string;
|
|
10117
|
+
filename?: string;
|
|
10118
|
+
previewUrl?: string;
|
|
10119
|
+
url?: string;
|
|
10120
|
+
isUploadInProgress?: boolean;
|
|
10121
|
+
hasError?: boolean;
|
|
10122
|
+
width?: number;
|
|
10123
|
+
height?: number;
|
|
10124
|
+
}[];
|
|
10125
|
+
comments: {
|
|
10126
|
+
items: {
|
|
10127
|
+
conversationScope: ConversationScope;
|
|
10128
|
+
fileAccessToken: string;
|
|
10129
|
+
attachments: {
|
|
10130
|
+
type: AttachmentType;
|
|
10131
|
+
id: string;
|
|
10132
|
+
filename?: string;
|
|
10133
|
+
previewUrl?: string;
|
|
10134
|
+
url?: string;
|
|
10135
|
+
isUploadInProgress?: boolean;
|
|
10136
|
+
hasError?: boolean;
|
|
10137
|
+
width?: number;
|
|
10138
|
+
height?: number;
|
|
10139
|
+
}[];
|
|
10140
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10141
|
+
streamConversationScope?: StreamConversationScope;
|
|
10142
|
+
id: string;
|
|
10143
|
+
parentItemId: string;
|
|
10144
|
+
content: string;
|
|
10145
|
+
contentLanguageCode?: string;
|
|
10146
|
+
receivedDateTime: string;
|
|
10147
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10148
|
+
modified?: string;
|
|
10149
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10150
|
+
isLiked?: boolean;
|
|
10151
|
+
threadId?: string;
|
|
10152
|
+
isUnread?: boolean;
|
|
10153
|
+
hasUnreadReplies?: boolean;
|
|
10154
|
+
isDemoContent?: boolean;
|
|
10155
|
+
attachmentContainerId?: string;
|
|
10156
|
+
}[];
|
|
10157
|
+
paginationToken?: any;
|
|
10158
|
+
nextItem?: StreamPostComment;
|
|
10159
|
+
hasMoreUnreadComments?: boolean;
|
|
10160
|
+
hasNextPage?: boolean;
|
|
10161
|
+
};
|
|
10162
|
+
keywords: {
|
|
10163
|
+
[key: string]: Keyword[];
|
|
10164
|
+
};
|
|
10165
|
+
type: StreamItemTypes.Event;
|
|
10166
|
+
contentsList: StreamPublishableItemContents[];
|
|
10167
|
+
channelsList: string[];
|
|
10168
|
+
isUnread: boolean;
|
|
10169
|
+
keywordsList?: Keyword[];
|
|
10170
|
+
userResponseType?: StreamEventResponse;
|
|
10171
|
+
startDate?: string;
|
|
10172
|
+
endDate?: string;
|
|
10173
|
+
timeZone?: string;
|
|
10174
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10175
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10176
|
+
userResponse?: EventResponse;
|
|
10177
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10178
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10179
|
+
hasNewComments?: boolean;
|
|
10180
|
+
isLiked?: boolean;
|
|
10181
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10182
|
+
recurrenceSeriesId?: string;
|
|
10183
|
+
isSeriesMaster?: string;
|
|
10184
|
+
isVirtual?: boolean;
|
|
10185
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10186
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10187
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10188
|
+
id?: string;
|
|
10189
|
+
versionId?: string;
|
|
10190
|
+
publishingDate?: string;
|
|
10191
|
+
deleted?: string;
|
|
10192
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10193
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10194
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10195
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10196
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10197
|
+
fileAccessToken?: string;
|
|
10198
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10199
|
+
customProperties?: {
|
|
10200
|
+
[key: string]: any;
|
|
10201
|
+
};
|
|
10202
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10203
|
+
modified: string;
|
|
10204
|
+
created: string;
|
|
10205
|
+
publishedVersionId?: string;
|
|
10206
|
+
isCurrentPublishedVersion?: boolean;
|
|
10207
|
+
isLatestVersion?: boolean;
|
|
10208
|
+
permalink?: string;
|
|
10209
|
+
groupIds: string[];
|
|
10210
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10211
|
+
useExternalContent?: boolean;
|
|
10212
|
+
isDemoContent?: boolean;
|
|
10213
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10214
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10215
|
+
} | {
|
|
10216
|
+
groupId: string;
|
|
10217
|
+
attachments: {
|
|
10218
|
+
type: AttachmentType;
|
|
10219
|
+
id: string;
|
|
10220
|
+
filename?: string;
|
|
10221
|
+
previewUrl?: string;
|
|
10222
|
+
url?: string;
|
|
10223
|
+
isUploadInProgress?: boolean;
|
|
10224
|
+
hasError?: boolean;
|
|
10225
|
+
width?: number;
|
|
10226
|
+
height?: number;
|
|
10227
|
+
}[];
|
|
10228
|
+
comments: {
|
|
10229
|
+
items: {
|
|
10230
|
+
conversationScope: ConversationScope;
|
|
10231
|
+
fileAccessToken: string;
|
|
10232
|
+
attachments: {
|
|
10233
|
+
type: AttachmentType;
|
|
10234
|
+
id: string;
|
|
10235
|
+
filename?: string;
|
|
10236
|
+
previewUrl?: string;
|
|
10237
|
+
url?: string;
|
|
10238
|
+
isUploadInProgress?: boolean;
|
|
10239
|
+
hasError?: boolean;
|
|
10240
|
+
width?: number;
|
|
10241
|
+
height?: number;
|
|
10242
|
+
}[];
|
|
10243
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10244
|
+
streamConversationScope?: StreamConversationScope;
|
|
10245
|
+
id: string;
|
|
10246
|
+
parentItemId: string;
|
|
10247
|
+
content: string;
|
|
10248
|
+
contentLanguageCode?: string;
|
|
10249
|
+
receivedDateTime: string;
|
|
10250
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10251
|
+
modified?: string;
|
|
10252
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10253
|
+
isLiked?: boolean;
|
|
10254
|
+
threadId?: string;
|
|
10255
|
+
isUnread?: boolean;
|
|
10256
|
+
hasUnreadReplies?: boolean;
|
|
10257
|
+
isDemoContent?: boolean;
|
|
10258
|
+
attachmentContainerId?: string;
|
|
10259
|
+
}[];
|
|
10260
|
+
paginationToken?: any;
|
|
10261
|
+
nextItem?: StreamPostComment;
|
|
10262
|
+
hasMoreUnreadComments?: boolean;
|
|
10263
|
+
hasNextPage?: boolean;
|
|
10264
|
+
};
|
|
10265
|
+
keywords: {
|
|
10266
|
+
[key: string]: Keyword[];
|
|
10267
|
+
};
|
|
10268
|
+
type: StreamItemTypes.Page;
|
|
10269
|
+
contentsList: StreamPublishableItemContents[];
|
|
10270
|
+
channelsList: string[];
|
|
10271
|
+
isUnread: boolean;
|
|
10272
|
+
keywordsList?: Keyword[];
|
|
10273
|
+
streamPageType?: string;
|
|
10274
|
+
path?: (PageNavigationNode & {
|
|
10275
|
+
parentId?: string;
|
|
10276
|
+
})[];
|
|
10277
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10278
|
+
parentId?: string;
|
|
10279
|
+
pathIds?: string[];
|
|
10280
|
+
position?: number;
|
|
10281
|
+
navigationContext?: PageNavigationContext;
|
|
10282
|
+
hasHiddenAncestor?: boolean;
|
|
10283
|
+
isUnlinked?: boolean;
|
|
10284
|
+
pageType?: PageType;
|
|
10285
|
+
firstChildId?: string;
|
|
10286
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10287
|
+
id?: string;
|
|
10288
|
+
versionId?: string;
|
|
10289
|
+
publishingDate?: string;
|
|
10290
|
+
deleted?: string;
|
|
10291
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10292
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10293
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10294
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10295
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10296
|
+
fileAccessToken?: string;
|
|
10297
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10298
|
+
customProperties?: {
|
|
10299
|
+
[key: string]: any;
|
|
10300
|
+
};
|
|
10301
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10302
|
+
modified: string;
|
|
10303
|
+
created: string;
|
|
10304
|
+
publishedVersionId?: string;
|
|
10305
|
+
isCurrentPublishedVersion?: boolean;
|
|
10306
|
+
isLatestVersion?: boolean;
|
|
10307
|
+
permalink?: string;
|
|
10308
|
+
groupIds: string[];
|
|
10309
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10310
|
+
useExternalContent?: boolean;
|
|
10311
|
+
isDemoContent?: boolean;
|
|
10312
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10313
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10314
|
+
} | {
|
|
10315
|
+
knownState?: undefined;
|
|
10316
|
+
pageType?: undefined;
|
|
10317
|
+
navigationContext?: undefined;
|
|
10318
|
+
userResponse: EventResponse;
|
|
10319
|
+
channels: {
|
|
10320
|
+
name: string;
|
|
10321
|
+
}[];
|
|
10322
|
+
contents: {};
|
|
10323
|
+
bannerInfo: {
|
|
10324
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10325
|
+
type: "video" | "image";
|
|
10326
|
+
videoId?: string;
|
|
10327
|
+
videoUrl?: string;
|
|
10328
|
+
isDirectVideoUrl?: boolean;
|
|
10329
|
+
imageId?: string;
|
|
10330
|
+
};
|
|
10331
|
+
keywords: {
|
|
10332
|
+
[key: string]: Keyword[];
|
|
10333
|
+
};
|
|
10334
|
+
type: StreamItemTypes.Post;
|
|
10335
|
+
isUnread: boolean;
|
|
10336
|
+
keywordsList?: Keyword[];
|
|
10337
|
+
groupIds?: string[];
|
|
10338
|
+
postAttachments?: StreamAttachment[];
|
|
10339
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10340
|
+
hasMoreUnreadComments: boolean;
|
|
10341
|
+
id: string;
|
|
10342
|
+
comments?: PaginatedList<Comment>;
|
|
10343
|
+
groupId: string;
|
|
10344
|
+
content: string;
|
|
10345
|
+
permalink?: string;
|
|
10346
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10347
|
+
publishingDate: string;
|
|
10348
|
+
modified?: string;
|
|
10349
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10350
|
+
contentLanguageCode?: string;
|
|
10351
|
+
isLiked?: boolean;
|
|
10352
|
+
isDemoContent?: boolean;
|
|
10353
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10354
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10355
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10356
|
+
fileAccessToken?: string;
|
|
10357
|
+
attachmentContainerId?: string;
|
|
10358
|
+
} | {
|
|
10359
|
+
knownState: KnownNewsState;
|
|
10360
|
+
pageType?: undefined;
|
|
10361
|
+
navigationContext?: undefined;
|
|
10362
|
+
userResponse: EventResponse;
|
|
10363
|
+
channels: {
|
|
10364
|
+
name: string;
|
|
10365
|
+
}[];
|
|
10366
|
+
contents: {};
|
|
10367
|
+
bannerInfo: {
|
|
10368
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10369
|
+
type: "video" | "image";
|
|
10370
|
+
videoId?: string;
|
|
10371
|
+
videoUrl?: string;
|
|
10372
|
+
isDirectVideoUrl?: boolean;
|
|
10373
|
+
imageId?: string;
|
|
10374
|
+
};
|
|
10375
|
+
keywords: {
|
|
10376
|
+
[key: string]: Keyword[];
|
|
10377
|
+
};
|
|
10378
|
+
type: StreamItemTypes.Post;
|
|
10379
|
+
isUnread: boolean;
|
|
10380
|
+
keywordsList?: Keyword[];
|
|
10381
|
+
groupIds?: string[];
|
|
10382
|
+
postAttachments?: StreamAttachment[];
|
|
10383
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10384
|
+
hasMoreUnreadComments: boolean;
|
|
10385
|
+
id: string;
|
|
10386
|
+
comments?: PaginatedList<Comment>;
|
|
10387
|
+
groupId: string;
|
|
10388
|
+
content: string;
|
|
10389
|
+
permalink?: string;
|
|
10390
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10391
|
+
publishingDate: string;
|
|
10392
|
+
modified?: string;
|
|
10393
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10394
|
+
contentLanguageCode?: string;
|
|
10395
|
+
isLiked?: boolean;
|
|
10396
|
+
isDemoContent?: boolean;
|
|
10397
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10398
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10399
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10400
|
+
fileAccessToken?: string;
|
|
10401
|
+
attachmentContainerId?: string;
|
|
10402
|
+
} | {
|
|
10403
|
+
knownState?: undefined;
|
|
10404
|
+
pageType: PageType;
|
|
10405
|
+
navigationContext: PageNavigationContext;
|
|
10406
|
+
userResponse: EventResponse;
|
|
10407
|
+
channels: {
|
|
10408
|
+
name: string;
|
|
10409
|
+
}[];
|
|
10410
|
+
contents: {};
|
|
10411
|
+
bannerInfo: {
|
|
10412
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10413
|
+
type: "video" | "image";
|
|
10414
|
+
videoId?: string;
|
|
10415
|
+
videoUrl?: string;
|
|
10416
|
+
isDirectVideoUrl?: boolean;
|
|
10417
|
+
imageId?: string;
|
|
10418
|
+
};
|
|
10419
|
+
keywords: {
|
|
10420
|
+
[key: string]: Keyword[];
|
|
10421
|
+
};
|
|
10422
|
+
type: StreamItemTypes.Post;
|
|
10423
|
+
isUnread: boolean;
|
|
10424
|
+
keywordsList?: Keyword[];
|
|
10425
|
+
groupIds?: string[];
|
|
10426
|
+
postAttachments?: StreamAttachment[];
|
|
10427
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10428
|
+
hasMoreUnreadComments: boolean;
|
|
10429
|
+
id: string;
|
|
10430
|
+
comments?: PaginatedList<Comment>;
|
|
10431
|
+
groupId: string;
|
|
10432
|
+
content: string;
|
|
10433
|
+
permalink?: string;
|
|
10434
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10435
|
+
publishingDate: string;
|
|
10436
|
+
modified?: string;
|
|
10437
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10438
|
+
contentLanguageCode?: string;
|
|
10439
|
+
isLiked?: boolean;
|
|
10440
|
+
isDemoContent?: boolean;
|
|
10441
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10442
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10443
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10444
|
+
fileAccessToken?: string;
|
|
10445
|
+
attachmentContainerId?: string;
|
|
10446
|
+
} | {
|
|
10447
|
+
knownState: KnownNewsState;
|
|
10448
|
+
pageType: PageType;
|
|
10449
|
+
navigationContext: PageNavigationContext;
|
|
10450
|
+
userResponse: EventResponse;
|
|
10451
|
+
channels: {
|
|
10452
|
+
name: string;
|
|
10453
|
+
}[];
|
|
10454
|
+
contents: {};
|
|
10455
|
+
bannerInfo: {
|
|
10456
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10457
|
+
type: "video" | "image";
|
|
10458
|
+
videoId?: string;
|
|
10459
|
+
videoUrl?: string;
|
|
10460
|
+
isDirectVideoUrl?: boolean;
|
|
10461
|
+
imageId?: string;
|
|
10462
|
+
};
|
|
10463
|
+
keywords: {
|
|
10464
|
+
[key: string]: Keyword[];
|
|
10465
|
+
};
|
|
10466
|
+
type: StreamItemTypes.Post;
|
|
10467
|
+
isUnread: boolean;
|
|
10468
|
+
keywordsList?: Keyword[];
|
|
10469
|
+
groupIds?: string[];
|
|
10470
|
+
postAttachments?: StreamAttachment[];
|
|
10471
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10472
|
+
hasMoreUnreadComments: boolean;
|
|
10473
|
+
id: string;
|
|
10474
|
+
comments?: PaginatedList<Comment>;
|
|
10475
|
+
groupId: string;
|
|
10476
|
+
content: string;
|
|
10477
|
+
permalink?: string;
|
|
10478
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10479
|
+
publishingDate: string;
|
|
10480
|
+
modified?: string;
|
|
10481
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10482
|
+
contentLanguageCode?: string;
|
|
10483
|
+
isLiked?: boolean;
|
|
10484
|
+
isDemoContent?: boolean;
|
|
10485
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10486
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10487
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10488
|
+
fileAccessToken?: string;
|
|
10489
|
+
attachmentContainerId?: string;
|
|
10490
|
+
} | {
|
|
10491
|
+
knownState: KnownNewsState;
|
|
10492
|
+
pageType?: undefined;
|
|
10493
|
+
navigationContext?: undefined;
|
|
10494
|
+
userResponse: EventResponse;
|
|
10495
|
+
channels: {
|
|
10496
|
+
name: string;
|
|
10497
|
+
}[];
|
|
10498
|
+
contents: {};
|
|
10499
|
+
bannerInfo: {
|
|
10500
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10501
|
+
type: "video" | "image";
|
|
10502
|
+
videoId?: string;
|
|
10503
|
+
videoUrl?: string;
|
|
10504
|
+
isDirectVideoUrl?: boolean;
|
|
10505
|
+
imageId?: string;
|
|
10506
|
+
};
|
|
10507
|
+
keywords: {
|
|
10508
|
+
[key: string]: Keyword[];
|
|
10509
|
+
};
|
|
10510
|
+
type: StreamItemTypes.News;
|
|
10511
|
+
contentsList: StreamPublishableItemContents[];
|
|
10512
|
+
channelsList: string[];
|
|
10513
|
+
isUnread: boolean;
|
|
10514
|
+
keywordsList?: Keyword[];
|
|
10515
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10516
|
+
source?: string;
|
|
10517
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10518
|
+
expiryDate?: string;
|
|
10519
|
+
hasNewComments?: boolean;
|
|
10520
|
+
isLiked?: boolean;
|
|
10521
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10522
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10523
|
+
id?: string;
|
|
10524
|
+
versionId?: string;
|
|
10525
|
+
publishingDate?: string;
|
|
10526
|
+
deleted?: string;
|
|
10527
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10528
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10529
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10530
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10531
|
+
fileAccessToken?: string;
|
|
10532
|
+
customProperties?: {
|
|
10533
|
+
[key: string]: any;
|
|
10534
|
+
};
|
|
10535
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10536
|
+
modified: string;
|
|
10537
|
+
created: string;
|
|
10538
|
+
publishedVersionId?: string;
|
|
10539
|
+
isCurrentPublishedVersion?: boolean;
|
|
10540
|
+
isLatestVersion?: boolean;
|
|
10541
|
+
permalink?: string;
|
|
10542
|
+
groupIds: string[];
|
|
10543
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10544
|
+
useExternalContent?: boolean;
|
|
10545
|
+
isDemoContent?: boolean;
|
|
10546
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10547
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10548
|
+
} | {
|
|
10549
|
+
knownState: KnownNewsState;
|
|
10550
|
+
pageType: PageType;
|
|
10551
|
+
navigationContext: PageNavigationContext;
|
|
10552
|
+
userResponse: EventResponse;
|
|
10553
|
+
channels: {
|
|
10554
|
+
name: string;
|
|
10555
|
+
}[];
|
|
10556
|
+
contents: {};
|
|
10557
|
+
bannerInfo: {
|
|
10558
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10559
|
+
type: "video" | "image";
|
|
10560
|
+
videoId?: string;
|
|
10561
|
+
videoUrl?: string;
|
|
10562
|
+
isDirectVideoUrl?: boolean;
|
|
10563
|
+
imageId?: string;
|
|
10564
|
+
};
|
|
10565
|
+
keywords: {
|
|
10566
|
+
[key: string]: Keyword[];
|
|
10567
|
+
};
|
|
10568
|
+
type: StreamItemTypes.News;
|
|
10569
|
+
contentsList: StreamPublishableItemContents[];
|
|
10570
|
+
channelsList: string[];
|
|
10571
|
+
isUnread: boolean;
|
|
10572
|
+
keywordsList?: Keyword[];
|
|
10573
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10574
|
+
source?: string;
|
|
10575
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10576
|
+
expiryDate?: string;
|
|
10577
|
+
hasNewComments?: boolean;
|
|
10578
|
+
isLiked?: boolean;
|
|
10579
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10580
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10581
|
+
id?: string;
|
|
10582
|
+
versionId?: string;
|
|
10583
|
+
publishingDate?: string;
|
|
10584
|
+
deleted?: string;
|
|
10585
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10586
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10587
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10588
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10589
|
+
fileAccessToken?: string;
|
|
10590
|
+
customProperties?: {
|
|
10591
|
+
[key: string]: any;
|
|
10592
|
+
};
|
|
10593
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10594
|
+
modified: string;
|
|
10595
|
+
created: string;
|
|
10596
|
+
publishedVersionId?: string;
|
|
10597
|
+
isCurrentPublishedVersion?: boolean;
|
|
10598
|
+
isLatestVersion?: boolean;
|
|
10599
|
+
permalink?: string;
|
|
10600
|
+
groupIds: string[];
|
|
10601
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10602
|
+
useExternalContent?: boolean;
|
|
10603
|
+
isDemoContent?: boolean;
|
|
10604
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10605
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10606
|
+
} | {
|
|
10607
|
+
knownState?: undefined;
|
|
10608
|
+
pageType?: undefined;
|
|
10609
|
+
navigationContext?: undefined;
|
|
10610
|
+
userResponse: EventResponse;
|
|
10611
|
+
channels: {
|
|
10612
|
+
name: string;
|
|
10613
|
+
}[];
|
|
10614
|
+
contents: {};
|
|
10615
|
+
bannerInfo: {
|
|
10616
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10617
|
+
type: "video" | "image";
|
|
10618
|
+
videoId?: string;
|
|
10619
|
+
videoUrl?: string;
|
|
10620
|
+
isDirectVideoUrl?: boolean;
|
|
10621
|
+
imageId?: string;
|
|
10622
|
+
};
|
|
10623
|
+
keywords: {
|
|
10624
|
+
[key: string]: Keyword[];
|
|
10625
|
+
};
|
|
10626
|
+
type: StreamItemTypes.Event;
|
|
10627
|
+
contentsList: StreamPublishableItemContents[];
|
|
10628
|
+
channelsList: string[];
|
|
10629
|
+
isUnread: boolean;
|
|
10630
|
+
keywordsList?: Keyword[];
|
|
10631
|
+
userResponseType?: StreamEventResponse;
|
|
10632
|
+
startDate?: string;
|
|
10633
|
+
endDate?: string;
|
|
10634
|
+
timeZone?: string;
|
|
10635
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10636
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10637
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10638
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10639
|
+
hasNewComments?: boolean;
|
|
10640
|
+
isLiked?: boolean;
|
|
10641
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10642
|
+
recurrenceSeriesId?: string;
|
|
10643
|
+
isSeriesMaster?: string;
|
|
10644
|
+
isVirtual?: boolean;
|
|
10645
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10646
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10647
|
+
id?: string;
|
|
10648
|
+
versionId?: string;
|
|
10649
|
+
publishingDate?: string;
|
|
10650
|
+
deleted?: string;
|
|
10651
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10652
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10653
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10654
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10655
|
+
fileAccessToken?: string;
|
|
10656
|
+
customProperties?: {
|
|
10657
|
+
[key: string]: any;
|
|
10658
|
+
};
|
|
10659
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10660
|
+
modified: string;
|
|
10661
|
+
created: string;
|
|
10662
|
+
publishedVersionId?: string;
|
|
10663
|
+
isCurrentPublishedVersion?: boolean;
|
|
10664
|
+
isLatestVersion?: boolean;
|
|
10665
|
+
permalink?: string;
|
|
10666
|
+
groupIds: string[];
|
|
10667
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10668
|
+
useExternalContent?: boolean;
|
|
10669
|
+
isDemoContent?: boolean;
|
|
10670
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10671
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10672
|
+
} | {
|
|
10673
|
+
knownState: KnownNewsState;
|
|
10674
|
+
pageType?: undefined;
|
|
10675
|
+
navigationContext?: undefined;
|
|
10676
|
+
userResponse: EventResponse;
|
|
10677
|
+
channels: {
|
|
10678
|
+
name: string;
|
|
10679
|
+
}[];
|
|
10680
|
+
contents: {};
|
|
10681
|
+
bannerInfo: {
|
|
10682
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10683
|
+
type: "video" | "image";
|
|
10684
|
+
videoId?: string;
|
|
10685
|
+
videoUrl?: string;
|
|
10686
|
+
isDirectVideoUrl?: boolean;
|
|
10687
|
+
imageId?: string;
|
|
10688
|
+
};
|
|
10689
|
+
keywords: {
|
|
10690
|
+
[key: string]: Keyword[];
|
|
10691
|
+
};
|
|
10692
|
+
type: StreamItemTypes.Event;
|
|
10693
|
+
contentsList: StreamPublishableItemContents[];
|
|
10694
|
+
channelsList: string[];
|
|
10695
|
+
isUnread: boolean;
|
|
10696
|
+
keywordsList?: Keyword[];
|
|
10697
|
+
userResponseType?: StreamEventResponse;
|
|
10698
|
+
startDate?: string;
|
|
10699
|
+
endDate?: string;
|
|
10700
|
+
timeZone?: string;
|
|
10701
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10702
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10703
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10704
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10705
|
+
hasNewComments?: boolean;
|
|
10706
|
+
isLiked?: boolean;
|
|
10707
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10708
|
+
recurrenceSeriesId?: string;
|
|
10709
|
+
isSeriesMaster?: string;
|
|
10710
|
+
isVirtual?: boolean;
|
|
10711
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10712
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10713
|
+
id?: string;
|
|
10714
|
+
versionId?: string;
|
|
10715
|
+
publishingDate?: string;
|
|
10716
|
+
deleted?: string;
|
|
10717
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10718
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10719
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10720
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10721
|
+
fileAccessToken?: string;
|
|
10722
|
+
customProperties?: {
|
|
10723
|
+
[key: string]: any;
|
|
10724
|
+
};
|
|
10725
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10726
|
+
modified: string;
|
|
10727
|
+
created: string;
|
|
10728
|
+
publishedVersionId?: string;
|
|
10729
|
+
isCurrentPublishedVersion?: boolean;
|
|
10730
|
+
isLatestVersion?: boolean;
|
|
10731
|
+
permalink?: string;
|
|
10732
|
+
groupIds: string[];
|
|
10733
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10734
|
+
useExternalContent?: boolean;
|
|
10735
|
+
isDemoContent?: boolean;
|
|
10736
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10737
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10738
|
+
} | {
|
|
10739
|
+
knownState?: undefined;
|
|
10740
|
+
pageType: PageType;
|
|
10741
|
+
navigationContext: PageNavigationContext;
|
|
10742
|
+
userResponse: EventResponse;
|
|
10743
|
+
channels: {
|
|
10744
|
+
name: string;
|
|
10745
|
+
}[];
|
|
10746
|
+
contents: {};
|
|
10747
|
+
bannerInfo: {
|
|
10748
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10749
|
+
type: "video" | "image";
|
|
10750
|
+
videoId?: string;
|
|
10751
|
+
videoUrl?: string;
|
|
10752
|
+
isDirectVideoUrl?: boolean;
|
|
10753
|
+
imageId?: string;
|
|
10754
|
+
};
|
|
10755
|
+
keywords: {
|
|
10756
|
+
[key: string]: Keyword[];
|
|
10757
|
+
};
|
|
10758
|
+
type: StreamItemTypes.Event;
|
|
10759
|
+
contentsList: StreamPublishableItemContents[];
|
|
10760
|
+
channelsList: string[];
|
|
10761
|
+
isUnread: boolean;
|
|
10762
|
+
keywordsList?: Keyword[];
|
|
10763
|
+
userResponseType?: StreamEventResponse;
|
|
10764
|
+
startDate?: string;
|
|
10765
|
+
endDate?: string;
|
|
10766
|
+
timeZone?: string;
|
|
10767
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10768
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10769
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10770
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10771
|
+
hasNewComments?: boolean;
|
|
10772
|
+
isLiked?: boolean;
|
|
10773
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10774
|
+
recurrenceSeriesId?: string;
|
|
10775
|
+
isSeriesMaster?: string;
|
|
10776
|
+
isVirtual?: boolean;
|
|
10777
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10778
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10779
|
+
id?: string;
|
|
10780
|
+
versionId?: string;
|
|
10781
|
+
publishingDate?: string;
|
|
10782
|
+
deleted?: string;
|
|
10783
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10784
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10785
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10786
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10787
|
+
fileAccessToken?: string;
|
|
10788
|
+
customProperties?: {
|
|
10789
|
+
[key: string]: any;
|
|
10790
|
+
};
|
|
10791
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10792
|
+
modified: string;
|
|
10793
|
+
created: string;
|
|
10794
|
+
publishedVersionId?: string;
|
|
10795
|
+
isCurrentPublishedVersion?: boolean;
|
|
10796
|
+
isLatestVersion?: boolean;
|
|
10797
|
+
permalink?: string;
|
|
10798
|
+
groupIds: string[];
|
|
10799
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10800
|
+
useExternalContent?: boolean;
|
|
10801
|
+
isDemoContent?: boolean;
|
|
10802
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10803
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10804
|
+
} | {
|
|
10805
|
+
knownState: KnownNewsState;
|
|
10806
|
+
pageType: PageType;
|
|
10807
|
+
navigationContext: PageNavigationContext;
|
|
10808
|
+
userResponse: EventResponse;
|
|
10809
|
+
channels: {
|
|
10810
|
+
name: string;
|
|
10811
|
+
}[];
|
|
10812
|
+
contents: {};
|
|
10813
|
+
bannerInfo: {
|
|
10814
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10815
|
+
type: "video" | "image";
|
|
10816
|
+
videoId?: string;
|
|
10817
|
+
videoUrl?: string;
|
|
10818
|
+
isDirectVideoUrl?: boolean;
|
|
10819
|
+
imageId?: string;
|
|
10820
|
+
};
|
|
10821
|
+
keywords: {
|
|
10822
|
+
[key: string]: Keyword[];
|
|
9546
10823
|
};
|
|
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[];
|
|
10824
|
+
type: StreamItemTypes.Event;
|
|
10825
|
+
contentsList: StreamPublishableItemContents[];
|
|
10826
|
+
channelsList: string[];
|
|
10827
|
+
isUnread: boolean;
|
|
10828
|
+
keywordsList?: Keyword[];
|
|
10829
|
+
userResponseType?: StreamEventResponse;
|
|
10830
|
+
startDate?: string;
|
|
10831
|
+
endDate?: string;
|
|
10832
|
+
timeZone?: string;
|
|
10833
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10834
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10835
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10836
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10837
|
+
hasNewComments?: boolean;
|
|
10838
|
+
isLiked?: boolean;
|
|
10839
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10840
|
+
recurrenceSeriesId?: string;
|
|
10841
|
+
isSeriesMaster?: string;
|
|
10842
|
+
isVirtual?: boolean;
|
|
10843
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10844
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10845
|
+
id?: string;
|
|
10846
|
+
versionId?: string;
|
|
10847
|
+
publishingDate?: string;
|
|
10848
|
+
deleted?: string;
|
|
10849
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10850
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10851
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10852
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10853
|
+
fileAccessToken?: string;
|
|
10854
|
+
customProperties?: {
|
|
10855
|
+
[key: string]: any;
|
|
9583
10856
|
};
|
|
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
|
-
|
|
10857
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10858
|
+
modified: string;
|
|
10859
|
+
created: string;
|
|
10860
|
+
publishedVersionId?: string;
|
|
10861
|
+
isCurrentPublishedVersion?: boolean;
|
|
10862
|
+
isLatestVersion?: boolean;
|
|
10863
|
+
permalink?: string;
|
|
10864
|
+
groupIds: string[];
|
|
10865
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10866
|
+
useExternalContent?: boolean;
|
|
10867
|
+
isDemoContent?: boolean;
|
|
10868
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10869
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10870
|
+
} | {
|
|
10871
|
+
knownState?: undefined;
|
|
10872
|
+
pageType?: PageType;
|
|
10873
|
+
navigationContext?: PageNavigationContext;
|
|
10874
|
+
userResponse: EventResponse;
|
|
10875
|
+
channels: {
|
|
10876
|
+
name: string;
|
|
10877
|
+
}[];
|
|
10878
|
+
contents: {};
|
|
10879
|
+
bannerInfo: {
|
|
10880
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10881
|
+
type: "video" | "image";
|
|
10882
|
+
videoId?: string;
|
|
10883
|
+
videoUrl?: string;
|
|
10884
|
+
isDirectVideoUrl?: boolean;
|
|
10885
|
+
imageId?: string;
|
|
9609
10886
|
};
|
|
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[];
|
|
10887
|
+
keywords: {
|
|
10888
|
+
[key: string]: Keyword[];
|
|
9628
10889
|
};
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
10890
|
+
type: StreamItemTypes.Page;
|
|
10891
|
+
contentsList: StreamPublishableItemContents[];
|
|
10892
|
+
channelsList: string[];
|
|
10893
|
+
isUnread: boolean;
|
|
10894
|
+
keywordsList?: Keyword[];
|
|
10895
|
+
streamPageType?: string;
|
|
10896
|
+
path?: (PageNavigationNode & {
|
|
10897
|
+
parentId?: string;
|
|
10898
|
+
})[];
|
|
10899
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10900
|
+
parentId?: string;
|
|
10901
|
+
pathIds?: string[];
|
|
10902
|
+
position?: number;
|
|
10903
|
+
hasHiddenAncestor?: boolean;
|
|
10904
|
+
isUnlinked?: boolean;
|
|
10905
|
+
firstChildId?: string;
|
|
10906
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10907
|
+
id?: string;
|
|
10908
|
+
versionId?: string;
|
|
10909
|
+
publishingDate?: string;
|
|
10910
|
+
deleted?: string;
|
|
10911
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10912
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10913
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10914
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10915
|
+
fileAccessToken?: string;
|
|
10916
|
+
customProperties?: {
|
|
10917
|
+
[key: string]: any;
|
|
10918
|
+
};
|
|
10919
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10920
|
+
modified: string;
|
|
10921
|
+
created: string;
|
|
10922
|
+
publishedVersionId?: string;
|
|
10923
|
+
isCurrentPublishedVersion?: boolean;
|
|
10924
|
+
isLatestVersion?: boolean;
|
|
10925
|
+
permalink?: string;
|
|
10926
|
+
groupIds: string[];
|
|
10927
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10928
|
+
useExternalContent?: boolean;
|
|
10929
|
+
isDemoContent?: boolean;
|
|
10930
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10931
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10932
|
+
} | {
|
|
10933
|
+
knownState: KnownNewsState;
|
|
10934
|
+
pageType?: PageType;
|
|
10935
|
+
navigationContext?: PageNavigationContext;
|
|
10936
|
+
userResponse: EventResponse;
|
|
10937
|
+
channels: {
|
|
10938
|
+
name: string;
|
|
10939
|
+
}[];
|
|
10940
|
+
contents: {};
|
|
10941
|
+
bannerInfo: {
|
|
10942
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10943
|
+
type: "video" | "image";
|
|
10944
|
+
videoId?: string;
|
|
10945
|
+
videoUrl?: string;
|
|
10946
|
+
isDirectVideoUrl?: boolean;
|
|
10947
|
+
imageId?: string;
|
|
10948
|
+
};
|
|
10949
|
+
keywords: {
|
|
10950
|
+
[key: string]: Keyword[];
|
|
10951
|
+
};
|
|
10952
|
+
type: StreamItemTypes.Page;
|
|
10953
|
+
contentsList: StreamPublishableItemContents[];
|
|
10954
|
+
channelsList: string[];
|
|
10955
|
+
isUnread: boolean;
|
|
10956
|
+
keywordsList?: Keyword[];
|
|
10957
|
+
streamPageType?: string;
|
|
10958
|
+
path?: (PageNavigationNode & {
|
|
10959
|
+
parentId?: string;
|
|
10960
|
+
})[];
|
|
10961
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10962
|
+
parentId?: string;
|
|
10963
|
+
pathIds?: string[];
|
|
10964
|
+
position?: number;
|
|
10965
|
+
hasHiddenAncestor?: boolean;
|
|
10966
|
+
isUnlinked?: boolean;
|
|
10967
|
+
firstChildId?: string;
|
|
10968
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10969
|
+
id?: string;
|
|
10970
|
+
versionId?: string;
|
|
10971
|
+
publishingDate?: string;
|
|
10972
|
+
deleted?: string;
|
|
10973
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10974
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10975
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10976
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10977
|
+
fileAccessToken?: string;
|
|
10978
|
+
customProperties?: {
|
|
10979
|
+
[key: string]: any;
|
|
10980
|
+
};
|
|
10981
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10982
|
+
modified: string;
|
|
10983
|
+
created: string;
|
|
10984
|
+
publishedVersionId?: string;
|
|
10985
|
+
isCurrentPublishedVersion?: boolean;
|
|
10986
|
+
isLatestVersion?: boolean;
|
|
10987
|
+
permalink?: string;
|
|
10988
|
+
groupIds: string[];
|
|
10989
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10990
|
+
useExternalContent?: boolean;
|
|
10991
|
+
isDemoContent?: boolean;
|
|
10992
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10993
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10994
|
+
})[];
|
|
9633
10995
|
}
|
|
9634
|
-
declare module "libs/reach/feature/content/src/stream/
|
|
9635
|
-
|
|
10996
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10997
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10998
|
+
import { DocumentNode } from '@apollo/client';
|
|
10999
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
11000
|
+
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition, FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
11001
|
+
export enum StreamEventResponse {
|
|
11002
|
+
NotSet = "NOTSET",
|
|
11003
|
+
Registered = "REGISTERED",
|
|
11004
|
+
Declined = "DECLINED"
|
|
11005
|
+
}
|
|
11006
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
11007
|
+
}
|
|
11008
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
11009
|
+
items: StreamItem[];
|
|
11010
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
11011
|
+
loadMore: () => Promise<void>;
|
|
11012
|
+
pageInfo: {
|
|
11013
|
+
errors?: any;
|
|
11014
|
+
hasNextPage: boolean;
|
|
11015
|
+
skip: number;
|
|
11016
|
+
};
|
|
11017
|
+
refresh: () => Promise<void>;
|
|
11018
|
+
isLoadingFirstPage: boolean;
|
|
11019
|
+
};
|
|
11020
|
+
export const getStreamQuery: () => DocumentNode;
|
|
11021
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11022
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11023
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
11024
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
11025
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
11026
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
11027
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
11028
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
11029
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
11030
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
9636
11031
|
}
|
|
9637
11032
|
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
9638
11033
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9652,6 +11047,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
9652
11047
|
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
9653
11048
|
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
9654
11049
|
export * from "libs/reach/feature/content/src/posts/PostGroupsSelector";
|
|
11050
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
9655
11051
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
9656
11052
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
9657
11053
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
@@ -9675,7 +11071,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
|
9675
11071
|
onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
|
|
9676
11072
|
onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
|
|
9677
11073
|
className?: string;
|
|
9678
|
-
useLargeAvatar?: boolean;
|
|
9679
11074
|
useExternalLink?: boolean;
|
|
9680
11075
|
}
|
|
9681
11076
|
export const EditorListItem: FC<Props>;
|
|
@@ -9720,12 +11115,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
9720
11115
|
}
|
|
9721
11116
|
}
|
|
9722
11117
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
9723
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11118
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9724
11119
|
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
11120
|
import { Observable } from 'rxjs';
|
|
9730
11121
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
9731
11122
|
export function useEditorApi(): {
|
|
@@ -9745,6 +11136,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
|
9745
11136
|
keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
|
|
9746
11137
|
saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
|
|
9747
11138
|
updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
|
|
11139
|
+
translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
|
|
9748
11140
|
};
|
|
9749
11141
|
}
|
|
9750
11142
|
declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
@@ -9768,6 +11160,59 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
9768
11160
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
9769
11161
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
9770
11162
|
}
|
|
11163
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
11164
|
+
import { FC } from 'react';
|
|
11165
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11166
|
+
export const StreamPostItemCard: FC<{
|
|
11167
|
+
post: PostStreamItem;
|
|
11168
|
+
onPostDelete: (id: string) => unknown;
|
|
11169
|
+
}>;
|
|
11170
|
+
}
|
|
11171
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
11172
|
+
import { FC } from 'react';
|
|
11173
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11174
|
+
export const StreamNewsItemCard: FC<{
|
|
11175
|
+
news: NewsStreamItem;
|
|
11176
|
+
}>;
|
|
11177
|
+
}
|
|
11178
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
11179
|
+
import { FC } from 'react';
|
|
11180
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11181
|
+
export const StreamEventItemCard: FC<{
|
|
11182
|
+
event: EventStreamItem;
|
|
11183
|
+
}>;
|
|
11184
|
+
}
|
|
11185
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11186
|
+
import { FC } from 'react';
|
|
11187
|
+
export const GlobalSearchButton: FC;
|
|
11188
|
+
}
|
|
11189
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11190
|
+
import { FC } from 'react';
|
|
11191
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11192
|
+
export type StreamQueryResult = {
|
|
11193
|
+
items: StreamItem[];
|
|
11194
|
+
};
|
|
11195
|
+
export const StreamList: FC;
|
|
11196
|
+
}
|
|
11197
|
+
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
11198
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
11199
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
11200
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11201
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
|
|
11202
|
+
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11203
|
+
}
|
|
11204
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11205
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
11206
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11207
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11208
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
11209
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
11210
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
11211
|
+
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
11212
|
+
}
|
|
11213
|
+
declare module "libs/reach/feature/content/src/search/index" {
|
|
11214
|
+
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11215
|
+
}
|
|
9771
11216
|
declare module "libs/reach/feature/content/src/index" {
|
|
9772
11217
|
export * from "libs/reach/feature/content/src/comments/index";
|
|
9773
11218
|
export * from "libs/reach/feature/content/src/common/index";
|
|
@@ -9780,6 +11225,8 @@ declare module "libs/reach/feature/content/src/index" {
|
|
|
9780
11225
|
export * from "libs/reach/feature/content/src/posts/index";
|
|
9781
11226
|
export * from "libs/reach/feature/content/src/editor/index";
|
|
9782
11227
|
export * from "libs/reach/feature/content/src/public-user/index";
|
|
11228
|
+
export * from "libs/reach/feature/content/src/stream/index";
|
|
11229
|
+
export * from "libs/reach/feature/content/src/search/index";
|
|
9783
11230
|
}
|
|
9784
11231
|
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
9785
11232
|
import { FC } from 'react';
|
|
@@ -9850,20 +11297,22 @@ declare module "apps/reach-app/src/app/AppLoader" {
|
|
|
9850
11297
|
}
|
|
9851
11298
|
declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
|
|
9852
11299
|
import './ContainerWithLogo.scss';
|
|
11300
|
+
import { LogoInfo } from "libs/reach/util/common/src/index";
|
|
11301
|
+
import { FC, ReactNode } from 'react';
|
|
9853
11302
|
export enum DefaultLogoColor {
|
|
9854
11303
|
Default = 0,
|
|
9855
11304
|
White = 1
|
|
9856
11305
|
}
|
|
9857
|
-
type RenderChildren =
|
|
9858
|
-
export const ContainerWithLogo:
|
|
9859
|
-
|
|
9860
|
-
logoColor?: DefaultLogoColor;
|
|
11306
|
+
type RenderChildren = ReactNode | (() => ReactNode);
|
|
11307
|
+
export const ContainerWithLogo: FC<{
|
|
11308
|
+
logoInfo?: LogoInfo;
|
|
9861
11309
|
text?: string;
|
|
9862
11310
|
headerClassName?: string;
|
|
9863
11311
|
additionalClasses?: string;
|
|
9864
11312
|
children: RenderChildren;
|
|
9865
11313
|
className?: string;
|
|
9866
11314
|
additionalContent?: RenderChildren;
|
|
11315
|
+
isBrandedContainer?: boolean;
|
|
9867
11316
|
}>;
|
|
9868
11317
|
}
|
|
9869
11318
|
declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
|
|
@@ -9895,7 +11344,11 @@ declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
|
9895
11344
|
MobileHidden = 1
|
|
9896
11345
|
}
|
|
9897
11346
|
export function shutdownZendesk(): void;
|
|
9898
|
-
export function
|
|
11347
|
+
export function useZendeskWithSubscription(): {
|
|
11348
|
+
showZendeskChat: () => void;
|
|
11349
|
+
toggleIcon: (show: boolean) => void;
|
|
11350
|
+
};
|
|
11351
|
+
export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
|
|
9899
11352
|
showZendeskChat: () => void;
|
|
9900
11353
|
toggleIcon: (show: boolean) => void;
|
|
9901
11354
|
};
|
|
@@ -9910,27 +11363,8 @@ declare module "apps/reach-app/src/app/EnforcedSubscriptionContextProvider" {
|
|
|
9910
11363
|
}
|
|
9911
11364
|
declare module "apps/reach-app/src/app/chrome/PageMenuActionItem" {
|
|
9912
11365
|
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>;
|
|
11366
|
+
import { PageNavigationNodeProps } from "libs/reach/util/common/src/index";
|
|
11367
|
+
export const PageMenuActionItem: FC<PageNavigationNodeProps>;
|
|
9934
11368
|
}
|
|
9935
11369
|
declare module "apps/reach-app/src/app/admin/ManagePluginsPage" {
|
|
9936
11370
|
import { FC } from 'react';
|
|
@@ -9940,7 +11374,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
|
|
|
9940
11374
|
import { FC } from 'react';
|
|
9941
11375
|
export const AdminActionItem: FC<{
|
|
9942
11376
|
submenuContents: JSX.Element;
|
|
9943
|
-
onClick
|
|
11377
|
+
onClick?: () => unknown;
|
|
9944
11378
|
title?: string;
|
|
9945
11379
|
}>;
|
|
9946
11380
|
const AdminRoutes: FC;
|
|
@@ -9954,7 +11388,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
|
|
|
9954
11388
|
import { FC } from 'react';
|
|
9955
11389
|
export const ChatMenuNode: FC<{
|
|
9956
11390
|
title: string;
|
|
9957
|
-
onClick
|
|
11391
|
+
onClick?: () => void;
|
|
9958
11392
|
}>;
|
|
9959
11393
|
}
|
|
9960
11394
|
declare module "apps/reach-app/src/app/chrome/Sidebar" {
|
|
@@ -9981,20 +11415,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
|
|
|
9981
11415
|
className?: string;
|
|
9982
11416
|
}>;
|
|
9983
11417
|
}
|
|
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
11418
|
declare module "apps/reach-app/src/AppLoaderContextProvider" {
|
|
9999
11419
|
import { FC, ReactNode } from 'react';
|
|
10000
11420
|
export const AppLoaderContext: import("react").Context<{
|
|
@@ -10140,6 +11560,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
10140
11560
|
}
|
|
10141
11561
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
10142
11562
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|
|
11563
|
+
import { PageMenuActionItem } from "apps/reach-app/src/app/chrome/PageMenuActionItem";
|
|
10143
11564
|
import { NavLinkSidebarItem } from "apps/reach-app/src/app/chrome/SidebarItem";
|
|
10144
|
-
export { Page, NavLinkSidebarItem };
|
|
11565
|
+
export { Page, NavLinkSidebarItem, PageMenuActionItem };
|
|
10145
11566
|
}
|