@livetiles/reach-plugin-types 0.4.0-preview.36 → 0.4.0-preview.363
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 +2208 -871
- 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[];
|
|
@@ -2289,7 +2391,10 @@ declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
|
2289
2391
|
declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
2290
2392
|
import { FC } from 'react';
|
|
2291
2393
|
import { PluginAndExtension } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2292
|
-
export const PluginWrapper: FC<PluginAndExtension
|
|
2394
|
+
export const PluginWrapper: FC<PluginAndExtension & {
|
|
2395
|
+
navigationNodeProps?: any;
|
|
2396
|
+
renderNavigationNode?: (navigationNodeProps: any) => JSX.Element;
|
|
2397
|
+
}>;
|
|
2293
2398
|
}
|
|
2294
2399
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2295
2400
|
import { FC } from 'react';
|
|
@@ -2420,6 +2525,7 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
|
2420
2525
|
}
|
|
2421
2526
|
export function getDarkAltColor(color: string): string;
|
|
2422
2527
|
export function getTextColor(bgColor: string): "#333333" | "#ffffff";
|
|
2528
|
+
export function shouldUseDarkForegroundColor(bgColor: string): boolean;
|
|
2423
2529
|
}
|
|
2424
2530
|
declare module "libs/reach/util/common/src/theme/ThemeContext" {
|
|
2425
2531
|
import { FC, ReactNode } from 'react';
|
|
@@ -2610,10 +2716,11 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2610
2716
|
useExternalContent?: boolean;
|
|
2611
2717
|
isSearchMatch?: boolean;
|
|
2612
2718
|
topLevelFolderName?: string;
|
|
2719
|
+
uploadToken?: string;
|
|
2613
2720
|
}
|
|
2614
2721
|
export interface PageNavigationContext {
|
|
2615
2722
|
parent?: PageNavigationNode;
|
|
2616
|
-
siblings
|
|
2723
|
+
siblings?: PageNavigationNode[];
|
|
2617
2724
|
children?: PageNavigationNode[];
|
|
2618
2725
|
}
|
|
2619
2726
|
export enum PageType {
|
|
@@ -2715,7 +2822,17 @@ declare module "libs/reach/util/common/src/content/useClearUnreadItems" {
|
|
|
2715
2822
|
onStarted?: () => unknown;
|
|
2716
2823
|
onFinished?: () => unknown;
|
|
2717
2824
|
}
|
|
2718
|
-
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers): () => Promise<void>;
|
|
2825
|
+
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
2826
|
+
}
|
|
2827
|
+
declare module "libs/reach/util/common/src/content/useClearUnreadOnlyFilter" {
|
|
2828
|
+
export function useClearUnreadOnlyFilter(): {
|
|
2829
|
+
clearUnreadOnlyFilter: () => void;
|
|
2830
|
+
};
|
|
2831
|
+
}
|
|
2832
|
+
declare module "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler" {
|
|
2833
|
+
export function useUnreadItemsTogglerHandler(): {
|
|
2834
|
+
toggleUnreadItems: () => void;
|
|
2835
|
+
};
|
|
2719
2836
|
}
|
|
2720
2837
|
declare module "libs/reach/util/common/src/content/index" {
|
|
2721
2838
|
export * from "libs/reach/util/common/src/content/Attachment";
|
|
@@ -2740,6 +2857,8 @@ declare module "libs/reach/util/common/src/content/index" {
|
|
|
2740
2857
|
export * from "libs/reach/util/common/src/content/useFileApi";
|
|
2741
2858
|
export * from "libs/reach/util/common/src/content/content-keyword-utils";
|
|
2742
2859
|
export * from "libs/reach/util/common/src/content/useClearUnreadItems";
|
|
2860
|
+
export * from "libs/reach/util/common/src/content/useClearUnreadOnlyFilter";
|
|
2861
|
+
export * from "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler";
|
|
2743
2862
|
}
|
|
2744
2863
|
declare module "libs/reach/util/common/src/Variables" {
|
|
2745
2864
|
export const maxContentWidth = 985;
|
|
@@ -2840,6 +2959,7 @@ declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
|
2840
2959
|
}
|
|
2841
2960
|
declare module "libs/reach/util/common/src/notification/ToastNotificationHost" {
|
|
2842
2961
|
import { FC } from 'react';
|
|
2962
|
+
import 'react-toastify/dist/ReactToastify.min.css';
|
|
2843
2963
|
export const ToastNotificationHost: FC;
|
|
2844
2964
|
}
|
|
2845
2965
|
declare module "libs/reach/util/common/src/notification/index" {
|
|
@@ -2858,6 +2978,7 @@ declare module "libs/reach/util/common/src/keywords/SubscriptionContext" {
|
|
|
2858
2978
|
selectedKeywordGroups?: KeywordGroup[];
|
|
2859
2979
|
}
|
|
2860
2980
|
export const LazySubscriptionContext: import("react").Context<SubscriptionData & {
|
|
2981
|
+
getChannels: () => Promise<Channel[]>;
|
|
2861
2982
|
refreshSubscription: () => void;
|
|
2862
2983
|
}>;
|
|
2863
2984
|
export const EnforcedSubscriptionContext: import("react").Context<SubscriptionData & {
|
|
@@ -2909,7 +3030,7 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2909
3030
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2910
3031
|
export interface Chat {
|
|
2911
3032
|
id: string;
|
|
2912
|
-
members: Account[];
|
|
3033
|
+
members: (Account & ChatMember)[];
|
|
2913
3034
|
memberIds: string[];
|
|
2914
3035
|
groupName?: string;
|
|
2915
3036
|
lastMessageInfo?: {
|
|
@@ -2920,6 +3041,10 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2920
3041
|
deleteDate?: string;
|
|
2921
3042
|
deleteState?: DeleteState;
|
|
2922
3043
|
messageType?: ChatMessageType;
|
|
3044
|
+
messageValues?: {
|
|
3045
|
+
groupName?: string;
|
|
3046
|
+
userId?: string;
|
|
3047
|
+
};
|
|
2923
3048
|
};
|
|
2924
3049
|
messages: ChatMessage[];
|
|
2925
3050
|
hasNewMessages: boolean;
|
|
@@ -2932,7 +3057,19 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2932
3057
|
}
|
|
2933
3058
|
export enum ChatMessageType {
|
|
2934
3059
|
Default = "DEFAULT",
|
|
2935
|
-
GroupNameChange = "GROUP_NAME_CHANGE"
|
|
3060
|
+
GroupNameChange = "GROUP_NAME_CHANGE",
|
|
3061
|
+
UserLeftGroup = "USER_LEFT_GROUP"
|
|
3062
|
+
}
|
|
3063
|
+
export enum MemberStatus {
|
|
3064
|
+
Normal = "NORMAL",
|
|
3065
|
+
LeftGroupChat = "LEFT_GROUP_CHAT",
|
|
3066
|
+
LeftOneToOneChat = "LEFT_ONE_TO_ONE_CHAT"
|
|
3067
|
+
}
|
|
3068
|
+
export interface ChatMember {
|
|
3069
|
+
id?: string;
|
|
3070
|
+
status?: MemberStatus;
|
|
3071
|
+
joinDate?: string;
|
|
3072
|
+
leftDate?: string;
|
|
2936
3073
|
}
|
|
2937
3074
|
export interface ChatMessage {
|
|
2938
3075
|
itemId: string;
|
|
@@ -3146,6 +3283,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3146
3283
|
placeholderStringResourceKey?: string;
|
|
3147
3284
|
autoFocus?: boolean;
|
|
3148
3285
|
inputId?: string;
|
|
3286
|
+
required?: boolean;
|
|
3149
3287
|
className?: string;
|
|
3150
3288
|
}
|
|
3151
3289
|
export const PeoplePicker: FC<Props>;
|
|
@@ -3183,7 +3321,6 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3183
3321
|
}
|
|
3184
3322
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3185
3323
|
import { FC } from 'react';
|
|
3186
|
-
import 'react-toastify/dist/ReactToastify.min.css';
|
|
3187
3324
|
export const NotificationBar: FC;
|
|
3188
3325
|
}
|
|
3189
3326
|
declare module "libs/reach/ui/common/src/common/AttachedMediaDownloadLink" {
|
|
@@ -3228,7 +3365,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
|
3228
3365
|
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3229
3366
|
}
|
|
3230
3367
|
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3231
|
-
import { BaseSubscription, CurrentUser, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3368
|
+
import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3232
3369
|
import { IntlShape } from 'react-intl';
|
|
3233
3370
|
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3234
3371
|
export function isValidUrl(url: string): boolean;
|
|
@@ -3240,9 +3377,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
|
|
|
3240
3377
|
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3241
3378
|
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3242
3379
|
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:
|
|
3380
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3381
|
+
logoInfo: LogoInfo;
|
|
3382
|
+
subscriptionName: string;
|
|
3246
3383
|
};
|
|
3247
3384
|
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3248
3385
|
export function delay(delayInMs: number): Promise<unknown>;
|
|
@@ -3262,8 +3399,8 @@ declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
|
3262
3399
|
}
|
|
3263
3400
|
declare module "libs/reach/ui/common/src/common/Callout" {
|
|
3264
3401
|
import { FC } from 'react';
|
|
3265
|
-
import {
|
|
3266
|
-
export const Callout: FC<
|
|
3402
|
+
import { IFocusTrapCalloutProps } from 'office-ui-fabric-react';
|
|
3403
|
+
export const Callout: FC<IFocusTrapCalloutProps>;
|
|
3267
3404
|
}
|
|
3268
3405
|
declare module "libs/reach/ui/common/src/common/CommentInputTheme" {
|
|
3269
3406
|
export type CommentInputTheme = 'light' | 'dark';
|
|
@@ -3340,12 +3477,13 @@ declare module "libs/reach/ui/common/src/common/Dropdown" {
|
|
|
3340
3477
|
export const Dropdown: FC<IDropdownProps>;
|
|
3341
3478
|
}
|
|
3342
3479
|
declare module "libs/reach/ui/common/src/common/EmptyList" {
|
|
3480
|
+
import { FC } from 'react';
|
|
3343
3481
|
interface EmptyListProps {
|
|
3344
3482
|
icon?: string;
|
|
3345
3483
|
emptyMessageResources?: string[];
|
|
3346
3484
|
className?: string;
|
|
3347
3485
|
}
|
|
3348
|
-
export const EmptyList:
|
|
3486
|
+
export const EmptyList: FC<EmptyListProps>;
|
|
3349
3487
|
}
|
|
3350
3488
|
declare module "libs/reach/ui/common/src/common/EnumHelpers" {
|
|
3351
3489
|
export const hasFlag: (baseValue: any, flag: any) => boolean;
|
|
@@ -3496,18 +3634,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
|
|
|
3496
3634
|
date: string;
|
|
3497
3635
|
}>;
|
|
3498
3636
|
}
|
|
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
3637
|
declare module "libs/reach/ui/common/src/common/IconLabel" {
|
|
3512
3638
|
import { FC, ReactNode } from 'react';
|
|
3513
3639
|
export const IconLabel: FC<{
|
|
@@ -3546,8 +3672,10 @@ declare module "libs/reach/ui/common/src/common/KeywordTitle" {
|
|
|
3546
3672
|
groupName?: string;
|
|
3547
3673
|
groupId?: string;
|
|
3548
3674
|
keywordName?: string;
|
|
3675
|
+
keywordId?: string;
|
|
3549
3676
|
language?: string;
|
|
3550
3677
|
underlined?: boolean;
|
|
3678
|
+
onClick?: (keyword: string) => unknown;
|
|
3551
3679
|
}
|
|
3552
3680
|
export const KeywordTitle: FC<Props>;
|
|
3553
3681
|
export const GridKeywordTitle: FC<{
|
|
@@ -3562,7 +3690,7 @@ declare module "libs/reach/ui/common/src/common/Logos" {
|
|
|
3562
3690
|
export { ReactComponent as WhiteDefaultLogoWithText } from './logos/logo-white-with-name.svg';
|
|
3563
3691
|
export { ReactComponent as LogoPurpleXL } from './logos/logo-purple-xl.svg';
|
|
3564
3692
|
export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
|
|
3565
|
-
export { ReactComponent as
|
|
3693
|
+
export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
|
|
3566
3694
|
}
|
|
3567
3695
|
declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
|
|
3568
3696
|
import { FC } from 'react';
|
|
@@ -3622,11 +3750,24 @@ declare module "libs/reach/ui/common/src/common/Prompt" {
|
|
|
3622
3750
|
}
|
|
3623
3751
|
export const Prompt: FC<Props>;
|
|
3624
3752
|
}
|
|
3753
|
+
declare module "libs/reach/ui/common/src/common/buttons/IconHeaderButton" {
|
|
3754
|
+
import { FC } from 'react';
|
|
3755
|
+
export const IconHeaderButton: FC<{
|
|
3756
|
+
icon: string;
|
|
3757
|
+
isActive?: boolean;
|
|
3758
|
+
disabled?: boolean;
|
|
3759
|
+
tooltipResourceKey?: string;
|
|
3760
|
+
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3761
|
+
link?: string;
|
|
3762
|
+
className?: string;
|
|
3763
|
+
}>;
|
|
3764
|
+
}
|
|
3625
3765
|
declare module "libs/reach/ui/common/src/common/toolbar/ToolbarIconButtonWithToolTip" {
|
|
3626
3766
|
import { FC } from 'react';
|
|
3627
3767
|
export interface ToolbarIconButtonProps {
|
|
3628
3768
|
iconName: string;
|
|
3629
|
-
|
|
3769
|
+
ariaLabel?: string;
|
|
3770
|
+
ariaLabelResourceKey?: string;
|
|
3630
3771
|
onClick?: () => unknown;
|
|
3631
3772
|
to?: string;
|
|
3632
3773
|
target?: string;
|
|
@@ -3655,6 +3796,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
|
|
|
3655
3796
|
onSearchTextChange?: (text: string) => void;
|
|
3656
3797
|
onExecuteSearch?: (text: string) => void;
|
|
3657
3798
|
searchText?: string;
|
|
3799
|
+
showSearchBoxInput?: boolean;
|
|
3658
3800
|
}
|
|
3659
3801
|
export const SearchBox: FC<SearchBoxProps & {
|
|
3660
3802
|
onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
|
|
@@ -3733,8 +3875,7 @@ declare module "libs/reach/ui/common/src/common/buttons/ChoiceGroup" {
|
|
|
3733
3875
|
}
|
|
3734
3876
|
declare module "libs/reach/ui/common/src/common/buttons/CommentActionMenu" {
|
|
3735
3877
|
import { FC } from 'react';
|
|
3736
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
3737
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
3878
|
+
import { Account, Comment } from "libs/reach/util/common/src/index";
|
|
3738
3879
|
export const CommentActionMenu: FC<{
|
|
3739
3880
|
comment: Comment;
|
|
3740
3881
|
showEdit: boolean;
|
|
@@ -3780,6 +3921,21 @@ declare module "libs/reach/ui/common/src/common/buttons/TopActionButton" {
|
|
|
3780
3921
|
}
|
|
3781
3922
|
export const TopActionButton: import("styled-components").StyledComponent<import("react").FC<Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
3782
3923
|
}
|
|
3924
|
+
declare module "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler" {
|
|
3925
|
+
import { FC } from 'react';
|
|
3926
|
+
export const UnreadItemsToggler: FC<{
|
|
3927
|
+
disabled: boolean;
|
|
3928
|
+
className?: string;
|
|
3929
|
+
}>;
|
|
3930
|
+
}
|
|
3931
|
+
declare module "libs/reach/ui/common/src/common/buttons/HeaderMenuButton" {
|
|
3932
|
+
import { FC } from 'react';
|
|
3933
|
+
import { IContextualMenuItem } from 'office-ui-fabric-react';
|
|
3934
|
+
export const HeaderMenuButton: FC<{
|
|
3935
|
+
items: IContextualMenuItem[];
|
|
3936
|
+
className?: string;
|
|
3937
|
+
}>;
|
|
3938
|
+
}
|
|
3783
3939
|
declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
|
|
3784
3940
|
import { FC } from 'react';
|
|
3785
3941
|
import { Channel } from "libs/reach/util/common/src/index";
|
|
@@ -3830,6 +3986,7 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelList" {
|
|
|
3830
3986
|
language: string;
|
|
3831
3987
|
channelStyleDefinition?: ChannelStyleDefinition;
|
|
3832
3988
|
visibleChannelsCount?: number;
|
|
3989
|
+
onChannelClick?: (channel: string) => unknown;
|
|
3833
3990
|
className?: string;
|
|
3834
3991
|
}>;
|
|
3835
3992
|
}
|
|
@@ -3848,6 +4005,8 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelSelector" {
|
|
|
3848
4005
|
showSelectionToggle?: boolean;
|
|
3849
4006
|
placeholder?: string;
|
|
3850
4007
|
inlineControls?: boolean;
|
|
4008
|
+
required?: boolean;
|
|
4009
|
+
id?: string;
|
|
3851
4010
|
}
|
|
3852
4011
|
export const ChannelSelector: FC<Props>;
|
|
3853
4012
|
}
|
|
@@ -3859,6 +4018,7 @@ declare module "libs/reach/ui/common/src/common/channels/ClickableChannelTitles"
|
|
|
3859
4018
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
3860
4019
|
language?: string;
|
|
3861
4020
|
channelBackgroundColor?: string;
|
|
4021
|
+
onClick?: (channel: string) => unknown;
|
|
3862
4022
|
className?: string;
|
|
3863
4023
|
}>;
|
|
3864
4024
|
}
|
|
@@ -4104,7 +4264,7 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
|
|
|
4104
4264
|
declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
|
|
4105
4265
|
import { DependencyList } from 'react';
|
|
4106
4266
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4107
|
-
export function useItemLoaderWithPreFetch(pageSize: number, handler: (pageSize: number,
|
|
4267
|
+
export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: (pageSize: number, token?: TTokenType) => Promise<PaginatedList<TItem>>, deps?: DependencyList): {
|
|
4108
4268
|
items: any[];
|
|
4109
4269
|
isInitialLoading: boolean;
|
|
4110
4270
|
isLoadingNextPage: boolean;
|
|
@@ -4117,6 +4277,21 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
|
|
|
4117
4277
|
isEmpty: boolean;
|
|
4118
4278
|
};
|
|
4119
4279
|
}
|
|
4280
|
+
declare module "libs/reach/ui/common/src/common/paging/PaginationStatus" {
|
|
4281
|
+
import { FC } from 'react';
|
|
4282
|
+
export const PaginationStatus: FC<{
|
|
4283
|
+
allLoadedResourceId: string;
|
|
4284
|
+
showAllLoaded: boolean;
|
|
4285
|
+
showSpinner?: boolean;
|
|
4286
|
+
showPlaceholder?: boolean;
|
|
4287
|
+
}>;
|
|
4288
|
+
}
|
|
4289
|
+
declare module "libs/reach/ui/common/src/common/paging/usePageScrollPagination" {
|
|
4290
|
+
import { DependencyList } from 'react';
|
|
4291
|
+
export function usePageScrollPagination(loadMoreItems: () => Promise<void>, allItemsLoaded?: boolean, additionalDeps?: DependencyList): {
|
|
4292
|
+
isLoadingMore: boolean;
|
|
4293
|
+
};
|
|
4294
|
+
}
|
|
4120
4295
|
declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
|
|
4121
4296
|
import { FC, ReactNode } from 'react';
|
|
4122
4297
|
export const PullToRefreshContext: import("react").Context<{
|
|
@@ -4168,6 +4343,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarMarkAllAsReadButt
|
|
|
4168
4343
|
onMarkAsReadStarted?: () => unknown;
|
|
4169
4344
|
onMarkAsReadFinished?: () => unknown;
|
|
4170
4345
|
disabled?: boolean;
|
|
4346
|
+
unreadCount?: number;
|
|
4171
4347
|
}
|
|
4172
4348
|
export const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
4173
4349
|
export const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
@@ -4351,7 +4527,6 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4351
4527
|
export * from "libs/reach/ui/common/src/common/FloatingActionButton";
|
|
4352
4528
|
export * from "libs/reach/ui/common/src/common/FormattedMessageWithStyle";
|
|
4353
4529
|
export * from "libs/reach/ui/common/src/common/GroupedByDateTitles";
|
|
4354
|
-
export * from "libs/reach/ui/common/src/common/IconHeaderButton";
|
|
4355
4530
|
export * from "libs/reach/ui/common/src/common/IconLabel";
|
|
4356
4531
|
export * from "libs/reach/ui/common/src/common/ItemStatisticsCache";
|
|
4357
4532
|
export * from "libs/reach/ui/common/src/common/KeywordTitle";
|
|
@@ -4382,6 +4557,9 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4382
4557
|
export * from "libs/reach/ui/common/src/common/buttons/DeleteAttachmentButton";
|
|
4383
4558
|
export * from "libs/reach/ui/common/src/common/buttons/ToggleAllButtons";
|
|
4384
4559
|
export * from "libs/reach/ui/common/src/common/buttons/TopActionButton";
|
|
4560
|
+
export * from "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler";
|
|
4561
|
+
export * from "libs/reach/ui/common/src/common/buttons/IconHeaderButton";
|
|
4562
|
+
export * from "libs/reach/ui/common/src/common/buttons/HeaderMenuButton";
|
|
4385
4563
|
export * from "libs/reach/ui/common/src/common/channels/ChannelItem";
|
|
4386
4564
|
export * from "libs/reach/ui/common/src/common/channels/ChannelList";
|
|
4387
4565
|
export * from "libs/reach/ui/common/src/common/channels/ChannelSelector";
|
|
@@ -4410,6 +4588,8 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4410
4588
|
export * from "libs/reach/ui/common/src/common/paging/HorizontalPager";
|
|
4411
4589
|
export * from "libs/reach/ui/common/src/common/paging/VerticalPager";
|
|
4412
4590
|
export * from "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch";
|
|
4591
|
+
export * from "libs/reach/ui/common/src/common/paging/PaginationStatus";
|
|
4592
|
+
export * from "libs/reach/ui/common/src/common/paging/usePageScrollPagination";
|
|
4413
4593
|
export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
|
|
4414
4594
|
export * from "libs/reach/ui/common/src/common/refreshScripts";
|
|
4415
4595
|
export * from "libs/reach/ui/common/src/common/toolbar/Toolbar";
|
|
@@ -4490,10 +4670,10 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4490
4670
|
export function useEscapeOnClose(onClose: Function): void;
|
|
4491
4671
|
}
|
|
4492
4672
|
declare module "apps/reach-app/src/app/chrome/Header" {
|
|
4493
|
-
import { FC, ReactNode } from 'react';
|
|
4673
|
+
import { FC, Dispatch, SetStateAction, ReactNode, HTMLProps } from 'react';
|
|
4494
4674
|
import './Header.scss';
|
|
4495
4675
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
4496
|
-
interface Props extends
|
|
4676
|
+
interface Props extends HTMLProps<HTMLElement>, SearchBoxProps {
|
|
4497
4677
|
iconLeft?: string;
|
|
4498
4678
|
onToggleLeft?: () => void;
|
|
4499
4679
|
onToggleRight?: () => void;
|
|
@@ -4509,6 +4689,14 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
4509
4689
|
disableGoBack?: boolean;
|
|
4510
4690
|
route?: string;
|
|
4511
4691
|
}
|
|
4692
|
+
export interface HeaderContextType {
|
|
4693
|
+
setIsSearchInputFieldVisible: Dispatch<SetStateAction<boolean>>;
|
|
4694
|
+
isSearchInputFieldVisible: boolean;
|
|
4695
|
+
}
|
|
4696
|
+
export const HeaderContext: import("react").Context<HeaderContextType>;
|
|
4697
|
+
export const HeaderContextProvider: FC<{
|
|
4698
|
+
children: ReactNode;
|
|
4699
|
+
}>;
|
|
4512
4700
|
export const Header: FC<Props>;
|
|
4513
4701
|
}
|
|
4514
4702
|
declare module "apps/reach-app/src/app/chrome/FloatingPageActions" {
|
|
@@ -4623,17 +4811,19 @@ declare module "apps/reach-app/src/app/admin/AddButton" {
|
|
|
4623
4811
|
icon?: string;
|
|
4624
4812
|
tooltipResourceKey?: string;
|
|
4625
4813
|
labelResourceKey?: string;
|
|
4814
|
+
domIdentifier?: string;
|
|
4626
4815
|
className?: string;
|
|
4627
4816
|
}
|
|
4628
4817
|
export const AddButton: FC<AddButtonProps>;
|
|
4629
4818
|
}
|
|
4630
4819
|
declare module "apps/reach-app/src/app/admin/common" {
|
|
4631
|
-
|
|
4632
|
-
|
|
4820
|
+
import { FC, ReactNode } from 'react';
|
|
4821
|
+
export const AdminPage: FC<{
|
|
4822
|
+
children: ReactNode;
|
|
4633
4823
|
className?: string;
|
|
4634
4824
|
domIdentifier?: string;
|
|
4635
4825
|
}>;
|
|
4636
|
-
export const
|
|
4826
|
+
export const AdminPageTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
|
|
4637
4827
|
}
|
|
4638
4828
|
declare module "apps/reach-app/src/app/admin/keywords/useKeywordsApi" {
|
|
4639
4829
|
import { KeywordGroup } from "libs/reach/util/common/src/index";
|
|
@@ -4665,7 +4855,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
|
|
|
4665
4855
|
}
|
|
4666
4856
|
declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
4667
4857
|
import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
|
|
4668
|
-
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions } from "libs/reach/util/common/src/index";
|
|
4858
|
+
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
|
|
4669
4859
|
import { Account } from "libs/reach/util/common/src/index";
|
|
4670
4860
|
import { Language } from "libs/reach/util/common/src/index";
|
|
4671
4861
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -4680,7 +4870,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
4680
4870
|
setSubscriptionName: (name: string) => Promise<string>;
|
|
4681
4871
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
4682
4872
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
4683
|
-
updateLogo: (file?: File) => Promise<void>;
|
|
4873
|
+
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
4684
4874
|
updateFavicon: (file?: File) => Promise<void>;
|
|
4685
4875
|
updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
|
|
4686
4876
|
linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
|
|
@@ -4729,6 +4919,42 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
|
|
|
4729
4919
|
import './ApplicationName.scss';
|
|
4730
4920
|
export const ApplicationName: FC;
|
|
4731
4921
|
}
|
|
4922
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
|
|
4923
|
+
import { FC } from 'react';
|
|
4924
|
+
export const AppBarLogoPreview: FC<{
|
|
4925
|
+
src: string;
|
|
4926
|
+
subscriptionName: string;
|
|
4927
|
+
}>;
|
|
4928
|
+
export const SidePanelLogoPreview: FC<{
|
|
4929
|
+
src: string;
|
|
4930
|
+
subscriptionName: string;
|
|
4931
|
+
}>;
|
|
4932
|
+
export const EmailLogoPreview: FC<{
|
|
4933
|
+
src: string;
|
|
4934
|
+
subscriptionName: string;
|
|
4935
|
+
}>;
|
|
4936
|
+
export const SignInLogoPreview: FC<{
|
|
4937
|
+
src: string;
|
|
4938
|
+
}>;
|
|
4939
|
+
}
|
|
4940
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
|
|
4941
|
+
import { FC } from 'react';
|
|
4942
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
4943
|
+
export const LogoPreviewDialog: FC<{
|
|
4944
|
+
canSave: boolean;
|
|
4945
|
+
onDismiss: () => unknown;
|
|
4946
|
+
onSave: (logoSize: LogoSize) => unknown;
|
|
4947
|
+
source: string;
|
|
4948
|
+
logoType: LogoSize;
|
|
4949
|
+
}>;
|
|
4950
|
+
}
|
|
4951
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
|
|
4952
|
+
import { FC } from 'react';
|
|
4953
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
4954
|
+
export const LogoEditor: FC<{
|
|
4955
|
+
logoType: LogoSize;
|
|
4956
|
+
}>;
|
|
4957
|
+
}
|
|
4732
4958
|
declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
|
|
4733
4959
|
import { FC } from 'react';
|
|
4734
4960
|
export const ApplicationLogo: FC;
|
|
@@ -5490,6 +5716,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
|
|
|
5490
5716
|
}
|
|
5491
5717
|
export const GoToAdminConsentButton: React.FC<Props>;
|
|
5492
5718
|
}
|
|
5719
|
+
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
5720
|
+
import { IntlShape } from 'react-intl';
|
|
5721
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
5722
|
+
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
5723
|
+
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
5724
|
+
export const systemAccountGroupIds: {
|
|
5725
|
+
everyone: string;
|
|
5726
|
+
directoryUsers: string;
|
|
5727
|
+
nonDirectoryUsers: string;
|
|
5728
|
+
allGroups: string[];
|
|
5729
|
+
};
|
|
5730
|
+
export function getDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5731
|
+
export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5732
|
+
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
5733
|
+
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
5734
|
+
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
5735
|
+
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
5736
|
+
export const isAdGroup: (account: Account) => boolean;
|
|
5737
|
+
export const isUser: (account: Account) => boolean;
|
|
5738
|
+
}
|
|
5493
5739
|
declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
|
|
5494
5740
|
import { FC } from 'react';
|
|
5495
5741
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -5864,12 +6110,11 @@ declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
|
5864
6110
|
}>;
|
|
5865
6111
|
}
|
|
5866
6112
|
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
5867
|
-
import
|
|
6113
|
+
import { FC, ReactNode } from 'react';
|
|
6114
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
5868
6115
|
import './SidebarItem.scss';
|
|
5869
6116
|
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
5870
6117
|
import { LocationDescriptor } from 'history';
|
|
5871
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
5872
|
-
import { ReactNode } from 'react';
|
|
5873
6118
|
interface CommonSidebarItemProps {
|
|
5874
6119
|
title?: any;
|
|
5875
6120
|
titleResource?: string;
|
|
@@ -5902,13 +6147,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5902
6147
|
secondaryIconRoute?: LocationDescriptor;
|
|
5903
6148
|
isHoverable?: boolean;
|
|
5904
6149
|
}
|
|
5905
|
-
export const SidebarItem:
|
|
6150
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
5906
6151
|
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
5907
|
-
route:
|
|
6152
|
+
route: LocationDescriptor;
|
|
5908
6153
|
exact?: boolean;
|
|
5909
6154
|
linkClassName?: string;
|
|
5910
6155
|
}
|
|
5911
|
-
export const NavLinkSidebarItem:
|
|
6156
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
5912
6157
|
}
|
|
5913
6158
|
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
5914
6159
|
import { WrappedComponentProps } from 'react-intl';
|
|
@@ -6001,24 +6246,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
|
6001
6246
|
import { FC } from 'react';
|
|
6002
6247
|
export const GroupListPage: FC;
|
|
6003
6248
|
}
|
|
6004
|
-
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
6005
|
-
import { IntlShape } from 'react-intl';
|
|
6006
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
6007
|
-
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
6008
|
-
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
6009
|
-
export const systemAccountGroupIds: {
|
|
6010
|
-
everyone: string;
|
|
6011
|
-
directoryUsers: string;
|
|
6012
|
-
nonDirectoryUsers: string;
|
|
6013
|
-
allGroups: string[];
|
|
6014
|
-
};
|
|
6015
|
-
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
6016
|
-
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
6017
|
-
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
6018
|
-
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
6019
|
-
export const isAdGroup: (account: Account) => boolean;
|
|
6020
|
-
export const isUser: (account: Account) => boolean;
|
|
6021
|
-
}
|
|
6022
6249
|
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
6023
6250
|
import { FC } from 'react';
|
|
6024
6251
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -6197,7 +6424,6 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
|
6197
6424
|
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
6198
6425
|
import { ReactNode } from 'react';
|
|
6199
6426
|
import { Account } from "libs/reach/util/common/src/index";
|
|
6200
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
6201
6427
|
export interface UserSuggestion {
|
|
6202
6428
|
id: string;
|
|
6203
6429
|
upn: string;
|
|
@@ -6217,13 +6443,17 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
|
6217
6443
|
onCtrlEnter?: () => unknown;
|
|
6218
6444
|
onChange?: (value: string) => void;
|
|
6219
6445
|
onFocus?: () => void;
|
|
6220
|
-
buttons?:
|
|
6446
|
+
buttons?: {
|
|
6447
|
+
leftSide?: ReactNode;
|
|
6448
|
+
rightSide?: ReactNode;
|
|
6449
|
+
};
|
|
6221
6450
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6222
|
-
inputTheme?: CommentInputTheme;
|
|
6223
6451
|
placeHolderStringResourceKey?: string;
|
|
6224
6452
|
placeHolderStringResourceValues?: {
|
|
6225
6453
|
[key: string]: string | number | boolean | Date;
|
|
6226
6454
|
};
|
|
6455
|
+
disableBoxShadow?: boolean;
|
|
6456
|
+
ariaLabel?: string;
|
|
6227
6457
|
}
|
|
6228
6458
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6229
6459
|
}
|
|
@@ -6263,6 +6493,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6263
6493
|
private static vimeoRegex;
|
|
6264
6494
|
private static microsoftStreamRegex;
|
|
6265
6495
|
private static vimeoDirectLinkRegex;
|
|
6496
|
+
private static vimeoRedirectLinkRegex;
|
|
6266
6497
|
private static kalturaRegex;
|
|
6267
6498
|
readonly source: VideoSource | null;
|
|
6268
6499
|
readonly id: string | null;
|
|
@@ -6270,9 +6501,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6270
6501
|
readonly videoProperties: any;
|
|
6271
6502
|
readonly thumbnailUrl: string;
|
|
6272
6503
|
constructor(url: string);
|
|
6273
|
-
isValid(): boolean;
|
|
6504
|
+
isValid(features?: any): boolean;
|
|
6274
6505
|
}
|
|
6506
|
+
export function getVideoSources(features: any): any[];
|
|
6275
6507
|
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6508
|
+
export function getAllVideoSources(features: any): any[];
|
|
6276
6509
|
}
|
|
6277
6510
|
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6278
6511
|
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
@@ -6300,9 +6533,9 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
|
6300
6533
|
}
|
|
6301
6534
|
}
|
|
6302
6535
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
6303
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6536
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6304
6537
|
export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
|
|
6305
|
-
keywords?:
|
|
6538
|
+
keywords?: FilterWithLogicalOperator;
|
|
6306
6539
|
}
|
|
6307
6540
|
}
|
|
6308
6541
|
declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
|
|
@@ -6327,6 +6560,14 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6327
6560
|
export interface IndexableFilterDefinition {
|
|
6328
6561
|
[key: string]: any;
|
|
6329
6562
|
}
|
|
6563
|
+
export interface FilterWithLogicalOperator {
|
|
6564
|
+
items?: string[];
|
|
6565
|
+
operator?: LogicalOperator;
|
|
6566
|
+
}
|
|
6567
|
+
export enum LogicalOperator {
|
|
6568
|
+
Or = "or",
|
|
6569
|
+
And = "and"
|
|
6570
|
+
}
|
|
6330
6571
|
}
|
|
6331
6572
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6332
6573
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
@@ -6349,12 +6590,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
|
|
|
6349
6590
|
contacts?: string[];
|
|
6350
6591
|
}
|
|
6351
6592
|
}
|
|
6593
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6594
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6595
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6596
|
+
channels?: FilterWithLogicalOperator;
|
|
6597
|
+
}
|
|
6598
|
+
}
|
|
6352
6599
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6353
6600
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6354
6601
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6355
6602
|
import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6356
6603
|
import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6357
|
-
|
|
6604
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6605
|
+
export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
|
|
6358
6606
|
excludePastEvents?: boolean;
|
|
6359
6607
|
pastEventsOnly?: boolean;
|
|
6360
6608
|
}
|
|
@@ -6365,26 +6613,19 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6365
6613
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6366
6614
|
export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6367
6615
|
}
|
|
6368
|
-
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6369
|
-
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6370
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6371
|
-
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6372
|
-
export function useEventsApi(): {
|
|
6373
|
-
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6374
|
-
getEvent: (id: string) => Promise<EventItem>;
|
|
6375
|
-
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6376
|
-
};
|
|
6377
|
-
}
|
|
6378
6616
|
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6379
6617
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6380
6618
|
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6381
6619
|
author?: string;
|
|
6382
6620
|
}
|
|
6383
6621
|
}
|
|
6384
|
-
declare module "libs/reach/feature/content/src/filter/
|
|
6622
|
+
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6385
6623
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6386
|
-
export interface
|
|
6387
|
-
|
|
6624
|
+
export interface FilteringProps {
|
|
6625
|
+
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6626
|
+
onShowFilterPanel?: () => unknown;
|
|
6627
|
+
onToggleFilterSidebar?: () => unknown;
|
|
6628
|
+
isFilterActive?: boolean;
|
|
6388
6629
|
}
|
|
6389
6630
|
}
|
|
6390
6631
|
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
@@ -6402,8 +6643,98 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6402
6643
|
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
6403
6644
|
groupId?: string;
|
|
6404
6645
|
bookmarksOnly?: boolean;
|
|
6646
|
+
unreadOnly?: boolean;
|
|
6647
|
+
}
|
|
6648
|
+
}
|
|
6649
|
+
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6650
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6651
|
+
export enum ItemType {
|
|
6652
|
+
None = 0,
|
|
6653
|
+
News = 1,
|
|
6654
|
+
Post = 2,
|
|
6655
|
+
Page = 4,
|
|
6656
|
+
Event = 8
|
|
6657
|
+
}
|
|
6658
|
+
export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
|
|
6659
|
+
itemType?: ItemType;
|
|
6660
|
+
}
|
|
6661
|
+
}
|
|
6662
|
+
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
6663
|
+
import { FC } from 'react';
|
|
6664
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6665
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6666
|
+
export interface InjectedFilterProps {
|
|
6667
|
+
filter: IndexableFilterDefinition;
|
|
6668
|
+
hasFilter: boolean;
|
|
6669
|
+
isSearchActive: boolean;
|
|
6670
|
+
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6671
|
+
onSearchChange: (text: string) => void;
|
|
6672
|
+
onClearFilter: () => void;
|
|
6673
|
+
}
|
|
6674
|
+
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
6675
|
+
filter: Partial<IndexableFilterDefinition>;
|
|
6676
|
+
hasFilter: boolean;
|
|
6677
|
+
isSearchActive: boolean;
|
|
6678
|
+
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
6679
|
+
onSearchChange: (search: string) => void;
|
|
6680
|
+
onClearFilter: () => void;
|
|
6681
|
+
};
|
|
6682
|
+
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
6683
|
+
export const FilterContextProvider: FC<{
|
|
6684
|
+
addFilters?: (locationParams: {
|
|
6685
|
+
[paramName: string]: any;
|
|
6686
|
+
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
6687
|
+
additionalExcludedFilterProperties?: string[];
|
|
6688
|
+
onClearQueryString?: (prev: any, next: any) => any;
|
|
6689
|
+
}>;
|
|
6690
|
+
export interface FilterVisibilityState {
|
|
6691
|
+
showFilterAsPanel?: boolean;
|
|
6692
|
+
showFilterSidebar?: boolean;
|
|
6405
6693
|
}
|
|
6406
6694
|
}
|
|
6695
|
+
declare module "libs/reach/feature/content/src/filter/index" {
|
|
6696
|
+
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6697
|
+
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6698
|
+
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6699
|
+
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6700
|
+
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6701
|
+
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6702
|
+
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6703
|
+
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
6704
|
+
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6705
|
+
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6706
|
+
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
6707
|
+
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6708
|
+
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6709
|
+
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6710
|
+
export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
|
|
6711
|
+
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
6712
|
+
export * from "libs/reach/feature/content/src/filter/utils";
|
|
6713
|
+
}
|
|
6714
|
+
declare module "libs/reach/feature/content/src/filter/utils" {
|
|
6715
|
+
import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
6716
|
+
export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
|
|
6717
|
+
channels?: undefined;
|
|
6718
|
+
} | {
|
|
6719
|
+
channels: string;
|
|
6720
|
+
};
|
|
6721
|
+
export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
|
|
6722
|
+
keywords?: undefined;
|
|
6723
|
+
} | {
|
|
6724
|
+
keywords: string;
|
|
6725
|
+
};
|
|
6726
|
+
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6727
|
+
}
|
|
6728
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6729
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6730
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6731
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6732
|
+
export function useEventsApi(): {
|
|
6733
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6734
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
6735
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6736
|
+
};
|
|
6737
|
+
}
|
|
6407
6738
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6408
6739
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6409
6740
|
import { Observable } from 'rxjs';
|
|
@@ -6493,6 +6824,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6493
6824
|
import { Account, BaseItem, CurrentUser, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
6494
6825
|
import { Comment, ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
6495
6826
|
import { ItemStatistics } from "libs/reach/util/common/src/index";
|
|
6827
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6496
6828
|
export interface Post extends BaseItem, ItemWithAttachments {
|
|
6497
6829
|
id: string;
|
|
6498
6830
|
comments?: PaginatedList<Comment>;
|
|
@@ -6515,6 +6847,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6515
6847
|
token?: string;
|
|
6516
6848
|
pageSize?: string;
|
|
6517
6849
|
search?: string;
|
|
6850
|
+
keywords?: FilterWithLogicalOperator;
|
|
6518
6851
|
}
|
|
6519
6852
|
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
6520
6853
|
export function getPostsBaseRoute(post: Post, user: CurrentUser): string;
|
|
@@ -6617,7 +6950,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
6617
6950
|
private getVideoElement;
|
|
6618
6951
|
private getNotSupportedElement;
|
|
6619
6952
|
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
6620
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "
|
|
6953
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
6621
6954
|
}
|
|
6622
6955
|
}
|
|
6623
6956
|
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
@@ -6692,6 +7025,7 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
6692
7025
|
filterBaseUrl?: string;
|
|
6693
7026
|
className?: string;
|
|
6694
7027
|
useGridKeywordTitle?: boolean;
|
|
7028
|
+
onClick?: (keyword: string) => unknown;
|
|
6695
7029
|
}>, import("styled-components").DefaultTheme, {}, never>;
|
|
6696
7030
|
}
|
|
6697
7031
|
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
@@ -6699,6 +7033,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
6699
7033
|
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
6700
7034
|
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
6701
7035
|
export class NewsService {
|
|
7036
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6702
7037
|
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6703
7038
|
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
6704
7039
|
static getContentLanguages(contents: {
|
|
@@ -6806,12 +7141,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
6806
7141
|
}
|
|
6807
7142
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
6808
7143
|
import { FC } from 'react';
|
|
6809
|
-
import { BannerInfo } from "libs/reach/util/common/src/index";
|
|
6810
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7144
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6811
7145
|
interface Props {
|
|
6812
7146
|
itemId: string;
|
|
6813
7147
|
bannerInfo: BannerInfo;
|
|
6814
|
-
|
|
7148
|
+
useEditorRoutes?: boolean;
|
|
6815
7149
|
width: number;
|
|
6816
7150
|
resourceType: ItemResourceTypes;
|
|
6817
7151
|
token?: string;
|
|
@@ -7242,7 +7576,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7242
7576
|
updateSelectedLanguage: (lang: string) => unknown;
|
|
7243
7577
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7244
7578
|
handleLanguageChange: (language: string) => unknown;
|
|
7245
|
-
|
|
7579
|
+
isEditorPreview?: boolean;
|
|
7246
7580
|
}
|
|
7247
7581
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7248
7582
|
}
|
|
@@ -7438,6 +7772,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7438
7772
|
buttons?: ReactNode;
|
|
7439
7773
|
openTargetInNewWindow?: boolean;
|
|
7440
7774
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7775
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7776
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
7441
7777
|
styleDefinition?: StyleDefinition;
|
|
7442
7778
|
readOnly?: boolean;
|
|
7443
7779
|
className?: string;
|
|
@@ -7571,6 +7907,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7571
7907
|
defaultKeywords?: Keyword[];
|
|
7572
7908
|
mandatoryKeywords?: Keyword[];
|
|
7573
7909
|
};
|
|
7910
|
+
disableBoxShadow?: boolean;
|
|
7911
|
+
ariaLabel?: string;
|
|
7574
7912
|
}
|
|
7575
7913
|
interface Props extends BaseProps {
|
|
7576
7914
|
allowAttachments?: boolean;
|
|
@@ -7661,9 +7999,9 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7661
7999
|
deletedFileUrls?: string[];
|
|
7662
8000
|
onCancel?: () => void;
|
|
7663
8001
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7664
|
-
inputTheme?: CommentInputTheme;
|
|
7665
8002
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
7666
8003
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8004
|
+
ariaLabel?: string;
|
|
7667
8005
|
}
|
|
7668
8006
|
interface Props extends BaseProps {
|
|
7669
8007
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -7679,6 +8017,7 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7679
8017
|
allowSaveWithoutContent?: boolean;
|
|
7680
8018
|
saveOnEnter?: boolean;
|
|
7681
8019
|
saveOnCtrlEnter?: boolean;
|
|
8020
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7682
8021
|
}
|
|
7683
8022
|
export const EditComment: FC<Props>;
|
|
7684
8023
|
}
|
|
@@ -7700,6 +8039,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7700
8039
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7701
8040
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
7702
8041
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8042
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7703
8043
|
interface Props extends CreateCommentProps {
|
|
7704
8044
|
onSave: (newContent: string, attachments?: Attachment[], keywords?: {
|
|
7705
8045
|
[key: string]: Keyword[];
|
|
@@ -7715,6 +8055,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7715
8055
|
allowSaveWithoutContent?: boolean;
|
|
7716
8056
|
saveOnEnter?: boolean;
|
|
7717
8057
|
saveOnCtrlEnter?: boolean;
|
|
8058
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7718
8059
|
}
|
|
7719
8060
|
export const EditCommentWithAttachments: FC<Props>;
|
|
7720
8061
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
@@ -7794,34 +8135,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
7794
8135
|
}>;
|
|
7795
8136
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
7796
8137
|
}
|
|
7797
|
-
declare module "libs/reach/feature/content/src/
|
|
7798
|
-
import { FC, ReactNode } from 'react';
|
|
7799
|
-
export const GutterMarkerIcon: FC<{
|
|
7800
|
-
iconName: string;
|
|
7801
|
-
children: ReactNode;
|
|
7802
|
-
isActive: boolean;
|
|
7803
|
-
color: string;
|
|
7804
|
-
tooltipResourceKey?: string;
|
|
7805
|
-
className?: string;
|
|
7806
|
-
}>;
|
|
7807
|
-
}
|
|
7808
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
8138
|
+
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
7809
8139
|
import { FC } from 'react';
|
|
7810
|
-
|
|
8140
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8141
|
+
export const DetailViewContextProvider: FC<{
|
|
8142
|
+
itemId: string;
|
|
8143
|
+
type?: ItemResourceTypes;
|
|
8144
|
+
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8145
|
+
isEditorPreview?: boolean;
|
|
8146
|
+
}>;
|
|
7811
8147
|
}
|
|
7812
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7813
|
-
import {
|
|
7814
|
-
export
|
|
8148
|
+
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8149
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8150
|
+
export interface EmbeddedObjectPreviewData {
|
|
8151
|
+
itemId: string;
|
|
8152
|
+
type: string;
|
|
8153
|
+
subscriptionIdentifier: string;
|
|
8154
|
+
}
|
|
8155
|
+
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
7815
8156
|
}
|
|
7816
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7817
|
-
import {
|
|
7818
|
-
export const
|
|
8157
|
+
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8158
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8159
|
+
export const InlineImageMapper: HtmlComponentMapper;
|
|
7819
8160
|
}
|
|
7820
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7821
|
-
import {
|
|
7822
|
-
export
|
|
7823
|
-
|
|
7824
|
-
|
|
8161
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
8162
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8163
|
+
export interface ContactDetails {
|
|
8164
|
+
id: string;
|
|
8165
|
+
upn?: string;
|
|
8166
|
+
tenantId?: string;
|
|
8167
|
+
properties?: {
|
|
8168
|
+
[key: string]: {
|
|
8169
|
+
value: string;
|
|
8170
|
+
shouldAutoLoad?: boolean;
|
|
8171
|
+
};
|
|
8172
|
+
};
|
|
8173
|
+
}
|
|
8174
|
+
export const InlineContactMapper: HtmlComponentMapper;
|
|
8175
|
+
}
|
|
8176
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
|
|
8177
|
+
import { FC } from 'react';
|
|
8178
|
+
import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8179
|
+
export const InlineContactViewer: FC<{
|
|
8180
|
+
contact: ContactDetails;
|
|
7825
8181
|
}>;
|
|
7826
8182
|
}
|
|
7827
8183
|
declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
|
|
@@ -7847,6 +8203,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
|
|
|
7847
8203
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7848
8204
|
export const InlineQuoteMapper: HtmlComponentMapper;
|
|
7849
8205
|
}
|
|
8206
|
+
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
8207
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8208
|
+
export const InlineVideoMapper: HtmlComponentMapper;
|
|
8209
|
+
}
|
|
8210
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
8211
|
+
import { FC } from 'react';
|
|
8212
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8213
|
+
export const InlinePageListViewer: FC<{
|
|
8214
|
+
items: PageItem[];
|
|
8215
|
+
baseRoute: string;
|
|
8216
|
+
filterBaseUrl?: string;
|
|
8217
|
+
isInitialLoading?: boolean;
|
|
8218
|
+
}>;
|
|
8219
|
+
}
|
|
8220
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
8221
|
+
import { FC } from 'react';
|
|
8222
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8223
|
+
export interface ListPagingProps {
|
|
8224
|
+
getNextPage: () => unknown;
|
|
8225
|
+
getPrevPage: () => unknown;
|
|
8226
|
+
getFirstPage: () => unknown;
|
|
8227
|
+
isLoadingNextPage: boolean;
|
|
8228
|
+
isInitialLoading: boolean;
|
|
8229
|
+
isFirstPage: boolean;
|
|
8230
|
+
hideNextButton: boolean;
|
|
8231
|
+
}
|
|
8232
|
+
export const InlinePageListWithPaging: FC<{
|
|
8233
|
+
pages: PageItem[];
|
|
8234
|
+
baseRoute: string;
|
|
8235
|
+
pagingProps?: ListPagingProps;
|
|
8236
|
+
filterBaseUrl?: string;
|
|
8237
|
+
}>;
|
|
8238
|
+
}
|
|
8239
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8240
|
+
import { DependencyList } from 'react';
|
|
8241
|
+
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8242
|
+
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8243
|
+
showPages: boolean;
|
|
8244
|
+
showDocuments: boolean;
|
|
8245
|
+
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8246
|
+
pageItems: any[];
|
|
8247
|
+
pagingProps: {
|
|
8248
|
+
hideNextButton: boolean;
|
|
8249
|
+
isInitialLoading: boolean;
|
|
8250
|
+
isLoadingNextPage: boolean;
|
|
8251
|
+
error: any;
|
|
8252
|
+
getFirstPage: () => void;
|
|
8253
|
+
getPrevPage: () => void;
|
|
8254
|
+
getNextPage: () => Promise<void>;
|
|
8255
|
+
isFirstPage: boolean;
|
|
8256
|
+
isLastPage: boolean;
|
|
8257
|
+
isEmpty: boolean;
|
|
8258
|
+
};
|
|
8259
|
+
};
|
|
8260
|
+
}
|
|
8261
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8262
|
+
import { FC } from 'react';
|
|
8263
|
+
export const InlinePageListSkeleton: FC<{
|
|
8264
|
+
isDataLoaded: boolean;
|
|
8265
|
+
pageSize?: number;
|
|
8266
|
+
}>;
|
|
8267
|
+
}
|
|
7850
8268
|
declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
|
|
7851
8269
|
export interface CodeDetails {
|
|
7852
8270
|
id: string;
|
|
@@ -7868,20 +8286,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
|
|
|
7868
8286
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7869
8287
|
export const InlineCodeMapper: HtmlComponentMapper;
|
|
7870
8288
|
}
|
|
7871
|
-
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
7872
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7873
|
-
export const InlineVideoMapper: HtmlComponentMapper;
|
|
7874
|
-
}
|
|
7875
|
-
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
7876
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7877
|
-
export const InlineImageMapper: HtmlComponentMapper;
|
|
7878
|
-
}
|
|
7879
|
-
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
7880
|
-
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
7881
|
-
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
7882
|
-
format: TableFormat;
|
|
7883
|
-
}, never>;
|
|
7884
|
-
}
|
|
7885
8289
|
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
7886
8290
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7887
8291
|
import { CSSProperties } from 'react';
|
|
@@ -7922,234 +8326,91 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
|
7922
8326
|
export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
|
|
7923
8327
|
export const InlineTable: HtmlComponentMapper;
|
|
7924
8328
|
}
|
|
7925
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7926
|
-
import {
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
8329
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
8330
|
+
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8331
|
+
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
8332
|
+
format: TableFormat;
|
|
8333
|
+
}, never>;
|
|
8334
|
+
}
|
|
8335
|
+
declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
8336
|
+
import { FC, ReactNode } from 'react';
|
|
8337
|
+
export const ItemBodyWrapper: FC<{
|
|
8338
|
+
className?: string;
|
|
8339
|
+
children?: ReactNode;
|
|
7930
8340
|
}>;
|
|
7931
8341
|
}
|
|
7932
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7933
|
-
import {
|
|
7934
|
-
export
|
|
7935
|
-
id: string;
|
|
7936
|
-
upn?: string;
|
|
7937
|
-
tenantId?: string;
|
|
7938
|
-
properties?: {
|
|
7939
|
-
[key: string]: {
|
|
7940
|
-
value: string;
|
|
7941
|
-
shouldAutoLoad?: boolean;
|
|
7942
|
-
};
|
|
7943
|
-
};
|
|
7944
|
-
}
|
|
7945
|
-
export const InlineContactMapper: HtmlComponentMapper;
|
|
8342
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8343
|
+
import { FC } from 'react';
|
|
8344
|
+
export const EventDetailViewPeopleInfo: FC;
|
|
7946
8345
|
}
|
|
7947
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8346
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
7948
8347
|
import { FC } from 'react';
|
|
7949
|
-
|
|
7950
|
-
|
|
7951
|
-
|
|
7952
|
-
|
|
7953
|
-
|
|
7954
|
-
|
|
8348
|
+
export const EventDetailViewLocationInfo: FC;
|
|
8349
|
+
}
|
|
8350
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
8351
|
+
import { FC } from 'react';
|
|
8352
|
+
export const EventDetailViewMetaInfo: FC<{
|
|
8353
|
+
allowFilterByChannels?: boolean;
|
|
7955
8354
|
}>;
|
|
7956
8355
|
}
|
|
7957
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8356
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
7958
8357
|
import { FC } from 'react';
|
|
7959
|
-
|
|
7960
|
-
|
|
7961
|
-
getNextPage: () => unknown;
|
|
7962
|
-
getPrevPage: () => unknown;
|
|
7963
|
-
getFirstPage: () => unknown;
|
|
7964
|
-
isLoadingNextPage: boolean;
|
|
7965
|
-
isInitialLoading: boolean;
|
|
7966
|
-
isFirstPage: boolean;
|
|
7967
|
-
hideNextButton: boolean;
|
|
7968
|
-
}
|
|
7969
|
-
export const InlinePageListWithPaging: FC<{
|
|
7970
|
-
pages: PageItem[];
|
|
7971
|
-
baseRoute: string;
|
|
7972
|
-
pagingProps?: ListPagingProps;
|
|
7973
|
-
filterBaseUrl?: string;
|
|
8358
|
+
export const EventDetailViewDatesInfo: FC<{
|
|
8359
|
+
className?: string;
|
|
7974
8360
|
}>;
|
|
7975
8361
|
}
|
|
7976
|
-
declare module "libs/reach/feature/content/src/
|
|
7977
|
-
import {
|
|
7978
|
-
|
|
8362
|
+
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8363
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8364
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8365
|
+
import { PollQuestion, PollQuestionAnswer, PollResult, QuestionResult } from "libs/reach/util/common/src/index";
|
|
8366
|
+
export interface PollUserContextType {
|
|
8367
|
+
item: PublishableItem;
|
|
8368
|
+
resourceType: ItemResourceTypes;
|
|
8369
|
+
questions: PollQuestion[];
|
|
8370
|
+
answers: PollQuestionAnswer[];
|
|
8371
|
+
addAnswer: (questionId: string, selectedChoiceIds: string[]) => unknown;
|
|
8372
|
+
setAnswers: (answers: PollQuestionAnswer[]) => unknown;
|
|
8373
|
+
hasMissingAnswers: boolean;
|
|
8374
|
+
hasMissingUnsavedAnswer: boolean;
|
|
8375
|
+
pollResult: PollResult;
|
|
8376
|
+
isLoadingPollResult: boolean;
|
|
8377
|
+
showResult: boolean;
|
|
8378
|
+
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
8379
|
+
getQuestionResult: (questionId: string) => QuestionResult;
|
|
8380
|
+
reset: () => Promise<void>;
|
|
8381
|
+
fetchPollResults: () => Promise<void>;
|
|
8382
|
+
onBehalfOfUpn: string;
|
|
8383
|
+
}
|
|
8384
|
+
export const PollUserContext: import("react").Context<PollUserContextType>;
|
|
7979
8385
|
}
|
|
7980
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8386
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollsSubmitButton" {
|
|
7981
8387
|
import { FC } from 'react';
|
|
7982
|
-
export const
|
|
7983
|
-
|
|
7984
|
-
pageSize?: number;
|
|
8388
|
+
export const DetailViewPollsSubmitButton: FC<{
|
|
8389
|
+
isReadOnly?: boolean;
|
|
7985
8390
|
}>;
|
|
7986
8391
|
}
|
|
7987
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8392
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewCsvExportButton" {
|
|
7988
8393
|
import { FC } from 'react';
|
|
7989
|
-
export const
|
|
7990
|
-
|
|
7991
|
-
|
|
7992
|
-
|
|
8394
|
+
export const DetailViewCsvExportButton: FC<{
|
|
8395
|
+
path: string;
|
|
8396
|
+
stringResource: string;
|
|
8397
|
+
className?: string;
|
|
7993
8398
|
}>;
|
|
7994
8399
|
}
|
|
7995
|
-
declare module "libs/reach/feature/content/src/
|
|
7996
|
-
import {
|
|
7997
|
-
export
|
|
8400
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollExportButton" {
|
|
8401
|
+
import { FC } from 'react';
|
|
8402
|
+
export const DetailViewPollExportButton: FC<{
|
|
8403
|
+
className?: string;
|
|
8404
|
+
}>;
|
|
7998
8405
|
}
|
|
7999
|
-
declare module "libs/reach/feature/content/src/
|
|
8406
|
+
declare module "libs/reach/feature/content/src/feedback/PollUserInput" {
|
|
8000
8407
|
import { FC } from 'react';
|
|
8001
|
-
export const
|
|
8002
|
-
|
|
8003
|
-
|
|
8004
|
-
|
|
8005
|
-
|
|
8006
|
-
|
|
8007
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8008
|
-
import { DependencyList } from 'react';
|
|
8009
|
-
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8010
|
-
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8011
|
-
showPages: boolean;
|
|
8012
|
-
showDocuments: boolean;
|
|
8013
|
-
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8014
|
-
pageItems: any[];
|
|
8015
|
-
pagingProps: {
|
|
8016
|
-
hideNextButton: boolean;
|
|
8017
|
-
isInitialLoading: boolean;
|
|
8018
|
-
isLoadingNextPage: boolean;
|
|
8019
|
-
error: any;
|
|
8020
|
-
getFirstPage: () => void;
|
|
8021
|
-
getPrevPage: () => void;
|
|
8022
|
-
getNextPage: () => Promise<void>;
|
|
8023
|
-
isFirstPage: boolean;
|
|
8024
|
-
isLastPage: boolean;
|
|
8025
|
-
isEmpty: boolean;
|
|
8026
|
-
};
|
|
8027
|
-
};
|
|
8028
|
-
}
|
|
8029
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
8030
|
-
import { FC } from 'react';
|
|
8031
|
-
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8032
|
-
export const InlinePageListByCurrentPage: FC<{
|
|
8033
|
-
blockProps?: PageListDetails;
|
|
8034
|
-
}>;
|
|
8035
|
-
}
|
|
8036
|
-
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
8037
|
-
import { FC } from 'react';
|
|
8038
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8039
|
-
export interface PageListDetails {
|
|
8040
|
-
id?: string;
|
|
8041
|
-
showChildren?: boolean;
|
|
8042
|
-
showDocuments?: boolean;
|
|
8043
|
-
showPages?: boolean;
|
|
8044
|
-
pageId?: string;
|
|
8045
|
-
keywords?: string;
|
|
8046
|
-
}
|
|
8047
|
-
export const InlinePageList: FC<{
|
|
8048
|
-
blockProps?: PageListDetails;
|
|
8049
|
-
}>;
|
|
8050
|
-
export const InlinePageListMapper: HtmlComponentMapper;
|
|
8051
|
-
}
|
|
8052
|
-
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8053
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8054
|
-
export interface EmbeddedObjectPreviewData {
|
|
8055
|
-
itemId: string;
|
|
8056
|
-
type: string;
|
|
8057
|
-
subscriptionIdentifier: string;
|
|
8058
|
-
}
|
|
8059
|
-
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
8060
|
-
}
|
|
8061
|
-
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
8062
|
-
import { FC } from 'react';
|
|
8063
|
-
export const RichTextViewer: FC<{
|
|
8064
|
-
html: string;
|
|
8065
|
-
}>;
|
|
8066
|
-
}
|
|
8067
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
8068
|
-
import { FC } from 'react';
|
|
8069
|
-
export const DetailViewBody: FC;
|
|
8070
|
-
}
|
|
8071
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
8072
|
-
import { FC } from 'react';
|
|
8073
|
-
export const DetailViewKeywords: FC<{
|
|
8074
|
-
filterBaseUrl: string;
|
|
8075
|
-
}>;
|
|
8076
|
-
}
|
|
8077
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
8078
|
-
import { FC } from 'react';
|
|
8079
|
-
export const EventDetailViewDatesInfo: FC<{
|
|
8080
|
-
className?: string;
|
|
8081
|
-
}>;
|
|
8082
|
-
}
|
|
8083
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8084
|
-
import { FC } from 'react';
|
|
8085
|
-
export const EventDetailViewPeopleInfo: FC;
|
|
8086
|
-
}
|
|
8087
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
8088
|
-
import { FC } from 'react';
|
|
8089
|
-
export const EventDetailViewLocationInfo: FC;
|
|
8090
|
-
}
|
|
8091
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
8092
|
-
import { FC } from 'react';
|
|
8093
|
-
export const EventDetailViewMetaInfo: FC<{
|
|
8094
|
-
allowFilterByChannels?: boolean;
|
|
8095
|
-
}>;
|
|
8096
|
-
}
|
|
8097
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8098
|
-
import { FC } from 'react';
|
|
8099
|
-
export const EventDetailViewCancelInformation: FC;
|
|
8100
|
-
}
|
|
8101
|
-
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8102
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8103
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8104
|
-
import { PollQuestion, PollQuestionAnswer, PollResult, QuestionResult } from "libs/reach/util/common/src/index";
|
|
8105
|
-
export interface PollUserContextType {
|
|
8106
|
-
item: PublishableItem;
|
|
8107
|
-
resourceType: ItemResourceTypes;
|
|
8108
|
-
questions: PollQuestion[];
|
|
8109
|
-
answers: PollQuestionAnswer[];
|
|
8110
|
-
addAnswer: (questionId: string, selectedChoiceIds: string[]) => unknown;
|
|
8111
|
-
setAnswers: (answers: PollQuestionAnswer[]) => unknown;
|
|
8112
|
-
hasMissingAnswers: boolean;
|
|
8113
|
-
hasMissingUnsavedAnswer: boolean;
|
|
8114
|
-
pollResult: PollResult;
|
|
8115
|
-
isLoadingPollResult: boolean;
|
|
8116
|
-
showResult: boolean;
|
|
8117
|
-
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
8118
|
-
getQuestionResult: (questionId: string) => QuestionResult;
|
|
8119
|
-
reset: () => Promise<void>;
|
|
8120
|
-
fetchPollResults: () => Promise<void>;
|
|
8121
|
-
onBehalfOfUpn: string;
|
|
8122
|
-
}
|
|
8123
|
-
export const PollUserContext: import("react").Context<PollUserContextType>;
|
|
8124
|
-
}
|
|
8125
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollsSubmitButton" {
|
|
8126
|
-
import { FC } from 'react';
|
|
8127
|
-
export const DetailViewPollsSubmitButton: FC<{
|
|
8128
|
-
isReadOnly?: boolean;
|
|
8129
|
-
}>;
|
|
8130
|
-
}
|
|
8131
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewCsvExportButton" {
|
|
8132
|
-
import { FC } from 'react';
|
|
8133
|
-
export const DetailViewCsvExportButton: FC<{
|
|
8134
|
-
path: string;
|
|
8135
|
-
stringResource: string;
|
|
8136
|
-
className?: string;
|
|
8137
|
-
}>;
|
|
8138
|
-
}
|
|
8139
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollExportButton" {
|
|
8140
|
-
import { FC } from 'react';
|
|
8141
|
-
export const DetailViewPollExportButton: FC<{
|
|
8142
|
-
className?: string;
|
|
8143
|
-
}>;
|
|
8144
|
-
}
|
|
8145
|
-
declare module "libs/reach/feature/content/src/feedback/PollUserInput" {
|
|
8146
|
-
import { FC } from 'react';
|
|
8147
|
-
export const PollUserInput: FC;
|
|
8148
|
-
}
|
|
8149
|
-
declare module "libs/reach/feature/content/src/feedback/PollDisplay" {
|
|
8150
|
-
import { FC } from 'react';
|
|
8151
|
-
export const PollDisplay: FC<{
|
|
8152
|
-
className?: string;
|
|
8408
|
+
export const PollUserInput: FC;
|
|
8409
|
+
}
|
|
8410
|
+
declare module "libs/reach/feature/content/src/feedback/PollDisplay" {
|
|
8411
|
+
import { FC } from 'react';
|
|
8412
|
+
export const PollDisplay: FC<{
|
|
8413
|
+
className?: string;
|
|
8153
8414
|
}>;
|
|
8154
8415
|
}
|
|
8155
8416
|
declare module "libs/reach/feature/content/src/feedback/PollUserContextProvider" {
|
|
@@ -8255,6 +8516,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8255
8516
|
import { FC } from 'react';
|
|
8256
8517
|
export const EventDetailViewRegistration: FC;
|
|
8257
8518
|
}
|
|
8519
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8520
|
+
import { FC } from 'react';
|
|
8521
|
+
export const EventDetailViewCancelInformation: FC;
|
|
8522
|
+
}
|
|
8258
8523
|
declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
8259
8524
|
import { FC } from 'react';
|
|
8260
8525
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
@@ -8510,92 +8775,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
|
|
|
8510
8775
|
eventItem: EventItem;
|
|
8511
8776
|
}>;
|
|
8512
8777
|
}
|
|
8513
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
8514
|
-
import { FC } from 'react';
|
|
8515
|
-
export const DetailViewPageViewTracker: FC;
|
|
8516
|
-
}
|
|
8517
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
8518
|
-
import { FC } from 'react';
|
|
8519
|
-
export const DetailViewIntro: FC;
|
|
8520
|
-
}
|
|
8521
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
8522
|
-
import { FC } from 'react';
|
|
8523
|
-
export const ConfirmationBox: FC<{
|
|
8524
|
-
disabled?: boolean;
|
|
8525
|
-
onChange?: (value: boolean) => void;
|
|
8526
|
-
checked: boolean;
|
|
8527
|
-
}>;
|
|
8528
|
-
}
|
|
8529
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
8530
|
-
import { FC } from 'react';
|
|
8531
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8532
|
-
export const ConfirmationSection: FC<{
|
|
8533
|
-
item?: NewsItem;
|
|
8534
|
-
showDescription: boolean;
|
|
8535
|
-
readOnly?: boolean;
|
|
8536
|
-
className?: string;
|
|
8537
|
-
}>;
|
|
8538
|
-
}
|
|
8539
|
-
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
8540
|
-
import { FC } from 'react';
|
|
8541
|
-
export const DetailViewConfirmations: FC;
|
|
8542
|
-
}
|
|
8543
|
-
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
8544
|
-
import { FC } from 'react';
|
|
8545
|
-
export const FeedbackButtonBookmark: FC<{
|
|
8546
|
-
isReadOnly?: boolean;
|
|
8547
|
-
}>;
|
|
8548
|
-
}
|
|
8549
|
-
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
8550
|
-
import { FC } from 'react';
|
|
8551
|
-
export const NewsDetailViewFeedbackSection: FC<{
|
|
8552
|
-
hideLikes?: boolean;
|
|
8553
|
-
hideComments?: boolean;
|
|
8554
|
-
hideProfileUrl?: boolean;
|
|
8555
|
-
disableLoginForPublicUser?: boolean;
|
|
8556
|
-
}>;
|
|
8557
|
-
}
|
|
8558
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
8559
|
-
import { FC } from 'react';
|
|
8560
|
-
export const DetailViewHeadline: FC;
|
|
8561
|
-
}
|
|
8562
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
8563
|
-
import { FC } from 'react';
|
|
8564
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8565
|
-
export const DetailViewBodyExternalContent: FC<{
|
|
8566
|
-
itemType: ItemResourceTypes;
|
|
8567
|
-
}>;
|
|
8568
|
-
}
|
|
8569
|
-
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8570
|
-
import { FC } from 'react';
|
|
8571
|
-
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8572
|
-
export const DetailViewContextProvider: FC<{
|
|
8573
|
-
itemId: string;
|
|
8574
|
-
type?: ItemResourceTypes;
|
|
8575
|
-
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8576
|
-
isReadOnly?: boolean;
|
|
8577
|
-
}>;
|
|
8578
|
-
}
|
|
8579
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8580
|
-
import { FC } from 'react';
|
|
8581
|
-
export const PageDetailViewFeedbackSection: FC<{
|
|
8582
|
-
hideLikes?: boolean;
|
|
8583
|
-
hideComments?: boolean;
|
|
8584
|
-
hideProfileUrl?: boolean;
|
|
8585
|
-
disableLoginForPublicUser?: boolean;
|
|
8586
|
-
}>;
|
|
8587
|
-
}
|
|
8588
|
-
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
8589
|
-
import { FC } from 'react';
|
|
8590
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8591
|
-
export const PageBreadcrumb: FC<{
|
|
8592
|
-
page: PageItem;
|
|
8593
|
-
target?: string;
|
|
8594
|
-
language?: string;
|
|
8595
|
-
hideCurrentPageNode?: boolean;
|
|
8596
|
-
className?: string;
|
|
8597
|
-
}>;
|
|
8598
|
-
}
|
|
8599
8778
|
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8600
8779
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8601
8780
|
interface DateInfoProps {
|
|
@@ -8635,51 +8814,13 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8635
8814
|
import { FC } from 'react';
|
|
8636
8815
|
export const PageDetailViewMetaInfo: FC;
|
|
8637
8816
|
}
|
|
8638
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/
|
|
8817
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8639
8818
|
import { FC } from 'react';
|
|
8640
|
-
|
|
8641
|
-
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
content: PublishableItemContent;
|
|
8646
|
-
basePath?: string;
|
|
8647
|
-
}>;
|
|
8648
|
-
}
|
|
8649
|
-
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8650
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8651
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8652
|
-
interface Props {
|
|
8653
|
-
id: string;
|
|
8654
|
-
item: PublishableItem;
|
|
8655
|
-
itemResourceType: ItemResourceTypes;
|
|
8656
|
-
}
|
|
8657
|
-
export const CardBanner: React.FC<Props>;
|
|
8658
|
-
}
|
|
8659
|
-
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8660
|
-
import { FC, ReactNode } from 'react';
|
|
8661
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8662
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8663
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8664
|
-
interface CardProps {
|
|
8665
|
-
item: PublishableItem;
|
|
8666
|
-
itemResourceType: ItemResourceTypes;
|
|
8667
|
-
additionalMetadata?: ReactNode;
|
|
8668
|
-
highlight?: boolean;
|
|
8669
|
-
className?: string;
|
|
8670
|
-
}
|
|
8671
|
-
export const Card: FC<CardProps>;
|
|
8672
|
-
export interface CardItem<TItem = PublishableItem> {
|
|
8673
|
-
item: TItem;
|
|
8674
|
-
language: string;
|
|
8675
|
-
}
|
|
8676
|
-
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8677
|
-
}
|
|
8678
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
8679
|
-
import { FC, ReactNode } from 'react';
|
|
8680
|
-
export const DetailViewNavigation: FC<{
|
|
8681
|
-
children?: ReactNode;
|
|
8682
|
-
callout?: ReactNode;
|
|
8819
|
+
export const PageDetailViewFeedbackSection: FC<{
|
|
8820
|
+
hideLikes?: boolean;
|
|
8821
|
+
hideComments?: boolean;
|
|
8822
|
+
hideProfileUrl?: boolean;
|
|
8823
|
+
disableLoginForPublicUser?: boolean;
|
|
8683
8824
|
}>;
|
|
8684
8825
|
}
|
|
8685
8826
|
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
@@ -8788,6 +8929,104 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8788
8929
|
import { FC } from 'react';
|
|
8789
8930
|
export const PageDetailViewTableOfContentsButton: FC;
|
|
8790
8931
|
}
|
|
8932
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
8933
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
8934
|
+
export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
8935
|
+
}
|
|
8936
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
8937
|
+
import { FC } from 'react';
|
|
8938
|
+
export const InlinePageListByKeywords: FC<{
|
|
8939
|
+
keywords: string[];
|
|
8940
|
+
showDocuments?: boolean;
|
|
8941
|
+
showPages?: boolean;
|
|
8942
|
+
}>;
|
|
8943
|
+
}
|
|
8944
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
8945
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
8946
|
+
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
8947
|
+
}
|
|
8948
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
8949
|
+
import { FC } from 'react';
|
|
8950
|
+
export const InlinePageListByPageId: FC<{
|
|
8951
|
+
pageId: string;
|
|
8952
|
+
showDocuments: boolean;
|
|
8953
|
+
showPages: boolean;
|
|
8954
|
+
}>;
|
|
8955
|
+
}
|
|
8956
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
8957
|
+
import { FC } from 'react';
|
|
8958
|
+
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8959
|
+
export const InlinePageListByCurrentPage: FC<{
|
|
8960
|
+
blockProps?: PageListDetails;
|
|
8961
|
+
}>;
|
|
8962
|
+
}
|
|
8963
|
+
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
8964
|
+
import { FC } from 'react';
|
|
8965
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8966
|
+
export interface PageListDetails {
|
|
8967
|
+
id?: string;
|
|
8968
|
+
showChildren?: boolean;
|
|
8969
|
+
showDocuments?: boolean;
|
|
8970
|
+
showPages?: boolean;
|
|
8971
|
+
pageId?: string;
|
|
8972
|
+
keywords?: string;
|
|
8973
|
+
}
|
|
8974
|
+
export const InlinePageList: FC<{
|
|
8975
|
+
blockProps?: PageListDetails;
|
|
8976
|
+
}>;
|
|
8977
|
+
export const InlinePageListMapper: HtmlComponentMapper;
|
|
8978
|
+
}
|
|
8979
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
8980
|
+
import { FC } from 'react';
|
|
8981
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8982
|
+
export const PageBreadcrumb: FC<{
|
|
8983
|
+
page: PageItem;
|
|
8984
|
+
target?: string;
|
|
8985
|
+
language?: string;
|
|
8986
|
+
hideCurrentPageNode?: boolean;
|
|
8987
|
+
className?: string;
|
|
8988
|
+
}>;
|
|
8989
|
+
}
|
|
8990
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
8991
|
+
import { FC } from 'react';
|
|
8992
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8993
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
8994
|
+
export const DetailViewPageDocumentDownload: FC;
|
|
8995
|
+
export const PageDocumentDownloadButton: FC<{
|
|
8996
|
+
item: PageItem;
|
|
8997
|
+
content: PublishableItemContent;
|
|
8998
|
+
basePath?: string;
|
|
8999
|
+
}>;
|
|
9000
|
+
}
|
|
9001
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
9002
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9003
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9004
|
+
interface Props {
|
|
9005
|
+
id: string;
|
|
9006
|
+
item: PublishableItem;
|
|
9007
|
+
itemResourceType: ItemResourceTypes;
|
|
9008
|
+
}
|
|
9009
|
+
export const CardBanner: React.FC<Props>;
|
|
9010
|
+
}
|
|
9011
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
9012
|
+
import { FC, ReactNode } from 'react';
|
|
9013
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9014
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9015
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9016
|
+
interface CardProps {
|
|
9017
|
+
item: PublishableItem;
|
|
9018
|
+
itemResourceType: ItemResourceTypes;
|
|
9019
|
+
additionalMetadata?: ReactNode;
|
|
9020
|
+
highlight?: boolean;
|
|
9021
|
+
className?: string;
|
|
9022
|
+
}
|
|
9023
|
+
export const Card: FC<CardProps>;
|
|
9024
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
9025
|
+
item: TItem;
|
|
9026
|
+
language: string;
|
|
9027
|
+
}
|
|
9028
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
9029
|
+
}
|
|
8791
9030
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
8792
9031
|
import { FC } from 'react';
|
|
8793
9032
|
interface LanguageSelectorProps {
|
|
@@ -8809,10 +9048,112 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8809
9048
|
className?: string;
|
|
8810
9049
|
}>;
|
|
8811
9050
|
}
|
|
9051
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
|
|
9052
|
+
import { FC } from 'react';
|
|
9053
|
+
export const DetailViewBanner: FC;
|
|
9054
|
+
}
|
|
9055
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
9056
|
+
import { FC } from 'react';
|
|
9057
|
+
export const DetailViewIntro: FC;
|
|
9058
|
+
}
|
|
9059
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
9060
|
+
import { FC } from 'react';
|
|
9061
|
+
export const DetailMainSection: FC;
|
|
9062
|
+
}
|
|
9063
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
9064
|
+
import { FC, ReactNode } from 'react';
|
|
9065
|
+
export const GutterMarkerIcon: FC<{
|
|
9066
|
+
iconName: string;
|
|
9067
|
+
children: ReactNode;
|
|
9068
|
+
isActive: boolean;
|
|
9069
|
+
color: string;
|
|
9070
|
+
tooltipResourceKey?: string;
|
|
9071
|
+
className?: string;
|
|
9072
|
+
}>;
|
|
9073
|
+
}
|
|
9074
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9075
|
+
import { FC } from 'react';
|
|
9076
|
+
export const DetailViewTitle: FC;
|
|
9077
|
+
}
|
|
8812
9078
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
|
|
8813
9079
|
import { FC } from 'react';
|
|
8814
9080
|
export const NewsDetailViewMetaInfo: FC;
|
|
8815
9081
|
}
|
|
9082
|
+
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
9083
|
+
import { FC } from 'react';
|
|
9084
|
+
export const RichTextViewer: FC<{
|
|
9085
|
+
html: string;
|
|
9086
|
+
}>;
|
|
9087
|
+
}
|
|
9088
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
9089
|
+
import { FC } from 'react';
|
|
9090
|
+
export const DetailViewBody: FC;
|
|
9091
|
+
}
|
|
9092
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
9093
|
+
import { FC } from 'react';
|
|
9094
|
+
export const DetailViewKeywords: FC<{
|
|
9095
|
+
filterBaseUrl: string;
|
|
9096
|
+
}>;
|
|
9097
|
+
}
|
|
9098
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9099
|
+
import { FC } from 'react';
|
|
9100
|
+
export const ConfirmationBox: FC<{
|
|
9101
|
+
disabled?: boolean;
|
|
9102
|
+
onChange?: (value: boolean) => void;
|
|
9103
|
+
checked: boolean;
|
|
9104
|
+
}>;
|
|
9105
|
+
}
|
|
9106
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9107
|
+
import { FC } from 'react';
|
|
9108
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9109
|
+
export const ConfirmationSection: FC<{
|
|
9110
|
+
item?: NewsItem;
|
|
9111
|
+
showDescription: boolean;
|
|
9112
|
+
readOnly?: boolean;
|
|
9113
|
+
className?: string;
|
|
9114
|
+
}>;
|
|
9115
|
+
}
|
|
9116
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
9117
|
+
import { FC } from 'react';
|
|
9118
|
+
export const DetailViewConfirmations: FC;
|
|
9119
|
+
}
|
|
9120
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
9121
|
+
import { FC } from 'react';
|
|
9122
|
+
export const DetailViewPageViewTracker: FC;
|
|
9123
|
+
}
|
|
9124
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
9125
|
+
import { FC } from 'react';
|
|
9126
|
+
export const FeedbackButtonBookmark: FC<{
|
|
9127
|
+
isReadOnly?: boolean;
|
|
9128
|
+
}>;
|
|
9129
|
+
}
|
|
9130
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
9131
|
+
import { FC } from 'react';
|
|
9132
|
+
export const NewsDetailViewFeedbackSection: FC<{
|
|
9133
|
+
hideLikes?: boolean;
|
|
9134
|
+
hideComments?: boolean;
|
|
9135
|
+
hideProfileUrl?: boolean;
|
|
9136
|
+
disableLoginForPublicUser?: boolean;
|
|
9137
|
+
}>;
|
|
9138
|
+
}
|
|
9139
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
9140
|
+
import { FC, ReactNode } from 'react';
|
|
9141
|
+
export const DetailViewNavigation: FC<{
|
|
9142
|
+
children?: ReactNode;
|
|
9143
|
+
callout?: ReactNode;
|
|
9144
|
+
}>;
|
|
9145
|
+
}
|
|
9146
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9147
|
+
import { FC } from 'react';
|
|
9148
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9149
|
+
export const DetailViewBodyExternalContent: FC<{
|
|
9150
|
+
itemType: ItemResourceTypes;
|
|
9151
|
+
}>;
|
|
9152
|
+
}
|
|
9153
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
9154
|
+
import { FC } from 'react';
|
|
9155
|
+
export const DetailViewHeadline: FC;
|
|
9156
|
+
}
|
|
8816
9157
|
declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
8817
9158
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
8818
9159
|
export const StateIcon: React.FC<{
|
|
@@ -8833,205 +9174,65 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
|
8833
9174
|
}
|
|
8834
9175
|
declare module "libs/reach/feature/content/src/common/index" {
|
|
8835
9176
|
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
8836
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8837
9177
|
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8838
9178
|
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
8839
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
8840
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8841
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8842
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8843
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8844
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8845
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
8846
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8847
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8848
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8849
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
8850
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
8851
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8852
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8853
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8854
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8855
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8856
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
8857
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8858
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8859
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
8860
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
8861
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
8862
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
8863
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8864
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
8865
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8866
9179
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
8867
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8868
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8869
|
-
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
8870
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8871
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
8872
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8873
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8874
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8875
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8876
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8877
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
8878
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8879
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8880
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
8881
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
8882
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
8883
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
8884
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
8885
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8886
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8887
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
8888
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
8889
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8890
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8891
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8892
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
8893
9180
|
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
8894
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8895
9181
|
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
8896
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8897
9182
|
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
8898
9183
|
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
8899
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8900
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8901
|
-
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8902
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8903
9184
|
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
8904
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8905
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8906
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8907
9185
|
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
8908
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8909
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8910
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8911
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8912
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8913
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8914
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8915
9186
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
8916
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8917
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8918
9187
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
8919
9188
|
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
8920
9189
|
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
8921
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8922
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8923
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8924
9190
|
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
8925
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8926
9191
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
8927
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8928
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8929
9192
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
8930
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8931
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
8932
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8933
9193
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
8934
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8935
9194
|
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
8936
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8937
9195
|
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8938
9196
|
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8939
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8940
9197
|
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
8941
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8942
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8943
9198
|
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8944
9199
|
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8945
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8946
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8947
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8948
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8949
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8950
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8951
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8952
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8953
9200
|
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
8954
9201
|
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
8955
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8956
9202
|
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8957
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8958
9203
|
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8959
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8960
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8961
9204
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8962
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8963
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8964
9205
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8965
9206
|
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8966
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
8967
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8968
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
8969
9207
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
8970
9208
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
8971
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8972
9209
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8973
9210
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
8974
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
8975
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8976
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8977
9211
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
8978
9212
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
8979
9213
|
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8980
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8981
9214
|
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8982
9215
|
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8983
9216
|
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8984
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8985
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8986
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8987
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8988
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8989
9217
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8990
9218
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
8991
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8992
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8993
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8994
9219
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8995
9220
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8996
9221
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
8997
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
8998
9222
|
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
8999
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9000
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9001
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9002
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
9003
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
9004
9223
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
9005
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
9006
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
9007
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
9008
9224
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
9009
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9010
9225
|
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9011
9226
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9012
9227
|
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9013
9228
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9014
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9015
9229
|
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
9016
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
9017
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9018
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9019
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9020
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9021
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9022
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9023
9230
|
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9024
9231
|
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9025
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9026
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9027
|
-
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9028
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9029
9232
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9030
9233
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9031
9234
|
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9032
9235
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
9033
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9034
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9035
9236
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9036
9237
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9037
9238
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
@@ -9048,7 +9249,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9048
9249
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9049
9250
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9050
9251
|
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9051
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9052
9252
|
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9053
9253
|
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9054
9254
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
@@ -9070,65 +9270,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
|
|
|
9070
9270
|
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9071
9271
|
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9072
9272
|
}
|
|
9073
|
-
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
9074
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9075
|
-
export interface FilteringProps {
|
|
9076
|
-
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
9077
|
-
onShowFilterPanel?: () => unknown;
|
|
9078
|
-
onToggleFilterSidebar?: () => unknown;
|
|
9079
|
-
isFilterActive?: boolean;
|
|
9080
|
-
}
|
|
9081
|
-
}
|
|
9082
|
-
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
9083
|
-
import { FC } from 'react';
|
|
9084
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9085
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9086
|
-
export interface InjectedFilterProps {
|
|
9087
|
-
filter: IndexableFilterDefinition;
|
|
9088
|
-
hasFilter: boolean;
|
|
9089
|
-
isSearchActive: boolean;
|
|
9090
|
-
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
9091
|
-
onSearchChange: (text: string) => void;
|
|
9092
|
-
onClearFilter: () => void;
|
|
9093
|
-
}
|
|
9094
|
-
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
9095
|
-
filter: Partial<IndexableFilterDefinition>;
|
|
9096
|
-
hasFilter: boolean;
|
|
9097
|
-
isSearchActive: boolean;
|
|
9098
|
-
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
9099
|
-
onSearchChange: (search: string) => void;
|
|
9100
|
-
onClearFilter: () => void;
|
|
9101
|
-
};
|
|
9102
|
-
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
9103
|
-
export const FilterContextProvider: FC<{
|
|
9104
|
-
addFilters?: (locationParams: {
|
|
9105
|
-
[paramName: string]: any;
|
|
9106
|
-
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
9107
|
-
additionalExcludedFilterProperties?: string[];
|
|
9108
|
-
onClearQueryString?: (prev: any, next: any) => any;
|
|
9109
|
-
}>;
|
|
9110
|
-
export interface FilterVisibilityState {
|
|
9111
|
-
showFilterAsPanel?: boolean;
|
|
9112
|
-
showFilterSidebar?: boolean;
|
|
9113
|
-
}
|
|
9114
|
-
}
|
|
9115
|
-
declare module "libs/reach/feature/content/src/filter/index" {
|
|
9116
|
-
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
9117
|
-
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9118
|
-
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
9119
|
-
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
9120
|
-
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
9121
|
-
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
9122
|
-
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
9123
|
-
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
9124
|
-
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
9125
|
-
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
9126
|
-
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
9127
|
-
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
9128
|
-
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
9129
|
-
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
9130
|
-
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
9131
|
-
}
|
|
9132
9273
|
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
9133
9274
|
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
9134
9275
|
import { FC } from 'react';
|
|
@@ -9203,26 +9344,6 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
9203
9344
|
*/
|
|
9204
9345
|
export const Textarea: FC<TextareaProps>;
|
|
9205
9346
|
}
|
|
9206
|
-
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9207
|
-
import { FC } from 'react';
|
|
9208
|
-
interface DateTimePickerProps {
|
|
9209
|
-
date: string;
|
|
9210
|
-
maxDate?: string;
|
|
9211
|
-
minDate?: string;
|
|
9212
|
-
dateValidationResourceKey?: string;
|
|
9213
|
-
timeValidationResourceKey?: string;
|
|
9214
|
-
readOnly?: boolean;
|
|
9215
|
-
onChanged: (date: string, isValid: boolean) => void;
|
|
9216
|
-
noDateResourceKey: string;
|
|
9217
|
-
selectDateResourceKey: string;
|
|
9218
|
-
dateOnly?: boolean;
|
|
9219
|
-
initialPickerDate?: string;
|
|
9220
|
-
label?: string;
|
|
9221
|
-
className?: string;
|
|
9222
|
-
}
|
|
9223
|
-
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9224
|
-
export default DateTimePicker;
|
|
9225
|
-
}
|
|
9226
9347
|
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9227
9348
|
import { FC } from 'react';
|
|
9228
9349
|
interface Props {
|
|
@@ -9247,6 +9368,27 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
|
9247
9368
|
}
|
|
9248
9369
|
export const InsertImagesButton: FC<Props>;
|
|
9249
9370
|
}
|
|
9371
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9372
|
+
import { FC } from 'react';
|
|
9373
|
+
interface DateTimePickerProps {
|
|
9374
|
+
date: string;
|
|
9375
|
+
maxDate?: string;
|
|
9376
|
+
minDate?: string;
|
|
9377
|
+
dateValidationResourceKey?: string;
|
|
9378
|
+
timeValidationResourceKey?: string;
|
|
9379
|
+
readOnly?: boolean;
|
|
9380
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
9381
|
+
noDateResourceKey: string;
|
|
9382
|
+
selectDateResourceKey: string;
|
|
9383
|
+
dateOnly?: boolean;
|
|
9384
|
+
initialPickerDate?: string;
|
|
9385
|
+
label?: string;
|
|
9386
|
+
isRequired?: boolean;
|
|
9387
|
+
className?: string;
|
|
9388
|
+
}
|
|
9389
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9390
|
+
export default DateTimePicker;
|
|
9391
|
+
}
|
|
9250
9392
|
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
9251
9393
|
import moment, { Moment } from 'moment';
|
|
9252
9394
|
export enum DateRange {
|
|
@@ -9293,33 +9435,17 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
|
9293
9435
|
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
9294
9436
|
}
|
|
9295
9437
|
declare module "libs/reach/feature/content/src/forms/index" {
|
|
9296
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9297
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9298
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9299
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9300
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9301
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9302
9438
|
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9303
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9304
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9305
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9306
9439
|
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9307
9440
|
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
9308
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9309
9441
|
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
9310
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9311
9442
|
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
9312
9443
|
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
9313
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9314
9444
|
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9315
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9316
9445
|
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9317
9446
|
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9318
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9319
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9320
9447
|
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
9321
9448
|
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
9322
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9323
9449
|
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9324
9450
|
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9325
9451
|
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
@@ -9399,6 +9525,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9399
9525
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9400
9526
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9401
9527
|
}
|
|
9528
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9529
|
+
import { FC } from 'react';
|
|
9530
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9531
|
+
export const SearchHighlighter: FC<{
|
|
9532
|
+
highlight: SearchHighlight;
|
|
9533
|
+
}>;
|
|
9534
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9535
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9536
|
+
}
|
|
9402
9537
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9403
9538
|
import { FC } from 'react';
|
|
9404
9539
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9427,11 +9562,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9427
9562
|
}
|
|
9428
9563
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9429
9564
|
import { FC } from 'react';
|
|
9430
|
-
import {
|
|
9565
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9431
9566
|
export const PageListItemBody: FC<{
|
|
9432
|
-
|
|
9433
|
-
[key: string]: PublishableItemContent;
|
|
9434
|
-
};
|
|
9567
|
+
page: PageItem;
|
|
9435
9568
|
search?: string;
|
|
9436
9569
|
}>;
|
|
9437
9570
|
}
|
|
@@ -9497,7 +9630,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9497
9630
|
import { FC } from 'react';
|
|
9498
9631
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9499
9632
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9500
|
-
export
|
|
9633
|
+
export interface PostCreatorProps {
|
|
9501
9634
|
groupId: string;
|
|
9502
9635
|
disabled: boolean;
|
|
9503
9636
|
disableDragAndDrop?: boolean;
|
|
@@ -9508,134 +9641,1295 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9508
9641
|
defaultKeywords?: Keyword[];
|
|
9509
9642
|
mandatoryKeywords?: Keyword[];
|
|
9510
9643
|
};
|
|
9511
|
-
|
|
9512
|
-
}
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
import {
|
|
9517
|
-
import {
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
}
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
import {
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9644
|
+
disableAutoFocus?: boolean;
|
|
9645
|
+
}
|
|
9646
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9647
|
+
}
|
|
9648
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9649
|
+
import { FC } from 'react';
|
|
9650
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9651
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
9652
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9653
|
+
interface Props {
|
|
9654
|
+
className?: string;
|
|
9655
|
+
post: Post;
|
|
9656
|
+
initialPageSize?: number;
|
|
9657
|
+
comments?: PaginatedList<Comment>;
|
|
9658
|
+
autoFocusReplyField?: boolean;
|
|
9659
|
+
onReplyAdded: () => void;
|
|
9660
|
+
onReplyDeleted: () => void;
|
|
9661
|
+
onThreadReply?: (threadId: string) => void;
|
|
9662
|
+
}
|
|
9663
|
+
export const PostReplies: FC<Props>;
|
|
9664
|
+
}
|
|
9665
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
9666
|
+
import { FC } from 'react';
|
|
9667
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9668
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9669
|
+
export const PostEditor: FC<{
|
|
9670
|
+
className?: string;
|
|
9671
|
+
post: Post;
|
|
9672
|
+
onCancel: () => void;
|
|
9673
|
+
onBeforeSave: (post: Post) => void;
|
|
9674
|
+
onSaved: (post: Post) => void;
|
|
9675
|
+
keywordSettings?: {
|
|
9676
|
+
availableKeywords?: Keyword[];
|
|
9677
|
+
defaultKeywords?: Keyword[];
|
|
9678
|
+
mandatoryKeywords?: Keyword[];
|
|
9679
|
+
};
|
|
9680
|
+
}>;
|
|
9681
|
+
}
|
|
9682
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9683
|
+
import { FC } from 'react';
|
|
9684
|
+
export const PostFollowButton: FC<{
|
|
9685
|
+
itemId: string;
|
|
9686
|
+
}>;
|
|
9687
|
+
}
|
|
9688
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9689
|
+
import { FC } from 'react';
|
|
9690
|
+
import { NavLink } from 'react-router-dom';
|
|
9691
|
+
export const PostGroup: FC<{
|
|
9692
|
+
groupId: string;
|
|
9693
|
+
to: string;
|
|
9694
|
+
className?: string;
|
|
9695
|
+
}>;
|
|
9696
|
+
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9697
|
+
}
|
|
9698
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9699
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9700
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9701
|
+
interface Props {
|
|
9702
|
+
post: Post;
|
|
9703
|
+
className?: string;
|
|
9704
|
+
threadId?: string;
|
|
9705
|
+
onCustomPostDelete?: () => void;
|
|
9706
|
+
comments?: PaginatedList<Comment>;
|
|
9707
|
+
initialCommentsPageSize?: number;
|
|
9708
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9709
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9710
|
+
onThreadCommentDelete?: () => void;
|
|
9711
|
+
onThreadReply?: (threadId: string) => void;
|
|
9712
|
+
keywordSettings?: {
|
|
9713
|
+
availableKeywords?: Keyword[];
|
|
9714
|
+
defaultKeywords?: Keyword[];
|
|
9715
|
+
mandatoryKeywords?: Keyword[];
|
|
9716
|
+
};
|
|
9717
|
+
showGroup?: boolean;
|
|
9718
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9719
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9720
|
+
}
|
|
9721
|
+
export const PostDisplay: React.FC<Props>;
|
|
9722
|
+
}
|
|
9723
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
|
|
9724
|
+
import { FC } from 'react';
|
|
9725
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
9726
|
+
export const PostGroupsSelector: FC<{
|
|
9727
|
+
groups: UserGroup[];
|
|
9728
|
+
}>;
|
|
9729
|
+
}
|
|
9730
|
+
declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
9731
|
+
import { FC } from 'react';
|
|
9732
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9733
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9734
|
+
interface Props {
|
|
9735
|
+
post: Post;
|
|
9736
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9737
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9738
|
+
keywordSettings?: {
|
|
9739
|
+
availableKeywords?: Keyword[];
|
|
9740
|
+
defaultKeywords?: Keyword[];
|
|
9741
|
+
mandatoryKeywords?: Keyword[];
|
|
9742
|
+
};
|
|
9743
|
+
showGroup: boolean;
|
|
9744
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9745
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9746
|
+
}
|
|
9747
|
+
export const PostListItem: FC<Props>;
|
|
9748
|
+
}
|
|
9749
|
+
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9750
|
+
import { FC } from 'react';
|
|
9751
|
+
import { Post } from "libs/reach/feature/content/src/index";
|
|
9752
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9753
|
+
export const PostWithSelfThreadHandling: FC<{
|
|
9754
|
+
post: Post;
|
|
9755
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9756
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9757
|
+
keywordSettings?: {
|
|
9758
|
+
availableKeywords?: Keyword[];
|
|
9759
|
+
defaultKeywords?: Keyword[];
|
|
9760
|
+
mandatoryKeywords?: Keyword[];
|
|
9761
|
+
};
|
|
9762
|
+
showGroup: boolean;
|
|
9763
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9764
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9765
|
+
}>;
|
|
9766
|
+
}
|
|
9767
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
9768
|
+
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";
|
|
9769
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9770
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9771
|
+
enum StreamItemTypes {
|
|
9772
|
+
Post = "POST",
|
|
9773
|
+
News = "NEWS",
|
|
9774
|
+
Event = "EVENT",
|
|
9775
|
+
Page = "PAGE"
|
|
9776
|
+
}
|
|
9777
|
+
export enum StreamConversationScope {
|
|
9778
|
+
Public = "PUBLIC",
|
|
9779
|
+
Editor = "EDITOR",
|
|
9780
|
+
Posts = "POSTS"
|
|
9781
|
+
}
|
|
9782
|
+
export interface PostStreamItem extends Post {
|
|
9783
|
+
type: StreamItemTypes.Post;
|
|
9784
|
+
isUnread: boolean;
|
|
9785
|
+
keywordsList?: Keyword[];
|
|
9786
|
+
groupIds?: string[];
|
|
9787
|
+
postAttachments?: StreamAttachment[];
|
|
9788
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9789
|
+
hasMoreUnreadComments: boolean;
|
|
9790
|
+
}
|
|
9791
|
+
export interface StreamPostComment extends Comment {
|
|
9792
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9793
|
+
streamConversationScope?: StreamConversationScope;
|
|
9794
|
+
}
|
|
9795
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
9796
|
+
type: GraphQLAttachmentType;
|
|
9797
|
+
}
|
|
9798
|
+
export interface NewsStreamItem extends NewsItem {
|
|
9799
|
+
type: StreamItemTypes.News;
|
|
9800
|
+
contentsList: StreamPublishableItemContents[];
|
|
9801
|
+
channelsList: string[];
|
|
9802
|
+
isUnread: boolean;
|
|
9803
|
+
keywordsList?: Keyword[];
|
|
9804
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9805
|
+
}
|
|
9806
|
+
export enum StreamKnownNewsState {
|
|
9807
|
+
Unconfirmed = "UNCONFIRMED",
|
|
9808
|
+
Alert = "ALERT"
|
|
9809
|
+
}
|
|
9810
|
+
export interface EventStreamItem extends EventItem {
|
|
9811
|
+
type: StreamItemTypes.Event;
|
|
9812
|
+
contentsList: StreamPublishableItemContents[];
|
|
9813
|
+
channelsList: string[];
|
|
9814
|
+
isUnread: boolean;
|
|
9815
|
+
keywordsList?: Keyword[];
|
|
9816
|
+
userResponseType?: StreamEventResponse;
|
|
9817
|
+
}
|
|
9818
|
+
export interface PageStreamItem extends PageItem {
|
|
9819
|
+
type: StreamItemTypes.Page;
|
|
9820
|
+
contentsList: StreamPublishableItemContents[];
|
|
9821
|
+
channelsList: string[];
|
|
9822
|
+
isUnread: boolean;
|
|
9823
|
+
keywordsList?: Keyword[];
|
|
9824
|
+
streamPageType?: string;
|
|
9825
|
+
path?: (PageNavigationNode & {
|
|
9826
|
+
parentId?: string;
|
|
9827
|
+
})[];
|
|
9828
|
+
}
|
|
9829
|
+
interface StreamPublishableItemContents {
|
|
9830
|
+
language: string;
|
|
9831
|
+
title: string;
|
|
9832
|
+
intro?: string;
|
|
9833
|
+
headline?: string;
|
|
9834
|
+
}
|
|
9835
|
+
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9836
|
+
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9837
|
+
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
9838
|
+
export function isEvent(item: StreamItem): item is EventStreamItem;
|
|
9839
|
+
export function isPage(item: StreamItem): item is PageStreamItem;
|
|
9840
|
+
export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
|
|
9841
|
+
groupId: string;
|
|
9842
|
+
attachments: {
|
|
9843
|
+
type: AttachmentType;
|
|
9844
|
+
id: string;
|
|
9845
|
+
filename?: string;
|
|
9846
|
+
previewUrl?: string;
|
|
9847
|
+
url?: string;
|
|
9848
|
+
isUploadInProgress?: boolean;
|
|
9849
|
+
hasError?: boolean;
|
|
9850
|
+
width?: number;
|
|
9851
|
+
height?: number;
|
|
9852
|
+
}[];
|
|
9853
|
+
comments: {
|
|
9854
|
+
items: {
|
|
9855
|
+
conversationScope: ConversationScope;
|
|
9856
|
+
fileAccessToken: string;
|
|
9857
|
+
attachments: {
|
|
9858
|
+
type: AttachmentType;
|
|
9859
|
+
id: string;
|
|
9860
|
+
filename?: string;
|
|
9861
|
+
previewUrl?: string;
|
|
9862
|
+
url?: string;
|
|
9863
|
+
isUploadInProgress?: boolean;
|
|
9864
|
+
hasError?: boolean;
|
|
9865
|
+
width?: number;
|
|
9866
|
+
height?: number;
|
|
9867
|
+
}[];
|
|
9868
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9869
|
+
streamConversationScope?: StreamConversationScope;
|
|
9870
|
+
id: string;
|
|
9871
|
+
parentItemId: string;
|
|
9872
|
+
content: string;
|
|
9873
|
+
contentLanguageCode?: string;
|
|
9874
|
+
receivedDateTime: string;
|
|
9875
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9876
|
+
modified?: string;
|
|
9877
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9878
|
+
isLiked?: boolean;
|
|
9879
|
+
threadId?: string;
|
|
9880
|
+
isUnread?: boolean;
|
|
9881
|
+
hasUnreadReplies?: boolean;
|
|
9882
|
+
isDemoContent?: boolean;
|
|
9883
|
+
attachmentContainerId?: string;
|
|
9884
|
+
}[];
|
|
9885
|
+
paginationToken?: any;
|
|
9886
|
+
nextItem?: StreamPostComment;
|
|
9887
|
+
hasMoreUnreadComments?: boolean;
|
|
9888
|
+
hasNextPage?: boolean;
|
|
9889
|
+
};
|
|
9890
|
+
keywords: {
|
|
9891
|
+
[key: string]: Keyword[];
|
|
9892
|
+
};
|
|
9893
|
+
type: StreamItemTypes.Post;
|
|
9894
|
+
isUnread: boolean;
|
|
9895
|
+
keywordsList?: Keyword[];
|
|
9896
|
+
groupIds?: string[];
|
|
9897
|
+
postAttachments?: StreamAttachment[];
|
|
9898
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9899
|
+
hasMoreUnreadComments: boolean;
|
|
9900
|
+
id: string;
|
|
9901
|
+
content: string;
|
|
9902
|
+
permalink?: string;
|
|
9903
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
9904
|
+
publishingDate: string;
|
|
9905
|
+
modified?: string;
|
|
9906
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
9907
|
+
contentLanguageCode?: string;
|
|
9908
|
+
isLiked?: boolean;
|
|
9909
|
+
isDemoContent?: boolean;
|
|
9910
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
9911
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9912
|
+
fileAccessToken?: string;
|
|
9913
|
+
attachmentContainerId?: string;
|
|
9914
|
+
} | {
|
|
9915
|
+
groupId: string;
|
|
9916
|
+
attachments: {
|
|
9917
|
+
type: AttachmentType;
|
|
9918
|
+
id: string;
|
|
9919
|
+
filename?: string;
|
|
9920
|
+
previewUrl?: string;
|
|
9921
|
+
url?: string;
|
|
9922
|
+
isUploadInProgress?: boolean;
|
|
9923
|
+
hasError?: boolean;
|
|
9924
|
+
width?: number;
|
|
9925
|
+
height?: number;
|
|
9926
|
+
}[];
|
|
9927
|
+
comments: {
|
|
9928
|
+
items: {
|
|
9929
|
+
conversationScope: ConversationScope;
|
|
9930
|
+
fileAccessToken: string;
|
|
9931
|
+
attachments: {
|
|
9932
|
+
type: AttachmentType;
|
|
9933
|
+
id: string;
|
|
9934
|
+
filename?: string;
|
|
9935
|
+
previewUrl?: string;
|
|
9936
|
+
url?: string;
|
|
9937
|
+
isUploadInProgress?: boolean;
|
|
9938
|
+
hasError?: boolean;
|
|
9939
|
+
width?: number;
|
|
9940
|
+
height?: number;
|
|
9941
|
+
}[];
|
|
9942
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9943
|
+
streamConversationScope?: StreamConversationScope;
|
|
9944
|
+
id: string;
|
|
9945
|
+
parentItemId: string;
|
|
9946
|
+
content: string;
|
|
9947
|
+
contentLanguageCode?: string;
|
|
9948
|
+
receivedDateTime: string;
|
|
9949
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9950
|
+
modified?: string;
|
|
9951
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9952
|
+
isLiked?: boolean;
|
|
9953
|
+
threadId?: string;
|
|
9954
|
+
isUnread?: boolean;
|
|
9955
|
+
hasUnreadReplies?: boolean;
|
|
9956
|
+
isDemoContent?: boolean;
|
|
9957
|
+
attachmentContainerId?: string;
|
|
9958
|
+
}[];
|
|
9959
|
+
paginationToken?: any;
|
|
9960
|
+
nextItem?: StreamPostComment;
|
|
9961
|
+
hasMoreUnreadComments?: boolean;
|
|
9962
|
+
hasNextPage?: boolean;
|
|
9963
|
+
};
|
|
9964
|
+
keywords: {
|
|
9965
|
+
[key: string]: Keyword[];
|
|
9966
|
+
};
|
|
9967
|
+
type: StreamItemTypes.News;
|
|
9968
|
+
contentsList: StreamPublishableItemContents[];
|
|
9969
|
+
channelsList: string[];
|
|
9970
|
+
isUnread: boolean;
|
|
9971
|
+
keywordsList?: Keyword[];
|
|
9972
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9973
|
+
source?: string;
|
|
9974
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
9975
|
+
expiryDate?: string;
|
|
9976
|
+
knownState: KnownNewsState;
|
|
9977
|
+
hasNewComments?: boolean;
|
|
9978
|
+
isLiked?: boolean;
|
|
9979
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
9980
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
9981
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
9982
|
+
id?: string;
|
|
9983
|
+
versionId?: string;
|
|
9984
|
+
publishingDate?: string;
|
|
9985
|
+
deleted?: string;
|
|
9986
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
9987
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
9988
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
9989
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
9990
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
9991
|
+
fileAccessToken?: string;
|
|
9992
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
9993
|
+
customProperties?: {
|
|
9994
|
+
[key: string]: any;
|
|
9995
|
+
};
|
|
9996
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
9997
|
+
modified: string;
|
|
9998
|
+
created: string;
|
|
9999
|
+
publishedVersionId?: string;
|
|
10000
|
+
isCurrentPublishedVersion?: boolean;
|
|
10001
|
+
isLatestVersion?: boolean;
|
|
10002
|
+
permalink?: string;
|
|
10003
|
+
groupIds: string[];
|
|
10004
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10005
|
+
useExternalContent?: boolean;
|
|
10006
|
+
isDemoContent?: boolean;
|
|
10007
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10008
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10009
|
+
} | {
|
|
10010
|
+
groupId: string;
|
|
10011
|
+
attachments: {
|
|
10012
|
+
type: AttachmentType;
|
|
10013
|
+
id: string;
|
|
10014
|
+
filename?: string;
|
|
10015
|
+
previewUrl?: string;
|
|
10016
|
+
url?: string;
|
|
10017
|
+
isUploadInProgress?: boolean;
|
|
10018
|
+
hasError?: boolean;
|
|
10019
|
+
width?: number;
|
|
10020
|
+
height?: number;
|
|
10021
|
+
}[];
|
|
10022
|
+
comments: {
|
|
10023
|
+
items: {
|
|
10024
|
+
conversationScope: ConversationScope;
|
|
10025
|
+
fileAccessToken: string;
|
|
10026
|
+
attachments: {
|
|
10027
|
+
type: AttachmentType;
|
|
10028
|
+
id: string;
|
|
10029
|
+
filename?: string;
|
|
10030
|
+
previewUrl?: string;
|
|
10031
|
+
url?: string;
|
|
10032
|
+
isUploadInProgress?: boolean;
|
|
10033
|
+
hasError?: boolean;
|
|
10034
|
+
width?: number;
|
|
10035
|
+
height?: number;
|
|
10036
|
+
}[];
|
|
10037
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10038
|
+
streamConversationScope?: StreamConversationScope;
|
|
10039
|
+
id: string;
|
|
10040
|
+
parentItemId: string;
|
|
10041
|
+
content: string;
|
|
10042
|
+
contentLanguageCode?: string;
|
|
10043
|
+
receivedDateTime: string;
|
|
10044
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10045
|
+
modified?: string;
|
|
10046
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10047
|
+
isLiked?: boolean;
|
|
10048
|
+
threadId?: string;
|
|
10049
|
+
isUnread?: boolean;
|
|
10050
|
+
hasUnreadReplies?: boolean;
|
|
10051
|
+
isDemoContent?: boolean;
|
|
10052
|
+
attachmentContainerId?: string;
|
|
10053
|
+
}[];
|
|
10054
|
+
paginationToken?: any;
|
|
10055
|
+
nextItem?: StreamPostComment;
|
|
10056
|
+
hasMoreUnreadComments?: boolean;
|
|
10057
|
+
hasNextPage?: boolean;
|
|
10058
|
+
};
|
|
10059
|
+
keywords: {
|
|
10060
|
+
[key: string]: Keyword[];
|
|
10061
|
+
};
|
|
10062
|
+
type: StreamItemTypes.Event;
|
|
10063
|
+
contentsList: StreamPublishableItemContents[];
|
|
10064
|
+
channelsList: string[];
|
|
10065
|
+
isUnread: boolean;
|
|
10066
|
+
keywordsList?: Keyword[];
|
|
10067
|
+
userResponseType?: StreamEventResponse;
|
|
10068
|
+
startDate?: string;
|
|
10069
|
+
endDate?: string;
|
|
10070
|
+
timeZone?: string;
|
|
10071
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10072
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10073
|
+
userResponse?: EventResponse;
|
|
10074
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10075
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10076
|
+
hasNewComments?: boolean;
|
|
10077
|
+
isLiked?: boolean;
|
|
10078
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10079
|
+
recurrenceSeriesId?: string;
|
|
10080
|
+
isSeriesMaster?: string;
|
|
10081
|
+
isVirtual?: 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.Page;
|
|
10166
|
+
contentsList: StreamPublishableItemContents[];
|
|
10167
|
+
channelsList: string[];
|
|
10168
|
+
isUnread: boolean;
|
|
10169
|
+
keywordsList?: Keyword[];
|
|
10170
|
+
streamPageType?: string;
|
|
10171
|
+
path?: (PageNavigationNode & {
|
|
10172
|
+
parentId?: string;
|
|
10173
|
+
})[];
|
|
10174
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10175
|
+
parentId?: string;
|
|
10176
|
+
pathIds?: string[];
|
|
10177
|
+
position?: number;
|
|
10178
|
+
navigationContext?: PageNavigationContext;
|
|
10179
|
+
hasHiddenAncestor?: boolean;
|
|
10180
|
+
isUnlinked?: boolean;
|
|
10181
|
+
pageType?: PageType;
|
|
10182
|
+
firstChildId?: string;
|
|
10183
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10184
|
+
id?: string;
|
|
10185
|
+
versionId?: string;
|
|
10186
|
+
publishingDate?: string;
|
|
10187
|
+
deleted?: string;
|
|
10188
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10189
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10190
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10191
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10192
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10193
|
+
fileAccessToken?: string;
|
|
10194
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10195
|
+
customProperties?: {
|
|
10196
|
+
[key: string]: any;
|
|
10197
|
+
};
|
|
10198
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10199
|
+
modified: string;
|
|
10200
|
+
created: string;
|
|
10201
|
+
publishedVersionId?: string;
|
|
10202
|
+
isCurrentPublishedVersion?: boolean;
|
|
10203
|
+
isLatestVersion?: boolean;
|
|
10204
|
+
permalink?: string;
|
|
10205
|
+
groupIds: string[];
|
|
10206
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10207
|
+
useExternalContent?: boolean;
|
|
10208
|
+
isDemoContent?: boolean;
|
|
10209
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10210
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10211
|
+
} | {
|
|
10212
|
+
knownState?: undefined;
|
|
10213
|
+
pageType?: undefined;
|
|
10214
|
+
navigationContext?: undefined;
|
|
10215
|
+
userResponse: EventResponse;
|
|
10216
|
+
channels: {
|
|
10217
|
+
name: string;
|
|
10218
|
+
}[];
|
|
10219
|
+
contents: {};
|
|
10220
|
+
bannerInfo: {
|
|
10221
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10222
|
+
type: "video" | "image";
|
|
10223
|
+
videoId?: string;
|
|
10224
|
+
videoUrl?: string;
|
|
10225
|
+
isDirectVideoUrl?: boolean;
|
|
10226
|
+
imageId?: string;
|
|
10227
|
+
};
|
|
10228
|
+
keywords: {
|
|
10229
|
+
[key: string]: Keyword[];
|
|
10230
|
+
};
|
|
10231
|
+
type: StreamItemTypes.Post;
|
|
10232
|
+
isUnread: boolean;
|
|
10233
|
+
keywordsList?: Keyword[];
|
|
10234
|
+
groupIds?: string[];
|
|
10235
|
+
postAttachments?: StreamAttachment[];
|
|
10236
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10237
|
+
hasMoreUnreadComments: boolean;
|
|
10238
|
+
id: string;
|
|
10239
|
+
comments?: PaginatedList<Comment>;
|
|
10240
|
+
groupId: string;
|
|
10241
|
+
content: string;
|
|
10242
|
+
permalink?: string;
|
|
10243
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10244
|
+
publishingDate: string;
|
|
10245
|
+
modified?: string;
|
|
10246
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10247
|
+
contentLanguageCode?: string;
|
|
10248
|
+
isLiked?: boolean;
|
|
10249
|
+
isDemoContent?: boolean;
|
|
10250
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10251
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10252
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10253
|
+
fileAccessToken?: string;
|
|
10254
|
+
attachmentContainerId?: string;
|
|
10255
|
+
} | {
|
|
10256
|
+
knownState: KnownNewsState;
|
|
10257
|
+
pageType?: undefined;
|
|
10258
|
+
navigationContext?: undefined;
|
|
10259
|
+
userResponse: EventResponse;
|
|
10260
|
+
channels: {
|
|
10261
|
+
name: string;
|
|
10262
|
+
}[];
|
|
10263
|
+
contents: {};
|
|
10264
|
+
bannerInfo: {
|
|
10265
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10266
|
+
type: "video" | "image";
|
|
10267
|
+
videoId?: string;
|
|
10268
|
+
videoUrl?: string;
|
|
10269
|
+
isDirectVideoUrl?: boolean;
|
|
10270
|
+
imageId?: string;
|
|
10271
|
+
};
|
|
10272
|
+
keywords: {
|
|
10273
|
+
[key: string]: Keyword[];
|
|
10274
|
+
};
|
|
10275
|
+
type: StreamItemTypes.Post;
|
|
10276
|
+
isUnread: boolean;
|
|
10277
|
+
keywordsList?: Keyword[];
|
|
10278
|
+
groupIds?: string[];
|
|
10279
|
+
postAttachments?: StreamAttachment[];
|
|
10280
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10281
|
+
hasMoreUnreadComments: boolean;
|
|
10282
|
+
id: string;
|
|
10283
|
+
comments?: PaginatedList<Comment>;
|
|
10284
|
+
groupId: string;
|
|
10285
|
+
content: string;
|
|
10286
|
+
permalink?: string;
|
|
10287
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10288
|
+
publishingDate: string;
|
|
10289
|
+
modified?: string;
|
|
10290
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10291
|
+
contentLanguageCode?: string;
|
|
10292
|
+
isLiked?: boolean;
|
|
10293
|
+
isDemoContent?: boolean;
|
|
10294
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10295
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10296
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10297
|
+
fileAccessToken?: string;
|
|
10298
|
+
attachmentContainerId?: string;
|
|
10299
|
+
} | {
|
|
10300
|
+
knownState?: undefined;
|
|
10301
|
+
pageType: PageType;
|
|
10302
|
+
navigationContext: PageNavigationContext;
|
|
10303
|
+
userResponse: EventResponse;
|
|
10304
|
+
channels: {
|
|
10305
|
+
name: string;
|
|
10306
|
+
}[];
|
|
10307
|
+
contents: {};
|
|
10308
|
+
bannerInfo: {
|
|
10309
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10310
|
+
type: "video" | "image";
|
|
10311
|
+
videoId?: string;
|
|
10312
|
+
videoUrl?: string;
|
|
10313
|
+
isDirectVideoUrl?: boolean;
|
|
10314
|
+
imageId?: string;
|
|
10315
|
+
};
|
|
10316
|
+
keywords: {
|
|
10317
|
+
[key: string]: Keyword[];
|
|
10318
|
+
};
|
|
10319
|
+
type: StreamItemTypes.Post;
|
|
10320
|
+
isUnread: boolean;
|
|
10321
|
+
keywordsList?: Keyword[];
|
|
10322
|
+
groupIds?: string[];
|
|
10323
|
+
postAttachments?: StreamAttachment[];
|
|
10324
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10325
|
+
hasMoreUnreadComments: boolean;
|
|
10326
|
+
id: string;
|
|
10327
|
+
comments?: PaginatedList<Comment>;
|
|
10328
|
+
groupId: string;
|
|
10329
|
+
content: string;
|
|
10330
|
+
permalink?: string;
|
|
10331
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10332
|
+
publishingDate: string;
|
|
10333
|
+
modified?: string;
|
|
10334
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10335
|
+
contentLanguageCode?: string;
|
|
10336
|
+
isLiked?: boolean;
|
|
10337
|
+
isDemoContent?: boolean;
|
|
10338
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10339
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10340
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10341
|
+
fileAccessToken?: string;
|
|
10342
|
+
attachmentContainerId?: string;
|
|
10343
|
+
} | {
|
|
10344
|
+
knownState: KnownNewsState;
|
|
10345
|
+
pageType: PageType;
|
|
10346
|
+
navigationContext: PageNavigationContext;
|
|
10347
|
+
userResponse: EventResponse;
|
|
10348
|
+
channels: {
|
|
10349
|
+
name: string;
|
|
10350
|
+
}[];
|
|
10351
|
+
contents: {};
|
|
10352
|
+
bannerInfo: {
|
|
10353
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10354
|
+
type: "video" | "image";
|
|
10355
|
+
videoId?: string;
|
|
10356
|
+
videoUrl?: string;
|
|
10357
|
+
isDirectVideoUrl?: boolean;
|
|
10358
|
+
imageId?: string;
|
|
10359
|
+
};
|
|
10360
|
+
keywords: {
|
|
10361
|
+
[key: string]: Keyword[];
|
|
10362
|
+
};
|
|
10363
|
+
type: StreamItemTypes.Post;
|
|
10364
|
+
isUnread: boolean;
|
|
10365
|
+
keywordsList?: Keyword[];
|
|
10366
|
+
groupIds?: string[];
|
|
10367
|
+
postAttachments?: StreamAttachment[];
|
|
10368
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10369
|
+
hasMoreUnreadComments: boolean;
|
|
10370
|
+
id: string;
|
|
10371
|
+
comments?: PaginatedList<Comment>;
|
|
10372
|
+
groupId: string;
|
|
10373
|
+
content: string;
|
|
10374
|
+
permalink?: string;
|
|
10375
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10376
|
+
publishingDate: string;
|
|
10377
|
+
modified?: string;
|
|
10378
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10379
|
+
contentLanguageCode?: string;
|
|
10380
|
+
isLiked?: boolean;
|
|
10381
|
+
isDemoContent?: boolean;
|
|
10382
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10383
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10384
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10385
|
+
fileAccessToken?: string;
|
|
10386
|
+
attachmentContainerId?: string;
|
|
10387
|
+
} | {
|
|
10388
|
+
knownState: KnownNewsState;
|
|
10389
|
+
pageType?: undefined;
|
|
10390
|
+
navigationContext?: undefined;
|
|
10391
|
+
userResponse: EventResponse;
|
|
10392
|
+
channels: {
|
|
10393
|
+
name: string;
|
|
10394
|
+
}[];
|
|
10395
|
+
contents: {};
|
|
10396
|
+
bannerInfo: {
|
|
10397
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10398
|
+
type: "video" | "image";
|
|
10399
|
+
videoId?: string;
|
|
10400
|
+
videoUrl?: string;
|
|
10401
|
+
isDirectVideoUrl?: boolean;
|
|
10402
|
+
imageId?: string;
|
|
10403
|
+
};
|
|
10404
|
+
keywords: {
|
|
10405
|
+
[key: string]: Keyword[];
|
|
10406
|
+
};
|
|
10407
|
+
type: StreamItemTypes.News;
|
|
10408
|
+
contentsList: StreamPublishableItemContents[];
|
|
10409
|
+
channelsList: string[];
|
|
10410
|
+
isUnread: boolean;
|
|
10411
|
+
keywordsList?: Keyword[];
|
|
10412
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10413
|
+
source?: string;
|
|
10414
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10415
|
+
expiryDate?: string;
|
|
10416
|
+
hasNewComments?: boolean;
|
|
10417
|
+
isLiked?: boolean;
|
|
10418
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10419
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10420
|
+
id?: string;
|
|
10421
|
+
versionId?: string;
|
|
10422
|
+
publishingDate?: string;
|
|
10423
|
+
deleted?: string;
|
|
10424
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10425
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10426
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10427
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10428
|
+
fileAccessToken?: string;
|
|
10429
|
+
customProperties?: {
|
|
10430
|
+
[key: string]: any;
|
|
10431
|
+
};
|
|
10432
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10433
|
+
modified: string;
|
|
10434
|
+
created: string;
|
|
10435
|
+
publishedVersionId?: string;
|
|
10436
|
+
isCurrentPublishedVersion?: boolean;
|
|
10437
|
+
isLatestVersion?: boolean;
|
|
10438
|
+
permalink?: string;
|
|
10439
|
+
groupIds: string[];
|
|
10440
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10441
|
+
useExternalContent?: boolean;
|
|
10442
|
+
isDemoContent?: boolean;
|
|
10443
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10444
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10445
|
+
} | {
|
|
10446
|
+
knownState: KnownNewsState;
|
|
10447
|
+
pageType: PageType;
|
|
10448
|
+
navigationContext: PageNavigationContext;
|
|
10449
|
+
userResponse: EventResponse;
|
|
10450
|
+
channels: {
|
|
10451
|
+
name: string;
|
|
10452
|
+
}[];
|
|
10453
|
+
contents: {};
|
|
10454
|
+
bannerInfo: {
|
|
10455
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10456
|
+
type: "video" | "image";
|
|
10457
|
+
videoId?: string;
|
|
10458
|
+
videoUrl?: string;
|
|
10459
|
+
isDirectVideoUrl?: boolean;
|
|
10460
|
+
imageId?: string;
|
|
10461
|
+
};
|
|
10462
|
+
keywords: {
|
|
10463
|
+
[key: string]: Keyword[];
|
|
10464
|
+
};
|
|
10465
|
+
type: StreamItemTypes.News;
|
|
10466
|
+
contentsList: StreamPublishableItemContents[];
|
|
10467
|
+
channelsList: string[];
|
|
10468
|
+
isUnread: boolean;
|
|
10469
|
+
keywordsList?: Keyword[];
|
|
10470
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10471
|
+
source?: string;
|
|
10472
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10473
|
+
expiryDate?: string;
|
|
10474
|
+
hasNewComments?: boolean;
|
|
10475
|
+
isLiked?: boolean;
|
|
10476
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10477
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10478
|
+
id?: string;
|
|
10479
|
+
versionId?: string;
|
|
10480
|
+
publishingDate?: string;
|
|
10481
|
+
deleted?: string;
|
|
10482
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10483
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10484
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10485
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10486
|
+
fileAccessToken?: string;
|
|
10487
|
+
customProperties?: {
|
|
10488
|
+
[key: string]: any;
|
|
10489
|
+
};
|
|
10490
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10491
|
+
modified: string;
|
|
10492
|
+
created: string;
|
|
10493
|
+
publishedVersionId?: string;
|
|
10494
|
+
isCurrentPublishedVersion?: boolean;
|
|
10495
|
+
isLatestVersion?: boolean;
|
|
10496
|
+
permalink?: string;
|
|
10497
|
+
groupIds: string[];
|
|
10498
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10499
|
+
useExternalContent?: boolean;
|
|
10500
|
+
isDemoContent?: boolean;
|
|
10501
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10502
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10503
|
+
} | {
|
|
10504
|
+
knownState?: undefined;
|
|
10505
|
+
pageType?: undefined;
|
|
10506
|
+
navigationContext?: undefined;
|
|
10507
|
+
userResponse: EventResponse;
|
|
10508
|
+
channels: {
|
|
10509
|
+
name: string;
|
|
10510
|
+
}[];
|
|
10511
|
+
contents: {};
|
|
10512
|
+
bannerInfo: {
|
|
10513
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10514
|
+
type: "video" | "image";
|
|
10515
|
+
videoId?: string;
|
|
10516
|
+
videoUrl?: string;
|
|
10517
|
+
isDirectVideoUrl?: boolean;
|
|
10518
|
+
imageId?: string;
|
|
10519
|
+
};
|
|
10520
|
+
keywords: {
|
|
10521
|
+
[key: string]: Keyword[];
|
|
10522
|
+
};
|
|
10523
|
+
type: StreamItemTypes.Event;
|
|
10524
|
+
contentsList: StreamPublishableItemContents[];
|
|
10525
|
+
channelsList: string[];
|
|
10526
|
+
isUnread: boolean;
|
|
10527
|
+
keywordsList?: Keyword[];
|
|
10528
|
+
userResponseType?: StreamEventResponse;
|
|
10529
|
+
startDate?: string;
|
|
10530
|
+
endDate?: string;
|
|
10531
|
+
timeZone?: string;
|
|
10532
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10533
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10534
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10535
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10536
|
+
hasNewComments?: boolean;
|
|
10537
|
+
isLiked?: boolean;
|
|
10538
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10539
|
+
recurrenceSeriesId?: string;
|
|
10540
|
+
isSeriesMaster?: string;
|
|
10541
|
+
isVirtual?: boolean;
|
|
10542
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10543
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10544
|
+
id?: string;
|
|
10545
|
+
versionId?: string;
|
|
10546
|
+
publishingDate?: string;
|
|
10547
|
+
deleted?: string;
|
|
10548
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10549
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10550
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10551
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10552
|
+
fileAccessToken?: string;
|
|
10553
|
+
customProperties?: {
|
|
10554
|
+
[key: string]: any;
|
|
10555
|
+
};
|
|
10556
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10557
|
+
modified: string;
|
|
10558
|
+
created: string;
|
|
10559
|
+
publishedVersionId?: string;
|
|
10560
|
+
isCurrentPublishedVersion?: boolean;
|
|
10561
|
+
isLatestVersion?: boolean;
|
|
10562
|
+
permalink?: string;
|
|
10563
|
+
groupIds: string[];
|
|
10564
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10565
|
+
useExternalContent?: boolean;
|
|
10566
|
+
isDemoContent?: boolean;
|
|
10567
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10568
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10569
|
+
} | {
|
|
10570
|
+
knownState: KnownNewsState;
|
|
10571
|
+
pageType?: undefined;
|
|
10572
|
+
navigationContext?: undefined;
|
|
10573
|
+
userResponse: EventResponse;
|
|
10574
|
+
channels: {
|
|
10575
|
+
name: string;
|
|
10576
|
+
}[];
|
|
10577
|
+
contents: {};
|
|
10578
|
+
bannerInfo: {
|
|
10579
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10580
|
+
type: "video" | "image";
|
|
10581
|
+
videoId?: string;
|
|
10582
|
+
videoUrl?: string;
|
|
10583
|
+
isDirectVideoUrl?: boolean;
|
|
10584
|
+
imageId?: string;
|
|
10585
|
+
};
|
|
10586
|
+
keywords: {
|
|
10587
|
+
[key: string]: Keyword[];
|
|
10588
|
+
};
|
|
10589
|
+
type: StreamItemTypes.Event;
|
|
10590
|
+
contentsList: StreamPublishableItemContents[];
|
|
10591
|
+
channelsList: string[];
|
|
10592
|
+
isUnread: boolean;
|
|
10593
|
+
keywordsList?: Keyword[];
|
|
10594
|
+
userResponseType?: StreamEventResponse;
|
|
10595
|
+
startDate?: string;
|
|
10596
|
+
endDate?: string;
|
|
10597
|
+
timeZone?: string;
|
|
10598
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10599
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10600
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10601
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10602
|
+
hasNewComments?: boolean;
|
|
10603
|
+
isLiked?: boolean;
|
|
10604
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10605
|
+
recurrenceSeriesId?: string;
|
|
10606
|
+
isSeriesMaster?: string;
|
|
10607
|
+
isVirtual?: boolean;
|
|
10608
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10609
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10610
|
+
id?: string;
|
|
10611
|
+
versionId?: string;
|
|
10612
|
+
publishingDate?: string;
|
|
10613
|
+
deleted?: string;
|
|
10614
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10615
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10616
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10617
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10618
|
+
fileAccessToken?: string;
|
|
10619
|
+
customProperties?: {
|
|
10620
|
+
[key: string]: any;
|
|
10621
|
+
};
|
|
10622
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10623
|
+
modified: string;
|
|
10624
|
+
created: string;
|
|
10625
|
+
publishedVersionId?: string;
|
|
10626
|
+
isCurrentPublishedVersion?: boolean;
|
|
10627
|
+
isLatestVersion?: boolean;
|
|
10628
|
+
permalink?: string;
|
|
10629
|
+
groupIds: string[];
|
|
10630
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10631
|
+
useExternalContent?: boolean;
|
|
10632
|
+
isDemoContent?: boolean;
|
|
10633
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10634
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10635
|
+
} | {
|
|
10636
|
+
knownState?: undefined;
|
|
10637
|
+
pageType: PageType;
|
|
10638
|
+
navigationContext: PageNavigationContext;
|
|
10639
|
+
userResponse: EventResponse;
|
|
10640
|
+
channels: {
|
|
10641
|
+
name: string;
|
|
10642
|
+
}[];
|
|
10643
|
+
contents: {};
|
|
10644
|
+
bannerInfo: {
|
|
10645
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10646
|
+
type: "video" | "image";
|
|
10647
|
+
videoId?: string;
|
|
10648
|
+
videoUrl?: string;
|
|
10649
|
+
isDirectVideoUrl?: boolean;
|
|
10650
|
+
imageId?: string;
|
|
10651
|
+
};
|
|
10652
|
+
keywords: {
|
|
10653
|
+
[key: string]: Keyword[];
|
|
10654
|
+
};
|
|
10655
|
+
type: StreamItemTypes.Event;
|
|
10656
|
+
contentsList: StreamPublishableItemContents[];
|
|
10657
|
+
channelsList: string[];
|
|
10658
|
+
isUnread: boolean;
|
|
10659
|
+
keywordsList?: Keyword[];
|
|
10660
|
+
userResponseType?: StreamEventResponse;
|
|
10661
|
+
startDate?: string;
|
|
10662
|
+
endDate?: string;
|
|
10663
|
+
timeZone?: string;
|
|
10664
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10665
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10666
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10667
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10668
|
+
hasNewComments?: boolean;
|
|
10669
|
+
isLiked?: boolean;
|
|
10670
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10671
|
+
recurrenceSeriesId?: string;
|
|
10672
|
+
isSeriesMaster?: string;
|
|
10673
|
+
isVirtual?: boolean;
|
|
10674
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10675
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10676
|
+
id?: string;
|
|
10677
|
+
versionId?: string;
|
|
10678
|
+
publishingDate?: string;
|
|
10679
|
+
deleted?: string;
|
|
10680
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10681
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10682
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10683
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10684
|
+
fileAccessToken?: string;
|
|
10685
|
+
customProperties?: {
|
|
10686
|
+
[key: string]: any;
|
|
10687
|
+
};
|
|
10688
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10689
|
+
modified: string;
|
|
10690
|
+
created: string;
|
|
10691
|
+
publishedVersionId?: string;
|
|
10692
|
+
isCurrentPublishedVersion?: boolean;
|
|
10693
|
+
isLatestVersion?: boolean;
|
|
10694
|
+
permalink?: string;
|
|
10695
|
+
groupIds: string[];
|
|
10696
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10697
|
+
useExternalContent?: boolean;
|
|
10698
|
+
isDemoContent?: boolean;
|
|
10699
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10700
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10701
|
+
} | {
|
|
10702
|
+
knownState: KnownNewsState;
|
|
10703
|
+
pageType: PageType;
|
|
10704
|
+
navigationContext: PageNavigationContext;
|
|
10705
|
+
userResponse: EventResponse;
|
|
10706
|
+
channels: {
|
|
10707
|
+
name: string;
|
|
10708
|
+
}[];
|
|
10709
|
+
contents: {};
|
|
10710
|
+
bannerInfo: {
|
|
10711
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10712
|
+
type: "video" | "image";
|
|
10713
|
+
videoId?: string;
|
|
10714
|
+
videoUrl?: string;
|
|
10715
|
+
isDirectVideoUrl?: boolean;
|
|
10716
|
+
imageId?: string;
|
|
9544
10717
|
};
|
|
9545
|
-
|
|
9546
|
-
|
|
9547
|
-
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9548
|
-
import { FC } from 'react';
|
|
9549
|
-
export const PostFollowButton: FC<{
|
|
9550
|
-
itemId: string;
|
|
9551
|
-
}>;
|
|
9552
|
-
}
|
|
9553
|
-
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9554
|
-
import { FC } from 'react';
|
|
9555
|
-
import { NavLink } from 'react-router-dom';
|
|
9556
|
-
export const PostGroup: FC<{
|
|
9557
|
-
groupId: string;
|
|
9558
|
-
to: string;
|
|
9559
|
-
className?: string;
|
|
9560
|
-
}>;
|
|
9561
|
-
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9562
|
-
}
|
|
9563
|
-
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9564
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9565
|
-
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9566
|
-
interface Props {
|
|
9567
|
-
post: Post;
|
|
9568
|
-
className?: string;
|
|
9569
|
-
threadId?: string;
|
|
9570
|
-
onCustomPostDelete?: () => void;
|
|
9571
|
-
comments?: PaginatedList<Comment>;
|
|
9572
|
-
initialCommentsPageSize?: number;
|
|
9573
|
-
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9574
|
-
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9575
|
-
onThreadCommentDelete?: () => void;
|
|
9576
|
-
onThreadReply?: (threadId: string) => void;
|
|
9577
|
-
keywordSettings?: {
|
|
9578
|
-
availableKeywords?: Keyword[];
|
|
9579
|
-
defaultKeywords?: Keyword[];
|
|
9580
|
-
mandatoryKeywords?: Keyword[];
|
|
10718
|
+
keywords: {
|
|
10719
|
+
[key: string]: Keyword[];
|
|
9581
10720
|
};
|
|
9582
|
-
|
|
9583
|
-
|
|
9584
|
-
|
|
9585
|
-
|
|
9586
|
-
|
|
9587
|
-
|
|
9588
|
-
|
|
9589
|
-
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
|
|
9593
|
-
|
|
9594
|
-
|
|
9595
|
-
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
|
|
9599
|
-
|
|
9600
|
-
|
|
9601
|
-
|
|
9602
|
-
|
|
9603
|
-
|
|
9604
|
-
|
|
9605
|
-
|
|
9606
|
-
|
|
10721
|
+
type: StreamItemTypes.Event;
|
|
10722
|
+
contentsList: StreamPublishableItemContents[];
|
|
10723
|
+
channelsList: string[];
|
|
10724
|
+
isUnread: boolean;
|
|
10725
|
+
keywordsList?: Keyword[];
|
|
10726
|
+
userResponseType?: StreamEventResponse;
|
|
10727
|
+
startDate?: string;
|
|
10728
|
+
endDate?: string;
|
|
10729
|
+
timeZone?: string;
|
|
10730
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10731
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10732
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10733
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10734
|
+
hasNewComments?: boolean;
|
|
10735
|
+
isLiked?: boolean;
|
|
10736
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10737
|
+
recurrenceSeriesId?: string;
|
|
10738
|
+
isSeriesMaster?: string;
|
|
10739
|
+
isVirtual?: boolean;
|
|
10740
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10741
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10742
|
+
id?: string;
|
|
10743
|
+
versionId?: string;
|
|
10744
|
+
publishingDate?: string;
|
|
10745
|
+
deleted?: string;
|
|
10746
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10747
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10748
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10749
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10750
|
+
fileAccessToken?: string;
|
|
10751
|
+
customProperties?: {
|
|
10752
|
+
[key: string]: any;
|
|
9607
10753
|
};
|
|
9608
|
-
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9620
|
-
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
10754
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10755
|
+
modified: string;
|
|
10756
|
+
created: string;
|
|
10757
|
+
publishedVersionId?: string;
|
|
10758
|
+
isCurrentPublishedVersion?: boolean;
|
|
10759
|
+
isLatestVersion?: boolean;
|
|
10760
|
+
permalink?: string;
|
|
10761
|
+
groupIds: string[];
|
|
10762
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10763
|
+
useExternalContent?: boolean;
|
|
10764
|
+
isDemoContent?: boolean;
|
|
10765
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10766
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10767
|
+
} | {
|
|
10768
|
+
knownState?: undefined;
|
|
10769
|
+
pageType?: PageType;
|
|
10770
|
+
navigationContext?: PageNavigationContext;
|
|
10771
|
+
userResponse: EventResponse;
|
|
10772
|
+
channels: {
|
|
10773
|
+
name: string;
|
|
10774
|
+
}[];
|
|
10775
|
+
contents: {};
|
|
10776
|
+
bannerInfo: {
|
|
10777
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10778
|
+
type: "video" | "image";
|
|
10779
|
+
videoId?: string;
|
|
10780
|
+
videoUrl?: string;
|
|
10781
|
+
isDirectVideoUrl?: boolean;
|
|
10782
|
+
imageId?: string;
|
|
9626
10783
|
};
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
10784
|
+
keywords: {
|
|
10785
|
+
[key: string]: Keyword[];
|
|
10786
|
+
};
|
|
10787
|
+
type: StreamItemTypes.Page;
|
|
10788
|
+
contentsList: StreamPublishableItemContents[];
|
|
10789
|
+
channelsList: string[];
|
|
10790
|
+
isUnread: boolean;
|
|
10791
|
+
keywordsList?: Keyword[];
|
|
10792
|
+
streamPageType?: string;
|
|
10793
|
+
path?: (PageNavigationNode & {
|
|
10794
|
+
parentId?: string;
|
|
10795
|
+
})[];
|
|
10796
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10797
|
+
parentId?: string;
|
|
10798
|
+
pathIds?: string[];
|
|
10799
|
+
position?: number;
|
|
10800
|
+
hasHiddenAncestor?: boolean;
|
|
10801
|
+
isUnlinked?: boolean;
|
|
10802
|
+
firstChildId?: string;
|
|
10803
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10804
|
+
id?: string;
|
|
10805
|
+
versionId?: string;
|
|
10806
|
+
publishingDate?: string;
|
|
10807
|
+
deleted?: string;
|
|
10808
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10809
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10810
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10811
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10812
|
+
fileAccessToken?: string;
|
|
10813
|
+
customProperties?: {
|
|
10814
|
+
[key: string]: any;
|
|
10815
|
+
};
|
|
10816
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10817
|
+
modified: string;
|
|
10818
|
+
created: string;
|
|
10819
|
+
publishedVersionId?: string;
|
|
10820
|
+
isCurrentPublishedVersion?: boolean;
|
|
10821
|
+
isLatestVersion?: boolean;
|
|
10822
|
+
permalink?: string;
|
|
10823
|
+
groupIds: string[];
|
|
10824
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10825
|
+
useExternalContent?: boolean;
|
|
10826
|
+
isDemoContent?: boolean;
|
|
10827
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10828
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10829
|
+
} | {
|
|
10830
|
+
knownState: KnownNewsState;
|
|
10831
|
+
pageType?: PageType;
|
|
10832
|
+
navigationContext?: PageNavigationContext;
|
|
10833
|
+
userResponse: EventResponse;
|
|
10834
|
+
channels: {
|
|
10835
|
+
name: string;
|
|
10836
|
+
}[];
|
|
10837
|
+
contents: {};
|
|
10838
|
+
bannerInfo: {
|
|
10839
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10840
|
+
type: "video" | "image";
|
|
10841
|
+
videoId?: string;
|
|
10842
|
+
videoUrl?: string;
|
|
10843
|
+
isDirectVideoUrl?: boolean;
|
|
10844
|
+
imageId?: string;
|
|
10845
|
+
};
|
|
10846
|
+
keywords: {
|
|
10847
|
+
[key: string]: Keyword[];
|
|
10848
|
+
};
|
|
10849
|
+
type: StreamItemTypes.Page;
|
|
10850
|
+
contentsList: StreamPublishableItemContents[];
|
|
10851
|
+
channelsList: string[];
|
|
10852
|
+
isUnread: boolean;
|
|
10853
|
+
keywordsList?: Keyword[];
|
|
10854
|
+
streamPageType?: string;
|
|
10855
|
+
path?: (PageNavigationNode & {
|
|
10856
|
+
parentId?: string;
|
|
10857
|
+
})[];
|
|
10858
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10859
|
+
parentId?: string;
|
|
10860
|
+
pathIds?: string[];
|
|
10861
|
+
position?: number;
|
|
10862
|
+
hasHiddenAncestor?: boolean;
|
|
10863
|
+
isUnlinked?: boolean;
|
|
10864
|
+
firstChildId?: string;
|
|
10865
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10866
|
+
id?: string;
|
|
10867
|
+
versionId?: string;
|
|
10868
|
+
publishingDate?: string;
|
|
10869
|
+
deleted?: string;
|
|
10870
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10871
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10872
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10873
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10874
|
+
fileAccessToken?: string;
|
|
10875
|
+
customProperties?: {
|
|
10876
|
+
[key: string]: any;
|
|
10877
|
+
};
|
|
10878
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10879
|
+
modified: string;
|
|
10880
|
+
created: string;
|
|
10881
|
+
publishedVersionId?: string;
|
|
10882
|
+
isCurrentPublishedVersion?: boolean;
|
|
10883
|
+
isLatestVersion?: boolean;
|
|
10884
|
+
permalink?: string;
|
|
10885
|
+
groupIds: string[];
|
|
10886
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10887
|
+
useExternalContent?: boolean;
|
|
10888
|
+
isDemoContent?: boolean;
|
|
10889
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10890
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10891
|
+
})[];
|
|
9634
10892
|
}
|
|
9635
|
-
declare module "libs/reach/feature/content/src/
|
|
10893
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10894
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10895
|
+
import { DocumentNode } from '@apollo/client';
|
|
10896
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10897
|
+
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition, FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
10898
|
+
export enum StreamEventResponse {
|
|
10899
|
+
NotSet = "NOTSET",
|
|
10900
|
+
Registered = "REGISTERED",
|
|
10901
|
+
Declined = "DECLINED"
|
|
10902
|
+
}
|
|
10903
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10904
|
+
}
|
|
10905
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10906
|
+
items: StreamItem[];
|
|
10907
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10908
|
+
loadMore: () => Promise<void>;
|
|
10909
|
+
pageInfo: {
|
|
10910
|
+
errors?: any;
|
|
10911
|
+
hasNextPage: boolean;
|
|
10912
|
+
skip: number;
|
|
10913
|
+
};
|
|
10914
|
+
refresh: () => Promise<void>;
|
|
10915
|
+
isLoadingFirstPage: boolean;
|
|
10916
|
+
};
|
|
10917
|
+
export const getStreamQuery: () => DocumentNode;
|
|
10918
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10919
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10920
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10921
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10922
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10923
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10924
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10925
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
10926
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10927
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10928
|
+
}
|
|
10929
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
9636
10930
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9637
10931
|
import { DependencyList } from 'react';
|
|
9638
|
-
export function
|
|
10932
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
9639
10933
|
}
|
|
9640
10934
|
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
9641
10935
|
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -9653,7 +10947,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
9653
10947
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
9654
10948
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
9655
10949
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
9656
|
-
export * from "libs/reach/feature/content/src/posts/
|
|
10950
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
9657
10951
|
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
9658
10952
|
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
9659
10953
|
export * from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9673,7 +10967,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
|
9673
10967
|
onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
|
|
9674
10968
|
onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
|
|
9675
10969
|
className?: string;
|
|
9676
|
-
useLargeAvatar?: boolean;
|
|
9677
10970
|
useExternalLink?: boolean;
|
|
9678
10971
|
}
|
|
9679
10972
|
export const EditorListItem: FC<Props>;
|
|
@@ -9718,12 +11011,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
9718
11011
|
}
|
|
9719
11012
|
}
|
|
9720
11013
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
9721
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11014
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9722
11015
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
9723
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9724
|
-
import { PublishableItem, ItemVersionSummary, PublishableItemVersion } from "libs/reach/util/common/src/index";
|
|
9725
|
-
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9726
|
-
import { ResponseItem } from "libs/reach/util/common/src/index";
|
|
9727
11016
|
import { Observable } from 'rxjs';
|
|
9728
11017
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
9729
11018
|
export function useEditorApi(): {
|
|
@@ -9743,6 +11032,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
|
9743
11032
|
keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
|
|
9744
11033
|
saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
|
|
9745
11034
|
updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
|
|
11035
|
+
translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
|
|
9746
11036
|
};
|
|
9747
11037
|
}
|
|
9748
11038
|
declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
@@ -9766,6 +11056,59 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
9766
11056
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
9767
11057
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
9768
11058
|
}
|
|
11059
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
11060
|
+
import { FC } from 'react';
|
|
11061
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11062
|
+
export const StreamPostItemCard: FC<{
|
|
11063
|
+
post: PostStreamItem;
|
|
11064
|
+
onPostDelete: (id: string) => unknown;
|
|
11065
|
+
}>;
|
|
11066
|
+
}
|
|
11067
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
11068
|
+
import { FC } from 'react';
|
|
11069
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11070
|
+
export const StreamNewsItemCard: FC<{
|
|
11071
|
+
news: NewsStreamItem;
|
|
11072
|
+
}>;
|
|
11073
|
+
}
|
|
11074
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
11075
|
+
import { FC } from 'react';
|
|
11076
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11077
|
+
export const StreamEventItemCard: FC<{
|
|
11078
|
+
event: EventStreamItem;
|
|
11079
|
+
}>;
|
|
11080
|
+
}
|
|
11081
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11082
|
+
import { FC } from 'react';
|
|
11083
|
+
export const GlobalSearchButton: FC;
|
|
11084
|
+
}
|
|
11085
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11086
|
+
import { FC } from 'react';
|
|
11087
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11088
|
+
export type StreamQueryResult = {
|
|
11089
|
+
items: StreamItem[];
|
|
11090
|
+
};
|
|
11091
|
+
export const StreamList: FC;
|
|
11092
|
+
}
|
|
11093
|
+
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
11094
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
11095
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
11096
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11097
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
|
|
11098
|
+
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11099
|
+
}
|
|
11100
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11101
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
11102
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11103
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11104
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
11105
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
11106
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
11107
|
+
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
11108
|
+
}
|
|
11109
|
+
declare module "libs/reach/feature/content/src/search/index" {
|
|
11110
|
+
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11111
|
+
}
|
|
9769
11112
|
declare module "libs/reach/feature/content/src/index" {
|
|
9770
11113
|
export * from "libs/reach/feature/content/src/comments/index";
|
|
9771
11114
|
export * from "libs/reach/feature/content/src/common/index";
|
|
@@ -9778,6 +11121,8 @@ declare module "libs/reach/feature/content/src/index" {
|
|
|
9778
11121
|
export * from "libs/reach/feature/content/src/posts/index";
|
|
9779
11122
|
export * from "libs/reach/feature/content/src/editor/index";
|
|
9780
11123
|
export * from "libs/reach/feature/content/src/public-user/index";
|
|
11124
|
+
export * from "libs/reach/feature/content/src/stream/index";
|
|
11125
|
+
export * from "libs/reach/feature/content/src/search/index";
|
|
9781
11126
|
}
|
|
9782
11127
|
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
9783
11128
|
import { FC } from 'react';
|
|
@@ -9848,20 +11193,22 @@ declare module "apps/reach-app/src/app/AppLoader" {
|
|
|
9848
11193
|
}
|
|
9849
11194
|
declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
|
|
9850
11195
|
import './ContainerWithLogo.scss';
|
|
11196
|
+
import { LogoInfo } from "libs/reach/util/common/src/index";
|
|
11197
|
+
import { FC, ReactNode } from 'react';
|
|
9851
11198
|
export enum DefaultLogoColor {
|
|
9852
11199
|
Default = 0,
|
|
9853
11200
|
White = 1
|
|
9854
11201
|
}
|
|
9855
|
-
type RenderChildren =
|
|
9856
|
-
export const ContainerWithLogo:
|
|
9857
|
-
|
|
9858
|
-
logoColor?: DefaultLogoColor;
|
|
11202
|
+
type RenderChildren = ReactNode | (() => ReactNode);
|
|
11203
|
+
export const ContainerWithLogo: FC<{
|
|
11204
|
+
logoInfo?: LogoInfo;
|
|
9859
11205
|
text?: string;
|
|
9860
11206
|
headerClassName?: string;
|
|
9861
11207
|
additionalClasses?: string;
|
|
9862
11208
|
children: RenderChildren;
|
|
9863
11209
|
className?: string;
|
|
9864
11210
|
additionalContent?: RenderChildren;
|
|
11211
|
+
isBrandedContainer?: boolean;
|
|
9865
11212
|
}>;
|
|
9866
11213
|
}
|
|
9867
11214
|
declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
|
|
@@ -9893,7 +11240,11 @@ declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
|
9893
11240
|
MobileHidden = 1
|
|
9894
11241
|
}
|
|
9895
11242
|
export function shutdownZendesk(): void;
|
|
9896
|
-
export function
|
|
11243
|
+
export function useZendeskWithSubscription(): {
|
|
11244
|
+
showZendeskChat: () => void;
|
|
11245
|
+
toggleIcon: (show: boolean) => void;
|
|
11246
|
+
};
|
|
11247
|
+
export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
|
|
9897
11248
|
showZendeskChat: () => void;
|
|
9898
11249
|
toggleIcon: (show: boolean) => void;
|
|
9899
11250
|
};
|
|
@@ -9938,7 +11289,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
|
|
|
9938
11289
|
import { FC } from 'react';
|
|
9939
11290
|
export const AdminActionItem: FC<{
|
|
9940
11291
|
submenuContents: JSX.Element;
|
|
9941
|
-
onClick
|
|
11292
|
+
onClick?: () => unknown;
|
|
9942
11293
|
title?: string;
|
|
9943
11294
|
}>;
|
|
9944
11295
|
const AdminRoutes: FC;
|
|
@@ -9952,7 +11303,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
|
|
|
9952
11303
|
import { FC } from 'react';
|
|
9953
11304
|
export const ChatMenuNode: FC<{
|
|
9954
11305
|
title: string;
|
|
9955
|
-
onClick
|
|
11306
|
+
onClick?: () => void;
|
|
9956
11307
|
}>;
|
|
9957
11308
|
}
|
|
9958
11309
|
declare module "apps/reach-app/src/app/chrome/Sidebar" {
|
|
@@ -9979,20 +11330,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
|
|
|
9979
11330
|
className?: string;
|
|
9980
11331
|
}>;
|
|
9981
11332
|
}
|
|
9982
|
-
declare module "apps/reach-app/src/app/about/ApplicationVersion" {
|
|
9983
|
-
export default interface ApplicationVersion {
|
|
9984
|
-
description: string;
|
|
9985
|
-
version: string;
|
|
9986
|
-
commitId: string;
|
|
9987
|
-
}
|
|
9988
|
-
}
|
|
9989
|
-
declare module "apps/reach-app/src/app/chrome/VersionInfo" {
|
|
9990
|
-
import { FC } from 'react';
|
|
9991
|
-
export const VersionInfo: FC<{
|
|
9992
|
-
className?: string;
|
|
9993
|
-
renderCommitId?: boolean;
|
|
9994
|
-
}>;
|
|
9995
|
-
}
|
|
9996
11333
|
declare module "apps/reach-app/src/AppLoaderContextProvider" {
|
|
9997
11334
|
import { FC, ReactNode } from 'react';
|
|
9998
11335
|
export const AppLoaderContext: import("react").Context<{
|