@livetiles/reach-plugin-types 0.4.0-preview.35 → 0.4.0-preview.350
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/lib/index.d.ts +2137 -895
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -38,12 +38,10 @@ declare module "libs/shared/util/common/src/JwtHelper" {
|
|
|
38
38
|
declare module "libs/shared/util/common/src/redirect" {
|
|
39
39
|
export function redirectWithReload(redirectUrl: string): void;
|
|
40
40
|
}
|
|
41
|
-
declare module "libs/shared/util/environment/src/
|
|
42
|
-
export interface
|
|
43
|
-
|
|
41
|
+
declare module "libs/shared/util/environment/src/ZendeskConfig" {
|
|
42
|
+
export interface ZendeskConfig {
|
|
43
|
+
apiKey: string;
|
|
44
44
|
enable: boolean;
|
|
45
|
-
productId: string;
|
|
46
|
-
unauthenticatedProductId: string;
|
|
47
45
|
}
|
|
48
46
|
}
|
|
49
47
|
declare module "libs/shared/util/authentication/src/AuthenticationType" {
|
|
@@ -209,14 +207,14 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
|
|
|
209
207
|
clientId: string;
|
|
210
208
|
basePolicyUrl: string;
|
|
211
209
|
signInPolicy: string;
|
|
212
|
-
forgotPasswordPolicy
|
|
210
|
+
forgotPasswordPolicy?: string;
|
|
213
211
|
apiScope: string;
|
|
214
212
|
scopes: string[];
|
|
215
213
|
extraScopes: string[];
|
|
216
214
|
}
|
|
217
215
|
}
|
|
218
216
|
declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
219
|
-
import {
|
|
217
|
+
import { ZendeskConfig } from "libs/shared/util/environment/src/ZendeskConfig";
|
|
220
218
|
import { AuthenticationType } from "libs/shared/util/authentication/src/index";
|
|
221
219
|
import { KeycloakConfiguration } from "libs/shared/util/environment/src/KeycloakConfiguration";
|
|
222
220
|
import { MsalConfiguration } from "libs/shared/util/environment/src/MsalConfiguration";
|
|
@@ -235,12 +233,12 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
235
233
|
export interface AppConfiguration {
|
|
236
234
|
configType: ConfigType;
|
|
237
235
|
authentication: {
|
|
238
|
-
useSingleAuthType
|
|
236
|
+
useSingleAuthType?: AuthenticationType;
|
|
239
237
|
azuread: MsalConfiguration;
|
|
240
|
-
b2c
|
|
241
|
-
keycloak
|
|
242
|
-
teams
|
|
243
|
-
teamsAustralia
|
|
238
|
+
b2c?: MsalConfiguration;
|
|
239
|
+
keycloak?: KeycloakConfiguration;
|
|
240
|
+
teams?: MsalConfiguration;
|
|
241
|
+
teamsAustralia?: MsalConfiguration;
|
|
244
242
|
};
|
|
245
243
|
apiEndpoint: string;
|
|
246
244
|
api2Endpoint: string;
|
|
@@ -249,6 +247,7 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
249
247
|
webAppUrl: string;
|
|
250
248
|
productWebsite: string;
|
|
251
249
|
supportUrl: string;
|
|
250
|
+
releaseNotesUrl: string;
|
|
252
251
|
privacyUrl: string;
|
|
253
252
|
eulaUrl: string;
|
|
254
253
|
appInsightsKey: string;
|
|
@@ -260,7 +259,7 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
260
259
|
resource: string;
|
|
261
260
|
};
|
|
262
261
|
};
|
|
263
|
-
|
|
262
|
+
zendeskMessaging: ZendeskConfig;
|
|
264
263
|
singleSubscriptionMode: boolean;
|
|
265
264
|
oneSignal?: {
|
|
266
265
|
appId: string;
|
|
@@ -417,6 +416,7 @@ declare module "libs/reach/util/common/src/PaginatedList" {
|
|
|
417
416
|
paginationToken?: any;
|
|
418
417
|
nextItem?: TItem;
|
|
419
418
|
hasMoreUnreadComments?: boolean;
|
|
419
|
+
hasNextPage?: boolean;
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
422
|
declare module "libs/reach/util/common/src/SortDirection" {
|
|
@@ -522,6 +522,12 @@ declare module "libs/reach/util/common/src/useCacheLanguageApi" {
|
|
|
522
522
|
getLocaleFromLocalStorage: () => Promise<string>;
|
|
523
523
|
};
|
|
524
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
|
+
}
|
|
525
531
|
declare module "libs/reach/util/common/src/resources/languages/de.async" {
|
|
526
532
|
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
527
533
|
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
@@ -577,7 +583,7 @@ declare module "libs/reach/util/common/src/resources/languages/en.async" {
|
|
|
577
583
|
export default en;
|
|
578
584
|
}
|
|
579
585
|
declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
|
|
580
|
-
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")>;
|
|
581
587
|
}
|
|
582
588
|
declare module "libs/reach/util/common/src/resources/locales/ar-dz.async" {
|
|
583
589
|
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
@@ -1070,6 +1076,8 @@ declare module "libs/reach/util/common/src/user/Audience" {
|
|
|
1070
1076
|
[key: string]: string;
|
|
1071
1077
|
};
|
|
1072
1078
|
mode: AudienceMatchMode;
|
|
1079
|
+
includeDirectoryUsers?: boolean;
|
|
1080
|
+
includeNonDirectoryUsers?: boolean;
|
|
1073
1081
|
}
|
|
1074
1082
|
}
|
|
1075
1083
|
declare module "libs/reach/util/common/src/content/Language" {
|
|
@@ -1095,7 +1103,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1095
1103
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
1096
1104
|
import { Audience } from "libs/reach/util/common/src/user/Audience";
|
|
1097
1105
|
import { CurrentUser, NotificationType, UserGroupRole } from "libs/reach/util/common/src/user/User";
|
|
1098
|
-
import { SubscriptionInfo as BaseSubscriptionInfo
|
|
1106
|
+
import { IdentityProviderNames, IdentityProviderSettings, SubscriptionInfo as BaseSubscriptionInfo } from "libs/shared/util/authentication/src/index";
|
|
1099
1107
|
import { Language, LanguageBase } from "libs/reach/util/common/src/content/Language";
|
|
1100
1108
|
export interface DirectoryConfiguration extends DirectoryConfigurationPatch {
|
|
1101
1109
|
domains?: string[];
|
|
@@ -1128,11 +1136,12 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1128
1136
|
useInAppBrowser?: boolean;
|
|
1129
1137
|
tenantId?: string;
|
|
1130
1138
|
signInSettings?: SignInSettings;
|
|
1131
|
-
logoUrl?: string;
|
|
1132
1139
|
faviconUrl?: string;
|
|
1133
1140
|
theme?: Theme;
|
|
1134
1141
|
allowPublicAccess?: boolean;
|
|
1135
1142
|
redirectToContent?: boolean;
|
|
1143
|
+
allowZendesk?: boolean;
|
|
1144
|
+
logoInfo: LogoInfo;
|
|
1136
1145
|
}
|
|
1137
1146
|
export interface SignInSettings {
|
|
1138
1147
|
customIdentityProviders: IdentityProviderSettings[];
|
|
@@ -1146,7 +1155,6 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1146
1155
|
contact: Account;
|
|
1147
1156
|
theme: Theme;
|
|
1148
1157
|
defaultLanguage: string;
|
|
1149
|
-
logoUrl: string;
|
|
1150
1158
|
faviconUrl?: string;
|
|
1151
1159
|
navigation: NavigationNode[];
|
|
1152
1160
|
regionSettings?: RegionSettings;
|
|
@@ -1155,6 +1163,16 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1155
1163
|
hasUnreadItems: boolean;
|
|
1156
1164
|
pageTrackingInfo: PageTrackingInfo;
|
|
1157
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;
|
|
1158
1176
|
}
|
|
1159
1177
|
export interface TermsAndConditions {
|
|
1160
1178
|
value?: string;
|
|
@@ -1254,6 +1272,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1254
1272
|
componentName: string;
|
|
1255
1273
|
route: string;
|
|
1256
1274
|
navigationNode?: {
|
|
1275
|
+
componentName?: string;
|
|
1257
1276
|
iconName?: string;
|
|
1258
1277
|
label?: string;
|
|
1259
1278
|
translations?: {
|
|
@@ -1477,7 +1496,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1477
1496
|
export interface UserInvitationResult {
|
|
1478
1497
|
type: UserInvitationResultType;
|
|
1479
1498
|
message?: string;
|
|
1480
|
-
user?:
|
|
1499
|
+
user?: Account;
|
|
1481
1500
|
isSuccess: boolean;
|
|
1482
1501
|
}
|
|
1483
1502
|
export enum UserRegistrationResultType {
|
|
@@ -1707,6 +1726,7 @@ declare module "libs/reach/util/common/src/content/VideoSource" {
|
|
|
1707
1726
|
GenericUrl = 3,
|
|
1708
1727
|
Kaltura = 4
|
|
1709
1728
|
}
|
|
1729
|
+
export function convertStringToVideoSource(videoSource: string): VideoSource;
|
|
1710
1730
|
}
|
|
1711
1731
|
declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
1712
1732
|
import { ItemStatistics } from "libs/reach/util/common/src/content/ItemStatistics";
|
|
@@ -1714,6 +1734,19 @@ declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
|
1714
1734
|
id?: string;
|
|
1715
1735
|
statistics?: ItemStatistics;
|
|
1716
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;
|
|
1717
1750
|
}
|
|
1718
1751
|
export interface Poll {
|
|
1719
1752
|
questions: PollQuestion[];
|
|
@@ -1781,7 +1814,6 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1781
1814
|
headline?: string;
|
|
1782
1815
|
intro?: string;
|
|
1783
1816
|
body?: string;
|
|
1784
|
-
bodyRaw?: string;
|
|
1785
1817
|
customProperties?: {
|
|
1786
1818
|
[key: string]: any;
|
|
1787
1819
|
};
|
|
@@ -2051,7 +2083,7 @@ declare module "libs/reach/util/common/src/content/Comment" {
|
|
|
2051
2083
|
hasUnreadReplies?: boolean;
|
|
2052
2084
|
isDemoContent?: boolean;
|
|
2053
2085
|
}
|
|
2054
|
-
interface CommentStatistics {
|
|
2086
|
+
export interface CommentStatistics {
|
|
2055
2087
|
likeCount?: number;
|
|
2056
2088
|
replyCount?: number;
|
|
2057
2089
|
}
|
|
@@ -2291,7 +2323,10 @@ declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
|
2291
2323
|
declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
2292
2324
|
import { FC } from 'react';
|
|
2293
2325
|
import { PluginAndExtension } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2294
|
-
export const PluginWrapper: FC<PluginAndExtension
|
|
2326
|
+
export const PluginWrapper: FC<PluginAndExtension & {
|
|
2327
|
+
navigationNodeProps?: any;
|
|
2328
|
+
renderNavigationNode?: (navigationNodeProps: any) => JSX.Element;
|
|
2329
|
+
}>;
|
|
2295
2330
|
}
|
|
2296
2331
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2297
2332
|
import { FC } from 'react';
|
|
@@ -2422,6 +2457,7 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
|
2422
2457
|
}
|
|
2423
2458
|
export function getDarkAltColor(color: string): string;
|
|
2424
2459
|
export function getTextColor(bgColor: string): "#333333" | "#ffffff";
|
|
2460
|
+
export function shouldUseDarkForegroundColor(bgColor: string): boolean;
|
|
2425
2461
|
}
|
|
2426
2462
|
declare module "libs/reach/util/common/src/theme/ThemeContext" {
|
|
2427
2463
|
import { FC, ReactNode } from 'react';
|
|
@@ -2612,10 +2648,11 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2612
2648
|
useExternalContent?: boolean;
|
|
2613
2649
|
isSearchMatch?: boolean;
|
|
2614
2650
|
topLevelFolderName?: string;
|
|
2651
|
+
uploadToken?: string;
|
|
2615
2652
|
}
|
|
2616
2653
|
export interface PageNavigationContext {
|
|
2617
2654
|
parent?: PageNavigationNode;
|
|
2618
|
-
siblings
|
|
2655
|
+
siblings?: PageNavigationNode[];
|
|
2619
2656
|
children?: PageNavigationNode[];
|
|
2620
2657
|
}
|
|
2621
2658
|
export enum PageType {
|
|
@@ -2717,7 +2754,17 @@ declare module "libs/reach/util/common/src/content/useClearUnreadItems" {
|
|
|
2717
2754
|
onStarted?: () => unknown;
|
|
2718
2755
|
onFinished?: () => unknown;
|
|
2719
2756
|
}
|
|
2720
|
-
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers): () => Promise<void>;
|
|
2757
|
+
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
2758
|
+
}
|
|
2759
|
+
declare module "libs/reach/util/common/src/content/useClearUnreadOnlyFilter" {
|
|
2760
|
+
export function useClearUnreadOnlyFilter(): {
|
|
2761
|
+
clearUnreadOnlyFilter: () => void;
|
|
2762
|
+
};
|
|
2763
|
+
}
|
|
2764
|
+
declare module "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler" {
|
|
2765
|
+
export function useUnreadItemsTogglerHandler(): {
|
|
2766
|
+
toggleUnreadItems: () => void;
|
|
2767
|
+
};
|
|
2721
2768
|
}
|
|
2722
2769
|
declare module "libs/reach/util/common/src/content/index" {
|
|
2723
2770
|
export * from "libs/reach/util/common/src/content/Attachment";
|
|
@@ -2742,6 +2789,8 @@ declare module "libs/reach/util/common/src/content/index" {
|
|
|
2742
2789
|
export * from "libs/reach/util/common/src/content/useFileApi";
|
|
2743
2790
|
export * from "libs/reach/util/common/src/content/content-keyword-utils";
|
|
2744
2791
|
export * from "libs/reach/util/common/src/content/useClearUnreadItems";
|
|
2792
|
+
export * from "libs/reach/util/common/src/content/useClearUnreadOnlyFilter";
|
|
2793
|
+
export * from "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler";
|
|
2745
2794
|
}
|
|
2746
2795
|
declare module "libs/reach/util/common/src/Variables" {
|
|
2747
2796
|
export const maxContentWidth = 985;
|
|
@@ -2842,6 +2891,7 @@ declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
|
2842
2891
|
}
|
|
2843
2892
|
declare module "libs/reach/util/common/src/notification/ToastNotificationHost" {
|
|
2844
2893
|
import { FC } from 'react';
|
|
2894
|
+
import 'react-toastify/dist/ReactToastify.min.css';
|
|
2845
2895
|
export const ToastNotificationHost: FC;
|
|
2846
2896
|
}
|
|
2847
2897
|
declare module "libs/reach/util/common/src/notification/index" {
|
|
@@ -2860,6 +2910,7 @@ declare module "libs/reach/util/common/src/keywords/SubscriptionContext" {
|
|
|
2860
2910
|
selectedKeywordGroups?: KeywordGroup[];
|
|
2861
2911
|
}
|
|
2862
2912
|
export const LazySubscriptionContext: import("react").Context<SubscriptionData & {
|
|
2913
|
+
getChannels: () => Promise<Channel[]>;
|
|
2863
2914
|
refreshSubscription: () => void;
|
|
2864
2915
|
}>;
|
|
2865
2916
|
export const EnforcedSubscriptionContext: import("react").Context<SubscriptionData & {
|
|
@@ -2911,7 +2962,7 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2911
2962
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2912
2963
|
export interface Chat {
|
|
2913
2964
|
id: string;
|
|
2914
|
-
members: Account[];
|
|
2965
|
+
members: (Account & ChatMember)[];
|
|
2915
2966
|
memberIds: string[];
|
|
2916
2967
|
groupName?: string;
|
|
2917
2968
|
lastMessageInfo?: {
|
|
@@ -2922,6 +2973,10 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2922
2973
|
deleteDate?: string;
|
|
2923
2974
|
deleteState?: DeleteState;
|
|
2924
2975
|
messageType?: ChatMessageType;
|
|
2976
|
+
messageValues?: {
|
|
2977
|
+
groupName?: string;
|
|
2978
|
+
userId?: string;
|
|
2979
|
+
};
|
|
2925
2980
|
};
|
|
2926
2981
|
messages: ChatMessage[];
|
|
2927
2982
|
hasNewMessages: boolean;
|
|
@@ -2934,7 +2989,19 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2934
2989
|
}
|
|
2935
2990
|
export enum ChatMessageType {
|
|
2936
2991
|
Default = "DEFAULT",
|
|
2937
|
-
GroupNameChange = "GROUP_NAME_CHANGE"
|
|
2992
|
+
GroupNameChange = "GROUP_NAME_CHANGE",
|
|
2993
|
+
UserLeftGroup = "USER_LEFT_GROUP"
|
|
2994
|
+
}
|
|
2995
|
+
export enum MemberStatus {
|
|
2996
|
+
Normal = "NORMAL",
|
|
2997
|
+
LeftGroupChat = "LEFT_GROUP_CHAT",
|
|
2998
|
+
LeftOneToOneChat = "LEFT_ONE_TO_ONE_CHAT"
|
|
2999
|
+
}
|
|
3000
|
+
export interface ChatMember {
|
|
3001
|
+
id?: string;
|
|
3002
|
+
status?: MemberStatus;
|
|
3003
|
+
joinDate?: string;
|
|
3004
|
+
leftDate?: string;
|
|
2938
3005
|
}
|
|
2939
3006
|
export interface ChatMessage {
|
|
2940
3007
|
itemId: string;
|
|
@@ -3148,6 +3215,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3148
3215
|
placeholderStringResourceKey?: string;
|
|
3149
3216
|
autoFocus?: boolean;
|
|
3150
3217
|
inputId?: string;
|
|
3218
|
+
required?: boolean;
|
|
3151
3219
|
className?: string;
|
|
3152
3220
|
}
|
|
3153
3221
|
export const PeoplePicker: FC<Props>;
|
|
@@ -3185,7 +3253,6 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3185
3253
|
}
|
|
3186
3254
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3187
3255
|
import { FC } from 'react';
|
|
3188
|
-
import 'react-toastify/dist/ReactToastify.min.css';
|
|
3189
3256
|
export const NotificationBar: FC;
|
|
3190
3257
|
}
|
|
3191
3258
|
declare module "libs/reach/ui/common/src/common/AttachedMediaDownloadLink" {
|
|
@@ -3230,7 +3297,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
|
3230
3297
|
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3231
3298
|
}
|
|
3232
3299
|
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3233
|
-
import { BaseSubscription, CurrentUser, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3300
|
+
import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3234
3301
|
import { IntlShape } from 'react-intl';
|
|
3235
3302
|
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3236
3303
|
export function isValidUrl(url: string): boolean;
|
|
@@ -3242,9 +3309,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
|
|
|
3242
3309
|
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3243
3310
|
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3244
3311
|
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}";
|
|
3245
|
-
export function
|
|
3246
|
-
|
|
3247
|
-
subscriptionName:
|
|
3312
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3313
|
+
logoInfo: LogoInfo;
|
|
3314
|
+
subscriptionName: string;
|
|
3248
3315
|
};
|
|
3249
3316
|
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3250
3317
|
export function delay(delayInMs: number): Promise<unknown>;
|
|
@@ -3264,8 +3331,8 @@ declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
|
3264
3331
|
}
|
|
3265
3332
|
declare module "libs/reach/ui/common/src/common/Callout" {
|
|
3266
3333
|
import { FC } from 'react';
|
|
3267
|
-
import {
|
|
3268
|
-
export const Callout: FC<
|
|
3334
|
+
import { IFocusTrapCalloutProps } from 'office-ui-fabric-react';
|
|
3335
|
+
export const Callout: FC<IFocusTrapCalloutProps>;
|
|
3269
3336
|
}
|
|
3270
3337
|
declare module "libs/reach/ui/common/src/common/CommentInputTheme" {
|
|
3271
3338
|
export type CommentInputTheme = 'light' | 'dark';
|
|
@@ -3342,12 +3409,13 @@ declare module "libs/reach/ui/common/src/common/Dropdown" {
|
|
|
3342
3409
|
export const Dropdown: FC<IDropdownProps>;
|
|
3343
3410
|
}
|
|
3344
3411
|
declare module "libs/reach/ui/common/src/common/EmptyList" {
|
|
3412
|
+
import { FC } from 'react';
|
|
3345
3413
|
interface EmptyListProps {
|
|
3346
3414
|
icon?: string;
|
|
3347
3415
|
emptyMessageResources?: string[];
|
|
3348
3416
|
className?: string;
|
|
3349
3417
|
}
|
|
3350
|
-
export const EmptyList:
|
|
3418
|
+
export const EmptyList: FC<EmptyListProps>;
|
|
3351
3419
|
}
|
|
3352
3420
|
declare module "libs/reach/ui/common/src/common/EnumHelpers" {
|
|
3353
3421
|
export const hasFlag: (baseValue: any, flag: any) => boolean;
|
|
@@ -3498,18 +3566,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
|
|
|
3498
3566
|
date: string;
|
|
3499
3567
|
}>;
|
|
3500
3568
|
}
|
|
3501
|
-
declare module "libs/reach/ui/common/src/common/IconHeaderButton" {
|
|
3502
|
-
import { FC } from 'react';
|
|
3503
|
-
export const IconHeaderButton: FC<{
|
|
3504
|
-
icon: string;
|
|
3505
|
-
isActive?: boolean;
|
|
3506
|
-
disabled?: boolean;
|
|
3507
|
-
tooltipResourceKey?: string;
|
|
3508
|
-
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3509
|
-
link?: string;
|
|
3510
|
-
className?: string;
|
|
3511
|
-
}>;
|
|
3512
|
-
}
|
|
3513
3569
|
declare module "libs/reach/ui/common/src/common/IconLabel" {
|
|
3514
3570
|
import { FC, ReactNode } from 'react';
|
|
3515
3571
|
export const IconLabel: FC<{
|
|
@@ -3564,7 +3620,7 @@ declare module "libs/reach/ui/common/src/common/Logos" {
|
|
|
3564
3620
|
export { ReactComponent as WhiteDefaultLogoWithText } from './logos/logo-white-with-name.svg';
|
|
3565
3621
|
export { ReactComponent as LogoPurpleXL } from './logos/logo-purple-xl.svg';
|
|
3566
3622
|
export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
|
|
3567
|
-
export { ReactComponent as
|
|
3623
|
+
export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
|
|
3568
3624
|
}
|
|
3569
3625
|
declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
|
|
3570
3626
|
import { FC } from 'react';
|
|
@@ -3624,11 +3680,24 @@ declare module "libs/reach/ui/common/src/common/Prompt" {
|
|
|
3624
3680
|
}
|
|
3625
3681
|
export const Prompt: FC<Props>;
|
|
3626
3682
|
}
|
|
3683
|
+
declare module "libs/reach/ui/common/src/common/buttons/IconHeaderButton" {
|
|
3684
|
+
import { FC } from 'react';
|
|
3685
|
+
export const IconHeaderButton: FC<{
|
|
3686
|
+
icon: string;
|
|
3687
|
+
isActive?: boolean;
|
|
3688
|
+
disabled?: boolean;
|
|
3689
|
+
tooltipResourceKey?: string;
|
|
3690
|
+
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3691
|
+
link?: string;
|
|
3692
|
+
className?: string;
|
|
3693
|
+
}>;
|
|
3694
|
+
}
|
|
3627
3695
|
declare module "libs/reach/ui/common/src/common/toolbar/ToolbarIconButtonWithToolTip" {
|
|
3628
3696
|
import { FC } from 'react';
|
|
3629
3697
|
export interface ToolbarIconButtonProps {
|
|
3630
3698
|
iconName: string;
|
|
3631
|
-
|
|
3699
|
+
ariaLabel?: string;
|
|
3700
|
+
ariaLabelResourceKey?: string;
|
|
3632
3701
|
onClick?: () => unknown;
|
|
3633
3702
|
to?: string;
|
|
3634
3703
|
target?: string;
|
|
@@ -3657,6 +3726,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
|
|
|
3657
3726
|
onSearchTextChange?: (text: string) => void;
|
|
3658
3727
|
onExecuteSearch?: (text: string) => void;
|
|
3659
3728
|
searchText?: string;
|
|
3729
|
+
showSearchBoxInput?: boolean;
|
|
3660
3730
|
}
|
|
3661
3731
|
export const SearchBox: FC<SearchBoxProps & {
|
|
3662
3732
|
onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
|
|
@@ -3735,8 +3805,7 @@ declare module "libs/reach/ui/common/src/common/buttons/ChoiceGroup" {
|
|
|
3735
3805
|
}
|
|
3736
3806
|
declare module "libs/reach/ui/common/src/common/buttons/CommentActionMenu" {
|
|
3737
3807
|
import { FC } from 'react';
|
|
3738
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
3739
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
3808
|
+
import { Account, Comment } from "libs/reach/util/common/src/index";
|
|
3740
3809
|
export const CommentActionMenu: FC<{
|
|
3741
3810
|
comment: Comment;
|
|
3742
3811
|
showEdit: boolean;
|
|
@@ -3782,6 +3851,21 @@ declare module "libs/reach/ui/common/src/common/buttons/TopActionButton" {
|
|
|
3782
3851
|
}
|
|
3783
3852
|
export const TopActionButton: import("styled-components").StyledComponent<import("react").FC<Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
3784
3853
|
}
|
|
3854
|
+
declare module "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler" {
|
|
3855
|
+
import { FC } from 'react';
|
|
3856
|
+
export const UnreadItemsToggler: FC<{
|
|
3857
|
+
disabled: boolean;
|
|
3858
|
+
className?: string;
|
|
3859
|
+
}>;
|
|
3860
|
+
}
|
|
3861
|
+
declare module "libs/reach/ui/common/src/common/buttons/HeaderMenuButton" {
|
|
3862
|
+
import { FC } from 'react';
|
|
3863
|
+
import { IContextualMenuItem } from 'office-ui-fabric-react';
|
|
3864
|
+
export const HeaderMenuButton: FC<{
|
|
3865
|
+
items: IContextualMenuItem[];
|
|
3866
|
+
className?: string;
|
|
3867
|
+
}>;
|
|
3868
|
+
}
|
|
3785
3869
|
declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
|
|
3786
3870
|
import { FC } from 'react';
|
|
3787
3871
|
import { Channel } from "libs/reach/util/common/src/index";
|
|
@@ -3850,6 +3934,8 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelSelector" {
|
|
|
3850
3934
|
showSelectionToggle?: boolean;
|
|
3851
3935
|
placeholder?: string;
|
|
3852
3936
|
inlineControls?: boolean;
|
|
3937
|
+
required?: boolean;
|
|
3938
|
+
id?: string;
|
|
3853
3939
|
}
|
|
3854
3940
|
export const ChannelSelector: FC<Props>;
|
|
3855
3941
|
}
|
|
@@ -4106,7 +4192,7 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
|
|
|
4106
4192
|
declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
|
|
4107
4193
|
import { DependencyList } from 'react';
|
|
4108
4194
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4109
|
-
export function useItemLoaderWithPreFetch(pageSize: number, handler: (pageSize: number,
|
|
4195
|
+
export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: (pageSize: number, token?: TTokenType) => Promise<PaginatedList<TItem>>, deps?: DependencyList): {
|
|
4110
4196
|
items: any[];
|
|
4111
4197
|
isInitialLoading: boolean;
|
|
4112
4198
|
isLoadingNextPage: boolean;
|
|
@@ -4119,6 +4205,21 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
|
|
|
4119
4205
|
isEmpty: boolean;
|
|
4120
4206
|
};
|
|
4121
4207
|
}
|
|
4208
|
+
declare module "libs/reach/ui/common/src/common/paging/PaginationStatus" {
|
|
4209
|
+
import { FC } from 'react';
|
|
4210
|
+
export const PaginationStatus: FC<{
|
|
4211
|
+
allLoadedResourceId: string;
|
|
4212
|
+
showAllLoaded: boolean;
|
|
4213
|
+
showSpinner?: boolean;
|
|
4214
|
+
showPlaceholder?: boolean;
|
|
4215
|
+
}>;
|
|
4216
|
+
}
|
|
4217
|
+
declare module "libs/reach/ui/common/src/common/paging/usePageScrollPagination" {
|
|
4218
|
+
import { DependencyList } from 'react';
|
|
4219
|
+
export function usePageScrollPagination(loadMoreItems: () => Promise<void>, allItemsLoaded?: boolean, additionalDeps?: DependencyList): {
|
|
4220
|
+
isLoadingMore: boolean;
|
|
4221
|
+
};
|
|
4222
|
+
}
|
|
4122
4223
|
declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
|
|
4123
4224
|
import { FC, ReactNode } from 'react';
|
|
4124
4225
|
export const PullToRefreshContext: import("react").Context<{
|
|
@@ -4170,6 +4271,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarMarkAllAsReadButt
|
|
|
4170
4271
|
onMarkAsReadStarted?: () => unknown;
|
|
4171
4272
|
onMarkAsReadFinished?: () => unknown;
|
|
4172
4273
|
disabled?: boolean;
|
|
4274
|
+
unreadCount?: number;
|
|
4173
4275
|
}
|
|
4174
4276
|
export const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
4175
4277
|
export const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
@@ -4353,7 +4455,6 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4353
4455
|
export * from "libs/reach/ui/common/src/common/FloatingActionButton";
|
|
4354
4456
|
export * from "libs/reach/ui/common/src/common/FormattedMessageWithStyle";
|
|
4355
4457
|
export * from "libs/reach/ui/common/src/common/GroupedByDateTitles";
|
|
4356
|
-
export * from "libs/reach/ui/common/src/common/IconHeaderButton";
|
|
4357
4458
|
export * from "libs/reach/ui/common/src/common/IconLabel";
|
|
4358
4459
|
export * from "libs/reach/ui/common/src/common/ItemStatisticsCache";
|
|
4359
4460
|
export * from "libs/reach/ui/common/src/common/KeywordTitle";
|
|
@@ -4384,6 +4485,9 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4384
4485
|
export * from "libs/reach/ui/common/src/common/buttons/DeleteAttachmentButton";
|
|
4385
4486
|
export * from "libs/reach/ui/common/src/common/buttons/ToggleAllButtons";
|
|
4386
4487
|
export * from "libs/reach/ui/common/src/common/buttons/TopActionButton";
|
|
4488
|
+
export * from "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler";
|
|
4489
|
+
export * from "libs/reach/ui/common/src/common/buttons/IconHeaderButton";
|
|
4490
|
+
export * from "libs/reach/ui/common/src/common/buttons/HeaderMenuButton";
|
|
4387
4491
|
export * from "libs/reach/ui/common/src/common/channels/ChannelItem";
|
|
4388
4492
|
export * from "libs/reach/ui/common/src/common/channels/ChannelList";
|
|
4389
4493
|
export * from "libs/reach/ui/common/src/common/channels/ChannelSelector";
|
|
@@ -4412,6 +4516,8 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4412
4516
|
export * from "libs/reach/ui/common/src/common/paging/HorizontalPager";
|
|
4413
4517
|
export * from "libs/reach/ui/common/src/common/paging/VerticalPager";
|
|
4414
4518
|
export * from "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch";
|
|
4519
|
+
export * from "libs/reach/ui/common/src/common/paging/PaginationStatus";
|
|
4520
|
+
export * from "libs/reach/ui/common/src/common/paging/usePageScrollPagination";
|
|
4415
4521
|
export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
|
|
4416
4522
|
export * from "libs/reach/ui/common/src/common/refreshScripts";
|
|
4417
4523
|
export * from "libs/reach/ui/common/src/common/toolbar/Toolbar";
|
|
@@ -4492,10 +4598,10 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4492
4598
|
export function useEscapeOnClose(onClose: Function): void;
|
|
4493
4599
|
}
|
|
4494
4600
|
declare module "apps/reach-app/src/app/chrome/Header" {
|
|
4495
|
-
import { FC, ReactNode } from 'react';
|
|
4601
|
+
import { FC, Dispatch, SetStateAction, ReactNode, HTMLProps } from 'react';
|
|
4496
4602
|
import './Header.scss';
|
|
4497
4603
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
4498
|
-
interface Props extends
|
|
4604
|
+
interface Props extends HTMLProps<HTMLElement>, SearchBoxProps {
|
|
4499
4605
|
iconLeft?: string;
|
|
4500
4606
|
onToggleLeft?: () => void;
|
|
4501
4607
|
onToggleRight?: () => void;
|
|
@@ -4511,6 +4617,14 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
4511
4617
|
disableGoBack?: boolean;
|
|
4512
4618
|
route?: string;
|
|
4513
4619
|
}
|
|
4620
|
+
export interface HeaderContextType {
|
|
4621
|
+
setIsSearchInputFieldVisible: Dispatch<SetStateAction<boolean>>;
|
|
4622
|
+
isSearchInputFieldVisible: boolean;
|
|
4623
|
+
}
|
|
4624
|
+
export const HeaderContext: import("react").Context<HeaderContextType>;
|
|
4625
|
+
export const HeaderContextProvider: FC<{
|
|
4626
|
+
children: ReactNode;
|
|
4627
|
+
}>;
|
|
4514
4628
|
export const Header: FC<Props>;
|
|
4515
4629
|
}
|
|
4516
4630
|
declare module "apps/reach-app/src/app/chrome/FloatingPageActions" {
|
|
@@ -4625,17 +4739,19 @@ declare module "apps/reach-app/src/app/admin/AddButton" {
|
|
|
4625
4739
|
icon?: string;
|
|
4626
4740
|
tooltipResourceKey?: string;
|
|
4627
4741
|
labelResourceKey?: string;
|
|
4742
|
+
domIdentifier?: string;
|
|
4628
4743
|
className?: string;
|
|
4629
4744
|
}
|
|
4630
4745
|
export const AddButton: FC<AddButtonProps>;
|
|
4631
4746
|
}
|
|
4632
4747
|
declare module "apps/reach-app/src/app/admin/common" {
|
|
4633
|
-
|
|
4634
|
-
|
|
4748
|
+
import { FC, ReactNode } from 'react';
|
|
4749
|
+
export const AdminPage: FC<{
|
|
4750
|
+
children: ReactNode;
|
|
4635
4751
|
className?: string;
|
|
4636
4752
|
domIdentifier?: string;
|
|
4637
4753
|
}>;
|
|
4638
|
-
export const
|
|
4754
|
+
export const AdminPageTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
|
|
4639
4755
|
}
|
|
4640
4756
|
declare module "apps/reach-app/src/app/admin/keywords/useKeywordsApi" {
|
|
4641
4757
|
import { KeywordGroup } from "libs/reach/util/common/src/index";
|
|
@@ -4667,7 +4783,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
|
|
|
4667
4783
|
}
|
|
4668
4784
|
declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
4669
4785
|
import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
|
|
4670
|
-
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions } from "libs/reach/util/common/src/index";
|
|
4786
|
+
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
|
|
4671
4787
|
import { Account } from "libs/reach/util/common/src/index";
|
|
4672
4788
|
import { Language } from "libs/reach/util/common/src/index";
|
|
4673
4789
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -4682,7 +4798,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
4682
4798
|
setSubscriptionName: (name: string) => Promise<string>;
|
|
4683
4799
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
4684
4800
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
4685
|
-
updateLogo: (file?: File) => Promise<void>;
|
|
4801
|
+
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
4686
4802
|
updateFavicon: (file?: File) => Promise<void>;
|
|
4687
4803
|
updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
|
|
4688
4804
|
linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
|
|
@@ -4731,6 +4847,42 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
|
|
|
4731
4847
|
import './ApplicationName.scss';
|
|
4732
4848
|
export const ApplicationName: FC;
|
|
4733
4849
|
}
|
|
4850
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
|
|
4851
|
+
import { FC } from 'react';
|
|
4852
|
+
export const AppBarLogoPreview: FC<{
|
|
4853
|
+
src: string;
|
|
4854
|
+
subscriptionName: string;
|
|
4855
|
+
}>;
|
|
4856
|
+
export const SidePanelLogoPreview: FC<{
|
|
4857
|
+
src: string;
|
|
4858
|
+
subscriptionName: string;
|
|
4859
|
+
}>;
|
|
4860
|
+
export const EmailLogoPreview: FC<{
|
|
4861
|
+
src: string;
|
|
4862
|
+
subscriptionName: string;
|
|
4863
|
+
}>;
|
|
4864
|
+
export const SignInLogoPreview: FC<{
|
|
4865
|
+
src: string;
|
|
4866
|
+
}>;
|
|
4867
|
+
}
|
|
4868
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
|
|
4869
|
+
import { FC } from 'react';
|
|
4870
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
4871
|
+
export const LogoPreviewDialog: FC<{
|
|
4872
|
+
canSave: boolean;
|
|
4873
|
+
onDismiss: () => unknown;
|
|
4874
|
+
onSave: (logoSize: LogoSize) => unknown;
|
|
4875
|
+
source: string;
|
|
4876
|
+
logoType: LogoSize;
|
|
4877
|
+
}>;
|
|
4878
|
+
}
|
|
4879
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
|
|
4880
|
+
import { FC } from 'react';
|
|
4881
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
4882
|
+
export const LogoEditor: FC<{
|
|
4883
|
+
logoType: LogoSize;
|
|
4884
|
+
}>;
|
|
4885
|
+
}
|
|
4734
4886
|
declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
|
|
4735
4887
|
import { FC } from 'react';
|
|
4736
4888
|
export const ApplicationLogo: FC;
|
|
@@ -5492,6 +5644,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
|
|
|
5492
5644
|
}
|
|
5493
5645
|
export const GoToAdminConsentButton: React.FC<Props>;
|
|
5494
5646
|
}
|
|
5647
|
+
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
5648
|
+
import { IntlShape } from 'react-intl';
|
|
5649
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
5650
|
+
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
5651
|
+
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
5652
|
+
export const systemAccountGroupIds: {
|
|
5653
|
+
everyone: string;
|
|
5654
|
+
directoryUsers: string;
|
|
5655
|
+
nonDirectoryUsers: string;
|
|
5656
|
+
allGroups: string[];
|
|
5657
|
+
};
|
|
5658
|
+
export function getDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5659
|
+
export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5660
|
+
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
5661
|
+
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
5662
|
+
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
5663
|
+
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
5664
|
+
export const isAdGroup: (account: Account) => boolean;
|
|
5665
|
+
export const isUser: (account: Account) => boolean;
|
|
5666
|
+
}
|
|
5495
5667
|
declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
|
|
5496
5668
|
import { FC } from 'react';
|
|
5497
5669
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -5866,12 +6038,11 @@ declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
|
5866
6038
|
}>;
|
|
5867
6039
|
}
|
|
5868
6040
|
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
5869
|
-
import
|
|
6041
|
+
import { FC, ReactNode } from 'react';
|
|
6042
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
5870
6043
|
import './SidebarItem.scss';
|
|
5871
6044
|
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
5872
6045
|
import { LocationDescriptor } from 'history';
|
|
5873
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
5874
|
-
import { ReactNode } from 'react';
|
|
5875
6046
|
interface CommonSidebarItemProps {
|
|
5876
6047
|
title?: any;
|
|
5877
6048
|
titleResource?: string;
|
|
@@ -5904,13 +6075,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5904
6075
|
secondaryIconRoute?: LocationDescriptor;
|
|
5905
6076
|
isHoverable?: boolean;
|
|
5906
6077
|
}
|
|
5907
|
-
export const SidebarItem:
|
|
6078
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
5908
6079
|
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
5909
|
-
route:
|
|
6080
|
+
route: LocationDescriptor;
|
|
5910
6081
|
exact?: boolean;
|
|
5911
6082
|
linkClassName?: string;
|
|
5912
6083
|
}
|
|
5913
|
-
export const NavLinkSidebarItem:
|
|
6084
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
5914
6085
|
}
|
|
5915
6086
|
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
5916
6087
|
import { WrappedComponentProps } from 'react-intl';
|
|
@@ -6003,24 +6174,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
|
6003
6174
|
import { FC } from 'react';
|
|
6004
6175
|
export const GroupListPage: FC;
|
|
6005
6176
|
}
|
|
6006
|
-
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
6007
|
-
import { IntlShape } from 'react-intl';
|
|
6008
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
6009
|
-
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
6010
|
-
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
6011
|
-
export const systemAccountGroupIds: {
|
|
6012
|
-
everyone: string;
|
|
6013
|
-
directoryUsers: string;
|
|
6014
|
-
nonDirectoryUsers: string;
|
|
6015
|
-
allGroups: string[];
|
|
6016
|
-
};
|
|
6017
|
-
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
6018
|
-
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
6019
|
-
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
6020
|
-
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
6021
|
-
export const isAdGroup: (account: Account) => boolean;
|
|
6022
|
-
export const isUser: (account: Account) => boolean;
|
|
6023
|
-
}
|
|
6024
6177
|
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
6025
6178
|
import { FC } from 'react';
|
|
6026
6179
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -6199,7 +6352,6 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
|
6199
6352
|
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
6200
6353
|
import { ReactNode } from 'react';
|
|
6201
6354
|
import { Account } from "libs/reach/util/common/src/index";
|
|
6202
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
6203
6355
|
export interface UserSuggestion {
|
|
6204
6356
|
id: string;
|
|
6205
6357
|
upn: string;
|
|
@@ -6219,13 +6371,16 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
|
6219
6371
|
onCtrlEnter?: () => unknown;
|
|
6220
6372
|
onChange?: (value: string) => void;
|
|
6221
6373
|
onFocus?: () => void;
|
|
6222
|
-
buttons?:
|
|
6374
|
+
buttons?: {
|
|
6375
|
+
leftSide?: ReactNode;
|
|
6376
|
+
rightSide?: ReactNode;
|
|
6377
|
+
};
|
|
6223
6378
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6224
|
-
inputTheme?: CommentInputTheme;
|
|
6225
6379
|
placeHolderStringResourceKey?: string;
|
|
6226
6380
|
placeHolderStringResourceValues?: {
|
|
6227
6381
|
[key: string]: string | number | boolean | Date;
|
|
6228
6382
|
};
|
|
6383
|
+
disableBoxShadow?: boolean;
|
|
6229
6384
|
}
|
|
6230
6385
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6231
6386
|
}
|
|
@@ -6265,6 +6420,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6265
6420
|
private static vimeoRegex;
|
|
6266
6421
|
private static microsoftStreamRegex;
|
|
6267
6422
|
private static vimeoDirectLinkRegex;
|
|
6423
|
+
private static vimeoRedirectLinkRegex;
|
|
6268
6424
|
private static kalturaRegex;
|
|
6269
6425
|
readonly source: VideoSource | null;
|
|
6270
6426
|
readonly id: string | null;
|
|
@@ -6272,9 +6428,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6272
6428
|
readonly videoProperties: any;
|
|
6273
6429
|
readonly thumbnailUrl: string;
|
|
6274
6430
|
constructor(url: string);
|
|
6275
|
-
isValid(): boolean;
|
|
6431
|
+
isValid(features?: any): boolean;
|
|
6276
6432
|
}
|
|
6433
|
+
export function getVideoSources(features: any): any[];
|
|
6277
6434
|
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6435
|
+
export function getAllVideoSources(features: any): any[];
|
|
6278
6436
|
}
|
|
6279
6437
|
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6280
6438
|
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
@@ -6302,9 +6460,9 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
|
6302
6460
|
}
|
|
6303
6461
|
}
|
|
6304
6462
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
6305
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6463
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6306
6464
|
export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
|
|
6307
|
-
keywords?:
|
|
6465
|
+
keywords?: FilterWithLogicalOperator;
|
|
6308
6466
|
}
|
|
6309
6467
|
}
|
|
6310
6468
|
declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
|
|
@@ -6329,6 +6487,14 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6329
6487
|
export interface IndexableFilterDefinition {
|
|
6330
6488
|
[key: string]: any;
|
|
6331
6489
|
}
|
|
6490
|
+
export interface FilterWithLogicalOperator {
|
|
6491
|
+
items?: string[];
|
|
6492
|
+
operator?: LogicalOperator;
|
|
6493
|
+
}
|
|
6494
|
+
export enum LogicalOperator {
|
|
6495
|
+
Or = "or",
|
|
6496
|
+
And = "and"
|
|
6497
|
+
}
|
|
6332
6498
|
}
|
|
6333
6499
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6334
6500
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
@@ -6351,12 +6517,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
|
|
|
6351
6517
|
contacts?: string[];
|
|
6352
6518
|
}
|
|
6353
6519
|
}
|
|
6520
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6521
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6522
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6523
|
+
channels?: FilterWithLogicalOperator;
|
|
6524
|
+
}
|
|
6525
|
+
}
|
|
6354
6526
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6355
6527
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6356
6528
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6357
6529
|
import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6358
6530
|
import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6359
|
-
|
|
6531
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6532
|
+
export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
|
|
6360
6533
|
excludePastEvents?: boolean;
|
|
6361
6534
|
pastEventsOnly?: boolean;
|
|
6362
6535
|
}
|
|
@@ -6367,26 +6540,19 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6367
6540
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6368
6541
|
export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6369
6542
|
}
|
|
6370
|
-
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6371
|
-
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6372
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6373
|
-
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6374
|
-
export function useEventsApi(): {
|
|
6375
|
-
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6376
|
-
getEvent: (id: string) => Promise<EventItem>;
|
|
6377
|
-
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6378
|
-
};
|
|
6379
|
-
}
|
|
6380
6543
|
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6381
6544
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6382
6545
|
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6383
6546
|
author?: string;
|
|
6384
6547
|
}
|
|
6385
6548
|
}
|
|
6386
|
-
declare module "libs/reach/feature/content/src/filter/
|
|
6549
|
+
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6387
6550
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6388
|
-
export interface
|
|
6389
|
-
|
|
6551
|
+
export interface FilteringProps {
|
|
6552
|
+
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6553
|
+
onShowFilterPanel?: () => unknown;
|
|
6554
|
+
onToggleFilterSidebar?: () => unknown;
|
|
6555
|
+
isFilterActive?: boolean;
|
|
6390
6556
|
}
|
|
6391
6557
|
}
|
|
6392
6558
|
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
@@ -6404,8 +6570,98 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6404
6570
|
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
6405
6571
|
groupId?: string;
|
|
6406
6572
|
bookmarksOnly?: boolean;
|
|
6573
|
+
unreadOnly?: boolean;
|
|
6574
|
+
}
|
|
6575
|
+
}
|
|
6576
|
+
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6577
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6578
|
+
export enum ItemType {
|
|
6579
|
+
None = 0,
|
|
6580
|
+
News = 1,
|
|
6581
|
+
Post = 2,
|
|
6582
|
+
Page = 4,
|
|
6583
|
+
Event = 8
|
|
6584
|
+
}
|
|
6585
|
+
export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
|
|
6586
|
+
itemType?: ItemType;
|
|
6587
|
+
}
|
|
6588
|
+
}
|
|
6589
|
+
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
6590
|
+
import { FC } from 'react';
|
|
6591
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6592
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6593
|
+
export interface InjectedFilterProps {
|
|
6594
|
+
filter: IndexableFilterDefinition;
|
|
6595
|
+
hasFilter: boolean;
|
|
6596
|
+
isSearchActive: boolean;
|
|
6597
|
+
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6598
|
+
onSearchChange: (text: string) => void;
|
|
6599
|
+
onClearFilter: () => void;
|
|
6600
|
+
}
|
|
6601
|
+
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
6602
|
+
filter: Partial<IndexableFilterDefinition>;
|
|
6603
|
+
hasFilter: boolean;
|
|
6604
|
+
isSearchActive: boolean;
|
|
6605
|
+
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
6606
|
+
onSearchChange: (search: string) => void;
|
|
6607
|
+
onClearFilter: () => void;
|
|
6608
|
+
};
|
|
6609
|
+
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
6610
|
+
export const FilterContextProvider: FC<{
|
|
6611
|
+
addFilters?: (locationParams: {
|
|
6612
|
+
[paramName: string]: any;
|
|
6613
|
+
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
6614
|
+
additionalExcludedFilterProperties?: string[];
|
|
6615
|
+
onClearQueryString?: (prev: any, next: any) => any;
|
|
6616
|
+
}>;
|
|
6617
|
+
export interface FilterVisibilityState {
|
|
6618
|
+
showFilterAsPanel?: boolean;
|
|
6619
|
+
showFilterSidebar?: boolean;
|
|
6407
6620
|
}
|
|
6408
6621
|
}
|
|
6622
|
+
declare module "libs/reach/feature/content/src/filter/index" {
|
|
6623
|
+
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6624
|
+
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6625
|
+
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6626
|
+
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6627
|
+
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6628
|
+
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6629
|
+
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6630
|
+
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
6631
|
+
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6632
|
+
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6633
|
+
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
6634
|
+
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6635
|
+
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6636
|
+
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6637
|
+
export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
|
|
6638
|
+
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
6639
|
+
export * from "libs/reach/feature/content/src/filter/utils";
|
|
6640
|
+
}
|
|
6641
|
+
declare module "libs/reach/feature/content/src/filter/utils" {
|
|
6642
|
+
import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
6643
|
+
export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
|
|
6644
|
+
channels?: undefined;
|
|
6645
|
+
} | {
|
|
6646
|
+
channels: string;
|
|
6647
|
+
};
|
|
6648
|
+
export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
|
|
6649
|
+
keywords?: undefined;
|
|
6650
|
+
} | {
|
|
6651
|
+
keywords: string;
|
|
6652
|
+
};
|
|
6653
|
+
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6654
|
+
}
|
|
6655
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6656
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6657
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6658
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6659
|
+
export function useEventsApi(): {
|
|
6660
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6661
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
6662
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6663
|
+
};
|
|
6664
|
+
}
|
|
6409
6665
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6410
6666
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6411
6667
|
import { Observable } from 'rxjs';
|
|
@@ -6495,6 +6751,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6495
6751
|
import { Account, BaseItem, CurrentUser, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
6496
6752
|
import { Comment, ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
6497
6753
|
import { ItemStatistics } from "libs/reach/util/common/src/index";
|
|
6754
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6498
6755
|
export interface Post extends BaseItem, ItemWithAttachments {
|
|
6499
6756
|
id: string;
|
|
6500
6757
|
comments?: PaginatedList<Comment>;
|
|
@@ -6517,6 +6774,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6517
6774
|
token?: string;
|
|
6518
6775
|
pageSize?: string;
|
|
6519
6776
|
search?: string;
|
|
6777
|
+
keywords?: FilterWithLogicalOperator;
|
|
6520
6778
|
}
|
|
6521
6779
|
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
6522
6780
|
export function getPostsBaseRoute(post: Post, user: CurrentUser): string;
|
|
@@ -6619,7 +6877,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
6619
6877
|
private getVideoElement;
|
|
6620
6878
|
private getNotSupportedElement;
|
|
6621
6879
|
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
6622
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "
|
|
6880
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
6623
6881
|
}
|
|
6624
6882
|
}
|
|
6625
6883
|
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
@@ -6701,6 +6959,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
6701
6959
|
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
6702
6960
|
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
6703
6961
|
export class NewsService {
|
|
6962
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6704
6963
|
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6705
6964
|
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
6706
6965
|
static getContentLanguages(contents: {
|
|
@@ -6808,12 +7067,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
6808
7067
|
}
|
|
6809
7068
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
6810
7069
|
import { FC } from 'react';
|
|
6811
|
-
import { BannerInfo } from "libs/reach/util/common/src/index";
|
|
6812
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7070
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6813
7071
|
interface Props {
|
|
6814
7072
|
itemId: string;
|
|
6815
7073
|
bannerInfo: BannerInfo;
|
|
6816
|
-
|
|
7074
|
+
useEditorRoutes?: boolean;
|
|
6817
7075
|
width: number;
|
|
6818
7076
|
resourceType: ItemResourceTypes;
|
|
6819
7077
|
token?: string;
|
|
@@ -7244,7 +7502,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7244
7502
|
updateSelectedLanguage: (lang: string) => unknown;
|
|
7245
7503
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7246
7504
|
handleLanguageChange: (language: string) => unknown;
|
|
7247
|
-
|
|
7505
|
+
isEditorPreview?: boolean;
|
|
7248
7506
|
}
|
|
7249
7507
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7250
7508
|
}
|
|
@@ -7573,6 +7831,7 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7573
7831
|
defaultKeywords?: Keyword[];
|
|
7574
7832
|
mandatoryKeywords?: Keyword[];
|
|
7575
7833
|
};
|
|
7834
|
+
disableBoxShadow?: boolean;
|
|
7576
7835
|
}
|
|
7577
7836
|
interface Props extends BaseProps {
|
|
7578
7837
|
allowAttachments?: boolean;
|
|
@@ -7663,7 +7922,6 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7663
7922
|
deletedFileUrls?: string[];
|
|
7664
7923
|
onCancel?: () => void;
|
|
7665
7924
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7666
|
-
inputTheme?: CommentInputTheme;
|
|
7667
7925
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
7668
7926
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
7669
7927
|
}
|
|
@@ -7681,6 +7939,7 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7681
7939
|
allowSaveWithoutContent?: boolean;
|
|
7682
7940
|
saveOnEnter?: boolean;
|
|
7683
7941
|
saveOnCtrlEnter?: boolean;
|
|
7942
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7684
7943
|
}
|
|
7685
7944
|
export const EditComment: FC<Props>;
|
|
7686
7945
|
}
|
|
@@ -7702,6 +7961,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7702
7961
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7703
7962
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
7704
7963
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7964
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7705
7965
|
interface Props extends CreateCommentProps {
|
|
7706
7966
|
onSave: (newContent: string, attachments?: Attachment[], keywords?: {
|
|
7707
7967
|
[key: string]: Keyword[];
|
|
@@ -7717,6 +7977,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7717
7977
|
allowSaveWithoutContent?: boolean;
|
|
7718
7978
|
saveOnEnter?: boolean;
|
|
7719
7979
|
saveOnCtrlEnter?: boolean;
|
|
7980
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7720
7981
|
}
|
|
7721
7982
|
export const EditCommentWithAttachments: FC<Props>;
|
|
7722
7983
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
@@ -7796,34 +8057,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
7796
8057
|
}>;
|
|
7797
8058
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
7798
8059
|
}
|
|
7799
|
-
declare module "libs/reach/feature/content/src/
|
|
7800
|
-
import { FC
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
className?: string;
|
|
8060
|
+
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8061
|
+
import { FC } from 'react';
|
|
8062
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8063
|
+
export const DetailViewContextProvider: FC<{
|
|
8064
|
+
itemId: string;
|
|
8065
|
+
type?: ItemResourceTypes;
|
|
8066
|
+
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8067
|
+
isEditorPreview?: boolean;
|
|
7808
8068
|
}>;
|
|
7809
8069
|
}
|
|
7810
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7811
|
-
import {
|
|
7812
|
-
export
|
|
8070
|
+
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8071
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8072
|
+
export interface EmbeddedObjectPreviewData {
|
|
8073
|
+
itemId: string;
|
|
8074
|
+
type: string;
|
|
8075
|
+
subscriptionIdentifier: string;
|
|
8076
|
+
}
|
|
8077
|
+
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
7813
8078
|
}
|
|
7814
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7815
|
-
import {
|
|
7816
|
-
export const
|
|
8079
|
+
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8080
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8081
|
+
export const InlineImageMapper: HtmlComponentMapper;
|
|
7817
8082
|
}
|
|
7818
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7819
|
-
import {
|
|
7820
|
-
export
|
|
8083
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
8084
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8085
|
+
export interface ContactDetails {
|
|
8086
|
+
id: string;
|
|
8087
|
+
upn?: string;
|
|
8088
|
+
tenantId?: string;
|
|
8089
|
+
properties?: {
|
|
8090
|
+
[key: string]: {
|
|
8091
|
+
value: string;
|
|
8092
|
+
shouldAutoLoad?: boolean;
|
|
8093
|
+
};
|
|
8094
|
+
};
|
|
8095
|
+
}
|
|
8096
|
+
export const InlineContactMapper: HtmlComponentMapper;
|
|
7821
8097
|
}
|
|
7822
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7823
|
-
import { FC
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
8098
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
|
|
8099
|
+
import { FC } from 'react';
|
|
8100
|
+
import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8101
|
+
export const InlineContactViewer: FC<{
|
|
8102
|
+
contact: ContactDetails;
|
|
7827
8103
|
}>;
|
|
7828
8104
|
}
|
|
7829
8105
|
declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
|
|
@@ -7849,6 +8125,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
|
|
|
7849
8125
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7850
8126
|
export const InlineQuoteMapper: HtmlComponentMapper;
|
|
7851
8127
|
}
|
|
8128
|
+
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
8129
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8130
|
+
export const InlineVideoMapper: HtmlComponentMapper;
|
|
8131
|
+
}
|
|
8132
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
8133
|
+
import { FC } from 'react';
|
|
8134
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8135
|
+
export const InlinePageListViewer: FC<{
|
|
8136
|
+
items: PageItem[];
|
|
8137
|
+
baseRoute: string;
|
|
8138
|
+
filterBaseUrl?: string;
|
|
8139
|
+
isInitialLoading?: boolean;
|
|
8140
|
+
}>;
|
|
8141
|
+
}
|
|
8142
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
8143
|
+
import { FC } from 'react';
|
|
8144
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8145
|
+
export interface ListPagingProps {
|
|
8146
|
+
getNextPage: () => unknown;
|
|
8147
|
+
getPrevPage: () => unknown;
|
|
8148
|
+
getFirstPage: () => unknown;
|
|
8149
|
+
isLoadingNextPage: boolean;
|
|
8150
|
+
isInitialLoading: boolean;
|
|
8151
|
+
isFirstPage: boolean;
|
|
8152
|
+
hideNextButton: boolean;
|
|
8153
|
+
}
|
|
8154
|
+
export const InlinePageListWithPaging: FC<{
|
|
8155
|
+
pages: PageItem[];
|
|
8156
|
+
baseRoute: string;
|
|
8157
|
+
pagingProps?: ListPagingProps;
|
|
8158
|
+
filterBaseUrl?: string;
|
|
8159
|
+
}>;
|
|
8160
|
+
}
|
|
8161
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8162
|
+
import { DependencyList } from 'react';
|
|
8163
|
+
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8164
|
+
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8165
|
+
showPages: boolean;
|
|
8166
|
+
showDocuments: boolean;
|
|
8167
|
+
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8168
|
+
pageItems: any[];
|
|
8169
|
+
pagingProps: {
|
|
8170
|
+
hideNextButton: boolean;
|
|
8171
|
+
isInitialLoading: boolean;
|
|
8172
|
+
isLoadingNextPage: boolean;
|
|
8173
|
+
error: any;
|
|
8174
|
+
getFirstPage: () => void;
|
|
8175
|
+
getPrevPage: () => void;
|
|
8176
|
+
getNextPage: () => Promise<void>;
|
|
8177
|
+
isFirstPage: boolean;
|
|
8178
|
+
isLastPage: boolean;
|
|
8179
|
+
isEmpty: boolean;
|
|
8180
|
+
};
|
|
8181
|
+
};
|
|
8182
|
+
}
|
|
8183
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8184
|
+
import { FC } from 'react';
|
|
8185
|
+
export const InlinePageListSkeleton: FC<{
|
|
8186
|
+
isDataLoaded: boolean;
|
|
8187
|
+
pageSize?: number;
|
|
8188
|
+
}>;
|
|
8189
|
+
}
|
|
7852
8190
|
declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
|
|
7853
8191
|
export interface CodeDetails {
|
|
7854
8192
|
id: string;
|
|
@@ -7870,20 +8208,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
|
|
|
7870
8208
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7871
8209
|
export const InlineCodeMapper: HtmlComponentMapper;
|
|
7872
8210
|
}
|
|
7873
|
-
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
7874
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7875
|
-
export const InlineVideoMapper: HtmlComponentMapper;
|
|
7876
|
-
}
|
|
7877
|
-
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
7878
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7879
|
-
export const InlineImageMapper: HtmlComponentMapper;
|
|
7880
|
-
}
|
|
7881
|
-
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
7882
|
-
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
7883
|
-
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
7884
|
-
format: TableFormat;
|
|
7885
|
-
}, never>;
|
|
7886
|
-
}
|
|
7887
8211
|
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
7888
8212
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7889
8213
|
import { CSSProperties } from 'react';
|
|
@@ -7924,234 +8248,91 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
|
7924
8248
|
export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
|
|
7925
8249
|
export const InlineTable: HtmlComponentMapper;
|
|
7926
8250
|
}
|
|
7927
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7928
|
-
import {
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
8251
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
8252
|
+
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8253
|
+
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
8254
|
+
format: TableFormat;
|
|
8255
|
+
}, never>;
|
|
8256
|
+
}
|
|
8257
|
+
declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
8258
|
+
import { FC, ReactNode } from 'react';
|
|
8259
|
+
export const ItemBodyWrapper: FC<{
|
|
8260
|
+
className?: string;
|
|
8261
|
+
children?: ReactNode;
|
|
7932
8262
|
}>;
|
|
7933
8263
|
}
|
|
7934
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7935
|
-
import {
|
|
7936
|
-
export
|
|
7937
|
-
id: string;
|
|
7938
|
-
upn?: string;
|
|
7939
|
-
tenantId?: string;
|
|
7940
|
-
properties?: {
|
|
7941
|
-
[key: string]: {
|
|
7942
|
-
value: string;
|
|
7943
|
-
shouldAutoLoad?: boolean;
|
|
7944
|
-
};
|
|
7945
|
-
};
|
|
7946
|
-
}
|
|
7947
|
-
export const InlineContactMapper: HtmlComponentMapper;
|
|
8264
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8265
|
+
import { FC } from 'react';
|
|
8266
|
+
export const EventDetailViewPeopleInfo: FC;
|
|
7948
8267
|
}
|
|
7949
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8268
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
7950
8269
|
import { FC } from 'react';
|
|
7951
|
-
|
|
7952
|
-
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
8270
|
+
export const EventDetailViewLocationInfo: FC;
|
|
8271
|
+
}
|
|
8272
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
8273
|
+
import { FC } from 'react';
|
|
8274
|
+
export const EventDetailViewMetaInfo: FC<{
|
|
8275
|
+
allowFilterByChannels?: boolean;
|
|
7957
8276
|
}>;
|
|
7958
8277
|
}
|
|
7959
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8278
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
7960
8279
|
import { FC } from 'react';
|
|
7961
|
-
|
|
7962
|
-
|
|
7963
|
-
getNextPage: () => unknown;
|
|
7964
|
-
getPrevPage: () => unknown;
|
|
7965
|
-
getFirstPage: () => unknown;
|
|
7966
|
-
isLoadingNextPage: boolean;
|
|
7967
|
-
isInitialLoading: boolean;
|
|
7968
|
-
isFirstPage: boolean;
|
|
7969
|
-
hideNextButton: boolean;
|
|
7970
|
-
}
|
|
7971
|
-
export const InlinePageListWithPaging: FC<{
|
|
7972
|
-
pages: PageItem[];
|
|
7973
|
-
baseRoute: string;
|
|
7974
|
-
pagingProps?: ListPagingProps;
|
|
7975
|
-
filterBaseUrl?: string;
|
|
8280
|
+
export const EventDetailViewDatesInfo: FC<{
|
|
8281
|
+
className?: string;
|
|
7976
8282
|
}>;
|
|
7977
8283
|
}
|
|
7978
|
-
declare module "libs/reach/feature/content/src/
|
|
7979
|
-
import {
|
|
7980
|
-
|
|
8284
|
+
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8285
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8286
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8287
|
+
import { PollQuestion, PollQuestionAnswer, PollResult, QuestionResult } from "libs/reach/util/common/src/index";
|
|
8288
|
+
export interface PollUserContextType {
|
|
8289
|
+
item: PublishableItem;
|
|
8290
|
+
resourceType: ItemResourceTypes;
|
|
8291
|
+
questions: PollQuestion[];
|
|
8292
|
+
answers: PollQuestionAnswer[];
|
|
8293
|
+
addAnswer: (questionId: string, selectedChoiceIds: string[]) => unknown;
|
|
8294
|
+
setAnswers: (answers: PollQuestionAnswer[]) => unknown;
|
|
8295
|
+
hasMissingAnswers: boolean;
|
|
8296
|
+
hasMissingUnsavedAnswer: boolean;
|
|
8297
|
+
pollResult: PollResult;
|
|
8298
|
+
isLoadingPollResult: boolean;
|
|
8299
|
+
showResult: boolean;
|
|
8300
|
+
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
8301
|
+
getQuestionResult: (questionId: string) => QuestionResult;
|
|
8302
|
+
reset: () => Promise<void>;
|
|
8303
|
+
fetchPollResults: () => Promise<void>;
|
|
8304
|
+
onBehalfOfUpn: string;
|
|
8305
|
+
}
|
|
8306
|
+
export const PollUserContext: import("react").Context<PollUserContextType>;
|
|
7981
8307
|
}
|
|
7982
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8308
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollsSubmitButton" {
|
|
7983
8309
|
import { FC } from 'react';
|
|
7984
|
-
export const
|
|
7985
|
-
|
|
7986
|
-
pageSize?: number;
|
|
8310
|
+
export const DetailViewPollsSubmitButton: FC<{
|
|
8311
|
+
isReadOnly?: boolean;
|
|
7987
8312
|
}>;
|
|
7988
8313
|
}
|
|
7989
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8314
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewCsvExportButton" {
|
|
7990
8315
|
import { FC } from 'react';
|
|
7991
|
-
export const
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
8316
|
+
export const DetailViewCsvExportButton: FC<{
|
|
8317
|
+
path: string;
|
|
8318
|
+
stringResource: string;
|
|
8319
|
+
className?: string;
|
|
7995
8320
|
}>;
|
|
7996
8321
|
}
|
|
7997
|
-
declare module "libs/reach/feature/content/src/
|
|
7998
|
-
import {
|
|
7999
|
-
export
|
|
8322
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollExportButton" {
|
|
8323
|
+
import { FC } from 'react';
|
|
8324
|
+
export const DetailViewPollExportButton: FC<{
|
|
8325
|
+
className?: string;
|
|
8326
|
+
}>;
|
|
8000
8327
|
}
|
|
8001
|
-
declare module "libs/reach/feature/content/src/
|
|
8328
|
+
declare module "libs/reach/feature/content/src/feedback/PollUserInput" {
|
|
8002
8329
|
import { FC } from 'react';
|
|
8003
|
-
export const
|
|
8004
|
-
|
|
8005
|
-
|
|
8006
|
-
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8010
|
-
import { DependencyList } from 'react';
|
|
8011
|
-
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8012
|
-
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8013
|
-
showPages: boolean;
|
|
8014
|
-
showDocuments: boolean;
|
|
8015
|
-
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8016
|
-
pageItems: any[];
|
|
8017
|
-
pagingProps: {
|
|
8018
|
-
hideNextButton: boolean;
|
|
8019
|
-
isInitialLoading: boolean;
|
|
8020
|
-
isLoadingNextPage: boolean;
|
|
8021
|
-
error: any;
|
|
8022
|
-
getFirstPage: () => void;
|
|
8023
|
-
getPrevPage: () => void;
|
|
8024
|
-
getNextPage: () => Promise<void>;
|
|
8025
|
-
isFirstPage: boolean;
|
|
8026
|
-
isLastPage: boolean;
|
|
8027
|
-
isEmpty: boolean;
|
|
8028
|
-
};
|
|
8029
|
-
};
|
|
8030
|
-
}
|
|
8031
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
8032
|
-
import { FC } from 'react';
|
|
8033
|
-
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8034
|
-
export const InlinePageListByCurrentPage: FC<{
|
|
8035
|
-
blockProps?: PageListDetails;
|
|
8036
|
-
}>;
|
|
8037
|
-
}
|
|
8038
|
-
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
8039
|
-
import { FC } from 'react';
|
|
8040
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8041
|
-
export interface PageListDetails {
|
|
8042
|
-
id?: string;
|
|
8043
|
-
showChildren?: boolean;
|
|
8044
|
-
showDocuments?: boolean;
|
|
8045
|
-
showPages?: boolean;
|
|
8046
|
-
pageId?: string;
|
|
8047
|
-
keywords?: string;
|
|
8048
|
-
}
|
|
8049
|
-
export const InlinePageList: FC<{
|
|
8050
|
-
blockProps?: PageListDetails;
|
|
8051
|
-
}>;
|
|
8052
|
-
export const InlinePageListMapper: HtmlComponentMapper;
|
|
8053
|
-
}
|
|
8054
|
-
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8055
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8056
|
-
export interface EmbeddedObjectPreviewData {
|
|
8057
|
-
itemId: string;
|
|
8058
|
-
type: string;
|
|
8059
|
-
subscriptionIdentifier: string;
|
|
8060
|
-
}
|
|
8061
|
-
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
8062
|
-
}
|
|
8063
|
-
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
8064
|
-
import { FC } from 'react';
|
|
8065
|
-
export const RichTextViewer: FC<{
|
|
8066
|
-
html: string;
|
|
8067
|
-
}>;
|
|
8068
|
-
}
|
|
8069
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
8070
|
-
import { FC } from 'react';
|
|
8071
|
-
export const DetailViewBody: FC;
|
|
8072
|
-
}
|
|
8073
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
8074
|
-
import { FC } from 'react';
|
|
8075
|
-
export const DetailViewKeywords: FC<{
|
|
8076
|
-
filterBaseUrl: string;
|
|
8077
|
-
}>;
|
|
8078
|
-
}
|
|
8079
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
8080
|
-
import { FC } from 'react';
|
|
8081
|
-
export const EventDetailViewDatesInfo: FC<{
|
|
8082
|
-
className?: string;
|
|
8083
|
-
}>;
|
|
8084
|
-
}
|
|
8085
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8086
|
-
import { FC } from 'react';
|
|
8087
|
-
export const EventDetailViewPeopleInfo: FC;
|
|
8088
|
-
}
|
|
8089
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
8090
|
-
import { FC } from 'react';
|
|
8091
|
-
export const EventDetailViewLocationInfo: FC;
|
|
8092
|
-
}
|
|
8093
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
8094
|
-
import { FC } from 'react';
|
|
8095
|
-
export const EventDetailViewMetaInfo: FC<{
|
|
8096
|
-
allowFilterByChannels?: boolean;
|
|
8097
|
-
}>;
|
|
8098
|
-
}
|
|
8099
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8100
|
-
import { FC } from 'react';
|
|
8101
|
-
export const EventDetailViewCancelInformation: FC;
|
|
8102
|
-
}
|
|
8103
|
-
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8104
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8105
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8106
|
-
import { PollQuestion, PollQuestionAnswer, PollResult, QuestionResult } from "libs/reach/util/common/src/index";
|
|
8107
|
-
export interface PollUserContextType {
|
|
8108
|
-
item: PublishableItem;
|
|
8109
|
-
resourceType: ItemResourceTypes;
|
|
8110
|
-
questions: PollQuestion[];
|
|
8111
|
-
answers: PollQuestionAnswer[];
|
|
8112
|
-
addAnswer: (questionId: string, selectedChoiceIds: string[]) => unknown;
|
|
8113
|
-
setAnswers: (answers: PollQuestionAnswer[]) => unknown;
|
|
8114
|
-
hasMissingAnswers: boolean;
|
|
8115
|
-
hasMissingUnsavedAnswer: boolean;
|
|
8116
|
-
pollResult: PollResult;
|
|
8117
|
-
isLoadingPollResult: boolean;
|
|
8118
|
-
showResult: boolean;
|
|
8119
|
-
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
8120
|
-
getQuestionResult: (questionId: string) => QuestionResult;
|
|
8121
|
-
reset: () => Promise<void>;
|
|
8122
|
-
fetchPollResults: () => Promise<void>;
|
|
8123
|
-
onBehalfOfUpn: string;
|
|
8124
|
-
}
|
|
8125
|
-
export const PollUserContext: import("react").Context<PollUserContextType>;
|
|
8126
|
-
}
|
|
8127
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollsSubmitButton" {
|
|
8128
|
-
import { FC } from 'react';
|
|
8129
|
-
export const DetailViewPollsSubmitButton: FC<{
|
|
8130
|
-
isReadOnly?: boolean;
|
|
8131
|
-
}>;
|
|
8132
|
-
}
|
|
8133
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewCsvExportButton" {
|
|
8134
|
-
import { FC } from 'react';
|
|
8135
|
-
export const DetailViewCsvExportButton: FC<{
|
|
8136
|
-
path: string;
|
|
8137
|
-
stringResource: string;
|
|
8138
|
-
className?: string;
|
|
8139
|
-
}>;
|
|
8140
|
-
}
|
|
8141
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollExportButton" {
|
|
8142
|
-
import { FC } from 'react';
|
|
8143
|
-
export const DetailViewPollExportButton: FC<{
|
|
8144
|
-
className?: string;
|
|
8145
|
-
}>;
|
|
8146
|
-
}
|
|
8147
|
-
declare module "libs/reach/feature/content/src/feedback/PollUserInput" {
|
|
8148
|
-
import { FC } from 'react';
|
|
8149
|
-
export const PollUserInput: FC;
|
|
8150
|
-
}
|
|
8151
|
-
declare module "libs/reach/feature/content/src/feedback/PollDisplay" {
|
|
8152
|
-
import { FC } from 'react';
|
|
8153
|
-
export const PollDisplay: FC<{
|
|
8154
|
-
className?: string;
|
|
8330
|
+
export const PollUserInput: FC;
|
|
8331
|
+
}
|
|
8332
|
+
declare module "libs/reach/feature/content/src/feedback/PollDisplay" {
|
|
8333
|
+
import { FC } from 'react';
|
|
8334
|
+
export const PollDisplay: FC<{
|
|
8335
|
+
className?: string;
|
|
8155
8336
|
}>;
|
|
8156
8337
|
}
|
|
8157
8338
|
declare module "libs/reach/feature/content/src/feedback/PollUserContextProvider" {
|
|
@@ -8257,6 +8438,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8257
8438
|
import { FC } from 'react';
|
|
8258
8439
|
export const EventDetailViewRegistration: FC;
|
|
8259
8440
|
}
|
|
8441
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8442
|
+
import { FC } from 'react';
|
|
8443
|
+
export const EventDetailViewCancelInformation: FC;
|
|
8444
|
+
}
|
|
8260
8445
|
declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
8261
8446
|
import { FC } from 'react';
|
|
8262
8447
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
@@ -8512,92 +8697,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
|
|
|
8512
8697
|
eventItem: EventItem;
|
|
8513
8698
|
}>;
|
|
8514
8699
|
}
|
|
8515
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
8516
|
-
import { FC } from 'react';
|
|
8517
|
-
export const DetailViewPageViewTracker: FC;
|
|
8518
|
-
}
|
|
8519
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
8520
|
-
import { FC } from 'react';
|
|
8521
|
-
export const DetailViewIntro: FC;
|
|
8522
|
-
}
|
|
8523
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
8524
|
-
import { FC } from 'react';
|
|
8525
|
-
export const ConfirmationBox: FC<{
|
|
8526
|
-
disabled?: boolean;
|
|
8527
|
-
onChange?: (value: boolean) => void;
|
|
8528
|
-
checked: boolean;
|
|
8529
|
-
}>;
|
|
8530
|
-
}
|
|
8531
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
8532
|
-
import { FC } from 'react';
|
|
8533
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8534
|
-
export const ConfirmationSection: FC<{
|
|
8535
|
-
item?: NewsItem;
|
|
8536
|
-
showDescription: boolean;
|
|
8537
|
-
readOnly?: boolean;
|
|
8538
|
-
className?: string;
|
|
8539
|
-
}>;
|
|
8540
|
-
}
|
|
8541
|
-
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
8542
|
-
import { FC } from 'react';
|
|
8543
|
-
export const DetailViewConfirmations: FC;
|
|
8544
|
-
}
|
|
8545
|
-
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
8546
|
-
import { FC } from 'react';
|
|
8547
|
-
export const FeedbackButtonBookmark: FC<{
|
|
8548
|
-
isReadOnly?: boolean;
|
|
8549
|
-
}>;
|
|
8550
|
-
}
|
|
8551
|
-
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
8552
|
-
import { FC } from 'react';
|
|
8553
|
-
export const NewsDetailViewFeedbackSection: FC<{
|
|
8554
|
-
hideLikes?: boolean;
|
|
8555
|
-
hideComments?: boolean;
|
|
8556
|
-
hideProfileUrl?: boolean;
|
|
8557
|
-
disableLoginForPublicUser?: boolean;
|
|
8558
|
-
}>;
|
|
8559
|
-
}
|
|
8560
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
8561
|
-
import { FC } from 'react';
|
|
8562
|
-
export const DetailViewHeadline: FC;
|
|
8563
|
-
}
|
|
8564
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
8565
|
-
import { FC } from 'react';
|
|
8566
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8567
|
-
export const DetailViewBodyExternalContent: FC<{
|
|
8568
|
-
itemType: ItemResourceTypes;
|
|
8569
|
-
}>;
|
|
8570
|
-
}
|
|
8571
|
-
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8572
|
-
import { FC } from 'react';
|
|
8573
|
-
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8574
|
-
export const DetailViewContextProvider: FC<{
|
|
8575
|
-
itemId: string;
|
|
8576
|
-
type?: ItemResourceTypes;
|
|
8577
|
-
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8578
|
-
isReadOnly?: boolean;
|
|
8579
|
-
}>;
|
|
8580
|
-
}
|
|
8581
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8582
|
-
import { FC } from 'react';
|
|
8583
|
-
export const PageDetailViewFeedbackSection: FC<{
|
|
8584
|
-
hideLikes?: boolean;
|
|
8585
|
-
hideComments?: boolean;
|
|
8586
|
-
hideProfileUrl?: boolean;
|
|
8587
|
-
disableLoginForPublicUser?: boolean;
|
|
8588
|
-
}>;
|
|
8589
|
-
}
|
|
8590
|
-
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
8591
|
-
import { FC } from 'react';
|
|
8592
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8593
|
-
export const PageBreadcrumb: FC<{
|
|
8594
|
-
page: PageItem;
|
|
8595
|
-
target?: string;
|
|
8596
|
-
language?: string;
|
|
8597
|
-
hideCurrentPageNode?: boolean;
|
|
8598
|
-
className?: string;
|
|
8599
|
-
}>;
|
|
8600
|
-
}
|
|
8601
8700
|
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8602
8701
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8603
8702
|
interface DateInfoProps {
|
|
@@ -8637,51 +8736,13 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8637
8736
|
import { FC } from 'react';
|
|
8638
8737
|
export const PageDetailViewMetaInfo: FC;
|
|
8639
8738
|
}
|
|
8640
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/
|
|
8739
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8641
8740
|
import { FC } from 'react';
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
content: PublishableItemContent;
|
|
8648
|
-
basePath?: string;
|
|
8649
|
-
}>;
|
|
8650
|
-
}
|
|
8651
|
-
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8652
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8653
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8654
|
-
interface Props {
|
|
8655
|
-
id: string;
|
|
8656
|
-
item: PublishableItem;
|
|
8657
|
-
itemResourceType: ItemResourceTypes;
|
|
8658
|
-
}
|
|
8659
|
-
export const CardBanner: React.FC<Props>;
|
|
8660
|
-
}
|
|
8661
|
-
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8662
|
-
import { FC, ReactNode } from 'react';
|
|
8663
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8664
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8665
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8666
|
-
interface CardProps {
|
|
8667
|
-
item: PublishableItem;
|
|
8668
|
-
itemResourceType: ItemResourceTypes;
|
|
8669
|
-
additionalMetadata?: ReactNode;
|
|
8670
|
-
highlight?: boolean;
|
|
8671
|
-
className?: string;
|
|
8672
|
-
}
|
|
8673
|
-
export const Card: FC<CardProps>;
|
|
8674
|
-
export interface CardItem<TItem = PublishableItem> {
|
|
8675
|
-
item: TItem;
|
|
8676
|
-
language: string;
|
|
8677
|
-
}
|
|
8678
|
-
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8679
|
-
}
|
|
8680
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
8681
|
-
import { FC, ReactNode } from 'react';
|
|
8682
|
-
export const DetailViewNavigation: FC<{
|
|
8683
|
-
children?: ReactNode;
|
|
8684
|
-
callout?: ReactNode;
|
|
8741
|
+
export const PageDetailViewFeedbackSection: FC<{
|
|
8742
|
+
hideLikes?: boolean;
|
|
8743
|
+
hideComments?: boolean;
|
|
8744
|
+
hideProfileUrl?: boolean;
|
|
8745
|
+
disableLoginForPublicUser?: boolean;
|
|
8685
8746
|
}>;
|
|
8686
8747
|
}
|
|
8687
8748
|
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
@@ -8790,6 +8851,104 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8790
8851
|
import { FC } from 'react';
|
|
8791
8852
|
export const PageDetailViewTableOfContentsButton: FC;
|
|
8792
8853
|
}
|
|
8854
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
8855
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
8856
|
+
export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
8857
|
+
}
|
|
8858
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
8859
|
+
import { FC } from 'react';
|
|
8860
|
+
export const InlinePageListByKeywords: FC<{
|
|
8861
|
+
keywords: string[];
|
|
8862
|
+
showDocuments?: boolean;
|
|
8863
|
+
showPages?: boolean;
|
|
8864
|
+
}>;
|
|
8865
|
+
}
|
|
8866
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
8867
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
8868
|
+
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
8869
|
+
}
|
|
8870
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
8871
|
+
import { FC } from 'react';
|
|
8872
|
+
export const InlinePageListByPageId: FC<{
|
|
8873
|
+
pageId: string;
|
|
8874
|
+
showDocuments: boolean;
|
|
8875
|
+
showPages: boolean;
|
|
8876
|
+
}>;
|
|
8877
|
+
}
|
|
8878
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
8879
|
+
import { FC } from 'react';
|
|
8880
|
+
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8881
|
+
export const InlinePageListByCurrentPage: FC<{
|
|
8882
|
+
blockProps?: PageListDetails;
|
|
8883
|
+
}>;
|
|
8884
|
+
}
|
|
8885
|
+
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
8886
|
+
import { FC } from 'react';
|
|
8887
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8888
|
+
export interface PageListDetails {
|
|
8889
|
+
id?: string;
|
|
8890
|
+
showChildren?: boolean;
|
|
8891
|
+
showDocuments?: boolean;
|
|
8892
|
+
showPages?: boolean;
|
|
8893
|
+
pageId?: string;
|
|
8894
|
+
keywords?: string;
|
|
8895
|
+
}
|
|
8896
|
+
export const InlinePageList: FC<{
|
|
8897
|
+
blockProps?: PageListDetails;
|
|
8898
|
+
}>;
|
|
8899
|
+
export const InlinePageListMapper: HtmlComponentMapper;
|
|
8900
|
+
}
|
|
8901
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
8902
|
+
import { FC } from 'react';
|
|
8903
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8904
|
+
export const PageBreadcrumb: FC<{
|
|
8905
|
+
page: PageItem;
|
|
8906
|
+
target?: string;
|
|
8907
|
+
language?: string;
|
|
8908
|
+
hideCurrentPageNode?: boolean;
|
|
8909
|
+
className?: string;
|
|
8910
|
+
}>;
|
|
8911
|
+
}
|
|
8912
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
8913
|
+
import { FC } from 'react';
|
|
8914
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8915
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
8916
|
+
export const DetailViewPageDocumentDownload: FC;
|
|
8917
|
+
export const PageDocumentDownloadButton: FC<{
|
|
8918
|
+
item: PageItem;
|
|
8919
|
+
content: PublishableItemContent;
|
|
8920
|
+
basePath?: string;
|
|
8921
|
+
}>;
|
|
8922
|
+
}
|
|
8923
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8924
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8925
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8926
|
+
interface Props {
|
|
8927
|
+
id: string;
|
|
8928
|
+
item: PublishableItem;
|
|
8929
|
+
itemResourceType: ItemResourceTypes;
|
|
8930
|
+
}
|
|
8931
|
+
export const CardBanner: React.FC<Props>;
|
|
8932
|
+
}
|
|
8933
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8934
|
+
import { FC, ReactNode } from 'react';
|
|
8935
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8936
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8937
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8938
|
+
interface CardProps {
|
|
8939
|
+
item: PublishableItem;
|
|
8940
|
+
itemResourceType: ItemResourceTypes;
|
|
8941
|
+
additionalMetadata?: ReactNode;
|
|
8942
|
+
highlight?: boolean;
|
|
8943
|
+
className?: string;
|
|
8944
|
+
}
|
|
8945
|
+
export const Card: FC<CardProps>;
|
|
8946
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
8947
|
+
item: TItem;
|
|
8948
|
+
language: string;
|
|
8949
|
+
}
|
|
8950
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8951
|
+
}
|
|
8793
8952
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
8794
8953
|
import { FC } from 'react';
|
|
8795
8954
|
interface LanguageSelectorProps {
|
|
@@ -8811,10 +8970,112 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8811
8970
|
className?: string;
|
|
8812
8971
|
}>;
|
|
8813
8972
|
}
|
|
8973
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
|
|
8974
|
+
import { FC } from 'react';
|
|
8975
|
+
export const DetailViewBanner: FC;
|
|
8976
|
+
}
|
|
8977
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
8978
|
+
import { FC } from 'react';
|
|
8979
|
+
export const DetailViewIntro: FC;
|
|
8980
|
+
}
|
|
8981
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
8982
|
+
import { FC } from 'react';
|
|
8983
|
+
export const DetailMainSection: FC;
|
|
8984
|
+
}
|
|
8985
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
8986
|
+
import { FC, ReactNode } from 'react';
|
|
8987
|
+
export const GutterMarkerIcon: FC<{
|
|
8988
|
+
iconName: string;
|
|
8989
|
+
children: ReactNode;
|
|
8990
|
+
isActive: boolean;
|
|
8991
|
+
color: string;
|
|
8992
|
+
tooltipResourceKey?: string;
|
|
8993
|
+
className?: string;
|
|
8994
|
+
}>;
|
|
8995
|
+
}
|
|
8996
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
8997
|
+
import { FC } from 'react';
|
|
8998
|
+
export const DetailViewTitle: FC;
|
|
8999
|
+
}
|
|
8814
9000
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
|
|
8815
9001
|
import { FC } from 'react';
|
|
8816
9002
|
export const NewsDetailViewMetaInfo: FC;
|
|
8817
9003
|
}
|
|
9004
|
+
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
9005
|
+
import { FC } from 'react';
|
|
9006
|
+
export const RichTextViewer: FC<{
|
|
9007
|
+
html: string;
|
|
9008
|
+
}>;
|
|
9009
|
+
}
|
|
9010
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
9011
|
+
import { FC } from 'react';
|
|
9012
|
+
export const DetailViewBody: FC;
|
|
9013
|
+
}
|
|
9014
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
9015
|
+
import { FC } from 'react';
|
|
9016
|
+
export const DetailViewKeywords: FC<{
|
|
9017
|
+
filterBaseUrl: string;
|
|
9018
|
+
}>;
|
|
9019
|
+
}
|
|
9020
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9021
|
+
import { FC } from 'react';
|
|
9022
|
+
export const ConfirmationBox: FC<{
|
|
9023
|
+
disabled?: boolean;
|
|
9024
|
+
onChange?: (value: boolean) => void;
|
|
9025
|
+
checked: boolean;
|
|
9026
|
+
}>;
|
|
9027
|
+
}
|
|
9028
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9029
|
+
import { FC } from 'react';
|
|
9030
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9031
|
+
export const ConfirmationSection: FC<{
|
|
9032
|
+
item?: NewsItem;
|
|
9033
|
+
showDescription: boolean;
|
|
9034
|
+
readOnly?: boolean;
|
|
9035
|
+
className?: string;
|
|
9036
|
+
}>;
|
|
9037
|
+
}
|
|
9038
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
9039
|
+
import { FC } from 'react';
|
|
9040
|
+
export const DetailViewConfirmations: FC;
|
|
9041
|
+
}
|
|
9042
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
9043
|
+
import { FC } from 'react';
|
|
9044
|
+
export const DetailViewPageViewTracker: FC;
|
|
9045
|
+
}
|
|
9046
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
9047
|
+
import { FC } from 'react';
|
|
9048
|
+
export const FeedbackButtonBookmark: FC<{
|
|
9049
|
+
isReadOnly?: boolean;
|
|
9050
|
+
}>;
|
|
9051
|
+
}
|
|
9052
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
9053
|
+
import { FC } from 'react';
|
|
9054
|
+
export const NewsDetailViewFeedbackSection: FC<{
|
|
9055
|
+
hideLikes?: boolean;
|
|
9056
|
+
hideComments?: boolean;
|
|
9057
|
+
hideProfileUrl?: boolean;
|
|
9058
|
+
disableLoginForPublicUser?: boolean;
|
|
9059
|
+
}>;
|
|
9060
|
+
}
|
|
9061
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
9062
|
+
import { FC, ReactNode } from 'react';
|
|
9063
|
+
export const DetailViewNavigation: FC<{
|
|
9064
|
+
children?: ReactNode;
|
|
9065
|
+
callout?: ReactNode;
|
|
9066
|
+
}>;
|
|
9067
|
+
}
|
|
9068
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9069
|
+
import { FC } from 'react';
|
|
9070
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9071
|
+
export const DetailViewBodyExternalContent: FC<{
|
|
9072
|
+
itemType: ItemResourceTypes;
|
|
9073
|
+
}>;
|
|
9074
|
+
}
|
|
9075
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
9076
|
+
import { FC } from 'react';
|
|
9077
|
+
export const DetailViewHeadline: FC;
|
|
9078
|
+
}
|
|
8818
9079
|
declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
8819
9080
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
8820
9081
|
export const StateIcon: React.FC<{
|
|
@@ -8835,205 +9096,65 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
|
8835
9096
|
}
|
|
8836
9097
|
declare module "libs/reach/feature/content/src/common/index" {
|
|
8837
9098
|
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
8838
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8839
9099
|
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8840
9100
|
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
8841
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
8842
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8843
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8844
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8845
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8846
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8847
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
8848
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8849
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8850
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8851
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
8852
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
8853
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8854
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8855
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8856
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8857
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8858
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
8859
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8860
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8861
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
8862
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
8863
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
8864
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
8865
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8866
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
8867
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8868
9101
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
8869
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8870
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8871
|
-
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
8872
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8873
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
8874
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8875
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8876
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8877
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8878
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8879
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
8880
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8881
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8882
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
8883
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
8884
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
8885
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
8886
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
8887
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8888
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8889
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
8890
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
8891
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8892
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8893
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8894
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
8895
9102
|
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
8896
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8897
9103
|
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
8898
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8899
9104
|
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
8900
9105
|
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
8901
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8902
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8903
|
-
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8904
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8905
9106
|
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
8906
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8907
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8908
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8909
9107
|
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
8910
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8911
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8912
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8913
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8914
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8915
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8916
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8917
9108
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
8918
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8919
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8920
9109
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
8921
9110
|
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
8922
9111
|
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
8923
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8924
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8925
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8926
9112
|
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
8927
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8928
9113
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
8929
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8930
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8931
9114
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
8932
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8933
9115
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
8934
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8935
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
8936
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8937
9116
|
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
8938
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8939
9117
|
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8940
9118
|
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8941
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8942
9119
|
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
8943
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8944
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8945
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8946
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8947
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8948
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8949
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8950
9120
|
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8951
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8952
9121
|
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8953
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8954
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8955
9122
|
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
8956
9123
|
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
8957
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8958
9124
|
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8959
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8960
9125
|
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8961
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8962
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8963
9126
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8964
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8965
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8966
9127
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8967
9128
|
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8968
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
8969
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8970
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
8971
9129
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
8972
9130
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
8973
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8974
9131
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8975
9132
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
8976
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
8977
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8978
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8979
9133
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
8980
9134
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
8981
9135
|
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8982
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8983
9136
|
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8984
9137
|
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8985
9138
|
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8986
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8987
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8988
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8989
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8990
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8991
9139
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8992
9140
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
8993
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8994
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8995
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8996
9141
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8997
9142
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8998
9143
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
8999
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9000
9144
|
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
9001
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9002
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9003
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9004
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
9005
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
9006
9145
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
9007
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
9008
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
9009
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
9010
9146
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
9011
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9012
9147
|
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9013
9148
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9014
9149
|
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9015
9150
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9016
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9017
9151
|
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
9018
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
9019
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9020
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9021
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9022
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9023
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9024
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9025
9152
|
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9026
9153
|
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9027
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9028
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9029
|
-
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9030
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9031
9154
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9032
9155
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9033
9156
|
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9034
9157
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
9035
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9036
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9037
9158
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9038
9159
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9039
9160
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
@@ -9050,7 +9171,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9050
9171
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9051
9172
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9052
9173
|
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9053
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9054
9174
|
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9055
9175
|
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9056
9176
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
@@ -9072,65 +9192,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
|
|
|
9072
9192
|
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9073
9193
|
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9074
9194
|
}
|
|
9075
|
-
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
9076
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9077
|
-
export interface FilteringProps {
|
|
9078
|
-
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
9079
|
-
onShowFilterPanel?: () => unknown;
|
|
9080
|
-
onToggleFilterSidebar?: () => unknown;
|
|
9081
|
-
isFilterActive?: boolean;
|
|
9082
|
-
}
|
|
9083
|
-
}
|
|
9084
|
-
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
9085
|
-
import { FC } from 'react';
|
|
9086
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9087
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9088
|
-
export interface InjectedFilterProps {
|
|
9089
|
-
filter: IndexableFilterDefinition;
|
|
9090
|
-
hasFilter: boolean;
|
|
9091
|
-
isSearchActive: boolean;
|
|
9092
|
-
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
9093
|
-
onSearchChange: (text: string) => void;
|
|
9094
|
-
onClearFilter: () => void;
|
|
9095
|
-
}
|
|
9096
|
-
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
9097
|
-
filter: Partial<IndexableFilterDefinition>;
|
|
9098
|
-
hasFilter: boolean;
|
|
9099
|
-
isSearchActive: boolean;
|
|
9100
|
-
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
9101
|
-
onSearchChange: (search: string) => void;
|
|
9102
|
-
onClearFilter: () => void;
|
|
9103
|
-
};
|
|
9104
|
-
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
9105
|
-
export const FilterContextProvider: FC<{
|
|
9106
|
-
addFilters?: (locationParams: {
|
|
9107
|
-
[paramName: string]: any;
|
|
9108
|
-
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
9109
|
-
additionalExcludedFilterProperties?: string[];
|
|
9110
|
-
onClearQueryString?: (prev: any, next: any) => any;
|
|
9111
|
-
}>;
|
|
9112
|
-
export interface FilterVisibilityState {
|
|
9113
|
-
showFilterAsPanel?: boolean;
|
|
9114
|
-
showFilterSidebar?: boolean;
|
|
9115
|
-
}
|
|
9116
|
-
}
|
|
9117
|
-
declare module "libs/reach/feature/content/src/filter/index" {
|
|
9118
|
-
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
9119
|
-
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9120
|
-
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
9121
|
-
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
9122
|
-
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
9123
|
-
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
9124
|
-
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
9125
|
-
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
9126
|
-
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
9127
|
-
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
9128
|
-
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
9129
|
-
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
9130
|
-
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
9131
|
-
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
9132
|
-
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
9133
|
-
}
|
|
9134
9195
|
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
9135
9196
|
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
9136
9197
|
import { FC } from 'react';
|
|
@@ -9205,26 +9266,6 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
9205
9266
|
*/
|
|
9206
9267
|
export const Textarea: FC<TextareaProps>;
|
|
9207
9268
|
}
|
|
9208
|
-
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9209
|
-
import { FC } from 'react';
|
|
9210
|
-
interface DateTimePickerProps {
|
|
9211
|
-
date: string;
|
|
9212
|
-
maxDate?: string;
|
|
9213
|
-
minDate?: string;
|
|
9214
|
-
dateValidationResourceKey?: string;
|
|
9215
|
-
timeValidationResourceKey?: string;
|
|
9216
|
-
readOnly?: boolean;
|
|
9217
|
-
onChanged: (date: string, isValid: boolean) => void;
|
|
9218
|
-
noDateResourceKey: string;
|
|
9219
|
-
selectDateResourceKey: string;
|
|
9220
|
-
dateOnly?: boolean;
|
|
9221
|
-
initialPickerDate?: string;
|
|
9222
|
-
label?: string;
|
|
9223
|
-
className?: string;
|
|
9224
|
-
}
|
|
9225
|
-
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9226
|
-
export default DateTimePicker;
|
|
9227
|
-
}
|
|
9228
9269
|
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9229
9270
|
import { FC } from 'react';
|
|
9230
9271
|
interface Props {
|
|
@@ -9249,6 +9290,27 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
|
9249
9290
|
}
|
|
9250
9291
|
export const InsertImagesButton: FC<Props>;
|
|
9251
9292
|
}
|
|
9293
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9294
|
+
import { FC } from 'react';
|
|
9295
|
+
interface DateTimePickerProps {
|
|
9296
|
+
date: string;
|
|
9297
|
+
maxDate?: string;
|
|
9298
|
+
minDate?: string;
|
|
9299
|
+
dateValidationResourceKey?: string;
|
|
9300
|
+
timeValidationResourceKey?: string;
|
|
9301
|
+
readOnly?: boolean;
|
|
9302
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
9303
|
+
noDateResourceKey: string;
|
|
9304
|
+
selectDateResourceKey: string;
|
|
9305
|
+
dateOnly?: boolean;
|
|
9306
|
+
initialPickerDate?: string;
|
|
9307
|
+
label?: string;
|
|
9308
|
+
isRequired?: boolean;
|
|
9309
|
+
className?: string;
|
|
9310
|
+
}
|
|
9311
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9312
|
+
export default DateTimePicker;
|
|
9313
|
+
}
|
|
9252
9314
|
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
9253
9315
|
import moment, { Moment } from 'moment';
|
|
9254
9316
|
export enum DateRange {
|
|
@@ -9295,33 +9357,17 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
|
9295
9357
|
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
9296
9358
|
}
|
|
9297
9359
|
declare module "libs/reach/feature/content/src/forms/index" {
|
|
9298
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9299
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9300
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9301
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9302
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9303
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9304
9360
|
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9305
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9306
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9307
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9308
9361
|
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9309
9362
|
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
9310
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9311
9363
|
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
9312
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9313
9364
|
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
9314
9365
|
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
9315
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9316
9366
|
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9317
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9318
9367
|
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9319
9368
|
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9320
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9321
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9322
9369
|
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
9323
9370
|
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
9324
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9325
9371
|
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9326
9372
|
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9327
9373
|
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
@@ -9401,6 +9447,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9401
9447
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9402
9448
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9403
9449
|
}
|
|
9450
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9451
|
+
import { FC } from 'react';
|
|
9452
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9453
|
+
export const SearchHighlighter: FC<{
|
|
9454
|
+
highlight: SearchHighlight;
|
|
9455
|
+
}>;
|
|
9456
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9457
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9458
|
+
}
|
|
9404
9459
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9405
9460
|
import { FC } from 'react';
|
|
9406
9461
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9429,11 +9484,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9429
9484
|
}
|
|
9430
9485
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9431
9486
|
import { FC } from 'react';
|
|
9432
|
-
import {
|
|
9487
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9433
9488
|
export const PageListItemBody: FC<{
|
|
9434
|
-
|
|
9435
|
-
[key: string]: PublishableItemContent;
|
|
9436
|
-
};
|
|
9489
|
+
page: PageItem;
|
|
9437
9490
|
search?: string;
|
|
9438
9491
|
}>;
|
|
9439
9492
|
}
|
|
@@ -9499,7 +9552,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9499
9552
|
import { FC } from 'react';
|
|
9500
9553
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9501
9554
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9502
|
-
export
|
|
9555
|
+
export interface PostCreatorProps {
|
|
9503
9556
|
groupId: string;
|
|
9504
9557
|
disabled: boolean;
|
|
9505
9558
|
disableDragAndDrop?: boolean;
|
|
@@ -9510,132 +9563,1295 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9510
9563
|
defaultKeywords?: Keyword[];
|
|
9511
9564
|
mandatoryKeywords?: Keyword[];
|
|
9512
9565
|
};
|
|
9513
|
-
|
|
9514
|
-
}
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
import {
|
|
9519
|
-
import {
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9566
|
+
disableAutoFocus?: boolean;
|
|
9567
|
+
}
|
|
9568
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9569
|
+
}
|
|
9570
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9571
|
+
import { FC } from 'react';
|
|
9572
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9573
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
9574
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9575
|
+
interface Props {
|
|
9576
|
+
className?: string;
|
|
9577
|
+
post: Post;
|
|
9578
|
+
initialPageSize?: number;
|
|
9579
|
+
comments?: PaginatedList<Comment>;
|
|
9580
|
+
autoFocusReplyField?: boolean;
|
|
9581
|
+
onReplyAdded: () => void;
|
|
9582
|
+
onReplyDeleted: () => void;
|
|
9583
|
+
onThreadReply?: (threadId: string) => void;
|
|
9584
|
+
}
|
|
9585
|
+
export const PostReplies: FC<Props>;
|
|
9586
|
+
}
|
|
9587
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
9588
|
+
import { FC } from 'react';
|
|
9589
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9590
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9591
|
+
export const PostEditor: FC<{
|
|
9592
|
+
className?: string;
|
|
9593
|
+
post: Post;
|
|
9594
|
+
onCancel: () => void;
|
|
9595
|
+
onBeforeSave: (post: Post) => void;
|
|
9596
|
+
onSaved: (post: Post) => void;
|
|
9597
|
+
keywordSettings?: {
|
|
9598
|
+
availableKeywords?: Keyword[];
|
|
9599
|
+
defaultKeywords?: Keyword[];
|
|
9600
|
+
mandatoryKeywords?: Keyword[];
|
|
9601
|
+
};
|
|
9602
|
+
}>;
|
|
9603
|
+
}
|
|
9604
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9605
|
+
import { FC } from 'react';
|
|
9606
|
+
export const PostFollowButton: FC<{
|
|
9607
|
+
itemId: string;
|
|
9608
|
+
}>;
|
|
9609
|
+
}
|
|
9610
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9611
|
+
import { FC } from 'react';
|
|
9612
|
+
import { NavLink } from 'react-router-dom';
|
|
9613
|
+
export const PostGroup: FC<{
|
|
9614
|
+
groupId: string;
|
|
9615
|
+
to: string;
|
|
9616
|
+
className?: string;
|
|
9617
|
+
}>;
|
|
9618
|
+
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9619
|
+
}
|
|
9620
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9621
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9622
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9623
|
+
interface Props {
|
|
9624
|
+
post: Post;
|
|
9625
|
+
className?: string;
|
|
9626
|
+
threadId?: string;
|
|
9627
|
+
onCustomPostDelete?: () => void;
|
|
9628
|
+
comments?: PaginatedList<Comment>;
|
|
9629
|
+
initialCommentsPageSize?: number;
|
|
9630
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9631
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9632
|
+
onThreadCommentDelete?: () => void;
|
|
9633
|
+
onThreadReply?: (threadId: string) => void;
|
|
9634
|
+
keywordSettings?: {
|
|
9635
|
+
availableKeywords?: Keyword[];
|
|
9636
|
+
defaultKeywords?: Keyword[];
|
|
9637
|
+
mandatoryKeywords?: Keyword[];
|
|
9638
|
+
};
|
|
9639
|
+
showGroup?: boolean;
|
|
9640
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9641
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9642
|
+
}
|
|
9643
|
+
export const PostDisplay: React.FC<Props>;
|
|
9644
|
+
}
|
|
9645
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
|
|
9646
|
+
import { FC } from 'react';
|
|
9647
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
9648
|
+
export const PostGroupsSelector: FC<{
|
|
9649
|
+
groups: UserGroup[];
|
|
9650
|
+
}>;
|
|
9651
|
+
}
|
|
9652
|
+
declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
9653
|
+
import { FC } from 'react';
|
|
9654
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9655
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9656
|
+
interface Props {
|
|
9657
|
+
post: Post;
|
|
9658
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9659
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9660
|
+
keywordSettings?: {
|
|
9661
|
+
availableKeywords?: Keyword[];
|
|
9662
|
+
defaultKeywords?: Keyword[];
|
|
9663
|
+
mandatoryKeywords?: Keyword[];
|
|
9664
|
+
};
|
|
9665
|
+
showGroup: boolean;
|
|
9666
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9667
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9668
|
+
}
|
|
9669
|
+
export const PostListItem: FC<Props>;
|
|
9670
|
+
}
|
|
9671
|
+
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9672
|
+
import { FC } from 'react';
|
|
9673
|
+
import { Post } from "libs/reach/feature/content/src/index";
|
|
9674
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9675
|
+
export const PostWithSelfThreadHandling: FC<{
|
|
9676
|
+
post: Post;
|
|
9677
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9678
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9679
|
+
keywordSettings?: {
|
|
9680
|
+
availableKeywords?: Keyword[];
|
|
9681
|
+
defaultKeywords?: Keyword[];
|
|
9682
|
+
mandatoryKeywords?: Keyword[];
|
|
9683
|
+
};
|
|
9684
|
+
showGroup: boolean;
|
|
9685
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9686
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9687
|
+
}>;
|
|
9688
|
+
}
|
|
9689
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
9690
|
+
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";
|
|
9691
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9692
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9693
|
+
enum StreamItemTypes {
|
|
9694
|
+
Post = "POST",
|
|
9695
|
+
News = "NEWS",
|
|
9696
|
+
Event = "EVENT",
|
|
9697
|
+
Page = "PAGE"
|
|
9698
|
+
}
|
|
9699
|
+
export enum StreamConversationScope {
|
|
9700
|
+
Public = "PUBLIC",
|
|
9701
|
+
Editor = "EDITOR",
|
|
9702
|
+
Posts = "POSTS"
|
|
9703
|
+
}
|
|
9704
|
+
export interface PostStreamItem extends Post {
|
|
9705
|
+
type: StreamItemTypes.Post;
|
|
9706
|
+
isUnread: boolean;
|
|
9707
|
+
keywordsList?: Keyword[];
|
|
9708
|
+
groupIds?: string[];
|
|
9709
|
+
postAttachments?: StreamAttachment[];
|
|
9710
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9711
|
+
hasMoreUnreadComments: boolean;
|
|
9712
|
+
}
|
|
9713
|
+
export interface StreamPostComment extends Comment {
|
|
9714
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9715
|
+
streamConversationScope?: StreamConversationScope;
|
|
9716
|
+
}
|
|
9717
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
9718
|
+
type: GraphQLAttachmentType;
|
|
9719
|
+
}
|
|
9720
|
+
export interface NewsStreamItem extends NewsItem {
|
|
9721
|
+
type: StreamItemTypes.News;
|
|
9722
|
+
contentsList: StreamPublishableItemContents[];
|
|
9723
|
+
channelsList: string[];
|
|
9724
|
+
isUnread: boolean;
|
|
9725
|
+
keywordsList?: Keyword[];
|
|
9726
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9727
|
+
}
|
|
9728
|
+
export enum StreamKnownNewsState {
|
|
9729
|
+
Unconfirmed = "UNCONFIRMED",
|
|
9730
|
+
Alert = "ALERT"
|
|
9731
|
+
}
|
|
9732
|
+
export interface EventStreamItem extends EventItem {
|
|
9733
|
+
type: StreamItemTypes.Event;
|
|
9734
|
+
contentsList: StreamPublishableItemContents[];
|
|
9735
|
+
channelsList: string[];
|
|
9736
|
+
isUnread: boolean;
|
|
9737
|
+
keywordsList?: Keyword[];
|
|
9738
|
+
userResponseType?: StreamEventResponse;
|
|
9739
|
+
}
|
|
9740
|
+
export interface PageStreamItem extends PageItem {
|
|
9741
|
+
type: StreamItemTypes.Page;
|
|
9742
|
+
contentsList: StreamPublishableItemContents[];
|
|
9743
|
+
channelsList: string[];
|
|
9744
|
+
isUnread: boolean;
|
|
9745
|
+
keywordsList?: Keyword[];
|
|
9746
|
+
streamPageType?: string;
|
|
9747
|
+
path?: (PageNavigationNode & {
|
|
9748
|
+
parentId?: string;
|
|
9749
|
+
})[];
|
|
9750
|
+
}
|
|
9751
|
+
interface StreamPublishableItemContents {
|
|
9752
|
+
language: string;
|
|
9753
|
+
title: string;
|
|
9754
|
+
intro?: string;
|
|
9755
|
+
headline?: string;
|
|
9756
|
+
}
|
|
9757
|
+
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9758
|
+
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9759
|
+
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
9760
|
+
export function isEvent(item: StreamItem): item is EventStreamItem;
|
|
9761
|
+
export function isPage(item: StreamItem): item is PageStreamItem;
|
|
9762
|
+
export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
|
|
9763
|
+
groupId: string;
|
|
9764
|
+
attachments: {
|
|
9765
|
+
type: AttachmentType;
|
|
9766
|
+
id: string;
|
|
9767
|
+
filename?: string;
|
|
9768
|
+
previewUrl?: string;
|
|
9769
|
+
url?: string;
|
|
9770
|
+
isUploadInProgress?: boolean;
|
|
9771
|
+
hasError?: boolean;
|
|
9772
|
+
width?: number;
|
|
9773
|
+
height?: number;
|
|
9774
|
+
}[];
|
|
9775
|
+
comments: {
|
|
9776
|
+
items: {
|
|
9777
|
+
conversationScope: ConversationScope;
|
|
9778
|
+
fileAccessToken: string;
|
|
9779
|
+
attachments: {
|
|
9780
|
+
type: AttachmentType;
|
|
9781
|
+
id: string;
|
|
9782
|
+
filename?: string;
|
|
9783
|
+
previewUrl?: string;
|
|
9784
|
+
url?: string;
|
|
9785
|
+
isUploadInProgress?: boolean;
|
|
9786
|
+
hasError?: boolean;
|
|
9787
|
+
width?: number;
|
|
9788
|
+
height?: number;
|
|
9789
|
+
}[];
|
|
9790
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9791
|
+
streamConversationScope?: StreamConversationScope;
|
|
9792
|
+
id: string;
|
|
9793
|
+
parentItemId: string;
|
|
9794
|
+
content: string;
|
|
9795
|
+
contentLanguageCode?: string;
|
|
9796
|
+
receivedDateTime: string;
|
|
9797
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9798
|
+
modified?: string;
|
|
9799
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9800
|
+
isLiked?: boolean;
|
|
9801
|
+
threadId?: string;
|
|
9802
|
+
isUnread?: boolean;
|
|
9803
|
+
hasUnreadReplies?: boolean;
|
|
9804
|
+
isDemoContent?: boolean;
|
|
9805
|
+
attachmentContainerId?: string;
|
|
9806
|
+
}[];
|
|
9807
|
+
paginationToken?: any;
|
|
9808
|
+
nextItem?: StreamPostComment;
|
|
9809
|
+
hasMoreUnreadComments?: boolean;
|
|
9810
|
+
hasNextPage?: boolean;
|
|
9811
|
+
};
|
|
9812
|
+
keywords: {
|
|
9813
|
+
[key: string]: Keyword[];
|
|
9814
|
+
};
|
|
9815
|
+
type: StreamItemTypes.Post;
|
|
9816
|
+
isUnread: boolean;
|
|
9817
|
+
keywordsList?: Keyword[];
|
|
9818
|
+
groupIds?: string[];
|
|
9819
|
+
postAttachments?: StreamAttachment[];
|
|
9820
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9821
|
+
hasMoreUnreadComments: boolean;
|
|
9822
|
+
id: string;
|
|
9823
|
+
content: string;
|
|
9824
|
+
permalink?: string;
|
|
9825
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
9826
|
+
publishingDate: string;
|
|
9827
|
+
modified?: string;
|
|
9828
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
9829
|
+
contentLanguageCode?: string;
|
|
9830
|
+
isLiked?: boolean;
|
|
9831
|
+
isDemoContent?: boolean;
|
|
9832
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
9833
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9834
|
+
fileAccessToken?: string;
|
|
9835
|
+
attachmentContainerId?: string;
|
|
9836
|
+
} | {
|
|
9837
|
+
groupId: string;
|
|
9838
|
+
attachments: {
|
|
9839
|
+
type: AttachmentType;
|
|
9840
|
+
id: string;
|
|
9841
|
+
filename?: string;
|
|
9842
|
+
previewUrl?: string;
|
|
9843
|
+
url?: string;
|
|
9844
|
+
isUploadInProgress?: boolean;
|
|
9845
|
+
hasError?: boolean;
|
|
9846
|
+
width?: number;
|
|
9847
|
+
height?: number;
|
|
9848
|
+
}[];
|
|
9849
|
+
comments: {
|
|
9850
|
+
items: {
|
|
9851
|
+
conversationScope: ConversationScope;
|
|
9852
|
+
fileAccessToken: string;
|
|
9853
|
+
attachments: {
|
|
9854
|
+
type: AttachmentType;
|
|
9855
|
+
id: string;
|
|
9856
|
+
filename?: string;
|
|
9857
|
+
previewUrl?: string;
|
|
9858
|
+
url?: string;
|
|
9859
|
+
isUploadInProgress?: boolean;
|
|
9860
|
+
hasError?: boolean;
|
|
9861
|
+
width?: number;
|
|
9862
|
+
height?: number;
|
|
9863
|
+
}[];
|
|
9864
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9865
|
+
streamConversationScope?: StreamConversationScope;
|
|
9866
|
+
id: string;
|
|
9867
|
+
parentItemId: string;
|
|
9868
|
+
content: string;
|
|
9869
|
+
contentLanguageCode?: string;
|
|
9870
|
+
receivedDateTime: string;
|
|
9871
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9872
|
+
modified?: string;
|
|
9873
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9874
|
+
isLiked?: boolean;
|
|
9875
|
+
threadId?: string;
|
|
9876
|
+
isUnread?: boolean;
|
|
9877
|
+
hasUnreadReplies?: boolean;
|
|
9878
|
+
isDemoContent?: boolean;
|
|
9879
|
+
attachmentContainerId?: string;
|
|
9880
|
+
}[];
|
|
9881
|
+
paginationToken?: any;
|
|
9882
|
+
nextItem?: StreamPostComment;
|
|
9883
|
+
hasMoreUnreadComments?: boolean;
|
|
9884
|
+
hasNextPage?: boolean;
|
|
9885
|
+
};
|
|
9886
|
+
keywords: {
|
|
9887
|
+
[key: string]: Keyword[];
|
|
9888
|
+
};
|
|
9889
|
+
type: StreamItemTypes.News;
|
|
9890
|
+
contentsList: StreamPublishableItemContents[];
|
|
9891
|
+
channelsList: string[];
|
|
9892
|
+
isUnread: boolean;
|
|
9893
|
+
keywordsList?: Keyword[];
|
|
9894
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9895
|
+
source?: string;
|
|
9896
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
9897
|
+
expiryDate?: string;
|
|
9898
|
+
knownState: KnownNewsState;
|
|
9899
|
+
hasNewComments?: boolean;
|
|
9900
|
+
isLiked?: boolean;
|
|
9901
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
9902
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
9903
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
9904
|
+
id?: string;
|
|
9905
|
+
versionId?: string;
|
|
9906
|
+
publishingDate?: string;
|
|
9907
|
+
deleted?: string;
|
|
9908
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
9909
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
9910
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
9911
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
9912
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
9913
|
+
fileAccessToken?: string;
|
|
9914
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
9915
|
+
customProperties?: {
|
|
9916
|
+
[key: string]: any;
|
|
9917
|
+
};
|
|
9918
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
9919
|
+
modified: string;
|
|
9920
|
+
created: string;
|
|
9921
|
+
publishedVersionId?: string;
|
|
9922
|
+
isCurrentPublishedVersion?: boolean;
|
|
9923
|
+
isLatestVersion?: boolean;
|
|
9924
|
+
permalink?: string;
|
|
9925
|
+
groupIds: string[];
|
|
9926
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
9927
|
+
useExternalContent?: boolean;
|
|
9928
|
+
isDemoContent?: boolean;
|
|
9929
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
9930
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9931
|
+
} | {
|
|
9932
|
+
groupId: string;
|
|
9933
|
+
attachments: {
|
|
9934
|
+
type: AttachmentType;
|
|
9935
|
+
id: string;
|
|
9936
|
+
filename?: string;
|
|
9937
|
+
previewUrl?: string;
|
|
9938
|
+
url?: string;
|
|
9939
|
+
isUploadInProgress?: boolean;
|
|
9940
|
+
hasError?: boolean;
|
|
9941
|
+
width?: number;
|
|
9942
|
+
height?: number;
|
|
9943
|
+
}[];
|
|
9944
|
+
comments: {
|
|
9945
|
+
items: {
|
|
9946
|
+
conversationScope: ConversationScope;
|
|
9947
|
+
fileAccessToken: string;
|
|
9948
|
+
attachments: {
|
|
9949
|
+
type: AttachmentType;
|
|
9950
|
+
id: string;
|
|
9951
|
+
filename?: string;
|
|
9952
|
+
previewUrl?: string;
|
|
9953
|
+
url?: string;
|
|
9954
|
+
isUploadInProgress?: boolean;
|
|
9955
|
+
hasError?: boolean;
|
|
9956
|
+
width?: number;
|
|
9957
|
+
height?: number;
|
|
9958
|
+
}[];
|
|
9959
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9960
|
+
streamConversationScope?: StreamConversationScope;
|
|
9961
|
+
id: string;
|
|
9962
|
+
parentItemId: string;
|
|
9963
|
+
content: string;
|
|
9964
|
+
contentLanguageCode?: string;
|
|
9965
|
+
receivedDateTime: string;
|
|
9966
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9967
|
+
modified?: string;
|
|
9968
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9969
|
+
isLiked?: boolean;
|
|
9970
|
+
threadId?: string;
|
|
9971
|
+
isUnread?: boolean;
|
|
9972
|
+
hasUnreadReplies?: boolean;
|
|
9973
|
+
isDemoContent?: boolean;
|
|
9974
|
+
attachmentContainerId?: string;
|
|
9975
|
+
}[];
|
|
9976
|
+
paginationToken?: any;
|
|
9977
|
+
nextItem?: StreamPostComment;
|
|
9978
|
+
hasMoreUnreadComments?: boolean;
|
|
9979
|
+
hasNextPage?: boolean;
|
|
9980
|
+
};
|
|
9981
|
+
keywords: {
|
|
9982
|
+
[key: string]: Keyword[];
|
|
9983
|
+
};
|
|
9984
|
+
type: StreamItemTypes.Event;
|
|
9985
|
+
contentsList: StreamPublishableItemContents[];
|
|
9986
|
+
channelsList: string[];
|
|
9987
|
+
isUnread: boolean;
|
|
9988
|
+
keywordsList?: Keyword[];
|
|
9989
|
+
userResponseType?: StreamEventResponse;
|
|
9990
|
+
startDate?: string;
|
|
9991
|
+
endDate?: string;
|
|
9992
|
+
timeZone?: string;
|
|
9993
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
9994
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
9995
|
+
userResponse?: EventResponse;
|
|
9996
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
9997
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
9998
|
+
hasNewComments?: boolean;
|
|
9999
|
+
isLiked?: boolean;
|
|
10000
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10001
|
+
recurrenceSeriesId?: string;
|
|
10002
|
+
isSeriesMaster?: string;
|
|
10003
|
+
isVirtual?: boolean;
|
|
10004
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10005
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10006
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10007
|
+
id?: string;
|
|
10008
|
+
versionId?: string;
|
|
10009
|
+
publishingDate?: string;
|
|
10010
|
+
deleted?: string;
|
|
10011
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10012
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10013
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10014
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10015
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10016
|
+
fileAccessToken?: string;
|
|
10017
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10018
|
+
customProperties?: {
|
|
10019
|
+
[key: string]: any;
|
|
10020
|
+
};
|
|
10021
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10022
|
+
modified: string;
|
|
10023
|
+
created: string;
|
|
10024
|
+
publishedVersionId?: string;
|
|
10025
|
+
isCurrentPublishedVersion?: boolean;
|
|
10026
|
+
isLatestVersion?: boolean;
|
|
10027
|
+
permalink?: string;
|
|
10028
|
+
groupIds: string[];
|
|
10029
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10030
|
+
useExternalContent?: boolean;
|
|
10031
|
+
isDemoContent?: boolean;
|
|
10032
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10033
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10034
|
+
} | {
|
|
10035
|
+
groupId: string;
|
|
10036
|
+
attachments: {
|
|
10037
|
+
type: AttachmentType;
|
|
10038
|
+
id: string;
|
|
10039
|
+
filename?: string;
|
|
10040
|
+
previewUrl?: string;
|
|
10041
|
+
url?: string;
|
|
10042
|
+
isUploadInProgress?: boolean;
|
|
10043
|
+
hasError?: boolean;
|
|
10044
|
+
width?: number;
|
|
10045
|
+
height?: number;
|
|
10046
|
+
}[];
|
|
10047
|
+
comments: {
|
|
10048
|
+
items: {
|
|
10049
|
+
conversationScope: ConversationScope;
|
|
10050
|
+
fileAccessToken: string;
|
|
10051
|
+
attachments: {
|
|
10052
|
+
type: AttachmentType;
|
|
10053
|
+
id: string;
|
|
10054
|
+
filename?: string;
|
|
10055
|
+
previewUrl?: string;
|
|
10056
|
+
url?: string;
|
|
10057
|
+
isUploadInProgress?: boolean;
|
|
10058
|
+
hasError?: boolean;
|
|
10059
|
+
width?: number;
|
|
10060
|
+
height?: number;
|
|
10061
|
+
}[];
|
|
10062
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10063
|
+
streamConversationScope?: StreamConversationScope;
|
|
10064
|
+
id: string;
|
|
10065
|
+
parentItemId: string;
|
|
10066
|
+
content: string;
|
|
10067
|
+
contentLanguageCode?: string;
|
|
10068
|
+
receivedDateTime: string;
|
|
10069
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10070
|
+
modified?: string;
|
|
10071
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10072
|
+
isLiked?: boolean;
|
|
10073
|
+
threadId?: string;
|
|
10074
|
+
isUnread?: boolean;
|
|
10075
|
+
hasUnreadReplies?: boolean;
|
|
10076
|
+
isDemoContent?: boolean;
|
|
10077
|
+
attachmentContainerId?: string;
|
|
10078
|
+
}[];
|
|
10079
|
+
paginationToken?: any;
|
|
10080
|
+
nextItem?: StreamPostComment;
|
|
10081
|
+
hasMoreUnreadComments?: boolean;
|
|
10082
|
+
hasNextPage?: boolean;
|
|
10083
|
+
};
|
|
10084
|
+
keywords: {
|
|
10085
|
+
[key: string]: Keyword[];
|
|
10086
|
+
};
|
|
10087
|
+
type: StreamItemTypes.Page;
|
|
10088
|
+
contentsList: StreamPublishableItemContents[];
|
|
10089
|
+
channelsList: string[];
|
|
10090
|
+
isUnread: boolean;
|
|
10091
|
+
keywordsList?: Keyword[];
|
|
10092
|
+
streamPageType?: string;
|
|
10093
|
+
path?: (PageNavigationNode & {
|
|
10094
|
+
parentId?: string;
|
|
10095
|
+
})[];
|
|
10096
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10097
|
+
parentId?: string;
|
|
10098
|
+
pathIds?: string[];
|
|
10099
|
+
position?: number;
|
|
10100
|
+
navigationContext?: PageNavigationContext;
|
|
10101
|
+
hasHiddenAncestor?: boolean;
|
|
10102
|
+
isUnlinked?: boolean;
|
|
10103
|
+
pageType?: PageType;
|
|
10104
|
+
firstChildId?: string;
|
|
10105
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10106
|
+
id?: string;
|
|
10107
|
+
versionId?: string;
|
|
10108
|
+
publishingDate?: string;
|
|
10109
|
+
deleted?: string;
|
|
10110
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10111
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10112
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10113
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10114
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10115
|
+
fileAccessToken?: string;
|
|
10116
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10117
|
+
customProperties?: {
|
|
10118
|
+
[key: string]: any;
|
|
10119
|
+
};
|
|
10120
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10121
|
+
modified: string;
|
|
10122
|
+
created: string;
|
|
10123
|
+
publishedVersionId?: string;
|
|
10124
|
+
isCurrentPublishedVersion?: boolean;
|
|
10125
|
+
isLatestVersion?: boolean;
|
|
10126
|
+
permalink?: string;
|
|
10127
|
+
groupIds: string[];
|
|
10128
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10129
|
+
useExternalContent?: boolean;
|
|
10130
|
+
isDemoContent?: boolean;
|
|
10131
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10132
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10133
|
+
} | {
|
|
10134
|
+
knownState?: undefined;
|
|
10135
|
+
pageType?: undefined;
|
|
10136
|
+
navigationContext?: undefined;
|
|
10137
|
+
userResponse: EventResponse;
|
|
10138
|
+
channels: {
|
|
10139
|
+
name: string;
|
|
10140
|
+
}[];
|
|
10141
|
+
contents: {};
|
|
10142
|
+
bannerInfo: {
|
|
10143
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10144
|
+
type: "video" | "image";
|
|
10145
|
+
videoId?: string;
|
|
10146
|
+
videoUrl?: string;
|
|
10147
|
+
isDirectVideoUrl?: boolean;
|
|
10148
|
+
imageId?: string;
|
|
10149
|
+
};
|
|
10150
|
+
keywords: {
|
|
10151
|
+
[key: string]: Keyword[];
|
|
10152
|
+
};
|
|
10153
|
+
type: StreamItemTypes.Post;
|
|
10154
|
+
isUnread: boolean;
|
|
10155
|
+
keywordsList?: Keyword[];
|
|
10156
|
+
groupIds?: string[];
|
|
10157
|
+
postAttachments?: StreamAttachment[];
|
|
10158
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10159
|
+
hasMoreUnreadComments: boolean;
|
|
10160
|
+
id: string;
|
|
10161
|
+
comments?: PaginatedList<Comment>;
|
|
10162
|
+
groupId: string;
|
|
10163
|
+
content: string;
|
|
10164
|
+
permalink?: string;
|
|
10165
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10166
|
+
publishingDate: string;
|
|
10167
|
+
modified?: string;
|
|
10168
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10169
|
+
contentLanguageCode?: string;
|
|
10170
|
+
isLiked?: boolean;
|
|
10171
|
+
isDemoContent?: boolean;
|
|
10172
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10173
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10174
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10175
|
+
fileAccessToken?: string;
|
|
10176
|
+
attachmentContainerId?: string;
|
|
10177
|
+
} | {
|
|
10178
|
+
knownState: KnownNewsState;
|
|
10179
|
+
pageType?: undefined;
|
|
10180
|
+
navigationContext?: undefined;
|
|
10181
|
+
userResponse: EventResponse;
|
|
10182
|
+
channels: {
|
|
10183
|
+
name: string;
|
|
10184
|
+
}[];
|
|
10185
|
+
contents: {};
|
|
10186
|
+
bannerInfo: {
|
|
10187
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10188
|
+
type: "video" | "image";
|
|
10189
|
+
videoId?: string;
|
|
10190
|
+
videoUrl?: string;
|
|
10191
|
+
isDirectVideoUrl?: boolean;
|
|
10192
|
+
imageId?: string;
|
|
10193
|
+
};
|
|
10194
|
+
keywords: {
|
|
10195
|
+
[key: string]: Keyword[];
|
|
10196
|
+
};
|
|
10197
|
+
type: StreamItemTypes.Post;
|
|
10198
|
+
isUnread: boolean;
|
|
10199
|
+
keywordsList?: Keyword[];
|
|
10200
|
+
groupIds?: string[];
|
|
10201
|
+
postAttachments?: StreamAttachment[];
|
|
10202
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10203
|
+
hasMoreUnreadComments: boolean;
|
|
10204
|
+
id: string;
|
|
10205
|
+
comments?: PaginatedList<Comment>;
|
|
10206
|
+
groupId: string;
|
|
10207
|
+
content: string;
|
|
10208
|
+
permalink?: string;
|
|
10209
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10210
|
+
publishingDate: string;
|
|
10211
|
+
modified?: string;
|
|
10212
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10213
|
+
contentLanguageCode?: string;
|
|
10214
|
+
isLiked?: boolean;
|
|
10215
|
+
isDemoContent?: boolean;
|
|
10216
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10217
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10218
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10219
|
+
fileAccessToken?: string;
|
|
10220
|
+
attachmentContainerId?: string;
|
|
10221
|
+
} | {
|
|
10222
|
+
knownState?: undefined;
|
|
10223
|
+
pageType: PageType;
|
|
10224
|
+
navigationContext: PageNavigationContext;
|
|
10225
|
+
userResponse: EventResponse;
|
|
10226
|
+
channels: {
|
|
10227
|
+
name: string;
|
|
10228
|
+
}[];
|
|
10229
|
+
contents: {};
|
|
10230
|
+
bannerInfo: {
|
|
10231
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10232
|
+
type: "video" | "image";
|
|
10233
|
+
videoId?: string;
|
|
10234
|
+
videoUrl?: string;
|
|
10235
|
+
isDirectVideoUrl?: boolean;
|
|
10236
|
+
imageId?: string;
|
|
10237
|
+
};
|
|
10238
|
+
keywords: {
|
|
10239
|
+
[key: string]: Keyword[];
|
|
10240
|
+
};
|
|
10241
|
+
type: StreamItemTypes.Post;
|
|
10242
|
+
isUnread: boolean;
|
|
10243
|
+
keywordsList?: Keyword[];
|
|
10244
|
+
groupIds?: string[];
|
|
10245
|
+
postAttachments?: StreamAttachment[];
|
|
10246
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10247
|
+
hasMoreUnreadComments: boolean;
|
|
10248
|
+
id: string;
|
|
10249
|
+
comments?: PaginatedList<Comment>;
|
|
10250
|
+
groupId: string;
|
|
10251
|
+
content: string;
|
|
10252
|
+
permalink?: string;
|
|
10253
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10254
|
+
publishingDate: string;
|
|
10255
|
+
modified?: string;
|
|
10256
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10257
|
+
contentLanguageCode?: string;
|
|
10258
|
+
isLiked?: boolean;
|
|
10259
|
+
isDemoContent?: boolean;
|
|
10260
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10261
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10262
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10263
|
+
fileAccessToken?: string;
|
|
10264
|
+
attachmentContainerId?: string;
|
|
10265
|
+
} | {
|
|
10266
|
+
knownState: KnownNewsState;
|
|
10267
|
+
pageType: PageType;
|
|
10268
|
+
navigationContext: PageNavigationContext;
|
|
10269
|
+
userResponse: EventResponse;
|
|
10270
|
+
channels: {
|
|
10271
|
+
name: string;
|
|
10272
|
+
}[];
|
|
10273
|
+
contents: {};
|
|
10274
|
+
bannerInfo: {
|
|
10275
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10276
|
+
type: "video" | "image";
|
|
10277
|
+
videoId?: string;
|
|
10278
|
+
videoUrl?: string;
|
|
10279
|
+
isDirectVideoUrl?: boolean;
|
|
10280
|
+
imageId?: string;
|
|
10281
|
+
};
|
|
10282
|
+
keywords: {
|
|
10283
|
+
[key: string]: Keyword[];
|
|
10284
|
+
};
|
|
10285
|
+
type: StreamItemTypes.Post;
|
|
10286
|
+
isUnread: boolean;
|
|
10287
|
+
keywordsList?: Keyword[];
|
|
10288
|
+
groupIds?: string[];
|
|
10289
|
+
postAttachments?: StreamAttachment[];
|
|
10290
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10291
|
+
hasMoreUnreadComments: boolean;
|
|
10292
|
+
id: string;
|
|
10293
|
+
comments?: PaginatedList<Comment>;
|
|
10294
|
+
groupId: string;
|
|
10295
|
+
content: string;
|
|
10296
|
+
permalink?: string;
|
|
10297
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10298
|
+
publishingDate: string;
|
|
10299
|
+
modified?: string;
|
|
10300
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10301
|
+
contentLanguageCode?: string;
|
|
10302
|
+
isLiked?: boolean;
|
|
10303
|
+
isDemoContent?: boolean;
|
|
10304
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10305
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10306
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10307
|
+
fileAccessToken?: string;
|
|
10308
|
+
attachmentContainerId?: string;
|
|
10309
|
+
} | {
|
|
10310
|
+
knownState: KnownNewsState;
|
|
10311
|
+
pageType?: undefined;
|
|
10312
|
+
navigationContext?: undefined;
|
|
10313
|
+
userResponse: EventResponse;
|
|
10314
|
+
channels: {
|
|
10315
|
+
name: string;
|
|
10316
|
+
}[];
|
|
10317
|
+
contents: {};
|
|
10318
|
+
bannerInfo: {
|
|
10319
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10320
|
+
type: "video" | "image";
|
|
10321
|
+
videoId?: string;
|
|
10322
|
+
videoUrl?: string;
|
|
10323
|
+
isDirectVideoUrl?: boolean;
|
|
10324
|
+
imageId?: string;
|
|
10325
|
+
};
|
|
10326
|
+
keywords: {
|
|
10327
|
+
[key: string]: Keyword[];
|
|
10328
|
+
};
|
|
10329
|
+
type: StreamItemTypes.News;
|
|
10330
|
+
contentsList: StreamPublishableItemContents[];
|
|
10331
|
+
channelsList: string[];
|
|
10332
|
+
isUnread: boolean;
|
|
10333
|
+
keywordsList?: Keyword[];
|
|
10334
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10335
|
+
source?: string;
|
|
10336
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10337
|
+
expiryDate?: string;
|
|
10338
|
+
hasNewComments?: boolean;
|
|
10339
|
+
isLiked?: boolean;
|
|
10340
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10341
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10342
|
+
id?: string;
|
|
10343
|
+
versionId?: string;
|
|
10344
|
+
publishingDate?: string;
|
|
10345
|
+
deleted?: string;
|
|
10346
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10347
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10348
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10349
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10350
|
+
fileAccessToken?: string;
|
|
10351
|
+
customProperties?: {
|
|
10352
|
+
[key: string]: any;
|
|
10353
|
+
};
|
|
10354
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10355
|
+
modified: string;
|
|
10356
|
+
created: string;
|
|
10357
|
+
publishedVersionId?: string;
|
|
10358
|
+
isCurrentPublishedVersion?: boolean;
|
|
10359
|
+
isLatestVersion?: boolean;
|
|
10360
|
+
permalink?: string;
|
|
10361
|
+
groupIds: string[];
|
|
10362
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10363
|
+
useExternalContent?: boolean;
|
|
10364
|
+
isDemoContent?: boolean;
|
|
10365
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10366
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10367
|
+
} | {
|
|
10368
|
+
knownState: KnownNewsState;
|
|
10369
|
+
pageType: PageType;
|
|
10370
|
+
navigationContext: PageNavigationContext;
|
|
10371
|
+
userResponse: EventResponse;
|
|
10372
|
+
channels: {
|
|
10373
|
+
name: string;
|
|
10374
|
+
}[];
|
|
10375
|
+
contents: {};
|
|
10376
|
+
bannerInfo: {
|
|
10377
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10378
|
+
type: "video" | "image";
|
|
10379
|
+
videoId?: string;
|
|
10380
|
+
videoUrl?: string;
|
|
10381
|
+
isDirectVideoUrl?: boolean;
|
|
10382
|
+
imageId?: string;
|
|
10383
|
+
};
|
|
10384
|
+
keywords: {
|
|
10385
|
+
[key: string]: Keyword[];
|
|
10386
|
+
};
|
|
10387
|
+
type: StreamItemTypes.News;
|
|
10388
|
+
contentsList: StreamPublishableItemContents[];
|
|
10389
|
+
channelsList: string[];
|
|
10390
|
+
isUnread: boolean;
|
|
10391
|
+
keywordsList?: Keyword[];
|
|
10392
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10393
|
+
source?: string;
|
|
10394
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10395
|
+
expiryDate?: string;
|
|
10396
|
+
hasNewComments?: boolean;
|
|
10397
|
+
isLiked?: boolean;
|
|
10398
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10399
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10400
|
+
id?: string;
|
|
10401
|
+
versionId?: string;
|
|
10402
|
+
publishingDate?: string;
|
|
10403
|
+
deleted?: string;
|
|
10404
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10405
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10406
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10407
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10408
|
+
fileAccessToken?: string;
|
|
10409
|
+
customProperties?: {
|
|
10410
|
+
[key: string]: any;
|
|
10411
|
+
};
|
|
10412
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10413
|
+
modified: string;
|
|
10414
|
+
created: string;
|
|
10415
|
+
publishedVersionId?: string;
|
|
10416
|
+
isCurrentPublishedVersion?: boolean;
|
|
10417
|
+
isLatestVersion?: boolean;
|
|
10418
|
+
permalink?: string;
|
|
10419
|
+
groupIds: string[];
|
|
10420
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10421
|
+
useExternalContent?: boolean;
|
|
10422
|
+
isDemoContent?: boolean;
|
|
10423
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10424
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10425
|
+
} | {
|
|
10426
|
+
knownState?: undefined;
|
|
10427
|
+
pageType?: undefined;
|
|
10428
|
+
navigationContext?: undefined;
|
|
10429
|
+
userResponse: EventResponse;
|
|
10430
|
+
channels: {
|
|
10431
|
+
name: string;
|
|
10432
|
+
}[];
|
|
10433
|
+
contents: {};
|
|
10434
|
+
bannerInfo: {
|
|
10435
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10436
|
+
type: "video" | "image";
|
|
10437
|
+
videoId?: string;
|
|
10438
|
+
videoUrl?: string;
|
|
10439
|
+
isDirectVideoUrl?: boolean;
|
|
10440
|
+
imageId?: string;
|
|
10441
|
+
};
|
|
10442
|
+
keywords: {
|
|
10443
|
+
[key: string]: Keyword[];
|
|
10444
|
+
};
|
|
10445
|
+
type: StreamItemTypes.Event;
|
|
10446
|
+
contentsList: StreamPublishableItemContents[];
|
|
10447
|
+
channelsList: string[];
|
|
10448
|
+
isUnread: boolean;
|
|
10449
|
+
keywordsList?: Keyword[];
|
|
10450
|
+
userResponseType?: StreamEventResponse;
|
|
10451
|
+
startDate?: string;
|
|
10452
|
+
endDate?: string;
|
|
10453
|
+
timeZone?: string;
|
|
10454
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10455
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10456
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10457
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10458
|
+
hasNewComments?: boolean;
|
|
10459
|
+
isLiked?: boolean;
|
|
10460
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10461
|
+
recurrenceSeriesId?: string;
|
|
10462
|
+
isSeriesMaster?: string;
|
|
10463
|
+
isVirtual?: boolean;
|
|
10464
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10465
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10466
|
+
id?: string;
|
|
10467
|
+
versionId?: string;
|
|
10468
|
+
publishingDate?: string;
|
|
10469
|
+
deleted?: string;
|
|
10470
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10471
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10472
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10473
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10474
|
+
fileAccessToken?: string;
|
|
10475
|
+
customProperties?: {
|
|
10476
|
+
[key: string]: any;
|
|
10477
|
+
};
|
|
10478
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10479
|
+
modified: string;
|
|
10480
|
+
created: string;
|
|
10481
|
+
publishedVersionId?: string;
|
|
10482
|
+
isCurrentPublishedVersion?: boolean;
|
|
10483
|
+
isLatestVersion?: boolean;
|
|
10484
|
+
permalink?: string;
|
|
10485
|
+
groupIds: string[];
|
|
10486
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10487
|
+
useExternalContent?: boolean;
|
|
10488
|
+
isDemoContent?: boolean;
|
|
10489
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10490
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10491
|
+
} | {
|
|
10492
|
+
knownState: KnownNewsState;
|
|
10493
|
+
pageType?: undefined;
|
|
10494
|
+
navigationContext?: undefined;
|
|
10495
|
+
userResponse: EventResponse;
|
|
10496
|
+
channels: {
|
|
10497
|
+
name: string;
|
|
10498
|
+
}[];
|
|
10499
|
+
contents: {};
|
|
10500
|
+
bannerInfo: {
|
|
10501
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10502
|
+
type: "video" | "image";
|
|
10503
|
+
videoId?: string;
|
|
10504
|
+
videoUrl?: string;
|
|
10505
|
+
isDirectVideoUrl?: boolean;
|
|
10506
|
+
imageId?: string;
|
|
10507
|
+
};
|
|
10508
|
+
keywords: {
|
|
10509
|
+
[key: string]: Keyword[];
|
|
10510
|
+
};
|
|
10511
|
+
type: StreamItemTypes.Event;
|
|
10512
|
+
contentsList: StreamPublishableItemContents[];
|
|
10513
|
+
channelsList: string[];
|
|
10514
|
+
isUnread: boolean;
|
|
10515
|
+
keywordsList?: Keyword[];
|
|
10516
|
+
userResponseType?: StreamEventResponse;
|
|
10517
|
+
startDate?: string;
|
|
10518
|
+
endDate?: string;
|
|
10519
|
+
timeZone?: string;
|
|
10520
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10521
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10522
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10523
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10524
|
+
hasNewComments?: boolean;
|
|
10525
|
+
isLiked?: boolean;
|
|
10526
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10527
|
+
recurrenceSeriesId?: string;
|
|
10528
|
+
isSeriesMaster?: string;
|
|
10529
|
+
isVirtual?: boolean;
|
|
10530
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10531
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10532
|
+
id?: string;
|
|
10533
|
+
versionId?: string;
|
|
10534
|
+
publishingDate?: string;
|
|
10535
|
+
deleted?: string;
|
|
10536
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10537
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10538
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10539
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10540
|
+
fileAccessToken?: string;
|
|
10541
|
+
customProperties?: {
|
|
10542
|
+
[key: string]: any;
|
|
10543
|
+
};
|
|
10544
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10545
|
+
modified: string;
|
|
10546
|
+
created: string;
|
|
10547
|
+
publishedVersionId?: string;
|
|
10548
|
+
isCurrentPublishedVersion?: boolean;
|
|
10549
|
+
isLatestVersion?: boolean;
|
|
10550
|
+
permalink?: string;
|
|
10551
|
+
groupIds: string[];
|
|
10552
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10553
|
+
useExternalContent?: boolean;
|
|
10554
|
+
isDemoContent?: boolean;
|
|
10555
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10556
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10557
|
+
} | {
|
|
10558
|
+
knownState?: undefined;
|
|
10559
|
+
pageType: PageType;
|
|
10560
|
+
navigationContext: PageNavigationContext;
|
|
10561
|
+
userResponse: EventResponse;
|
|
10562
|
+
channels: {
|
|
10563
|
+
name: string;
|
|
10564
|
+
}[];
|
|
10565
|
+
contents: {};
|
|
10566
|
+
bannerInfo: {
|
|
10567
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10568
|
+
type: "video" | "image";
|
|
10569
|
+
videoId?: string;
|
|
10570
|
+
videoUrl?: string;
|
|
10571
|
+
isDirectVideoUrl?: boolean;
|
|
10572
|
+
imageId?: string;
|
|
10573
|
+
};
|
|
10574
|
+
keywords: {
|
|
10575
|
+
[key: string]: Keyword[];
|
|
10576
|
+
};
|
|
10577
|
+
type: StreamItemTypes.Event;
|
|
10578
|
+
contentsList: StreamPublishableItemContents[];
|
|
10579
|
+
channelsList: string[];
|
|
10580
|
+
isUnread: boolean;
|
|
10581
|
+
keywordsList?: Keyword[];
|
|
10582
|
+
userResponseType?: StreamEventResponse;
|
|
10583
|
+
startDate?: string;
|
|
10584
|
+
endDate?: string;
|
|
10585
|
+
timeZone?: string;
|
|
10586
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10587
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10588
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10589
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10590
|
+
hasNewComments?: boolean;
|
|
10591
|
+
isLiked?: boolean;
|
|
10592
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10593
|
+
recurrenceSeriesId?: string;
|
|
10594
|
+
isSeriesMaster?: string;
|
|
10595
|
+
isVirtual?: boolean;
|
|
10596
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10597
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10598
|
+
id?: string;
|
|
10599
|
+
versionId?: string;
|
|
10600
|
+
publishingDate?: string;
|
|
10601
|
+
deleted?: string;
|
|
10602
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10603
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10604
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10605
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10606
|
+
fileAccessToken?: string;
|
|
10607
|
+
customProperties?: {
|
|
10608
|
+
[key: string]: any;
|
|
10609
|
+
};
|
|
10610
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10611
|
+
modified: string;
|
|
10612
|
+
created: string;
|
|
10613
|
+
publishedVersionId?: string;
|
|
10614
|
+
isCurrentPublishedVersion?: boolean;
|
|
10615
|
+
isLatestVersion?: boolean;
|
|
10616
|
+
permalink?: string;
|
|
10617
|
+
groupIds: string[];
|
|
10618
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10619
|
+
useExternalContent?: boolean;
|
|
10620
|
+
isDemoContent?: boolean;
|
|
10621
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10622
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10623
|
+
} | {
|
|
10624
|
+
knownState: KnownNewsState;
|
|
10625
|
+
pageType: PageType;
|
|
10626
|
+
navigationContext: PageNavigationContext;
|
|
10627
|
+
userResponse: EventResponse;
|
|
10628
|
+
channels: {
|
|
10629
|
+
name: string;
|
|
10630
|
+
}[];
|
|
10631
|
+
contents: {};
|
|
10632
|
+
bannerInfo: {
|
|
10633
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10634
|
+
type: "video" | "image";
|
|
10635
|
+
videoId?: string;
|
|
10636
|
+
videoUrl?: string;
|
|
10637
|
+
isDirectVideoUrl?: boolean;
|
|
10638
|
+
imageId?: string;
|
|
9545
10639
|
};
|
|
9546
|
-
|
|
9547
|
-
|
|
9548
|
-
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9549
|
-
import { FC } from 'react';
|
|
9550
|
-
export const PostFollowButton: FC<{
|
|
9551
|
-
itemId: string;
|
|
9552
|
-
}>;
|
|
9553
|
-
}
|
|
9554
|
-
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9555
|
-
import { FC } from 'react';
|
|
9556
|
-
import { NavLink } from 'react-router-dom';
|
|
9557
|
-
export const PostGroup: FC<{
|
|
9558
|
-
groupId: string;
|
|
9559
|
-
to: string;
|
|
9560
|
-
className?: string;
|
|
9561
|
-
}>;
|
|
9562
|
-
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9563
|
-
}
|
|
9564
|
-
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9565
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9566
|
-
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9567
|
-
interface Props {
|
|
9568
|
-
post: Post;
|
|
9569
|
-
className?: string;
|
|
9570
|
-
threadId?: string;
|
|
9571
|
-
onCustomPostDelete?: () => void;
|
|
9572
|
-
comments?: PaginatedList<Comment>;
|
|
9573
|
-
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[];
|
|
10640
|
+
keywords: {
|
|
10641
|
+
[key: string]: Keyword[];
|
|
9581
10642
|
};
|
|
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
|
-
|
|
10643
|
+
type: StreamItemTypes.Event;
|
|
10644
|
+
contentsList: StreamPublishableItemContents[];
|
|
10645
|
+
channelsList: string[];
|
|
10646
|
+
isUnread: boolean;
|
|
10647
|
+
keywordsList?: Keyword[];
|
|
10648
|
+
userResponseType?: StreamEventResponse;
|
|
10649
|
+
startDate?: string;
|
|
10650
|
+
endDate?: string;
|
|
10651
|
+
timeZone?: string;
|
|
10652
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10653
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10654
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10655
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10656
|
+
hasNewComments?: boolean;
|
|
10657
|
+
isLiked?: boolean;
|
|
10658
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10659
|
+
recurrenceSeriesId?: string;
|
|
10660
|
+
isSeriesMaster?: string;
|
|
10661
|
+
isVirtual?: boolean;
|
|
10662
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10663
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10664
|
+
id?: string;
|
|
10665
|
+
versionId?: string;
|
|
10666
|
+
publishingDate?: string;
|
|
10667
|
+
deleted?: string;
|
|
10668
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10669
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10670
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10671
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10672
|
+
fileAccessToken?: string;
|
|
10673
|
+
customProperties?: {
|
|
10674
|
+
[key: string]: any;
|
|
9607
10675
|
};
|
|
9608
|
-
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9620
|
-
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
10676
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10677
|
+
modified: string;
|
|
10678
|
+
created: string;
|
|
10679
|
+
publishedVersionId?: string;
|
|
10680
|
+
isCurrentPublishedVersion?: boolean;
|
|
10681
|
+
isLatestVersion?: boolean;
|
|
10682
|
+
permalink?: string;
|
|
10683
|
+
groupIds: string[];
|
|
10684
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10685
|
+
useExternalContent?: boolean;
|
|
10686
|
+
isDemoContent?: boolean;
|
|
10687
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10688
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10689
|
+
} | {
|
|
10690
|
+
knownState?: undefined;
|
|
10691
|
+
pageType?: PageType;
|
|
10692
|
+
navigationContext?: PageNavigationContext;
|
|
10693
|
+
userResponse: EventResponse;
|
|
10694
|
+
channels: {
|
|
10695
|
+
name: string;
|
|
10696
|
+
}[];
|
|
10697
|
+
contents: {};
|
|
10698
|
+
bannerInfo: {
|
|
10699
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10700
|
+
type: "video" | "image";
|
|
10701
|
+
videoId?: string;
|
|
10702
|
+
videoUrl?: string;
|
|
10703
|
+
isDirectVideoUrl?: boolean;
|
|
10704
|
+
imageId?: string;
|
|
9626
10705
|
};
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
10706
|
+
keywords: {
|
|
10707
|
+
[key: string]: Keyword[];
|
|
10708
|
+
};
|
|
10709
|
+
type: StreamItemTypes.Page;
|
|
10710
|
+
contentsList: StreamPublishableItemContents[];
|
|
10711
|
+
channelsList: string[];
|
|
10712
|
+
isUnread: boolean;
|
|
10713
|
+
keywordsList?: Keyword[];
|
|
10714
|
+
streamPageType?: string;
|
|
10715
|
+
path?: (PageNavigationNode & {
|
|
10716
|
+
parentId?: string;
|
|
10717
|
+
})[];
|
|
10718
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10719
|
+
parentId?: string;
|
|
10720
|
+
pathIds?: string[];
|
|
10721
|
+
position?: number;
|
|
10722
|
+
hasHiddenAncestor?: boolean;
|
|
10723
|
+
isUnlinked?: boolean;
|
|
10724
|
+
firstChildId?: string;
|
|
10725
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10726
|
+
id?: string;
|
|
10727
|
+
versionId?: string;
|
|
10728
|
+
publishingDate?: string;
|
|
10729
|
+
deleted?: string;
|
|
10730
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10731
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10732
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10733
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10734
|
+
fileAccessToken?: string;
|
|
10735
|
+
customProperties?: {
|
|
10736
|
+
[key: string]: any;
|
|
10737
|
+
};
|
|
10738
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10739
|
+
modified: string;
|
|
10740
|
+
created: string;
|
|
10741
|
+
publishedVersionId?: string;
|
|
10742
|
+
isCurrentPublishedVersion?: boolean;
|
|
10743
|
+
isLatestVersion?: boolean;
|
|
10744
|
+
permalink?: string;
|
|
10745
|
+
groupIds: string[];
|
|
10746
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10747
|
+
useExternalContent?: boolean;
|
|
10748
|
+
isDemoContent?: boolean;
|
|
10749
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10750
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10751
|
+
} | {
|
|
10752
|
+
knownState: KnownNewsState;
|
|
10753
|
+
pageType?: PageType;
|
|
10754
|
+
navigationContext?: PageNavigationContext;
|
|
10755
|
+
userResponse: EventResponse;
|
|
10756
|
+
channels: {
|
|
10757
|
+
name: string;
|
|
10758
|
+
}[];
|
|
10759
|
+
contents: {};
|
|
10760
|
+
bannerInfo: {
|
|
10761
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10762
|
+
type: "video" | "image";
|
|
10763
|
+
videoId?: string;
|
|
10764
|
+
videoUrl?: string;
|
|
10765
|
+
isDirectVideoUrl?: boolean;
|
|
10766
|
+
imageId?: string;
|
|
10767
|
+
};
|
|
10768
|
+
keywords: {
|
|
10769
|
+
[key: string]: Keyword[];
|
|
10770
|
+
};
|
|
10771
|
+
type: StreamItemTypes.Page;
|
|
10772
|
+
contentsList: StreamPublishableItemContents[];
|
|
10773
|
+
channelsList: string[];
|
|
10774
|
+
isUnread: boolean;
|
|
10775
|
+
keywordsList?: Keyword[];
|
|
10776
|
+
streamPageType?: string;
|
|
10777
|
+
path?: (PageNavigationNode & {
|
|
10778
|
+
parentId?: string;
|
|
10779
|
+
})[];
|
|
10780
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10781
|
+
parentId?: string;
|
|
10782
|
+
pathIds?: string[];
|
|
10783
|
+
position?: number;
|
|
10784
|
+
hasHiddenAncestor?: boolean;
|
|
10785
|
+
isUnlinked?: boolean;
|
|
10786
|
+
firstChildId?: string;
|
|
10787
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10788
|
+
id?: string;
|
|
10789
|
+
versionId?: string;
|
|
10790
|
+
publishingDate?: string;
|
|
10791
|
+
deleted?: string;
|
|
10792
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10793
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10794
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10795
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10796
|
+
fileAccessToken?: string;
|
|
10797
|
+
customProperties?: {
|
|
10798
|
+
[key: string]: any;
|
|
10799
|
+
};
|
|
10800
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10801
|
+
modified: string;
|
|
10802
|
+
created: string;
|
|
10803
|
+
publishedVersionId?: string;
|
|
10804
|
+
isCurrentPublishedVersion?: boolean;
|
|
10805
|
+
isLatestVersion?: boolean;
|
|
10806
|
+
permalink?: string;
|
|
10807
|
+
groupIds: string[];
|
|
10808
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10809
|
+
useExternalContent?: boolean;
|
|
10810
|
+
isDemoContent?: boolean;
|
|
10811
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10812
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10813
|
+
})[];
|
|
9634
10814
|
}
|
|
9635
|
-
declare module "libs/reach/feature/content/src/
|
|
10815
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10816
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10817
|
+
import { DocumentNode } from '@apollo/client';
|
|
10818
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10819
|
+
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition, FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
10820
|
+
export enum StreamEventResponse {
|
|
10821
|
+
NotSet = "NOTSET",
|
|
10822
|
+
Registered = "REGISTERED",
|
|
10823
|
+
Declined = "DECLINED"
|
|
10824
|
+
}
|
|
10825
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10826
|
+
}
|
|
10827
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10828
|
+
items: StreamItem[];
|
|
10829
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10830
|
+
loadMore: () => Promise<void>;
|
|
10831
|
+
pageInfo: {
|
|
10832
|
+
errors?: any;
|
|
10833
|
+
hasNextPage: boolean;
|
|
10834
|
+
skip: number;
|
|
10835
|
+
};
|
|
10836
|
+
refresh: () => Promise<void>;
|
|
10837
|
+
isLoadingFirstPage: boolean;
|
|
10838
|
+
};
|
|
10839
|
+
export const getStreamQuery: () => DocumentNode;
|
|
10840
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10841
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10842
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10843
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10844
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10845
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10846
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10847
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
10848
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10849
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10850
|
+
}
|
|
10851
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
9636
10852
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9637
10853
|
import { DependencyList } from 'react';
|
|
9638
|
-
export function
|
|
10854
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
9639
10855
|
}
|
|
9640
10856
|
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
9641
10857
|
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -9653,7 +10869,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
9653
10869
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
9654
10870
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
9655
10871
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
9656
|
-
export * from "libs/reach/feature/content/src/posts/
|
|
10872
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
9657
10873
|
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
9658
10874
|
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
9659
10875
|
export * from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9673,7 +10889,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
|
9673
10889
|
onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
|
|
9674
10890
|
onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
|
|
9675
10891
|
className?: string;
|
|
9676
|
-
useLargeAvatar?: boolean;
|
|
9677
10892
|
useExternalLink?: boolean;
|
|
9678
10893
|
}
|
|
9679
10894
|
export const EditorListItem: FC<Props>;
|
|
@@ -9718,12 +10933,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
9718
10933
|
}
|
|
9719
10934
|
}
|
|
9720
10935
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
9721
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
10936
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9722
10937
|
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
10938
|
import { Observable } from 'rxjs';
|
|
9728
10939
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
9729
10940
|
export function useEditorApi(): {
|
|
@@ -9743,6 +10954,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
|
9743
10954
|
keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
|
|
9744
10955
|
saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
|
|
9745
10956
|
updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
|
|
10957
|
+
translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
|
|
9746
10958
|
};
|
|
9747
10959
|
}
|
|
9748
10960
|
declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
@@ -9766,6 +10978,59 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
9766
10978
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
9767
10979
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
9768
10980
|
}
|
|
10981
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
10982
|
+
import { FC } from 'react';
|
|
10983
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10984
|
+
export const StreamPostItemCard: FC<{
|
|
10985
|
+
post: PostStreamItem;
|
|
10986
|
+
onPostDelete: (id: string) => unknown;
|
|
10987
|
+
}>;
|
|
10988
|
+
}
|
|
10989
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
10990
|
+
import { FC } from 'react';
|
|
10991
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10992
|
+
export const StreamNewsItemCard: FC<{
|
|
10993
|
+
news: NewsStreamItem;
|
|
10994
|
+
}>;
|
|
10995
|
+
}
|
|
10996
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
10997
|
+
import { FC } from 'react';
|
|
10998
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10999
|
+
export const StreamEventItemCard: FC<{
|
|
11000
|
+
event: EventStreamItem;
|
|
11001
|
+
}>;
|
|
11002
|
+
}
|
|
11003
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11004
|
+
import { FC } from 'react';
|
|
11005
|
+
export const GlobalSearchButton: FC;
|
|
11006
|
+
}
|
|
11007
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11008
|
+
import { FC } from 'react';
|
|
11009
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11010
|
+
export type StreamQueryResult = {
|
|
11011
|
+
items: StreamItem[];
|
|
11012
|
+
};
|
|
11013
|
+
export const StreamList: FC;
|
|
11014
|
+
}
|
|
11015
|
+
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
11016
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
11017
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
11018
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11019
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
|
|
11020
|
+
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11021
|
+
}
|
|
11022
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11023
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
11024
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11025
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11026
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
11027
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
11028
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
11029
|
+
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
11030
|
+
}
|
|
11031
|
+
declare module "libs/reach/feature/content/src/search/index" {
|
|
11032
|
+
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11033
|
+
}
|
|
9769
11034
|
declare module "libs/reach/feature/content/src/index" {
|
|
9770
11035
|
export * from "libs/reach/feature/content/src/comments/index";
|
|
9771
11036
|
export * from "libs/reach/feature/content/src/common/index";
|
|
@@ -9778,6 +11043,8 @@ declare module "libs/reach/feature/content/src/index" {
|
|
|
9778
11043
|
export * from "libs/reach/feature/content/src/posts/index";
|
|
9779
11044
|
export * from "libs/reach/feature/content/src/editor/index";
|
|
9780
11045
|
export * from "libs/reach/feature/content/src/public-user/index";
|
|
11046
|
+
export * from "libs/reach/feature/content/src/stream/index";
|
|
11047
|
+
export * from "libs/reach/feature/content/src/search/index";
|
|
9781
11048
|
}
|
|
9782
11049
|
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
9783
11050
|
import { FC } from 'react';
|
|
@@ -9842,38 +11109,28 @@ declare module "apps/reach-app/src/app/admin/users/self-registration/SelfRegistr
|
|
|
9842
11109
|
import { FC } from 'react';
|
|
9843
11110
|
export const SelfRegistrationSettingsPage: FC;
|
|
9844
11111
|
}
|
|
9845
|
-
declare module "apps/reach-app/src/app/Intercom/Intercom" {
|
|
9846
|
-
export interface Intercom {
|
|
9847
|
-
(action: string, settings?: IntercomSettings): void;
|
|
9848
|
-
}
|
|
9849
|
-
export interface IntercomSettings {
|
|
9850
|
-
app_id: string;
|
|
9851
|
-
product_id: string;
|
|
9852
|
-
name?: string;
|
|
9853
|
-
email?: string;
|
|
9854
|
-
}
|
|
9855
|
-
export function create(settings: IntercomSettings): Intercom;
|
|
9856
|
-
}
|
|
9857
11112
|
declare module "apps/reach-app/src/app/AppLoader" {
|
|
9858
11113
|
import { FC } from 'react';
|
|
9859
11114
|
export const AppLoader: FC;
|
|
9860
11115
|
}
|
|
9861
11116
|
declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
|
|
9862
11117
|
import './ContainerWithLogo.scss';
|
|
11118
|
+
import { LogoInfo } from "libs/reach/util/common/src/index";
|
|
11119
|
+
import { FC, ReactNode } from 'react';
|
|
9863
11120
|
export enum DefaultLogoColor {
|
|
9864
11121
|
Default = 0,
|
|
9865
11122
|
White = 1
|
|
9866
11123
|
}
|
|
9867
|
-
type RenderChildren =
|
|
9868
|
-
export const ContainerWithLogo:
|
|
9869
|
-
|
|
9870
|
-
logoColor?: DefaultLogoColor;
|
|
11124
|
+
type RenderChildren = ReactNode | (() => ReactNode);
|
|
11125
|
+
export const ContainerWithLogo: FC<{
|
|
11126
|
+
logoInfo?: LogoInfo;
|
|
9871
11127
|
text?: string;
|
|
9872
11128
|
headerClassName?: string;
|
|
9873
11129
|
additionalClasses?: string;
|
|
9874
11130
|
children: RenderChildren;
|
|
9875
11131
|
className?: string;
|
|
9876
11132
|
additionalContent?: RenderChildren;
|
|
11133
|
+
isBrandedContainer?: boolean;
|
|
9877
11134
|
}>;
|
|
9878
11135
|
}
|
|
9879
11136
|
declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
|
|
@@ -9899,21 +11156,20 @@ declare module "apps/reach-app/src/app/teams/TeamsContext" {
|
|
|
9899
11156
|
}>;
|
|
9900
11157
|
export const TeamsContextProvider: FC;
|
|
9901
11158
|
}
|
|
9902
|
-
declare module "apps/reach-app/src/app/
|
|
9903
|
-
export enum
|
|
9904
|
-
Authenticated = 0,
|
|
9905
|
-
UnAuthenticated = 1
|
|
9906
|
-
}
|
|
9907
|
-
export enum IntercomInitialState {
|
|
11159
|
+
declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
11160
|
+
export enum ZendeskInitialState {
|
|
9908
11161
|
Minimized = 0,
|
|
9909
11162
|
MobileHidden = 1
|
|
9910
11163
|
}
|
|
9911
|
-
export function
|
|
9912
|
-
export
|
|
9913
|
-
|
|
11164
|
+
export function shutdownZendesk(): void;
|
|
11165
|
+
export function useZendeskWithSubscription(): {
|
|
11166
|
+
showZendeskChat: () => void;
|
|
9914
11167
|
toggleIcon: (show: boolean) => void;
|
|
9915
|
-
}
|
|
9916
|
-
export function
|
|
11168
|
+
};
|
|
11169
|
+
export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
|
|
11170
|
+
showZendeskChat: () => void;
|
|
11171
|
+
toggleIcon: (show: boolean) => void;
|
|
11172
|
+
};
|
|
9917
11173
|
}
|
|
9918
11174
|
declare module "apps/reach-app/src/app/admin/terms-and-conditions/TermsAndConditionsPage" {
|
|
9919
11175
|
import { FC } from 'react';
|
|
@@ -9955,7 +11211,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
|
|
|
9955
11211
|
import { FC } from 'react';
|
|
9956
11212
|
export const AdminActionItem: FC<{
|
|
9957
11213
|
submenuContents: JSX.Element;
|
|
9958
|
-
onClick
|
|
11214
|
+
onClick?: () => unknown;
|
|
9959
11215
|
title?: string;
|
|
9960
11216
|
}>;
|
|
9961
11217
|
const AdminRoutes: FC;
|
|
@@ -9969,7 +11225,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
|
|
|
9969
11225
|
import { FC } from 'react';
|
|
9970
11226
|
export const ChatMenuNode: FC<{
|
|
9971
11227
|
title: string;
|
|
9972
|
-
onClick
|
|
11228
|
+
onClick?: () => void;
|
|
9973
11229
|
}>;
|
|
9974
11230
|
}
|
|
9975
11231
|
declare module "apps/reach-app/src/app/chrome/Sidebar" {
|
|
@@ -9996,20 +11252,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
|
|
|
9996
11252
|
className?: string;
|
|
9997
11253
|
}>;
|
|
9998
11254
|
}
|
|
9999
|
-
declare module "apps/reach-app/src/app/about/ApplicationVersion" {
|
|
10000
|
-
export default interface ApplicationVersion {
|
|
10001
|
-
description: string;
|
|
10002
|
-
version: string;
|
|
10003
|
-
commitId: string;
|
|
10004
|
-
}
|
|
10005
|
-
}
|
|
10006
|
-
declare module "apps/reach-app/src/app/chrome/VersionInfo" {
|
|
10007
|
-
import { FC } from 'react';
|
|
10008
|
-
export const VersionInfo: FC<{
|
|
10009
|
-
className?: string;
|
|
10010
|
-
renderCommitId?: boolean;
|
|
10011
|
-
}>;
|
|
10012
|
-
}
|
|
10013
11255
|
declare module "apps/reach-app/src/AppLoaderContextProvider" {
|
|
10014
11256
|
import { FC, ReactNode } from 'react';
|
|
10015
11257
|
export const AppLoaderContext: import("react").Context<{
|