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