@livetiles/reach-plugin-types 0.4.0-preview.26 → 0.4.0-preview.260
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 +1967 -805
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -38,12 +38,10 @@ declare module "libs/shared/util/common/src/JwtHelper" {
|
|
|
38
38
|
declare module "libs/shared/util/common/src/redirect" {
|
|
39
39
|
export function redirectWithReload(redirectUrl: string): void;
|
|
40
40
|
}
|
|
41
|
-
declare module "libs/shared/util/environment/src/
|
|
42
|
-
export interface
|
|
43
|
-
|
|
41
|
+
declare module "libs/shared/util/environment/src/ZendeskConfig" {
|
|
42
|
+
export interface ZendeskConfig {
|
|
43
|
+
apiKey: string;
|
|
44
44
|
enable: boolean;
|
|
45
|
-
productId: string;
|
|
46
|
-
unauthenticatedProductId: string;
|
|
47
45
|
}
|
|
48
46
|
}
|
|
49
47
|
declare module "libs/shared/util/authentication/src/AuthenticationType" {
|
|
@@ -209,14 +207,14 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
|
|
|
209
207
|
clientId: string;
|
|
210
208
|
basePolicyUrl: string;
|
|
211
209
|
signInPolicy: string;
|
|
212
|
-
forgotPasswordPolicy
|
|
210
|
+
forgotPasswordPolicy?: string;
|
|
213
211
|
apiScope: string;
|
|
214
212
|
scopes: string[];
|
|
215
213
|
extraScopes: string[];
|
|
216
214
|
}
|
|
217
215
|
}
|
|
218
216
|
declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
219
|
-
import {
|
|
217
|
+
import { ZendeskConfig } from "libs/shared/util/environment/src/ZendeskConfig";
|
|
220
218
|
import { AuthenticationType } from "libs/shared/util/authentication/src/index";
|
|
221
219
|
import { KeycloakConfiguration } from "libs/shared/util/environment/src/KeycloakConfiguration";
|
|
222
220
|
import { MsalConfiguration } from "libs/shared/util/environment/src/MsalConfiguration";
|
|
@@ -235,12 +233,12 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
235
233
|
export interface AppConfiguration {
|
|
236
234
|
configType: ConfigType;
|
|
237
235
|
authentication: {
|
|
238
|
-
useSingleAuthType
|
|
236
|
+
useSingleAuthType?: AuthenticationType;
|
|
239
237
|
azuread: MsalConfiguration;
|
|
240
|
-
b2c
|
|
241
|
-
keycloak
|
|
242
|
-
teams
|
|
243
|
-
teamsAustralia
|
|
238
|
+
b2c?: MsalConfiguration;
|
|
239
|
+
keycloak?: KeycloakConfiguration;
|
|
240
|
+
teams?: MsalConfiguration;
|
|
241
|
+
teamsAustralia?: MsalConfiguration;
|
|
244
242
|
};
|
|
245
243
|
apiEndpoint: string;
|
|
246
244
|
api2Endpoint: string;
|
|
@@ -249,6 +247,7 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
249
247
|
webAppUrl: string;
|
|
250
248
|
productWebsite: string;
|
|
251
249
|
supportUrl: string;
|
|
250
|
+
releaseNotesUrl: string;
|
|
252
251
|
privacyUrl: string;
|
|
253
252
|
eulaUrl: string;
|
|
254
253
|
appInsightsKey: string;
|
|
@@ -260,7 +259,7 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
260
259
|
resource: string;
|
|
261
260
|
};
|
|
262
261
|
};
|
|
263
|
-
|
|
262
|
+
zendeskMessaging: ZendeskConfig;
|
|
264
263
|
singleSubscriptionMode: boolean;
|
|
265
264
|
oneSignal?: {
|
|
266
265
|
appId: string;
|
|
@@ -417,6 +416,7 @@ declare module "libs/reach/util/common/src/PaginatedList" {
|
|
|
417
416
|
paginationToken?: any;
|
|
418
417
|
nextItem?: TItem;
|
|
419
418
|
hasMoreUnreadComments?: boolean;
|
|
419
|
+
hasNextPage?: boolean;
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
422
|
declare module "libs/reach/util/common/src/SortDirection" {
|
|
@@ -1070,6 +1070,8 @@ declare module "libs/reach/util/common/src/user/Audience" {
|
|
|
1070
1070
|
[key: string]: string;
|
|
1071
1071
|
};
|
|
1072
1072
|
mode: AudienceMatchMode;
|
|
1073
|
+
includeDirectoryUsers?: boolean;
|
|
1074
|
+
includeNonDirectoryUsers?: boolean;
|
|
1073
1075
|
}
|
|
1074
1076
|
}
|
|
1075
1077
|
declare module "libs/reach/util/common/src/content/Language" {
|
|
@@ -1095,7 +1097,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1095
1097
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
1096
1098
|
import { Audience } from "libs/reach/util/common/src/user/Audience";
|
|
1097
1099
|
import { CurrentUser, NotificationType, UserGroupRole } from "libs/reach/util/common/src/user/User";
|
|
1098
|
-
import { SubscriptionInfo as BaseSubscriptionInfo
|
|
1100
|
+
import { IdentityProviderNames, IdentityProviderSettings, SubscriptionInfo as BaseSubscriptionInfo } from "libs/shared/util/authentication/src/index";
|
|
1099
1101
|
import { Language, LanguageBase } from "libs/reach/util/common/src/content/Language";
|
|
1100
1102
|
export interface DirectoryConfiguration extends DirectoryConfigurationPatch {
|
|
1101
1103
|
domains?: string[];
|
|
@@ -1133,6 +1135,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1133
1135
|
theme?: Theme;
|
|
1134
1136
|
allowPublicAccess?: boolean;
|
|
1135
1137
|
redirectToContent?: boolean;
|
|
1138
|
+
allowZendesk?: boolean;
|
|
1136
1139
|
}
|
|
1137
1140
|
export interface SignInSettings {
|
|
1138
1141
|
customIdentityProviders: IdentityProviderSettings[];
|
|
@@ -1707,6 +1710,7 @@ declare module "libs/reach/util/common/src/content/VideoSource" {
|
|
|
1707
1710
|
GenericUrl = 3,
|
|
1708
1711
|
Kaltura = 4
|
|
1709
1712
|
}
|
|
1713
|
+
export function convertStringToVideoSource(videoSource: string): VideoSource;
|
|
1710
1714
|
}
|
|
1711
1715
|
declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
1712
1716
|
import { ItemStatistics } from "libs/reach/util/common/src/content/ItemStatistics";
|
|
@@ -1714,6 +1718,19 @@ declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
|
1714
1718
|
id?: string;
|
|
1715
1719
|
statistics?: ItemStatistics;
|
|
1716
1720
|
poll?: Poll;
|
|
1721
|
+
searchHighlights?: SearchHighlightSummary;
|
|
1722
|
+
}
|
|
1723
|
+
export interface SearchHighlightSummary {
|
|
1724
|
+
title: SearchHighlight[];
|
|
1725
|
+
content: SearchHighlight[];
|
|
1726
|
+
}
|
|
1727
|
+
export interface SearchHighlight {
|
|
1728
|
+
language: string;
|
|
1729
|
+
texts: {
|
|
1730
|
+
value: string;
|
|
1731
|
+
type: 'text' | 'hit';
|
|
1732
|
+
}[];
|
|
1733
|
+
score: number;
|
|
1717
1734
|
}
|
|
1718
1735
|
export interface Poll {
|
|
1719
1736
|
questions: PollQuestion[];
|
|
@@ -1781,7 +1798,6 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1781
1798
|
headline?: string;
|
|
1782
1799
|
intro?: string;
|
|
1783
1800
|
body?: string;
|
|
1784
|
-
bodyRaw?: string;
|
|
1785
1801
|
customProperties?: {
|
|
1786
1802
|
[key: string]: any;
|
|
1787
1803
|
};
|
|
@@ -2051,7 +2067,7 @@ declare module "libs/reach/util/common/src/content/Comment" {
|
|
|
2051
2067
|
hasUnreadReplies?: boolean;
|
|
2052
2068
|
isDemoContent?: boolean;
|
|
2053
2069
|
}
|
|
2054
|
-
interface CommentStatistics {
|
|
2070
|
+
export interface CommentStatistics {
|
|
2055
2071
|
likeCount?: number;
|
|
2056
2072
|
replyCount?: number;
|
|
2057
2073
|
}
|
|
@@ -2615,7 +2631,7 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2615
2631
|
}
|
|
2616
2632
|
export interface PageNavigationContext {
|
|
2617
2633
|
parent?: PageNavigationNode;
|
|
2618
|
-
siblings
|
|
2634
|
+
siblings?: PageNavigationNode[];
|
|
2619
2635
|
children?: PageNavigationNode[];
|
|
2620
2636
|
}
|
|
2621
2637
|
export enum PageType {
|
|
@@ -2717,7 +2733,17 @@ declare module "libs/reach/util/common/src/content/useClearUnreadItems" {
|
|
|
2717
2733
|
onStarted?: () => unknown;
|
|
2718
2734
|
onFinished?: () => unknown;
|
|
2719
2735
|
}
|
|
2720
|
-
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers): () => Promise<void>;
|
|
2736
|
+
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
2737
|
+
}
|
|
2738
|
+
declare module "libs/reach/util/common/src/content/useClearUnreadOnlyFilter" {
|
|
2739
|
+
export function useClearUnreadOnlyFilter(): {
|
|
2740
|
+
clearUnreadOnlyFilter: () => void;
|
|
2741
|
+
};
|
|
2742
|
+
}
|
|
2743
|
+
declare module "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler" {
|
|
2744
|
+
export function useUnreadItemsTogglerHandler(): {
|
|
2745
|
+
toggleUnreadItems: () => void;
|
|
2746
|
+
};
|
|
2721
2747
|
}
|
|
2722
2748
|
declare module "libs/reach/util/common/src/content/index" {
|
|
2723
2749
|
export * from "libs/reach/util/common/src/content/Attachment";
|
|
@@ -2742,6 +2768,8 @@ declare module "libs/reach/util/common/src/content/index" {
|
|
|
2742
2768
|
export * from "libs/reach/util/common/src/content/useFileApi";
|
|
2743
2769
|
export * from "libs/reach/util/common/src/content/content-keyword-utils";
|
|
2744
2770
|
export * from "libs/reach/util/common/src/content/useClearUnreadItems";
|
|
2771
|
+
export * from "libs/reach/util/common/src/content/useClearUnreadOnlyFilter";
|
|
2772
|
+
export * from "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler";
|
|
2745
2773
|
}
|
|
2746
2774
|
declare module "libs/reach/util/common/src/Variables" {
|
|
2747
2775
|
export const maxContentWidth = 985;
|
|
@@ -2842,6 +2870,7 @@ declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
|
2842
2870
|
}
|
|
2843
2871
|
declare module "libs/reach/util/common/src/notification/ToastNotificationHost" {
|
|
2844
2872
|
import { FC } from 'react';
|
|
2873
|
+
import 'react-toastify/dist/ReactToastify.min.css';
|
|
2845
2874
|
export const ToastNotificationHost: FC;
|
|
2846
2875
|
}
|
|
2847
2876
|
declare module "libs/reach/util/common/src/notification/index" {
|
|
@@ -2911,7 +2940,7 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2911
2940
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2912
2941
|
export interface Chat {
|
|
2913
2942
|
id: string;
|
|
2914
|
-
members: Account[];
|
|
2943
|
+
members: (Account & ChatMember)[];
|
|
2915
2944
|
memberIds: string[];
|
|
2916
2945
|
groupName?: string;
|
|
2917
2946
|
lastMessageInfo?: {
|
|
@@ -2922,6 +2951,10 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2922
2951
|
deleteDate?: string;
|
|
2923
2952
|
deleteState?: DeleteState;
|
|
2924
2953
|
messageType?: ChatMessageType;
|
|
2954
|
+
messageValues?: {
|
|
2955
|
+
groupName?: string;
|
|
2956
|
+
userId?: string;
|
|
2957
|
+
};
|
|
2925
2958
|
};
|
|
2926
2959
|
messages: ChatMessage[];
|
|
2927
2960
|
hasNewMessages: boolean;
|
|
@@ -2934,7 +2967,19 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2934
2967
|
}
|
|
2935
2968
|
export enum ChatMessageType {
|
|
2936
2969
|
Default = "DEFAULT",
|
|
2937
|
-
GroupNameChange = "GROUP_NAME_CHANGE"
|
|
2970
|
+
GroupNameChange = "GROUP_NAME_CHANGE",
|
|
2971
|
+
UserLeftGroup = "USER_LEFT_GROUP"
|
|
2972
|
+
}
|
|
2973
|
+
export enum MemberStatus {
|
|
2974
|
+
Normal = "NORMAL",
|
|
2975
|
+
LeftGroupChat = "LEFT_GROUP_CHAT",
|
|
2976
|
+
LeftOneToOneChat = "LEFT_ONE_TO_ONE_CHAT"
|
|
2977
|
+
}
|
|
2978
|
+
export interface ChatMember {
|
|
2979
|
+
id?: string;
|
|
2980
|
+
status?: MemberStatus;
|
|
2981
|
+
joinDate?: string;
|
|
2982
|
+
leftDate?: string;
|
|
2938
2983
|
}
|
|
2939
2984
|
export interface ChatMessage {
|
|
2940
2985
|
itemId: string;
|
|
@@ -3148,6 +3193,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3148
3193
|
placeholderStringResourceKey?: string;
|
|
3149
3194
|
autoFocus?: boolean;
|
|
3150
3195
|
inputId?: string;
|
|
3196
|
+
required?: boolean;
|
|
3151
3197
|
className?: string;
|
|
3152
3198
|
}
|
|
3153
3199
|
export const PeoplePicker: FC<Props>;
|
|
@@ -3185,8 +3231,6 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3185
3231
|
}
|
|
3186
3232
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3187
3233
|
import { FC } from 'react';
|
|
3188
|
-
import './Notification.scss';
|
|
3189
|
-
import 'react-toastify/dist/ReactToastify.min.css';
|
|
3190
3234
|
export const NotificationBar: FC;
|
|
3191
3235
|
}
|
|
3192
3236
|
declare module "libs/reach/ui/common/src/common/AttachedMediaDownloadLink" {
|
|
@@ -3265,8 +3309,8 @@ declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
|
3265
3309
|
}
|
|
3266
3310
|
declare module "libs/reach/ui/common/src/common/Callout" {
|
|
3267
3311
|
import { FC } from 'react';
|
|
3268
|
-
import {
|
|
3269
|
-
export const Callout: FC<
|
|
3312
|
+
import { IFocusTrapCalloutProps } from 'office-ui-fabric-react';
|
|
3313
|
+
export const Callout: FC<IFocusTrapCalloutProps>;
|
|
3270
3314
|
}
|
|
3271
3315
|
declare module "libs/reach/ui/common/src/common/CommentInputTheme" {
|
|
3272
3316
|
export type CommentInputTheme = 'light' | 'dark';
|
|
@@ -3343,12 +3387,13 @@ declare module "libs/reach/ui/common/src/common/Dropdown" {
|
|
|
3343
3387
|
export const Dropdown: FC<IDropdownProps>;
|
|
3344
3388
|
}
|
|
3345
3389
|
declare module "libs/reach/ui/common/src/common/EmptyList" {
|
|
3390
|
+
import { FC } from 'react';
|
|
3346
3391
|
interface EmptyListProps {
|
|
3347
3392
|
icon?: string;
|
|
3348
3393
|
emptyMessageResources?: string[];
|
|
3349
3394
|
className?: string;
|
|
3350
3395
|
}
|
|
3351
|
-
export const EmptyList:
|
|
3396
|
+
export const EmptyList: FC<EmptyListProps>;
|
|
3352
3397
|
}
|
|
3353
3398
|
declare module "libs/reach/ui/common/src/common/EnumHelpers" {
|
|
3354
3399
|
export const hasFlag: (baseValue: any, flag: any) => boolean;
|
|
@@ -3499,18 +3544,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
|
|
|
3499
3544
|
date: string;
|
|
3500
3545
|
}>;
|
|
3501
3546
|
}
|
|
3502
|
-
declare module "libs/reach/ui/common/src/common/IconHeaderButton" {
|
|
3503
|
-
import { FC } from 'react';
|
|
3504
|
-
export const IconHeaderButton: FC<{
|
|
3505
|
-
icon: string;
|
|
3506
|
-
isActive?: boolean;
|
|
3507
|
-
disabled?: boolean;
|
|
3508
|
-
tooltipResourceKey?: string;
|
|
3509
|
-
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3510
|
-
link?: string;
|
|
3511
|
-
className?: string;
|
|
3512
|
-
}>;
|
|
3513
|
-
}
|
|
3514
3547
|
declare module "libs/reach/ui/common/src/common/IconLabel" {
|
|
3515
3548
|
import { FC, ReactNode } from 'react';
|
|
3516
3549
|
export const IconLabel: FC<{
|
|
@@ -3565,7 +3598,7 @@ declare module "libs/reach/ui/common/src/common/Logos" {
|
|
|
3565
3598
|
export { ReactComponent as WhiteDefaultLogoWithText } from './logos/logo-white-with-name.svg';
|
|
3566
3599
|
export { ReactComponent as LogoPurpleXL } from './logos/logo-purple-xl.svg';
|
|
3567
3600
|
export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
|
|
3568
|
-
export { ReactComponent as
|
|
3601
|
+
export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
|
|
3569
3602
|
}
|
|
3570
3603
|
declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
|
|
3571
3604
|
import { FC } from 'react';
|
|
@@ -3625,11 +3658,24 @@ declare module "libs/reach/ui/common/src/common/Prompt" {
|
|
|
3625
3658
|
}
|
|
3626
3659
|
export const Prompt: FC<Props>;
|
|
3627
3660
|
}
|
|
3661
|
+
declare module "libs/reach/ui/common/src/common/buttons/IconHeaderButton" {
|
|
3662
|
+
import { FC } from 'react';
|
|
3663
|
+
export const IconHeaderButton: FC<{
|
|
3664
|
+
icon: string;
|
|
3665
|
+
isActive?: boolean;
|
|
3666
|
+
disabled?: boolean;
|
|
3667
|
+
tooltipResourceKey?: string;
|
|
3668
|
+
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3669
|
+
link?: string;
|
|
3670
|
+
className?: string;
|
|
3671
|
+
}>;
|
|
3672
|
+
}
|
|
3628
3673
|
declare module "libs/reach/ui/common/src/common/toolbar/ToolbarIconButtonWithToolTip" {
|
|
3629
3674
|
import { FC } from 'react';
|
|
3630
3675
|
export interface ToolbarIconButtonProps {
|
|
3631
3676
|
iconName: string;
|
|
3632
|
-
|
|
3677
|
+
ariaLabel?: string;
|
|
3678
|
+
ariaLabelResourceKey?: string;
|
|
3633
3679
|
onClick?: () => unknown;
|
|
3634
3680
|
to?: string;
|
|
3635
3681
|
target?: string;
|
|
@@ -3658,6 +3704,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
|
|
|
3658
3704
|
onSearchTextChange?: (text: string) => void;
|
|
3659
3705
|
onExecuteSearch?: (text: string) => void;
|
|
3660
3706
|
searchText?: string;
|
|
3707
|
+
showSearchBoxInput?: boolean;
|
|
3661
3708
|
}
|
|
3662
3709
|
export const SearchBox: FC<SearchBoxProps & {
|
|
3663
3710
|
onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
|
|
@@ -3736,8 +3783,7 @@ declare module "libs/reach/ui/common/src/common/buttons/ChoiceGroup" {
|
|
|
3736
3783
|
}
|
|
3737
3784
|
declare module "libs/reach/ui/common/src/common/buttons/CommentActionMenu" {
|
|
3738
3785
|
import { FC } from 'react';
|
|
3739
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
3740
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
3786
|
+
import { Account, Comment } from "libs/reach/util/common/src/index";
|
|
3741
3787
|
export const CommentActionMenu: FC<{
|
|
3742
3788
|
comment: Comment;
|
|
3743
3789
|
showEdit: boolean;
|
|
@@ -3783,6 +3829,21 @@ declare module "libs/reach/ui/common/src/common/buttons/TopActionButton" {
|
|
|
3783
3829
|
}
|
|
3784
3830
|
export const TopActionButton: import("styled-components").StyledComponent<import("react").FC<Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
3785
3831
|
}
|
|
3832
|
+
declare module "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler" {
|
|
3833
|
+
import { FC } from 'react';
|
|
3834
|
+
export const UnreadItemsToggler: FC<{
|
|
3835
|
+
disabled: boolean;
|
|
3836
|
+
className?: string;
|
|
3837
|
+
}>;
|
|
3838
|
+
}
|
|
3839
|
+
declare module "libs/reach/ui/common/src/common/buttons/HeaderMenuButton" {
|
|
3840
|
+
import { FC } from 'react';
|
|
3841
|
+
import { IContextualMenuItem } from 'office-ui-fabric-react';
|
|
3842
|
+
export const HeaderMenuButton: FC<{
|
|
3843
|
+
items: IContextualMenuItem[];
|
|
3844
|
+
className?: string;
|
|
3845
|
+
}>;
|
|
3846
|
+
}
|
|
3786
3847
|
declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
|
|
3787
3848
|
import { FC } from 'react';
|
|
3788
3849
|
import { Channel } from "libs/reach/util/common/src/index";
|
|
@@ -3851,6 +3912,8 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelSelector" {
|
|
|
3851
3912
|
showSelectionToggle?: boolean;
|
|
3852
3913
|
placeholder?: string;
|
|
3853
3914
|
inlineControls?: boolean;
|
|
3915
|
+
required?: boolean;
|
|
3916
|
+
id?: string;
|
|
3854
3917
|
}
|
|
3855
3918
|
export const ChannelSelector: FC<Props>;
|
|
3856
3919
|
}
|
|
@@ -4107,7 +4170,7 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
|
|
|
4107
4170
|
declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
|
|
4108
4171
|
import { DependencyList } from 'react';
|
|
4109
4172
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4110
|
-
export function useItemLoaderWithPreFetch(pageSize: number, handler: (pageSize: number,
|
|
4173
|
+
export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: (pageSize: number, token?: TTokenType) => Promise<PaginatedList<TItem>>, deps?: DependencyList): {
|
|
4111
4174
|
items: any[];
|
|
4112
4175
|
isInitialLoading: boolean;
|
|
4113
4176
|
isLoadingNextPage: boolean;
|
|
@@ -4120,6 +4183,21 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
|
|
|
4120
4183
|
isEmpty: boolean;
|
|
4121
4184
|
};
|
|
4122
4185
|
}
|
|
4186
|
+
declare module "libs/reach/ui/common/src/common/paging/PaginationStatus" {
|
|
4187
|
+
import { FC } from 'react';
|
|
4188
|
+
export const PaginationStatus: FC<{
|
|
4189
|
+
allLoadedResourceId: string;
|
|
4190
|
+
showAllLoaded: boolean;
|
|
4191
|
+
showSpinner?: boolean;
|
|
4192
|
+
showPlaceholder?: boolean;
|
|
4193
|
+
}>;
|
|
4194
|
+
}
|
|
4195
|
+
declare module "libs/reach/ui/common/src/common/paging/usePageScrollPagination" {
|
|
4196
|
+
import { DependencyList } from 'react';
|
|
4197
|
+
export function usePageScrollPagination(loadMoreItems: () => Promise<void>, allItemsLoaded?: boolean, additionalDeps?: DependencyList): {
|
|
4198
|
+
isLoadingMore: boolean;
|
|
4199
|
+
};
|
|
4200
|
+
}
|
|
4123
4201
|
declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
|
|
4124
4202
|
import { FC, ReactNode } from 'react';
|
|
4125
4203
|
export const PullToRefreshContext: import("react").Context<{
|
|
@@ -4171,6 +4249,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarMarkAllAsReadButt
|
|
|
4171
4249
|
onMarkAsReadStarted?: () => unknown;
|
|
4172
4250
|
onMarkAsReadFinished?: () => unknown;
|
|
4173
4251
|
disabled?: boolean;
|
|
4252
|
+
unreadCount?: number;
|
|
4174
4253
|
}
|
|
4175
4254
|
export const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
4176
4255
|
export const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
@@ -4354,7 +4433,6 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4354
4433
|
export * from "libs/reach/ui/common/src/common/FloatingActionButton";
|
|
4355
4434
|
export * from "libs/reach/ui/common/src/common/FormattedMessageWithStyle";
|
|
4356
4435
|
export * from "libs/reach/ui/common/src/common/GroupedByDateTitles";
|
|
4357
|
-
export * from "libs/reach/ui/common/src/common/IconHeaderButton";
|
|
4358
4436
|
export * from "libs/reach/ui/common/src/common/IconLabel";
|
|
4359
4437
|
export * from "libs/reach/ui/common/src/common/ItemStatisticsCache";
|
|
4360
4438
|
export * from "libs/reach/ui/common/src/common/KeywordTitle";
|
|
@@ -4385,6 +4463,9 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4385
4463
|
export * from "libs/reach/ui/common/src/common/buttons/DeleteAttachmentButton";
|
|
4386
4464
|
export * from "libs/reach/ui/common/src/common/buttons/ToggleAllButtons";
|
|
4387
4465
|
export * from "libs/reach/ui/common/src/common/buttons/TopActionButton";
|
|
4466
|
+
export * from "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler";
|
|
4467
|
+
export * from "libs/reach/ui/common/src/common/buttons/IconHeaderButton";
|
|
4468
|
+
export * from "libs/reach/ui/common/src/common/buttons/HeaderMenuButton";
|
|
4388
4469
|
export * from "libs/reach/ui/common/src/common/channels/ChannelItem";
|
|
4389
4470
|
export * from "libs/reach/ui/common/src/common/channels/ChannelList";
|
|
4390
4471
|
export * from "libs/reach/ui/common/src/common/channels/ChannelSelector";
|
|
@@ -4413,6 +4494,8 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4413
4494
|
export * from "libs/reach/ui/common/src/common/paging/HorizontalPager";
|
|
4414
4495
|
export * from "libs/reach/ui/common/src/common/paging/VerticalPager";
|
|
4415
4496
|
export * from "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch";
|
|
4497
|
+
export * from "libs/reach/ui/common/src/common/paging/PaginationStatus";
|
|
4498
|
+
export * from "libs/reach/ui/common/src/common/paging/usePageScrollPagination";
|
|
4416
4499
|
export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
|
|
4417
4500
|
export * from "libs/reach/ui/common/src/common/refreshScripts";
|
|
4418
4501
|
export * from "libs/reach/ui/common/src/common/toolbar/Toolbar";
|
|
@@ -4493,10 +4576,10 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4493
4576
|
export function useEscapeOnClose(onClose: Function): void;
|
|
4494
4577
|
}
|
|
4495
4578
|
declare module "apps/reach-app/src/app/chrome/Header" {
|
|
4496
|
-
import { FC, ReactNode } from 'react';
|
|
4579
|
+
import { FC, Dispatch, SetStateAction, ReactNode, HTMLProps } from 'react';
|
|
4497
4580
|
import './Header.scss';
|
|
4498
4581
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
4499
|
-
interface Props extends
|
|
4582
|
+
interface Props extends HTMLProps<HTMLElement>, SearchBoxProps {
|
|
4500
4583
|
iconLeft?: string;
|
|
4501
4584
|
onToggleLeft?: () => void;
|
|
4502
4585
|
onToggleRight?: () => void;
|
|
@@ -4512,6 +4595,14 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
4512
4595
|
disableGoBack?: boolean;
|
|
4513
4596
|
route?: string;
|
|
4514
4597
|
}
|
|
4598
|
+
export interface HeaderContextType {
|
|
4599
|
+
setIsSearchInputFieldVisible: Dispatch<SetStateAction<boolean>>;
|
|
4600
|
+
isSearchInputFieldVisible: boolean;
|
|
4601
|
+
}
|
|
4602
|
+
export const HeaderContext: import("react").Context<HeaderContextType>;
|
|
4603
|
+
export const HeaderContextProvider: FC<{
|
|
4604
|
+
children: ReactNode;
|
|
4605
|
+
}>;
|
|
4515
4606
|
export const Header: FC<Props>;
|
|
4516
4607
|
}
|
|
4517
4608
|
declare module "apps/reach-app/src/app/chrome/FloatingPageActions" {
|
|
@@ -4631,12 +4722,13 @@ declare module "apps/reach-app/src/app/admin/AddButton" {
|
|
|
4631
4722
|
export const AddButton: FC<AddButtonProps>;
|
|
4632
4723
|
}
|
|
4633
4724
|
declare module "apps/reach-app/src/app/admin/common" {
|
|
4634
|
-
|
|
4635
|
-
|
|
4725
|
+
import { FC, ReactNode } from 'react';
|
|
4726
|
+
export const AdminPage: FC<{
|
|
4727
|
+
children: ReactNode;
|
|
4636
4728
|
className?: string;
|
|
4637
4729
|
domIdentifier?: string;
|
|
4638
4730
|
}>;
|
|
4639
|
-
export const
|
|
4731
|
+
export const AdminPageTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
|
|
4640
4732
|
}
|
|
4641
4733
|
declare module "apps/reach-app/src/app/admin/keywords/useKeywordsApi" {
|
|
4642
4734
|
import { KeywordGroup } from "libs/reach/util/common/src/index";
|
|
@@ -5207,6 +5299,7 @@ declare module "libs/shared/util/authentication-services/src/msal/WebMsalService
|
|
|
5207
5299
|
getCurrentEmailInternal(): Promise<string>;
|
|
5208
5300
|
private tryGetMsalV1Token;
|
|
5209
5301
|
private removeMsalV1IdToken;
|
|
5302
|
+
private tryGetGuestTenantId;
|
|
5210
5303
|
private handleAuthClientCallback;
|
|
5211
5304
|
private handleAuthClientErrorCallback;
|
|
5212
5305
|
private ensureAuthority;
|
|
@@ -5492,6 +5585,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
|
|
|
5492
5585
|
}
|
|
5493
5586
|
export const GoToAdminConsentButton: React.FC<Props>;
|
|
5494
5587
|
}
|
|
5588
|
+
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
5589
|
+
import { IntlShape } from 'react-intl';
|
|
5590
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
5591
|
+
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
5592
|
+
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
5593
|
+
export const systemAccountGroupIds: {
|
|
5594
|
+
everyone: string;
|
|
5595
|
+
directoryUsers: string;
|
|
5596
|
+
nonDirectoryUsers: string;
|
|
5597
|
+
allGroups: string[];
|
|
5598
|
+
};
|
|
5599
|
+
export function getDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5600
|
+
export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5601
|
+
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
5602
|
+
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
5603
|
+
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
5604
|
+
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
5605
|
+
export const isAdGroup: (account: Account) => boolean;
|
|
5606
|
+
export const isUser: (account: Account) => boolean;
|
|
5607
|
+
}
|
|
5495
5608
|
declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
|
|
5496
5609
|
import { FC } from 'react';
|
|
5497
5610
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -5866,12 +5979,11 @@ declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
|
5866
5979
|
}>;
|
|
5867
5980
|
}
|
|
5868
5981
|
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
5869
|
-
import
|
|
5982
|
+
import { FC, ReactNode } from 'react';
|
|
5983
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
5870
5984
|
import './SidebarItem.scss';
|
|
5871
5985
|
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
5872
5986
|
import { LocationDescriptor } from 'history';
|
|
5873
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
5874
|
-
import { ReactNode } from 'react';
|
|
5875
5987
|
interface CommonSidebarItemProps {
|
|
5876
5988
|
title?: any;
|
|
5877
5989
|
titleResource?: string;
|
|
@@ -5904,13 +6016,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5904
6016
|
secondaryIconRoute?: LocationDescriptor;
|
|
5905
6017
|
isHoverable?: boolean;
|
|
5906
6018
|
}
|
|
5907
|
-
export const SidebarItem:
|
|
6019
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
5908
6020
|
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
5909
|
-
route:
|
|
6021
|
+
route: LocationDescriptor;
|
|
5910
6022
|
exact?: boolean;
|
|
5911
6023
|
linkClassName?: string;
|
|
5912
6024
|
}
|
|
5913
|
-
export const NavLinkSidebarItem:
|
|
6025
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
5914
6026
|
}
|
|
5915
6027
|
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
5916
6028
|
import { WrappedComponentProps } from 'react-intl';
|
|
@@ -6003,24 +6115,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
|
6003
6115
|
import { FC } from 'react';
|
|
6004
6116
|
export const GroupListPage: FC;
|
|
6005
6117
|
}
|
|
6006
|
-
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
6007
|
-
import { IntlShape } from 'react-intl';
|
|
6008
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
6009
|
-
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
6010
|
-
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
6011
|
-
export const systemAccountGroupIds: {
|
|
6012
|
-
everyone: string;
|
|
6013
|
-
directoryUsers: string;
|
|
6014
|
-
nonDirectoryUsers: string;
|
|
6015
|
-
allGroups: string[];
|
|
6016
|
-
};
|
|
6017
|
-
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
6018
|
-
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
6019
|
-
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
6020
|
-
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
6021
|
-
export const isAdGroup: (account: Account) => boolean;
|
|
6022
|
-
export const isUser: (account: Account) => boolean;
|
|
6023
|
-
}
|
|
6024
6118
|
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
6025
6119
|
import { FC } from 'react';
|
|
6026
6120
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -6265,6 +6359,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6265
6359
|
private static vimeoRegex;
|
|
6266
6360
|
private static microsoftStreamRegex;
|
|
6267
6361
|
private static vimeoDirectLinkRegex;
|
|
6362
|
+
private static vimeoRedirectLinkRegex;
|
|
6268
6363
|
private static kalturaRegex;
|
|
6269
6364
|
readonly source: VideoSource | null;
|
|
6270
6365
|
readonly id: string | null;
|
|
@@ -6272,9 +6367,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6272
6367
|
readonly videoProperties: any;
|
|
6273
6368
|
readonly thumbnailUrl: string;
|
|
6274
6369
|
constructor(url: string);
|
|
6275
|
-
isValid(): boolean;
|
|
6370
|
+
isValid(features?: any): boolean;
|
|
6276
6371
|
}
|
|
6372
|
+
export function getVideoSources(features: any): any[];
|
|
6277
6373
|
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6374
|
+
export function getAllVideoSources(features: any): any[];
|
|
6278
6375
|
}
|
|
6279
6376
|
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6280
6377
|
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
@@ -6304,7 +6401,7 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
|
6304
6401
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
6305
6402
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6306
6403
|
export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
|
|
6307
|
-
keywords?: string;
|
|
6404
|
+
keywords?: string[];
|
|
6308
6405
|
}
|
|
6309
6406
|
}
|
|
6310
6407
|
declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
|
|
@@ -6351,12 +6448,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
|
|
|
6351
6448
|
contacts?: string[];
|
|
6352
6449
|
}
|
|
6353
6450
|
}
|
|
6451
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6452
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6453
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6454
|
+
channels?: string[];
|
|
6455
|
+
}
|
|
6456
|
+
}
|
|
6354
6457
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6355
6458
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6356
6459
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6357
6460
|
import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6358
6461
|
import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6359
|
-
|
|
6462
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6463
|
+
export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
|
|
6360
6464
|
excludePastEvents?: boolean;
|
|
6361
6465
|
pastEventsOnly?: boolean;
|
|
6362
6466
|
}
|
|
@@ -6367,6 +6471,18 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6367
6471
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6368
6472
|
export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6369
6473
|
}
|
|
6474
|
+
declare module "libs/reach/feature/content/src/filter/utils" {
|
|
6475
|
+
export function getCommaSeparatedChannelsString(channels: string[]): {
|
|
6476
|
+
channels?: undefined;
|
|
6477
|
+
} | {
|
|
6478
|
+
channels: string;
|
|
6479
|
+
};
|
|
6480
|
+
export function getCommaSeparatedKeywordsString(keywords: string[]): {
|
|
6481
|
+
keywords?: undefined;
|
|
6482
|
+
} | {
|
|
6483
|
+
keywords: string;
|
|
6484
|
+
};
|
|
6485
|
+
}
|
|
6370
6486
|
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6371
6487
|
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6372
6488
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
@@ -6383,12 +6499,6 @@ declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
|
6383
6499
|
author?: string;
|
|
6384
6500
|
}
|
|
6385
6501
|
}
|
|
6386
|
-
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6387
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6388
|
-
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6389
|
-
channels?: string;
|
|
6390
|
-
}
|
|
6391
|
-
}
|
|
6392
6502
|
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
6393
6503
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6394
6504
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
@@ -6404,6 +6514,7 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6404
6514
|
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
6405
6515
|
groupId?: string;
|
|
6406
6516
|
bookmarksOnly?: boolean;
|
|
6517
|
+
unreadOnly?: boolean;
|
|
6407
6518
|
}
|
|
6408
6519
|
}
|
|
6409
6520
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
@@ -6619,7 +6730,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
6619
6730
|
private getVideoElement;
|
|
6620
6731
|
private getNotSupportedElement;
|
|
6621
6732
|
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
6622
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "
|
|
6733
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
6623
6734
|
}
|
|
6624
6735
|
}
|
|
6625
6736
|
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
@@ -6701,6 +6812,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
6701
6812
|
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
6702
6813
|
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
6703
6814
|
export class NewsService {
|
|
6815
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6704
6816
|
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6705
6817
|
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
6706
6818
|
static getContentLanguages(contents: {
|
|
@@ -6808,12 +6920,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
6808
6920
|
}
|
|
6809
6921
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
6810
6922
|
import { FC } from 'react';
|
|
6811
|
-
import { BannerInfo } from "libs/reach/util/common/src/index";
|
|
6812
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6923
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6813
6924
|
interface Props {
|
|
6814
6925
|
itemId: string;
|
|
6815
6926
|
bannerInfo: BannerInfo;
|
|
6816
|
-
|
|
6927
|
+
useEditorRoutes?: boolean;
|
|
6817
6928
|
width: number;
|
|
6818
6929
|
resourceType: ItemResourceTypes;
|
|
6819
6930
|
token?: string;
|
|
@@ -7244,7 +7355,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7244
7355
|
updateSelectedLanguage: (lang: string) => unknown;
|
|
7245
7356
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7246
7357
|
handleLanguageChange: (language: string) => unknown;
|
|
7247
|
-
|
|
7358
|
+
isEditorPreview?: boolean;
|
|
7248
7359
|
}
|
|
7249
7360
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7250
7361
|
}
|
|
@@ -7796,34 +7907,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
7796
7907
|
}>;
|
|
7797
7908
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
7798
7909
|
}
|
|
7799
|
-
declare module "libs/reach/feature/content/src/
|
|
7800
|
-
import { FC
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
className?: string;
|
|
7910
|
+
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
7911
|
+
import { FC } from 'react';
|
|
7912
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
7913
|
+
export const DetailViewContextProvider: FC<{
|
|
7914
|
+
itemId: string;
|
|
7915
|
+
type?: ItemResourceTypes;
|
|
7916
|
+
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
7917
|
+
isEditorPreview?: boolean;
|
|
7808
7918
|
}>;
|
|
7809
7919
|
}
|
|
7810
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7811
|
-
import {
|
|
7812
|
-
export
|
|
7920
|
+
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
7921
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7922
|
+
export interface EmbeddedObjectPreviewData {
|
|
7923
|
+
itemId: string;
|
|
7924
|
+
type: string;
|
|
7925
|
+
subscriptionIdentifier: string;
|
|
7926
|
+
}
|
|
7927
|
+
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
7813
7928
|
}
|
|
7814
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7815
|
-
import {
|
|
7816
|
-
export const
|
|
7929
|
+
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
7930
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7931
|
+
export const InlineImageMapper: HtmlComponentMapper;
|
|
7817
7932
|
}
|
|
7818
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7819
|
-
import {
|
|
7820
|
-
export
|
|
7933
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
7934
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7935
|
+
export interface ContactDetails {
|
|
7936
|
+
id: string;
|
|
7937
|
+
upn?: string;
|
|
7938
|
+
tenantId?: string;
|
|
7939
|
+
properties?: {
|
|
7940
|
+
[key: string]: {
|
|
7941
|
+
value: string;
|
|
7942
|
+
shouldAutoLoad?: boolean;
|
|
7943
|
+
};
|
|
7944
|
+
};
|
|
7945
|
+
}
|
|
7946
|
+
export const InlineContactMapper: HtmlComponentMapper;
|
|
7821
7947
|
}
|
|
7822
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7823
|
-
import { FC
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7948
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
|
|
7949
|
+
import { FC } from 'react';
|
|
7950
|
+
import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
7951
|
+
export const InlineContactViewer: FC<{
|
|
7952
|
+
contact: ContactDetails;
|
|
7827
7953
|
}>;
|
|
7828
7954
|
}
|
|
7829
7955
|
declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
|
|
@@ -7849,6 +7975,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
|
|
|
7849
7975
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7850
7976
|
export const InlineQuoteMapper: HtmlComponentMapper;
|
|
7851
7977
|
}
|
|
7978
|
+
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
7979
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7980
|
+
export const InlineVideoMapper: HtmlComponentMapper;
|
|
7981
|
+
}
|
|
7982
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
7983
|
+
import { FC } from 'react';
|
|
7984
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
7985
|
+
export const InlinePageListViewer: FC<{
|
|
7986
|
+
items: PageItem[];
|
|
7987
|
+
baseRoute: string;
|
|
7988
|
+
filterBaseUrl?: string;
|
|
7989
|
+
isInitialLoading?: boolean;
|
|
7990
|
+
}>;
|
|
7991
|
+
}
|
|
7992
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
7993
|
+
import { FC } from 'react';
|
|
7994
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
7995
|
+
export interface ListPagingProps {
|
|
7996
|
+
getNextPage: () => unknown;
|
|
7997
|
+
getPrevPage: () => unknown;
|
|
7998
|
+
getFirstPage: () => unknown;
|
|
7999
|
+
isLoadingNextPage: boolean;
|
|
8000
|
+
isInitialLoading: boolean;
|
|
8001
|
+
isFirstPage: boolean;
|
|
8002
|
+
hideNextButton: boolean;
|
|
8003
|
+
}
|
|
8004
|
+
export const InlinePageListWithPaging: FC<{
|
|
8005
|
+
pages: PageItem[];
|
|
8006
|
+
baseRoute: string;
|
|
8007
|
+
pagingProps?: ListPagingProps;
|
|
8008
|
+
filterBaseUrl?: string;
|
|
8009
|
+
}>;
|
|
8010
|
+
}
|
|
8011
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8012
|
+
import { DependencyList } from 'react';
|
|
8013
|
+
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8014
|
+
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8015
|
+
showPages: boolean;
|
|
8016
|
+
showDocuments: boolean;
|
|
8017
|
+
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8018
|
+
pageItems: any[];
|
|
8019
|
+
pagingProps: {
|
|
8020
|
+
hideNextButton: boolean;
|
|
8021
|
+
isInitialLoading: boolean;
|
|
8022
|
+
isLoadingNextPage: boolean;
|
|
8023
|
+
error: any;
|
|
8024
|
+
getFirstPage: () => void;
|
|
8025
|
+
getPrevPage: () => void;
|
|
8026
|
+
getNextPage: () => Promise<void>;
|
|
8027
|
+
isFirstPage: boolean;
|
|
8028
|
+
isLastPage: boolean;
|
|
8029
|
+
isEmpty: boolean;
|
|
8030
|
+
};
|
|
8031
|
+
};
|
|
8032
|
+
}
|
|
8033
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8034
|
+
import { FC } from 'react';
|
|
8035
|
+
export const InlinePageListSkeleton: FC<{
|
|
8036
|
+
isDataLoaded: boolean;
|
|
8037
|
+
pageSize?: number;
|
|
8038
|
+
}>;
|
|
8039
|
+
}
|
|
7852
8040
|
declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
|
|
7853
8041
|
export interface CodeDetails {
|
|
7854
8042
|
id: string;
|
|
@@ -7870,21 +8058,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
|
|
|
7870
8058
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7871
8059
|
export const InlineCodeMapper: HtmlComponentMapper;
|
|
7872
8060
|
}
|
|
7873
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7874
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7875
|
-
export const InlineVideoMapper: HtmlComponentMapper;
|
|
7876
|
-
}
|
|
7877
|
-
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
7878
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7879
|
-
export const InlineImageMapper: HtmlComponentMapper;
|
|
7880
|
-
}
|
|
7881
|
-
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
7882
|
-
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
7883
|
-
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
7884
|
-
format: TableFormat;
|
|
7885
|
-
}, never>;
|
|
7886
|
-
}
|
|
7887
|
-
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
8061
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
7888
8062
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7889
8063
|
import { CSSProperties } from 'react';
|
|
7890
8064
|
export interface CellStyle {
|
|
@@ -7924,162 +8098,17 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
|
7924
8098
|
export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
|
|
7925
8099
|
export const InlineTable: HtmlComponentMapper;
|
|
7926
8100
|
}
|
|
7927
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7928
|
-
import {
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
7932
|
-
}>;
|
|
7933
|
-
}
|
|
7934
|
-
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
7935
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7936
|
-
export interface ContactDetails {
|
|
7937
|
-
id: string;
|
|
7938
|
-
upn?: string;
|
|
7939
|
-
tenantId?: string;
|
|
7940
|
-
properties?: {
|
|
7941
|
-
[key: string]: {
|
|
7942
|
-
value: string;
|
|
7943
|
-
shouldAutoLoad?: boolean;
|
|
7944
|
-
};
|
|
7945
|
-
};
|
|
7946
|
-
}
|
|
7947
|
-
export const InlineContactMapper: HtmlComponentMapper;
|
|
7948
|
-
}
|
|
7949
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
7950
|
-
import { FC } from 'react';
|
|
7951
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
7952
|
-
export const InlinePageListViewer: FC<{
|
|
7953
|
-
items: PageItem[];
|
|
7954
|
-
baseRoute: string;
|
|
7955
|
-
filterBaseUrl?: string;
|
|
7956
|
-
isInitialLoading?: boolean;
|
|
7957
|
-
}>;
|
|
7958
|
-
}
|
|
7959
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
7960
|
-
import { FC } from 'react';
|
|
7961
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
7962
|
-
export interface ListPagingProps {
|
|
7963
|
-
getNextPage: () => unknown;
|
|
7964
|
-
getPrevPage: () => unknown;
|
|
7965
|
-
getFirstPage: () => unknown;
|
|
7966
|
-
isLoadingNextPage: boolean;
|
|
7967
|
-
isInitialLoading: boolean;
|
|
7968
|
-
isFirstPage: boolean;
|
|
7969
|
-
hideNextButton: boolean;
|
|
7970
|
-
}
|
|
7971
|
-
export const InlinePageListWithPaging: FC<{
|
|
7972
|
-
pages: PageItem[];
|
|
7973
|
-
baseRoute: string;
|
|
7974
|
-
pagingProps?: ListPagingProps;
|
|
7975
|
-
filterBaseUrl?: string;
|
|
7976
|
-
}>;
|
|
7977
|
-
}
|
|
7978
|
-
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
7979
|
-
import { PageType } from "libs/reach/util/common/src/index";
|
|
7980
|
-
export function useLoadPublishedItemsByKeywords(keywords: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
|
|
7981
|
-
}
|
|
7982
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
7983
|
-
import { FC } from 'react';
|
|
7984
|
-
export const InlinePageListSkeleton: FC<{
|
|
7985
|
-
isDataLoaded: boolean;
|
|
7986
|
-
pageSize?: number;
|
|
7987
|
-
}>;
|
|
7988
|
-
}
|
|
7989
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
7990
|
-
import { FC } from 'react';
|
|
7991
|
-
export const InlinePageListByKeywords: FC<{
|
|
7992
|
-
keywords: string;
|
|
7993
|
-
showDocuments?: boolean;
|
|
7994
|
-
showPages?: boolean;
|
|
7995
|
-
}>;
|
|
7996
|
-
}
|
|
7997
|
-
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
7998
|
-
import { PageType } from "libs/reach/util/common/src/index";
|
|
7999
|
-
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
|
|
8000
|
-
}
|
|
8001
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
8002
|
-
import { FC } from 'react';
|
|
8003
|
-
export const InlinePageListByPageId: FC<{
|
|
8004
|
-
pageId: string;
|
|
8005
|
-
showDocuments: boolean;
|
|
8006
|
-
showPages: boolean;
|
|
8007
|
-
}>;
|
|
8008
|
-
}
|
|
8009
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8010
|
-
import { DependencyList } from 'react';
|
|
8011
|
-
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8012
|
-
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8013
|
-
showPages: boolean;
|
|
8014
|
-
showDocuments: boolean;
|
|
8015
|
-
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8016
|
-
pageItems: any[];
|
|
8017
|
-
pagingProps: {
|
|
8018
|
-
hideNextButton: boolean;
|
|
8019
|
-
isInitialLoading: boolean;
|
|
8020
|
-
isLoadingNextPage: boolean;
|
|
8021
|
-
error: any;
|
|
8022
|
-
getFirstPage: () => void;
|
|
8023
|
-
getPrevPage: () => void;
|
|
8024
|
-
getNextPage: () => Promise<void>;
|
|
8025
|
-
isFirstPage: boolean;
|
|
8026
|
-
isLastPage: boolean;
|
|
8027
|
-
isEmpty: boolean;
|
|
8028
|
-
};
|
|
8029
|
-
};
|
|
8030
|
-
}
|
|
8031
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
8032
|
-
import { FC } from 'react';
|
|
8033
|
-
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8034
|
-
export const InlinePageListByCurrentPage: FC<{
|
|
8035
|
-
blockProps?: PageListDetails;
|
|
8036
|
-
}>;
|
|
8037
|
-
}
|
|
8038
|
-
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
8039
|
-
import { FC } from 'react';
|
|
8040
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8041
|
-
export interface PageListDetails {
|
|
8042
|
-
id?: string;
|
|
8043
|
-
showChildren?: boolean;
|
|
8044
|
-
showDocuments?: boolean;
|
|
8045
|
-
showPages?: boolean;
|
|
8046
|
-
pageId?: string;
|
|
8047
|
-
keywords?: string;
|
|
8048
|
-
}
|
|
8049
|
-
export const InlinePageList: FC<{
|
|
8050
|
-
blockProps?: PageListDetails;
|
|
8051
|
-
}>;
|
|
8052
|
-
export const InlinePageListMapper: HtmlComponentMapper;
|
|
8053
|
-
}
|
|
8054
|
-
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8055
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8056
|
-
export interface EmbeddedObjectPreviewData {
|
|
8057
|
-
itemId: string;
|
|
8058
|
-
type: string;
|
|
8059
|
-
subscriptionIdentifier: string;
|
|
8060
|
-
}
|
|
8061
|
-
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
8062
|
-
}
|
|
8063
|
-
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
8064
|
-
import { FC } from 'react';
|
|
8065
|
-
export const RichTextViewer: FC<{
|
|
8066
|
-
html: string;
|
|
8067
|
-
}>;
|
|
8068
|
-
}
|
|
8069
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
8070
|
-
import { FC } from 'react';
|
|
8071
|
-
export const DetailViewBody: FC;
|
|
8072
|
-
}
|
|
8073
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
8074
|
-
import { FC } from 'react';
|
|
8075
|
-
export const DetailViewKeywords: FC<{
|
|
8076
|
-
filterBaseUrl: string;
|
|
8077
|
-
}>;
|
|
8101
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
8102
|
+
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8103
|
+
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
8104
|
+
format: TableFormat;
|
|
8105
|
+
}, never>;
|
|
8078
8106
|
}
|
|
8079
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8080
|
-
import { FC } from 'react';
|
|
8081
|
-
export const
|
|
8107
|
+
declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
8108
|
+
import { FC, ReactNode } from 'react';
|
|
8109
|
+
export const ItemBodyWrapper: FC<{
|
|
8082
8110
|
className?: string;
|
|
8111
|
+
children?: ReactNode;
|
|
8083
8112
|
}>;
|
|
8084
8113
|
}
|
|
8085
8114
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
@@ -8096,9 +8125,11 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8096
8125
|
allowFilterByChannels?: boolean;
|
|
8097
8126
|
}>;
|
|
8098
8127
|
}
|
|
8099
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/
|
|
8128
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
8100
8129
|
import { FC } from 'react';
|
|
8101
|
-
export const
|
|
8130
|
+
export const EventDetailViewDatesInfo: FC<{
|
|
8131
|
+
className?: string;
|
|
8132
|
+
}>;
|
|
8102
8133
|
}
|
|
8103
8134
|
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8104
8135
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
@@ -8257,6 +8288,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8257
8288
|
import { FC } from 'react';
|
|
8258
8289
|
export const EventDetailViewRegistration: FC;
|
|
8259
8290
|
}
|
|
8291
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8292
|
+
import { FC } from 'react';
|
|
8293
|
+
export const EventDetailViewCancelInformation: FC;
|
|
8294
|
+
}
|
|
8260
8295
|
declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
8261
8296
|
import { FC } from 'react';
|
|
8262
8297
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
@@ -8512,178 +8547,54 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
|
|
|
8512
8547
|
eventItem: EventItem;
|
|
8513
8548
|
}>;
|
|
8514
8549
|
}
|
|
8515
|
-
declare module "libs/reach/feature/content/src/
|
|
8516
|
-
import {
|
|
8517
|
-
|
|
8518
|
-
|
|
8519
|
-
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
}
|
|
8523
|
-
|
|
8524
|
-
|
|
8525
|
-
|
|
8526
|
-
|
|
8527
|
-
|
|
8528
|
-
checked: boolean;
|
|
8529
|
-
}>;
|
|
8550
|
+
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8551
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8552
|
+
interface DateInfoProps {
|
|
8553
|
+
item: Partial<PublishableItem>;
|
|
8554
|
+
dateMode: DateMode;
|
|
8555
|
+
expiryDate?: string;
|
|
8556
|
+
className?: string;
|
|
8557
|
+
}
|
|
8558
|
+
export enum DateMode {
|
|
8559
|
+
Published = 0,
|
|
8560
|
+
Modified = 1
|
|
8561
|
+
}
|
|
8562
|
+
export const DateInfo: React.FC<DateInfoProps>;
|
|
8530
8563
|
}
|
|
8531
|
-
declare module "libs/reach/feature/content/src/
|
|
8532
|
-
import {
|
|
8533
|
-
import {
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8564
|
+
declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
8565
|
+
import { SchedulableItemChannel } from "libs/reach/util/common/src/index";
|
|
8566
|
+
import { DateMode } from "libs/reach/feature/content/src/news/DateInfo";
|
|
8567
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
8568
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8569
|
+
export const getAuthor: (item: Partial<PublishableItem>) => Account;
|
|
8570
|
+
export const ItemMetaInfo: React.FC<{
|
|
8571
|
+
item: Partial<PublishableItem>;
|
|
8538
8572
|
className?: string;
|
|
8573
|
+
expiryDate?: string;
|
|
8574
|
+
channels?: SchedulableItemChannel[];
|
|
8575
|
+
showChannels?: boolean;
|
|
8576
|
+
dateMode: DateMode;
|
|
8577
|
+
readOnly?: boolean;
|
|
8578
|
+
hideAvatar?: boolean;
|
|
8579
|
+
hideDisplayName?: boolean;
|
|
8580
|
+
language?: string;
|
|
8581
|
+
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8582
|
+
clickableAvatar?: boolean;
|
|
8539
8583
|
}>;
|
|
8540
8584
|
}
|
|
8541
|
-
declare module "libs/reach/feature/content/src/common/detail/
|
|
8542
|
-
import { FC } from 'react';
|
|
8543
|
-
export const DetailViewConfirmations: FC;
|
|
8544
|
-
}
|
|
8545
|
-
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
8585
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo" {
|
|
8546
8586
|
import { FC } from 'react';
|
|
8547
|
-
export const
|
|
8548
|
-
isReadOnly?: boolean;
|
|
8549
|
-
}>;
|
|
8587
|
+
export const PageDetailViewMetaInfo: FC;
|
|
8550
8588
|
}
|
|
8551
|
-
declare module "libs/reach/feature/content/src/common/detail/
|
|
8589
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8552
8590
|
import { FC } from 'react';
|
|
8553
|
-
export const
|
|
8591
|
+
export const PageDetailViewFeedbackSection: FC<{
|
|
8554
8592
|
hideLikes?: boolean;
|
|
8555
8593
|
hideComments?: boolean;
|
|
8556
8594
|
hideProfileUrl?: boolean;
|
|
8557
8595
|
disableLoginForPublicUser?: boolean;
|
|
8558
8596
|
}>;
|
|
8559
8597
|
}
|
|
8560
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
8561
|
-
import { FC } from 'react';
|
|
8562
|
-
export const DetailViewHeadline: FC;
|
|
8563
|
-
}
|
|
8564
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
8565
|
-
import { FC } from 'react';
|
|
8566
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8567
|
-
export const DetailViewBodyExternalContent: FC<{
|
|
8568
|
-
itemType: ItemResourceTypes;
|
|
8569
|
-
}>;
|
|
8570
|
-
}
|
|
8571
|
-
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8572
|
-
import { FC } from 'react';
|
|
8573
|
-
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8574
|
-
export const DetailViewContextProvider: FC<{
|
|
8575
|
-
itemId: string;
|
|
8576
|
-
type?: ItemResourceTypes;
|
|
8577
|
-
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8578
|
-
isReadOnly?: boolean;
|
|
8579
|
-
}>;
|
|
8580
|
-
}
|
|
8581
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8582
|
-
import { FC } from 'react';
|
|
8583
|
-
export const PageDetailViewFeedbackSection: FC<{
|
|
8584
|
-
hideLikes?: boolean;
|
|
8585
|
-
hideComments?: boolean;
|
|
8586
|
-
hideProfileUrl?: boolean;
|
|
8587
|
-
disableLoginForPublicUser?: boolean;
|
|
8588
|
-
}>;
|
|
8589
|
-
}
|
|
8590
|
-
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
8591
|
-
import { FC } from 'react';
|
|
8592
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8593
|
-
export const PageBreadcrumb: FC<{
|
|
8594
|
-
page: PageItem;
|
|
8595
|
-
target?: string;
|
|
8596
|
-
language?: string;
|
|
8597
|
-
hideCurrentPageNode?: boolean;
|
|
8598
|
-
className?: string;
|
|
8599
|
-
}>;
|
|
8600
|
-
}
|
|
8601
|
-
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8602
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8603
|
-
interface DateInfoProps {
|
|
8604
|
-
item: Partial<PublishableItem>;
|
|
8605
|
-
dateMode: DateMode;
|
|
8606
|
-
expiryDate?: string;
|
|
8607
|
-
className?: string;
|
|
8608
|
-
}
|
|
8609
|
-
export enum DateMode {
|
|
8610
|
-
Published = 0,
|
|
8611
|
-
Modified = 1
|
|
8612
|
-
}
|
|
8613
|
-
export const DateInfo: React.FC<DateInfoProps>;
|
|
8614
|
-
}
|
|
8615
|
-
declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
8616
|
-
import { SchedulableItemChannel } from "libs/reach/util/common/src/index";
|
|
8617
|
-
import { DateMode } from "libs/reach/feature/content/src/news/DateInfo";
|
|
8618
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8619
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8620
|
-
export const getAuthor: (item: Partial<PublishableItem>) => Account;
|
|
8621
|
-
export const ItemMetaInfo: React.FC<{
|
|
8622
|
-
item: Partial<PublishableItem>;
|
|
8623
|
-
className?: string;
|
|
8624
|
-
expiryDate?: string;
|
|
8625
|
-
channels?: SchedulableItemChannel[];
|
|
8626
|
-
showChannels?: boolean;
|
|
8627
|
-
dateMode: DateMode;
|
|
8628
|
-
readOnly?: boolean;
|
|
8629
|
-
hideAvatar?: boolean;
|
|
8630
|
-
hideDisplayName?: boolean;
|
|
8631
|
-
language?: string;
|
|
8632
|
-
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8633
|
-
clickableAvatar?: boolean;
|
|
8634
|
-
}>;
|
|
8635
|
-
}
|
|
8636
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo" {
|
|
8637
|
-
import { FC } from 'react';
|
|
8638
|
-
export const PageDetailViewMetaInfo: FC;
|
|
8639
|
-
}
|
|
8640
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
8641
|
-
import { FC } from 'react';
|
|
8642
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8643
|
-
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
8644
|
-
export const DetailViewPageDocumentDownload: FC;
|
|
8645
|
-
export const PageDocumentDownloadButton: FC<{
|
|
8646
|
-
item: PageItem;
|
|
8647
|
-
content: PublishableItemContent;
|
|
8648
|
-
basePath?: string;
|
|
8649
|
-
}>;
|
|
8650
|
-
}
|
|
8651
|
-
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8652
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8653
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8654
|
-
interface Props {
|
|
8655
|
-
id: string;
|
|
8656
|
-
item: PublishableItem;
|
|
8657
|
-
itemResourceType: ItemResourceTypes;
|
|
8658
|
-
}
|
|
8659
|
-
export const CardBanner: React.FC<Props>;
|
|
8660
|
-
}
|
|
8661
|
-
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8662
|
-
import { FC, ReactNode } from 'react';
|
|
8663
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8664
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8665
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8666
|
-
interface CardProps {
|
|
8667
|
-
item: PublishableItem;
|
|
8668
|
-
itemResourceType: ItemResourceTypes;
|
|
8669
|
-
additionalMetadata?: ReactNode;
|
|
8670
|
-
highlight?: boolean;
|
|
8671
|
-
className?: string;
|
|
8672
|
-
}
|
|
8673
|
-
export const Card: FC<CardProps>;
|
|
8674
|
-
export interface CardItem<TItem = PublishableItem> {
|
|
8675
|
-
item: TItem;
|
|
8676
|
-
language: string;
|
|
8677
|
-
}
|
|
8678
|
-
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8679
|
-
}
|
|
8680
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
8681
|
-
import { FC, ReactNode } from 'react';
|
|
8682
|
-
export const DetailViewNavigation: FC<{
|
|
8683
|
-
children?: ReactNode;
|
|
8684
|
-
callout?: ReactNode;
|
|
8685
|
-
}>;
|
|
8686
|
-
}
|
|
8687
8598
|
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
8688
8599
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8689
8600
|
import * as H from 'history';
|
|
@@ -8790,6 +8701,104 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8790
8701
|
import { FC } from 'react';
|
|
8791
8702
|
export const PageDetailViewTableOfContentsButton: FC;
|
|
8792
8703
|
}
|
|
8704
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
8705
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
8706
|
+
export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
8707
|
+
}
|
|
8708
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
8709
|
+
import { FC } from 'react';
|
|
8710
|
+
export const InlinePageListByKeywords: FC<{
|
|
8711
|
+
keywords: string[];
|
|
8712
|
+
showDocuments?: boolean;
|
|
8713
|
+
showPages?: boolean;
|
|
8714
|
+
}>;
|
|
8715
|
+
}
|
|
8716
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
8717
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
8718
|
+
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
8719
|
+
}
|
|
8720
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
8721
|
+
import { FC } from 'react';
|
|
8722
|
+
export const InlinePageListByPageId: FC<{
|
|
8723
|
+
pageId: string;
|
|
8724
|
+
showDocuments: boolean;
|
|
8725
|
+
showPages: boolean;
|
|
8726
|
+
}>;
|
|
8727
|
+
}
|
|
8728
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
8729
|
+
import { FC } from 'react';
|
|
8730
|
+
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8731
|
+
export const InlinePageListByCurrentPage: FC<{
|
|
8732
|
+
blockProps?: PageListDetails;
|
|
8733
|
+
}>;
|
|
8734
|
+
}
|
|
8735
|
+
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
8736
|
+
import { FC } from 'react';
|
|
8737
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8738
|
+
export interface PageListDetails {
|
|
8739
|
+
id?: string;
|
|
8740
|
+
showChildren?: boolean;
|
|
8741
|
+
showDocuments?: boolean;
|
|
8742
|
+
showPages?: boolean;
|
|
8743
|
+
pageId?: string;
|
|
8744
|
+
keywords?: string;
|
|
8745
|
+
}
|
|
8746
|
+
export const InlinePageList: FC<{
|
|
8747
|
+
blockProps?: PageListDetails;
|
|
8748
|
+
}>;
|
|
8749
|
+
export const InlinePageListMapper: HtmlComponentMapper;
|
|
8750
|
+
}
|
|
8751
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
8752
|
+
import { FC } from 'react';
|
|
8753
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8754
|
+
export const PageBreadcrumb: FC<{
|
|
8755
|
+
page: PageItem;
|
|
8756
|
+
target?: string;
|
|
8757
|
+
language?: string;
|
|
8758
|
+
hideCurrentPageNode?: boolean;
|
|
8759
|
+
className?: string;
|
|
8760
|
+
}>;
|
|
8761
|
+
}
|
|
8762
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
8763
|
+
import { FC } from 'react';
|
|
8764
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8765
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
8766
|
+
export const DetailViewPageDocumentDownload: FC;
|
|
8767
|
+
export const PageDocumentDownloadButton: FC<{
|
|
8768
|
+
item: PageItem;
|
|
8769
|
+
content: PublishableItemContent;
|
|
8770
|
+
basePath?: string;
|
|
8771
|
+
}>;
|
|
8772
|
+
}
|
|
8773
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8774
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8775
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8776
|
+
interface Props {
|
|
8777
|
+
id: string;
|
|
8778
|
+
item: PublishableItem;
|
|
8779
|
+
itemResourceType: ItemResourceTypes;
|
|
8780
|
+
}
|
|
8781
|
+
export const CardBanner: React.FC<Props>;
|
|
8782
|
+
}
|
|
8783
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8784
|
+
import { FC, ReactNode } from 'react';
|
|
8785
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8786
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8787
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8788
|
+
interface CardProps {
|
|
8789
|
+
item: PublishableItem;
|
|
8790
|
+
itemResourceType: ItemResourceTypes;
|
|
8791
|
+
additionalMetadata?: ReactNode;
|
|
8792
|
+
highlight?: boolean;
|
|
8793
|
+
className?: string;
|
|
8794
|
+
}
|
|
8795
|
+
export const Card: FC<CardProps>;
|
|
8796
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
8797
|
+
item: TItem;
|
|
8798
|
+
language: string;
|
|
8799
|
+
}
|
|
8800
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8801
|
+
}
|
|
8793
8802
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
8794
8803
|
import { FC } from 'react';
|
|
8795
8804
|
interface LanguageSelectorProps {
|
|
@@ -8811,229 +8820,191 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8811
8820
|
className?: string;
|
|
8812
8821
|
}>;
|
|
8813
8822
|
}
|
|
8823
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
|
|
8824
|
+
import { FC } from 'react';
|
|
8825
|
+
export const DetailViewBanner: FC;
|
|
8826
|
+
}
|
|
8827
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
8828
|
+
import { FC } from 'react';
|
|
8829
|
+
export const DetailViewIntro: FC;
|
|
8830
|
+
}
|
|
8831
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
8832
|
+
import { FC } from 'react';
|
|
8833
|
+
export const DetailMainSection: FC;
|
|
8834
|
+
}
|
|
8835
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
8836
|
+
import { FC, ReactNode } from 'react';
|
|
8837
|
+
export const GutterMarkerIcon: FC<{
|
|
8838
|
+
iconName: string;
|
|
8839
|
+
children: ReactNode;
|
|
8840
|
+
isActive: boolean;
|
|
8841
|
+
color: string;
|
|
8842
|
+
tooltipResourceKey?: string;
|
|
8843
|
+
className?: string;
|
|
8844
|
+
}>;
|
|
8845
|
+
}
|
|
8846
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
8847
|
+
import { FC } from 'react';
|
|
8848
|
+
export const DetailViewTitle: FC;
|
|
8849
|
+
}
|
|
8814
8850
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
|
|
8815
8851
|
import { FC } from 'react';
|
|
8816
8852
|
export const NewsDetailViewMetaInfo: FC;
|
|
8817
8853
|
}
|
|
8818
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8819
|
-
import {
|
|
8820
|
-
export const
|
|
8821
|
-
|
|
8822
|
-
isActive?: boolean;
|
|
8823
|
-
width?: number;
|
|
8824
|
-
activeColor?: string;
|
|
8854
|
+
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
8855
|
+
import { FC } from 'react';
|
|
8856
|
+
export const RichTextViewer: FC<{
|
|
8857
|
+
html: string;
|
|
8825
8858
|
}>;
|
|
8826
8859
|
}
|
|
8827
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8828
|
-
import {
|
|
8829
|
-
|
|
8830
|
-
|
|
8831
|
-
|
|
8832
|
-
|
|
8860
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
8861
|
+
import { FC } from 'react';
|
|
8862
|
+
export const DetailViewBody: FC;
|
|
8863
|
+
}
|
|
8864
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
8865
|
+
import { FC } from 'react';
|
|
8866
|
+
export const DetailViewKeywords: FC<{
|
|
8867
|
+
filterBaseUrl: string;
|
|
8868
|
+
}>;
|
|
8869
|
+
}
|
|
8870
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
8871
|
+
import { FC } from 'react';
|
|
8872
|
+
export const ConfirmationBox: FC<{
|
|
8873
|
+
disabled?: boolean;
|
|
8874
|
+
onChange?: (value: boolean) => void;
|
|
8875
|
+
checked: boolean;
|
|
8876
|
+
}>;
|
|
8877
|
+
}
|
|
8878
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
8879
|
+
import { FC } from 'react';
|
|
8880
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8881
|
+
export const ConfirmationSection: FC<{
|
|
8882
|
+
item?: NewsItem;
|
|
8883
|
+
showDescription: boolean;
|
|
8884
|
+
readOnly?: boolean;
|
|
8885
|
+
className?: string;
|
|
8886
|
+
}>;
|
|
8887
|
+
}
|
|
8888
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
8889
|
+
import { FC } from 'react';
|
|
8890
|
+
export const DetailViewConfirmations: FC;
|
|
8891
|
+
}
|
|
8892
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
8893
|
+
import { FC } from 'react';
|
|
8894
|
+
export const DetailViewPageViewTracker: FC;
|
|
8895
|
+
}
|
|
8896
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
8897
|
+
import { FC } from 'react';
|
|
8898
|
+
export const FeedbackButtonBookmark: FC<{
|
|
8899
|
+
isReadOnly?: boolean;
|
|
8900
|
+
}>;
|
|
8901
|
+
}
|
|
8902
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
8903
|
+
import { FC } from 'react';
|
|
8904
|
+
export const NewsDetailViewFeedbackSection: FC<{
|
|
8905
|
+
hideLikes?: boolean;
|
|
8906
|
+
hideComments?: boolean;
|
|
8907
|
+
hideProfileUrl?: boolean;
|
|
8908
|
+
disableLoginForPublicUser?: boolean;
|
|
8909
|
+
}>;
|
|
8910
|
+
}
|
|
8911
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
8912
|
+
import { FC, ReactNode } from 'react';
|
|
8913
|
+
export const DetailViewNavigation: FC<{
|
|
8914
|
+
children?: ReactNode;
|
|
8915
|
+
callout?: ReactNode;
|
|
8916
|
+
}>;
|
|
8917
|
+
}
|
|
8918
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
8919
|
+
import { FC } from 'react';
|
|
8920
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8921
|
+
export const DetailViewBodyExternalContent: FC<{
|
|
8922
|
+
itemType: ItemResourceTypes;
|
|
8923
|
+
}>;
|
|
8924
|
+
}
|
|
8925
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
8926
|
+
import { FC } from 'react';
|
|
8927
|
+
export const DetailViewHeadline: FC;
|
|
8928
|
+
}
|
|
8929
|
+
declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
8930
|
+
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
8931
|
+
export const StateIcon: React.FC<{
|
|
8932
|
+
status: WorkflowStatus;
|
|
8933
|
+
isActive?: boolean;
|
|
8934
|
+
width?: number;
|
|
8935
|
+
activeColor?: string;
|
|
8936
|
+
}>;
|
|
8937
|
+
}
|
|
8938
|
+
declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
8939
|
+
import { ItemResourceTypes, PaginatedList, TaskSummary } from "libs/reach/util/common/src/index";
|
|
8940
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
8941
|
+
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
8942
|
+
export function useCommonEditorApi(): {
|
|
8943
|
+
list: <T>(type: ItemResourceTypes, filter?: NewsFilterDefinition, token?: string, sortDefinition?: SortFieldsDefinitionBuilder<string>) => Promise<PaginatedList<T>>;
|
|
8833
8944
|
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
8834
8945
|
};
|
|
8835
8946
|
}
|
|
8836
8947
|
declare module "libs/reach/feature/content/src/common/index" {
|
|
8837
8948
|
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
8838
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8839
8949
|
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8840
8950
|
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
8841
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
8842
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8843
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8844
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8845
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8846
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8847
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
8848
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8849
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8850
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8851
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
8852
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
8853
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8854
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8855
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8856
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8857
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8858
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
8859
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8860
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8861
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
8862
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
8863
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
8864
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
8865
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8866
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
8867
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8868
8951
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
8869
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8870
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8871
|
-
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
8872
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8873
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
8874
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8875
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8876
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8877
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8878
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8879
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
8880
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8881
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8882
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
8883
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
8884
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
8885
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
8886
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
8887
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8888
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8889
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
8890
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
8891
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
8892
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8893
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8894
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
8895
8952
|
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
8896
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8897
8953
|
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
8898
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8899
8954
|
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
8900
8955
|
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
8901
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8902
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8903
|
-
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8904
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8905
8956
|
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
8906
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8907
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8908
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8909
8957
|
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
8910
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8911
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8912
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8913
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8914
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8915
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8916
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8917
8958
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
8918
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8919
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8920
8959
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
8921
8960
|
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
8922
8961
|
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
8923
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8924
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8925
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8926
8962
|
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
8927
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8928
8963
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
8929
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8930
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8931
8964
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
8932
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8933
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
8934
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8935
8965
|
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
8936
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8937
8966
|
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
8938
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8939
8967
|
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8940
8968
|
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8941
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8942
8969
|
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
8943
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8944
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8945
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8946
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8947
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8948
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8949
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8950
8970
|
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8951
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8952
8971
|
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8953
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8954
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8955
8972
|
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
8956
8973
|
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
8957
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8958
8974
|
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8959
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8960
8975
|
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8961
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8962
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8963
8976
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8964
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8965
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8966
8977
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8967
8978
|
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8968
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
8969
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8970
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
8971
8979
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
8972
8980
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
8973
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8974
8981
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8975
8982
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
8976
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
8977
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8978
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8979
8983
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
8980
8984
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
8981
8985
|
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8982
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8983
8986
|
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8984
8987
|
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8985
8988
|
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8986
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8987
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
8988
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
8989
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
8990
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
8991
8989
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8992
8990
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
8993
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
8994
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
8995
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
8996
8991
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8997
8992
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8998
8993
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
8999
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9000
8994
|
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
9001
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9002
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9003
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9004
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
9005
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
9006
8995
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
9007
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
9008
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
9009
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
9010
8996
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
9011
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9012
8997
|
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9013
8998
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9014
8999
|
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9015
9000
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9016
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9017
9001
|
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
9018
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
9019
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9020
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9021
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9022
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9023
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9024
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9025
9002
|
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9026
9003
|
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9027
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9028
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9029
|
-
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9030
|
-
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9031
9004
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9032
9005
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9033
9006
|
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9034
9007
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
9035
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9036
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9037
9008
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9038
9009
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9039
9010
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
@@ -9050,7 +9021,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9050
9021
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9051
9022
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9052
9023
|
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9053
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9054
9024
|
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9055
9025
|
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9056
9026
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
@@ -9081,6 +9051,19 @@ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
|
9081
9051
|
isFilterActive?: boolean;
|
|
9082
9052
|
}
|
|
9083
9053
|
}
|
|
9054
|
+
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
9055
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9056
|
+
export enum ItemType {
|
|
9057
|
+
None = 0,
|
|
9058
|
+
News = 1,
|
|
9059
|
+
Post = 2,
|
|
9060
|
+
Page = 4,
|
|
9061
|
+
Event = 8
|
|
9062
|
+
}
|
|
9063
|
+
export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
|
|
9064
|
+
itemType?: ItemType;
|
|
9065
|
+
}
|
|
9066
|
+
}
|
|
9084
9067
|
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
9085
9068
|
import { FC } from 'react';
|
|
9086
9069
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
@@ -9129,7 +9112,9 @@ declare module "libs/reach/feature/content/src/filter/index" {
|
|
|
9129
9112
|
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
9130
9113
|
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
9131
9114
|
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
9115
|
+
export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
|
|
9132
9116
|
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
9117
|
+
export * from "libs/reach/feature/content/src/filter/utils";
|
|
9133
9118
|
}
|
|
9134
9119
|
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
9135
9120
|
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
@@ -9205,26 +9190,6 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
9205
9190
|
*/
|
|
9206
9191
|
export const Textarea: FC<TextareaProps>;
|
|
9207
9192
|
}
|
|
9208
|
-
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9209
|
-
import { FC } from 'react';
|
|
9210
|
-
interface DateTimePickerProps {
|
|
9211
|
-
date: string;
|
|
9212
|
-
maxDate?: string;
|
|
9213
|
-
minDate?: string;
|
|
9214
|
-
dateValidationResourceKey?: string;
|
|
9215
|
-
timeValidationResourceKey?: string;
|
|
9216
|
-
readOnly?: boolean;
|
|
9217
|
-
onChanged: (date: string, isValid: boolean) => void;
|
|
9218
|
-
noDateResourceKey: string;
|
|
9219
|
-
selectDateResourceKey: string;
|
|
9220
|
-
dateOnly?: boolean;
|
|
9221
|
-
initialPickerDate?: string;
|
|
9222
|
-
label?: string;
|
|
9223
|
-
className?: string;
|
|
9224
|
-
}
|
|
9225
|
-
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9226
|
-
export default DateTimePicker;
|
|
9227
|
-
}
|
|
9228
9193
|
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9229
9194
|
import { FC } from 'react';
|
|
9230
9195
|
interface Props {
|
|
@@ -9249,12 +9214,33 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
|
9249
9214
|
}
|
|
9250
9215
|
export const InsertImagesButton: FC<Props>;
|
|
9251
9216
|
}
|
|
9252
|
-
declare module "libs/reach/feature/content/src/forms/
|
|
9253
|
-
import
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9217
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9218
|
+
import { FC } from 'react';
|
|
9219
|
+
interface DateTimePickerProps {
|
|
9220
|
+
date: string;
|
|
9221
|
+
maxDate?: string;
|
|
9222
|
+
minDate?: string;
|
|
9223
|
+
dateValidationResourceKey?: string;
|
|
9224
|
+
timeValidationResourceKey?: string;
|
|
9225
|
+
readOnly?: boolean;
|
|
9226
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
9227
|
+
noDateResourceKey: string;
|
|
9228
|
+
selectDateResourceKey: string;
|
|
9229
|
+
dateOnly?: boolean;
|
|
9230
|
+
initialPickerDate?: string;
|
|
9231
|
+
label?: string;
|
|
9232
|
+
isRequired?: boolean;
|
|
9233
|
+
className?: string;
|
|
9234
|
+
}
|
|
9235
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9236
|
+
export default DateTimePicker;
|
|
9237
|
+
}
|
|
9238
|
+
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
9239
|
+
import moment, { Moment } from 'moment';
|
|
9240
|
+
export enum DateRange {
|
|
9241
|
+
TwoYears = 0,
|
|
9242
|
+
OneYear = 1,
|
|
9243
|
+
SixMonths = 2,
|
|
9258
9244
|
TwoMonths = 3,
|
|
9259
9245
|
OneMonth = 4,
|
|
9260
9246
|
SevenDays = 5,
|
|
@@ -9295,33 +9281,17 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
|
9295
9281
|
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
9296
9282
|
}
|
|
9297
9283
|
declare module "libs/reach/feature/content/src/forms/index" {
|
|
9298
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9299
9284
|
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9300
9285
|
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9301
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9302
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9303
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9304
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9305
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9306
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9307
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9308
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9309
9286
|
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
9310
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9311
9287
|
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
9312
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9313
9288
|
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
9314
9289
|
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
9315
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9316
9290
|
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9317
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9318
9291
|
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9319
9292
|
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9320
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9321
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9322
9293
|
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
9323
9294
|
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
9324
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9325
9295
|
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9326
9296
|
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9327
9297
|
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
@@ -9401,6 +9371,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9401
9371
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9402
9372
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9403
9373
|
}
|
|
9374
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9375
|
+
import { FC } from 'react';
|
|
9376
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9377
|
+
export const SearchHighlighter: FC<{
|
|
9378
|
+
highlight: SearchHighlight;
|
|
9379
|
+
}>;
|
|
9380
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9381
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9382
|
+
}
|
|
9404
9383
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9405
9384
|
import { FC } from 'react';
|
|
9406
9385
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9429,11 +9408,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9429
9408
|
}
|
|
9430
9409
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9431
9410
|
import { FC } from 'react';
|
|
9432
|
-
import {
|
|
9411
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9433
9412
|
export const PageListItemBody: FC<{
|
|
9434
|
-
|
|
9435
|
-
[key: string]: PublishableItemContent;
|
|
9436
|
-
};
|
|
9413
|
+
page: PageItem;
|
|
9437
9414
|
search?: string;
|
|
9438
9415
|
}>;
|
|
9439
9416
|
}
|
|
@@ -9499,7 +9476,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9499
9476
|
import { FC } from 'react';
|
|
9500
9477
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9501
9478
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9502
|
-
export
|
|
9479
|
+
export interface PostCreatorProps {
|
|
9503
9480
|
groupId: string;
|
|
9504
9481
|
disabled: boolean;
|
|
9505
9482
|
disableDragAndDrop?: boolean;
|
|
@@ -9510,132 +9487,1293 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9510
9487
|
defaultKeywords?: Keyword[];
|
|
9511
9488
|
mandatoryKeywords?: Keyword[];
|
|
9512
9489
|
};
|
|
9513
|
-
|
|
9514
|
-
}
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
import {
|
|
9519
|
-
import {
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9490
|
+
disableAutoFocus?: boolean;
|
|
9491
|
+
}
|
|
9492
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9493
|
+
}
|
|
9494
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9495
|
+
import { FC } from 'react';
|
|
9496
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9497
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
9498
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9499
|
+
interface Props {
|
|
9500
|
+
className?: string;
|
|
9501
|
+
post: Post;
|
|
9502
|
+
initialPageSize?: number;
|
|
9503
|
+
comments?: PaginatedList<Comment>;
|
|
9504
|
+
autoFocusReplyField?: boolean;
|
|
9505
|
+
onReplyAdded: () => void;
|
|
9506
|
+
onReplyDeleted: () => void;
|
|
9507
|
+
onThreadReply?: (threadId: string) => void;
|
|
9508
|
+
}
|
|
9509
|
+
export const PostReplies: FC<Props>;
|
|
9510
|
+
}
|
|
9511
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
9512
|
+
import { FC } from 'react';
|
|
9513
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9514
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9515
|
+
export const PostEditor: FC<{
|
|
9516
|
+
className?: string;
|
|
9517
|
+
post: Post;
|
|
9518
|
+
onCancel: () => void;
|
|
9519
|
+
onBeforeSave: (post: Post) => void;
|
|
9520
|
+
onSaved: (post: Post) => void;
|
|
9521
|
+
keywordSettings?: {
|
|
9522
|
+
availableKeywords?: Keyword[];
|
|
9523
|
+
defaultKeywords?: Keyword[];
|
|
9524
|
+
mandatoryKeywords?: Keyword[];
|
|
9525
|
+
};
|
|
9526
|
+
}>;
|
|
9527
|
+
}
|
|
9528
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9529
|
+
import { FC } from 'react';
|
|
9530
|
+
export const PostFollowButton: FC<{
|
|
9531
|
+
itemId: string;
|
|
9532
|
+
}>;
|
|
9533
|
+
}
|
|
9534
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9535
|
+
import { FC } from 'react';
|
|
9536
|
+
import { NavLink } from 'react-router-dom';
|
|
9537
|
+
export const PostGroup: FC<{
|
|
9538
|
+
groupId: string;
|
|
9539
|
+
to: string;
|
|
9540
|
+
className?: string;
|
|
9541
|
+
}>;
|
|
9542
|
+
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9543
|
+
}
|
|
9544
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9545
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9546
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9547
|
+
interface Props {
|
|
9548
|
+
post: Post;
|
|
9549
|
+
className?: string;
|
|
9550
|
+
threadId?: string;
|
|
9551
|
+
onCustomPostDelete?: () => void;
|
|
9552
|
+
comments?: PaginatedList<Comment>;
|
|
9553
|
+
initialCommentsPageSize?: number;
|
|
9554
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9555
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9556
|
+
onThreadCommentDelete?: () => void;
|
|
9557
|
+
onThreadReply?: (threadId: string) => void;
|
|
9558
|
+
keywordSettings?: {
|
|
9559
|
+
availableKeywords?: Keyword[];
|
|
9560
|
+
defaultKeywords?: Keyword[];
|
|
9561
|
+
mandatoryKeywords?: Keyword[];
|
|
9562
|
+
};
|
|
9563
|
+
showGroup?: boolean;
|
|
9564
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9565
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9566
|
+
}
|
|
9567
|
+
export const PostDisplay: React.FC<Props>;
|
|
9568
|
+
}
|
|
9569
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
|
|
9570
|
+
import { FC } from 'react';
|
|
9571
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
9572
|
+
export const PostGroupsSelector: FC<{
|
|
9573
|
+
groups: UserGroup[];
|
|
9574
|
+
}>;
|
|
9575
|
+
}
|
|
9576
|
+
declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
9577
|
+
import { FC } from 'react';
|
|
9578
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9579
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9580
|
+
interface Props {
|
|
9581
|
+
post: Post;
|
|
9582
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9583
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9584
|
+
keywordSettings?: {
|
|
9585
|
+
availableKeywords?: Keyword[];
|
|
9586
|
+
defaultKeywords?: Keyword[];
|
|
9587
|
+
mandatoryKeywords?: Keyword[];
|
|
9588
|
+
};
|
|
9589
|
+
showGroup: boolean;
|
|
9590
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9591
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9592
|
+
}
|
|
9593
|
+
export const PostListItem: FC<Props>;
|
|
9594
|
+
}
|
|
9595
|
+
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9596
|
+
import { FC } from 'react';
|
|
9597
|
+
import { Post } from "libs/reach/feature/content/src/index";
|
|
9598
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9599
|
+
export const PostWithSelfThreadHandling: FC<{
|
|
9600
|
+
post: Post;
|
|
9601
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9602
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9603
|
+
keywordSettings?: {
|
|
9604
|
+
availableKeywords?: Keyword[];
|
|
9605
|
+
defaultKeywords?: Keyword[];
|
|
9606
|
+
mandatoryKeywords?: Keyword[];
|
|
9607
|
+
};
|
|
9608
|
+
showGroup: boolean;
|
|
9609
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9610
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9611
|
+
}>;
|
|
9612
|
+
}
|
|
9613
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
9614
|
+
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";
|
|
9615
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9616
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9617
|
+
enum StreamItemTypes {
|
|
9618
|
+
Post = "POST",
|
|
9619
|
+
News = "NEWS",
|
|
9620
|
+
Event = "EVENT",
|
|
9621
|
+
Page = "PAGE"
|
|
9622
|
+
}
|
|
9623
|
+
export enum StreamConversationScope {
|
|
9624
|
+
Public = "PUBLIC",
|
|
9625
|
+
Editor = "EDITOR",
|
|
9626
|
+
Posts = "POSTS"
|
|
9627
|
+
}
|
|
9628
|
+
export interface PostStreamItem extends Post {
|
|
9629
|
+
type: StreamItemTypes.Post;
|
|
9630
|
+
isUnread: boolean;
|
|
9631
|
+
keywordsList?: Keyword[];
|
|
9632
|
+
groupIds?: string[];
|
|
9633
|
+
postAttachments?: StreamAttachment[];
|
|
9634
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9635
|
+
hasMoreUnreadComments: boolean;
|
|
9636
|
+
}
|
|
9637
|
+
export interface StreamPostComment extends Comment {
|
|
9638
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9639
|
+
streamConversationScope?: StreamConversationScope;
|
|
9640
|
+
}
|
|
9641
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
9642
|
+
type: GraphQLAttachmentType;
|
|
9643
|
+
}
|
|
9644
|
+
export interface NewsStreamItem extends NewsItem {
|
|
9645
|
+
type: StreamItemTypes.News;
|
|
9646
|
+
contentsList: StreamPublishableItemContents[];
|
|
9647
|
+
channelsList: string[];
|
|
9648
|
+
isUnread: boolean;
|
|
9649
|
+
keywordsList?: Keyword[];
|
|
9650
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9651
|
+
}
|
|
9652
|
+
export enum StreamKnownNewsState {
|
|
9653
|
+
Unconfirmed = "UNCONFIRMED",
|
|
9654
|
+
Alert = "ALERT"
|
|
9655
|
+
}
|
|
9656
|
+
export interface EventStreamItem extends EventItem {
|
|
9657
|
+
type: StreamItemTypes.Event;
|
|
9658
|
+
contentsList: StreamPublishableItemContents[];
|
|
9659
|
+
channelsList: string[];
|
|
9660
|
+
isUnread: boolean;
|
|
9661
|
+
keywordsList?: Keyword[];
|
|
9662
|
+
userResponseType?: StreamEventResponse;
|
|
9663
|
+
}
|
|
9664
|
+
export interface PageStreamItem extends PageItem {
|
|
9665
|
+
type: StreamItemTypes.Page;
|
|
9666
|
+
contentsList: StreamPublishableItemContents[];
|
|
9667
|
+
channelsList: string[];
|
|
9668
|
+
isUnread: boolean;
|
|
9669
|
+
keywordsList?: Keyword[];
|
|
9670
|
+
streamPageType?: string;
|
|
9671
|
+
path?: (PageNavigationNode & {
|
|
9672
|
+
parentId?: string;
|
|
9673
|
+
})[];
|
|
9674
|
+
}
|
|
9675
|
+
interface StreamPublishableItemContents {
|
|
9676
|
+
language: string;
|
|
9677
|
+
title: string;
|
|
9678
|
+
intro?: string;
|
|
9679
|
+
headline?: string;
|
|
9680
|
+
}
|
|
9681
|
+
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9682
|
+
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9683
|
+
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
9684
|
+
export function isEvent(item: StreamItem): item is EventStreamItem;
|
|
9685
|
+
export function isPage(item: StreamItem): item is PageStreamItem;
|
|
9686
|
+
export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
|
|
9687
|
+
groupId: string;
|
|
9688
|
+
attachments: {
|
|
9689
|
+
type: AttachmentType;
|
|
9690
|
+
id: string;
|
|
9691
|
+
filename?: string;
|
|
9692
|
+
previewUrl?: string;
|
|
9693
|
+
url?: string;
|
|
9694
|
+
isUploadInProgress?: boolean;
|
|
9695
|
+
hasError?: boolean;
|
|
9696
|
+
width?: number;
|
|
9697
|
+
height?: number;
|
|
9698
|
+
}[];
|
|
9699
|
+
comments: {
|
|
9700
|
+
items: {
|
|
9701
|
+
conversationScope: ConversationScope;
|
|
9702
|
+
fileAccessToken: string;
|
|
9703
|
+
attachments: {
|
|
9704
|
+
type: AttachmentType;
|
|
9705
|
+
id: string;
|
|
9706
|
+
filename?: string;
|
|
9707
|
+
previewUrl?: string;
|
|
9708
|
+
url?: string;
|
|
9709
|
+
isUploadInProgress?: boolean;
|
|
9710
|
+
hasError?: boolean;
|
|
9711
|
+
width?: number;
|
|
9712
|
+
height?: number;
|
|
9713
|
+
}[];
|
|
9714
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9715
|
+
streamConversationScope?: StreamConversationScope;
|
|
9716
|
+
id: string;
|
|
9717
|
+
parentItemId: string;
|
|
9718
|
+
content: string;
|
|
9719
|
+
contentLanguageCode?: string;
|
|
9720
|
+
receivedDateTime: string;
|
|
9721
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9722
|
+
modified?: string;
|
|
9723
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9724
|
+
isLiked?: boolean;
|
|
9725
|
+
threadId?: string;
|
|
9726
|
+
isUnread?: boolean;
|
|
9727
|
+
hasUnreadReplies?: boolean;
|
|
9728
|
+
isDemoContent?: boolean;
|
|
9729
|
+
attachmentContainerId?: string;
|
|
9730
|
+
}[];
|
|
9731
|
+
paginationToken?: any;
|
|
9732
|
+
nextItem?: StreamPostComment;
|
|
9733
|
+
hasMoreUnreadComments?: boolean;
|
|
9734
|
+
hasNextPage?: boolean;
|
|
9735
|
+
};
|
|
9736
|
+
keywords: {
|
|
9737
|
+
[key: string]: Keyword[];
|
|
9738
|
+
};
|
|
9739
|
+
type: StreamItemTypes.Post;
|
|
9740
|
+
isUnread: boolean;
|
|
9741
|
+
keywordsList?: Keyword[];
|
|
9742
|
+
groupIds?: string[];
|
|
9743
|
+
postAttachments?: StreamAttachment[];
|
|
9744
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9745
|
+
hasMoreUnreadComments: boolean;
|
|
9746
|
+
id: string;
|
|
9747
|
+
content: string;
|
|
9748
|
+
permalink?: string;
|
|
9749
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
9750
|
+
publishingDate: string;
|
|
9751
|
+
modified?: string;
|
|
9752
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
9753
|
+
contentLanguageCode?: string;
|
|
9754
|
+
isLiked?: boolean;
|
|
9755
|
+
isDemoContent?: boolean;
|
|
9756
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
9757
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9758
|
+
fileAccessToken?: string;
|
|
9759
|
+
attachmentContainerId?: string;
|
|
9760
|
+
} | {
|
|
9761
|
+
groupId: string;
|
|
9762
|
+
attachments: {
|
|
9763
|
+
type: AttachmentType;
|
|
9764
|
+
id: string;
|
|
9765
|
+
filename?: string;
|
|
9766
|
+
previewUrl?: string;
|
|
9767
|
+
url?: string;
|
|
9768
|
+
isUploadInProgress?: boolean;
|
|
9769
|
+
hasError?: boolean;
|
|
9770
|
+
width?: number;
|
|
9771
|
+
height?: number;
|
|
9772
|
+
}[];
|
|
9773
|
+
comments: {
|
|
9774
|
+
items: {
|
|
9775
|
+
conversationScope: ConversationScope;
|
|
9776
|
+
fileAccessToken: string;
|
|
9777
|
+
attachments: {
|
|
9778
|
+
type: AttachmentType;
|
|
9779
|
+
id: string;
|
|
9780
|
+
filename?: string;
|
|
9781
|
+
previewUrl?: string;
|
|
9782
|
+
url?: string;
|
|
9783
|
+
isUploadInProgress?: boolean;
|
|
9784
|
+
hasError?: boolean;
|
|
9785
|
+
width?: number;
|
|
9786
|
+
height?: number;
|
|
9787
|
+
}[];
|
|
9788
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9789
|
+
streamConversationScope?: StreamConversationScope;
|
|
9790
|
+
id: string;
|
|
9791
|
+
parentItemId: string;
|
|
9792
|
+
content: string;
|
|
9793
|
+
contentLanguageCode?: string;
|
|
9794
|
+
receivedDateTime: string;
|
|
9795
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9796
|
+
modified?: string;
|
|
9797
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9798
|
+
isLiked?: boolean;
|
|
9799
|
+
threadId?: string;
|
|
9800
|
+
isUnread?: boolean;
|
|
9801
|
+
hasUnreadReplies?: boolean;
|
|
9802
|
+
isDemoContent?: boolean;
|
|
9803
|
+
attachmentContainerId?: string;
|
|
9804
|
+
}[];
|
|
9805
|
+
paginationToken?: any;
|
|
9806
|
+
nextItem?: StreamPostComment;
|
|
9807
|
+
hasMoreUnreadComments?: boolean;
|
|
9808
|
+
hasNextPage?: boolean;
|
|
9809
|
+
};
|
|
9810
|
+
keywords: {
|
|
9811
|
+
[key: string]: Keyword[];
|
|
9812
|
+
};
|
|
9813
|
+
type: StreamItemTypes.News;
|
|
9814
|
+
contentsList: StreamPublishableItemContents[];
|
|
9815
|
+
channelsList: string[];
|
|
9816
|
+
isUnread: boolean;
|
|
9817
|
+
keywordsList?: Keyword[];
|
|
9818
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9819
|
+
source?: string;
|
|
9820
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
9821
|
+
expiryDate?: string;
|
|
9822
|
+
knownState: KnownNewsState;
|
|
9823
|
+
hasNewComments?: boolean;
|
|
9824
|
+
isLiked?: boolean;
|
|
9825
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
9826
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
9827
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
9828
|
+
id?: string;
|
|
9829
|
+
versionId?: string;
|
|
9830
|
+
publishingDate?: string;
|
|
9831
|
+
deleted?: string;
|
|
9832
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
9833
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
9834
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
9835
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
9836
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
9837
|
+
fileAccessToken?: string;
|
|
9838
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
9839
|
+
customProperties?: {
|
|
9840
|
+
[key: string]: any;
|
|
9841
|
+
};
|
|
9842
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
9843
|
+
modified: string;
|
|
9844
|
+
created: string;
|
|
9845
|
+
publishedVersionId?: string;
|
|
9846
|
+
isCurrentPublishedVersion?: boolean;
|
|
9847
|
+
isLatestVersion?: boolean;
|
|
9848
|
+
permalink?: string;
|
|
9849
|
+
groupIds: string[];
|
|
9850
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
9851
|
+
useExternalContent?: boolean;
|
|
9852
|
+
isDemoContent?: boolean;
|
|
9853
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
9854
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9855
|
+
} | {
|
|
9856
|
+
groupId: string;
|
|
9857
|
+
attachments: {
|
|
9858
|
+
type: AttachmentType;
|
|
9859
|
+
id: string;
|
|
9860
|
+
filename?: string;
|
|
9861
|
+
previewUrl?: string;
|
|
9862
|
+
url?: string;
|
|
9863
|
+
isUploadInProgress?: boolean;
|
|
9864
|
+
hasError?: boolean;
|
|
9865
|
+
width?: number;
|
|
9866
|
+
height?: number;
|
|
9867
|
+
}[];
|
|
9868
|
+
comments: {
|
|
9869
|
+
items: {
|
|
9870
|
+
conversationScope: ConversationScope;
|
|
9871
|
+
fileAccessToken: string;
|
|
9872
|
+
attachments: {
|
|
9873
|
+
type: AttachmentType;
|
|
9874
|
+
id: string;
|
|
9875
|
+
filename?: string;
|
|
9876
|
+
previewUrl?: string;
|
|
9877
|
+
url?: string;
|
|
9878
|
+
isUploadInProgress?: boolean;
|
|
9879
|
+
hasError?: boolean;
|
|
9880
|
+
width?: number;
|
|
9881
|
+
height?: number;
|
|
9882
|
+
}[];
|
|
9883
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9884
|
+
streamConversationScope?: StreamConversationScope;
|
|
9885
|
+
id: string;
|
|
9886
|
+
parentItemId: string;
|
|
9887
|
+
content: string;
|
|
9888
|
+
contentLanguageCode?: string;
|
|
9889
|
+
receivedDateTime: string;
|
|
9890
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9891
|
+
modified?: string;
|
|
9892
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9893
|
+
isLiked?: boolean;
|
|
9894
|
+
threadId?: string;
|
|
9895
|
+
isUnread?: boolean;
|
|
9896
|
+
hasUnreadReplies?: boolean;
|
|
9897
|
+
isDemoContent?: boolean;
|
|
9898
|
+
attachmentContainerId?: string;
|
|
9899
|
+
}[];
|
|
9900
|
+
paginationToken?: any;
|
|
9901
|
+
nextItem?: StreamPostComment;
|
|
9902
|
+
hasMoreUnreadComments?: boolean;
|
|
9903
|
+
hasNextPage?: boolean;
|
|
9904
|
+
};
|
|
9905
|
+
keywords: {
|
|
9906
|
+
[key: string]: Keyword[];
|
|
9907
|
+
};
|
|
9908
|
+
type: StreamItemTypes.Event;
|
|
9909
|
+
contentsList: StreamPublishableItemContents[];
|
|
9910
|
+
channelsList: string[];
|
|
9911
|
+
isUnread: boolean;
|
|
9912
|
+
keywordsList?: Keyword[];
|
|
9913
|
+
userResponseType?: StreamEventResponse;
|
|
9914
|
+
startDate?: string;
|
|
9915
|
+
endDate?: string;
|
|
9916
|
+
timeZone?: string;
|
|
9917
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
9918
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
9919
|
+
userResponse?: EventResponse;
|
|
9920
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
9921
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
9922
|
+
hasNewComments?: boolean;
|
|
9923
|
+
isLiked?: boolean;
|
|
9924
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
9925
|
+
recurrenceSeriesId?: string;
|
|
9926
|
+
isSeriesMaster?: string;
|
|
9927
|
+
isVirtual?: boolean;
|
|
9928
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
9929
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
9930
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
9931
|
+
id?: string;
|
|
9932
|
+
versionId?: string;
|
|
9933
|
+
publishingDate?: string;
|
|
9934
|
+
deleted?: string;
|
|
9935
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
9936
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
9937
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
9938
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
9939
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
9940
|
+
fileAccessToken?: string;
|
|
9941
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
9942
|
+
customProperties?: {
|
|
9943
|
+
[key: string]: any;
|
|
9944
|
+
};
|
|
9945
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
9946
|
+
modified: string;
|
|
9947
|
+
created: string;
|
|
9948
|
+
publishedVersionId?: string;
|
|
9949
|
+
isCurrentPublishedVersion?: boolean;
|
|
9950
|
+
isLatestVersion?: boolean;
|
|
9951
|
+
permalink?: string;
|
|
9952
|
+
groupIds: string[];
|
|
9953
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
9954
|
+
useExternalContent?: boolean;
|
|
9955
|
+
isDemoContent?: boolean;
|
|
9956
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
9957
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9958
|
+
} | {
|
|
9959
|
+
groupId: string;
|
|
9960
|
+
attachments: {
|
|
9961
|
+
type: AttachmentType;
|
|
9962
|
+
id: string;
|
|
9963
|
+
filename?: string;
|
|
9964
|
+
previewUrl?: string;
|
|
9965
|
+
url?: string;
|
|
9966
|
+
isUploadInProgress?: boolean;
|
|
9967
|
+
hasError?: boolean;
|
|
9968
|
+
width?: number;
|
|
9969
|
+
height?: number;
|
|
9970
|
+
}[];
|
|
9971
|
+
comments: {
|
|
9972
|
+
items: {
|
|
9973
|
+
conversationScope: ConversationScope;
|
|
9974
|
+
fileAccessToken: string;
|
|
9975
|
+
attachments: {
|
|
9976
|
+
type: AttachmentType;
|
|
9977
|
+
id: string;
|
|
9978
|
+
filename?: string;
|
|
9979
|
+
previewUrl?: string;
|
|
9980
|
+
url?: string;
|
|
9981
|
+
isUploadInProgress?: boolean;
|
|
9982
|
+
hasError?: boolean;
|
|
9983
|
+
width?: number;
|
|
9984
|
+
height?: number;
|
|
9985
|
+
}[];
|
|
9986
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9987
|
+
streamConversationScope?: StreamConversationScope;
|
|
9988
|
+
id: string;
|
|
9989
|
+
parentItemId: string;
|
|
9990
|
+
content: string;
|
|
9991
|
+
contentLanguageCode?: string;
|
|
9992
|
+
receivedDateTime: string;
|
|
9993
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9994
|
+
modified?: string;
|
|
9995
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9996
|
+
isLiked?: boolean;
|
|
9997
|
+
threadId?: string;
|
|
9998
|
+
isUnread?: boolean;
|
|
9999
|
+
hasUnreadReplies?: boolean;
|
|
10000
|
+
isDemoContent?: boolean;
|
|
10001
|
+
attachmentContainerId?: string;
|
|
10002
|
+
}[];
|
|
10003
|
+
paginationToken?: any;
|
|
10004
|
+
nextItem?: StreamPostComment;
|
|
10005
|
+
hasMoreUnreadComments?: boolean;
|
|
10006
|
+
hasNextPage?: boolean;
|
|
10007
|
+
};
|
|
10008
|
+
keywords: {
|
|
10009
|
+
[key: string]: Keyword[];
|
|
10010
|
+
};
|
|
10011
|
+
type: StreamItemTypes.Page;
|
|
10012
|
+
contentsList: StreamPublishableItemContents[];
|
|
10013
|
+
channelsList: string[];
|
|
10014
|
+
isUnread: boolean;
|
|
10015
|
+
keywordsList?: Keyword[];
|
|
10016
|
+
streamPageType?: string;
|
|
10017
|
+
path?: (PageNavigationNode & {
|
|
10018
|
+
parentId?: string;
|
|
10019
|
+
})[];
|
|
10020
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10021
|
+
parentId?: string;
|
|
10022
|
+
pathIds?: string[];
|
|
10023
|
+
position?: number;
|
|
10024
|
+
navigationContext?: PageNavigationContext;
|
|
10025
|
+
hasHiddenAncestor?: boolean;
|
|
10026
|
+
isUnlinked?: boolean;
|
|
10027
|
+
pageType?: PageType;
|
|
10028
|
+
firstChildId?: string;
|
|
10029
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10030
|
+
id?: string;
|
|
10031
|
+
versionId?: string;
|
|
10032
|
+
publishingDate?: string;
|
|
10033
|
+
deleted?: string;
|
|
10034
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10035
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10036
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10037
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10038
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10039
|
+
fileAccessToken?: string;
|
|
10040
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10041
|
+
customProperties?: {
|
|
10042
|
+
[key: string]: any;
|
|
10043
|
+
};
|
|
10044
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10045
|
+
modified: string;
|
|
10046
|
+
created: string;
|
|
10047
|
+
publishedVersionId?: string;
|
|
10048
|
+
isCurrentPublishedVersion?: boolean;
|
|
10049
|
+
isLatestVersion?: boolean;
|
|
10050
|
+
permalink?: string;
|
|
10051
|
+
groupIds: string[];
|
|
10052
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10053
|
+
useExternalContent?: boolean;
|
|
10054
|
+
isDemoContent?: boolean;
|
|
10055
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10056
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10057
|
+
} | {
|
|
10058
|
+
knownState?: undefined;
|
|
10059
|
+
pageType?: undefined;
|
|
10060
|
+
navigationContext?: undefined;
|
|
10061
|
+
userResponse: EventResponse;
|
|
10062
|
+
channels: {
|
|
10063
|
+
name: string;
|
|
10064
|
+
}[];
|
|
10065
|
+
contents: {};
|
|
10066
|
+
bannerInfo: {
|
|
10067
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10068
|
+
type: "video" | "image";
|
|
10069
|
+
videoId?: string;
|
|
10070
|
+
videoUrl?: string;
|
|
10071
|
+
isDirectVideoUrl?: boolean;
|
|
10072
|
+
imageId?: string;
|
|
10073
|
+
};
|
|
10074
|
+
keywords: {
|
|
10075
|
+
[key: string]: Keyword[];
|
|
10076
|
+
};
|
|
10077
|
+
type: StreamItemTypes.Post;
|
|
10078
|
+
isUnread: boolean;
|
|
10079
|
+
keywordsList?: Keyword[];
|
|
10080
|
+
groupIds?: string[];
|
|
10081
|
+
postAttachments?: StreamAttachment[];
|
|
10082
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10083
|
+
hasMoreUnreadComments: boolean;
|
|
10084
|
+
id: string;
|
|
10085
|
+
comments?: PaginatedList<Comment>;
|
|
10086
|
+
groupId: string;
|
|
10087
|
+
content: string;
|
|
10088
|
+
permalink?: string;
|
|
10089
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10090
|
+
publishingDate: string;
|
|
10091
|
+
modified?: string;
|
|
10092
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10093
|
+
contentLanguageCode?: string;
|
|
10094
|
+
isLiked?: boolean;
|
|
10095
|
+
isDemoContent?: boolean;
|
|
10096
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10097
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10098
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10099
|
+
fileAccessToken?: string;
|
|
10100
|
+
attachmentContainerId?: string;
|
|
10101
|
+
} | {
|
|
10102
|
+
knownState: KnownNewsState;
|
|
10103
|
+
pageType?: undefined;
|
|
10104
|
+
navigationContext?: undefined;
|
|
10105
|
+
userResponse: EventResponse;
|
|
10106
|
+
channels: {
|
|
10107
|
+
name: string;
|
|
10108
|
+
}[];
|
|
10109
|
+
contents: {};
|
|
10110
|
+
bannerInfo: {
|
|
10111
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10112
|
+
type: "video" | "image";
|
|
10113
|
+
videoId?: string;
|
|
10114
|
+
videoUrl?: string;
|
|
10115
|
+
isDirectVideoUrl?: boolean;
|
|
10116
|
+
imageId?: string;
|
|
10117
|
+
};
|
|
10118
|
+
keywords: {
|
|
10119
|
+
[key: string]: Keyword[];
|
|
10120
|
+
};
|
|
10121
|
+
type: StreamItemTypes.Post;
|
|
10122
|
+
isUnread: boolean;
|
|
10123
|
+
keywordsList?: Keyword[];
|
|
10124
|
+
groupIds?: string[];
|
|
10125
|
+
postAttachments?: StreamAttachment[];
|
|
10126
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10127
|
+
hasMoreUnreadComments: boolean;
|
|
10128
|
+
id: string;
|
|
10129
|
+
comments?: PaginatedList<Comment>;
|
|
10130
|
+
groupId: string;
|
|
10131
|
+
content: string;
|
|
10132
|
+
permalink?: string;
|
|
10133
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10134
|
+
publishingDate: string;
|
|
10135
|
+
modified?: string;
|
|
10136
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10137
|
+
contentLanguageCode?: string;
|
|
10138
|
+
isLiked?: boolean;
|
|
10139
|
+
isDemoContent?: boolean;
|
|
10140
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10141
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10142
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10143
|
+
fileAccessToken?: string;
|
|
10144
|
+
attachmentContainerId?: string;
|
|
10145
|
+
} | {
|
|
10146
|
+
knownState?: undefined;
|
|
10147
|
+
pageType: PageType;
|
|
10148
|
+
navigationContext: PageNavigationContext;
|
|
10149
|
+
userResponse: EventResponse;
|
|
10150
|
+
channels: {
|
|
10151
|
+
name: string;
|
|
10152
|
+
}[];
|
|
10153
|
+
contents: {};
|
|
10154
|
+
bannerInfo: {
|
|
10155
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10156
|
+
type: "video" | "image";
|
|
10157
|
+
videoId?: string;
|
|
10158
|
+
videoUrl?: string;
|
|
10159
|
+
isDirectVideoUrl?: boolean;
|
|
10160
|
+
imageId?: string;
|
|
10161
|
+
};
|
|
10162
|
+
keywords: {
|
|
10163
|
+
[key: string]: Keyword[];
|
|
10164
|
+
};
|
|
10165
|
+
type: StreamItemTypes.Post;
|
|
10166
|
+
isUnread: boolean;
|
|
10167
|
+
keywordsList?: Keyword[];
|
|
10168
|
+
groupIds?: string[];
|
|
10169
|
+
postAttachments?: StreamAttachment[];
|
|
10170
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10171
|
+
hasMoreUnreadComments: boolean;
|
|
10172
|
+
id: string;
|
|
10173
|
+
comments?: PaginatedList<Comment>;
|
|
10174
|
+
groupId: string;
|
|
10175
|
+
content: string;
|
|
10176
|
+
permalink?: string;
|
|
10177
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10178
|
+
publishingDate: string;
|
|
10179
|
+
modified?: string;
|
|
10180
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10181
|
+
contentLanguageCode?: string;
|
|
10182
|
+
isLiked?: boolean;
|
|
10183
|
+
isDemoContent?: boolean;
|
|
10184
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10185
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10186
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10187
|
+
fileAccessToken?: string;
|
|
10188
|
+
attachmentContainerId?: string;
|
|
10189
|
+
} | {
|
|
10190
|
+
knownState: KnownNewsState;
|
|
10191
|
+
pageType: PageType;
|
|
10192
|
+
navigationContext: PageNavigationContext;
|
|
10193
|
+
userResponse: EventResponse;
|
|
10194
|
+
channels: {
|
|
10195
|
+
name: string;
|
|
10196
|
+
}[];
|
|
10197
|
+
contents: {};
|
|
10198
|
+
bannerInfo: {
|
|
10199
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10200
|
+
type: "video" | "image";
|
|
10201
|
+
videoId?: string;
|
|
10202
|
+
videoUrl?: string;
|
|
10203
|
+
isDirectVideoUrl?: boolean;
|
|
10204
|
+
imageId?: string;
|
|
10205
|
+
};
|
|
10206
|
+
keywords: {
|
|
10207
|
+
[key: string]: Keyword[];
|
|
10208
|
+
};
|
|
10209
|
+
type: StreamItemTypes.Post;
|
|
10210
|
+
isUnread: boolean;
|
|
10211
|
+
keywordsList?: Keyword[];
|
|
10212
|
+
groupIds?: string[];
|
|
10213
|
+
postAttachments?: StreamAttachment[];
|
|
10214
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10215
|
+
hasMoreUnreadComments: boolean;
|
|
10216
|
+
id: string;
|
|
10217
|
+
comments?: PaginatedList<Comment>;
|
|
10218
|
+
groupId: string;
|
|
10219
|
+
content: string;
|
|
10220
|
+
permalink?: string;
|
|
10221
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10222
|
+
publishingDate: string;
|
|
10223
|
+
modified?: string;
|
|
10224
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10225
|
+
contentLanguageCode?: string;
|
|
10226
|
+
isLiked?: boolean;
|
|
10227
|
+
isDemoContent?: boolean;
|
|
10228
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10229
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10230
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10231
|
+
fileAccessToken?: string;
|
|
10232
|
+
attachmentContainerId?: string;
|
|
10233
|
+
} | {
|
|
10234
|
+
knownState: KnownNewsState;
|
|
10235
|
+
pageType?: undefined;
|
|
10236
|
+
navigationContext?: undefined;
|
|
10237
|
+
userResponse: EventResponse;
|
|
10238
|
+
channels: {
|
|
10239
|
+
name: string;
|
|
10240
|
+
}[];
|
|
10241
|
+
contents: {};
|
|
10242
|
+
bannerInfo: {
|
|
10243
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10244
|
+
type: "video" | "image";
|
|
10245
|
+
videoId?: string;
|
|
10246
|
+
videoUrl?: string;
|
|
10247
|
+
isDirectVideoUrl?: boolean;
|
|
10248
|
+
imageId?: string;
|
|
10249
|
+
};
|
|
10250
|
+
keywords: {
|
|
10251
|
+
[key: string]: Keyword[];
|
|
10252
|
+
};
|
|
10253
|
+
type: StreamItemTypes.News;
|
|
10254
|
+
contentsList: StreamPublishableItemContents[];
|
|
10255
|
+
channelsList: string[];
|
|
10256
|
+
isUnread: boolean;
|
|
10257
|
+
keywordsList?: Keyword[];
|
|
10258
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10259
|
+
source?: string;
|
|
10260
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10261
|
+
expiryDate?: string;
|
|
10262
|
+
hasNewComments?: boolean;
|
|
10263
|
+
isLiked?: boolean;
|
|
10264
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10265
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10266
|
+
id?: string;
|
|
10267
|
+
versionId?: string;
|
|
10268
|
+
publishingDate?: string;
|
|
10269
|
+
deleted?: string;
|
|
10270
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10271
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10272
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10273
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10274
|
+
fileAccessToken?: string;
|
|
10275
|
+
customProperties?: {
|
|
10276
|
+
[key: string]: any;
|
|
10277
|
+
};
|
|
10278
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10279
|
+
modified: string;
|
|
10280
|
+
created: string;
|
|
10281
|
+
publishedVersionId?: string;
|
|
10282
|
+
isCurrentPublishedVersion?: boolean;
|
|
10283
|
+
isLatestVersion?: boolean;
|
|
10284
|
+
permalink?: string;
|
|
10285
|
+
groupIds: string[];
|
|
10286
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10287
|
+
useExternalContent?: boolean;
|
|
10288
|
+
isDemoContent?: boolean;
|
|
10289
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10290
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10291
|
+
} | {
|
|
10292
|
+
knownState: KnownNewsState;
|
|
10293
|
+
pageType: PageType;
|
|
10294
|
+
navigationContext: PageNavigationContext;
|
|
10295
|
+
userResponse: EventResponse;
|
|
10296
|
+
channels: {
|
|
10297
|
+
name: string;
|
|
10298
|
+
}[];
|
|
10299
|
+
contents: {};
|
|
10300
|
+
bannerInfo: {
|
|
10301
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10302
|
+
type: "video" | "image";
|
|
10303
|
+
videoId?: string;
|
|
10304
|
+
videoUrl?: string;
|
|
10305
|
+
isDirectVideoUrl?: boolean;
|
|
10306
|
+
imageId?: string;
|
|
10307
|
+
};
|
|
10308
|
+
keywords: {
|
|
10309
|
+
[key: string]: Keyword[];
|
|
10310
|
+
};
|
|
10311
|
+
type: StreamItemTypes.News;
|
|
10312
|
+
contentsList: StreamPublishableItemContents[];
|
|
10313
|
+
channelsList: string[];
|
|
10314
|
+
isUnread: boolean;
|
|
10315
|
+
keywordsList?: Keyword[];
|
|
10316
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10317
|
+
source?: string;
|
|
10318
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10319
|
+
expiryDate?: string;
|
|
10320
|
+
hasNewComments?: boolean;
|
|
10321
|
+
isLiked?: boolean;
|
|
10322
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10323
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10324
|
+
id?: string;
|
|
10325
|
+
versionId?: string;
|
|
10326
|
+
publishingDate?: string;
|
|
10327
|
+
deleted?: string;
|
|
10328
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10329
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10330
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10331
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10332
|
+
fileAccessToken?: string;
|
|
10333
|
+
customProperties?: {
|
|
10334
|
+
[key: string]: any;
|
|
10335
|
+
};
|
|
10336
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10337
|
+
modified: string;
|
|
10338
|
+
created: string;
|
|
10339
|
+
publishedVersionId?: string;
|
|
10340
|
+
isCurrentPublishedVersion?: boolean;
|
|
10341
|
+
isLatestVersion?: boolean;
|
|
10342
|
+
permalink?: string;
|
|
10343
|
+
groupIds: string[];
|
|
10344
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10345
|
+
useExternalContent?: boolean;
|
|
10346
|
+
isDemoContent?: boolean;
|
|
10347
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10348
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10349
|
+
} | {
|
|
10350
|
+
knownState?: undefined;
|
|
10351
|
+
pageType?: undefined;
|
|
10352
|
+
navigationContext?: undefined;
|
|
10353
|
+
userResponse: EventResponse;
|
|
10354
|
+
channels: {
|
|
10355
|
+
name: string;
|
|
10356
|
+
}[];
|
|
10357
|
+
contents: {};
|
|
10358
|
+
bannerInfo: {
|
|
10359
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10360
|
+
type: "video" | "image";
|
|
10361
|
+
videoId?: string;
|
|
10362
|
+
videoUrl?: string;
|
|
10363
|
+
isDirectVideoUrl?: boolean;
|
|
10364
|
+
imageId?: string;
|
|
10365
|
+
};
|
|
10366
|
+
keywords: {
|
|
10367
|
+
[key: string]: Keyword[];
|
|
10368
|
+
};
|
|
10369
|
+
type: StreamItemTypes.Event;
|
|
10370
|
+
contentsList: StreamPublishableItemContents[];
|
|
10371
|
+
channelsList: string[];
|
|
10372
|
+
isUnread: boolean;
|
|
10373
|
+
keywordsList?: Keyword[];
|
|
10374
|
+
userResponseType?: StreamEventResponse;
|
|
10375
|
+
startDate?: string;
|
|
10376
|
+
endDate?: string;
|
|
10377
|
+
timeZone?: string;
|
|
10378
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10379
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10380
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10381
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10382
|
+
hasNewComments?: boolean;
|
|
10383
|
+
isLiked?: boolean;
|
|
10384
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10385
|
+
recurrenceSeriesId?: string;
|
|
10386
|
+
isSeriesMaster?: string;
|
|
10387
|
+
isVirtual?: boolean;
|
|
10388
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10389
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10390
|
+
id?: string;
|
|
10391
|
+
versionId?: string;
|
|
10392
|
+
publishingDate?: string;
|
|
10393
|
+
deleted?: string;
|
|
10394
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10395
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10396
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10397
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10398
|
+
fileAccessToken?: string;
|
|
10399
|
+
customProperties?: {
|
|
10400
|
+
[key: string]: any;
|
|
10401
|
+
};
|
|
10402
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10403
|
+
modified: string;
|
|
10404
|
+
created: string;
|
|
10405
|
+
publishedVersionId?: string;
|
|
10406
|
+
isCurrentPublishedVersion?: boolean;
|
|
10407
|
+
isLatestVersion?: boolean;
|
|
10408
|
+
permalink?: string;
|
|
10409
|
+
groupIds: string[];
|
|
10410
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10411
|
+
useExternalContent?: boolean;
|
|
10412
|
+
isDemoContent?: boolean;
|
|
10413
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10414
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10415
|
+
} | {
|
|
10416
|
+
knownState: KnownNewsState;
|
|
10417
|
+
pageType?: undefined;
|
|
10418
|
+
navigationContext?: undefined;
|
|
10419
|
+
userResponse: EventResponse;
|
|
10420
|
+
channels: {
|
|
10421
|
+
name: string;
|
|
10422
|
+
}[];
|
|
10423
|
+
contents: {};
|
|
10424
|
+
bannerInfo: {
|
|
10425
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10426
|
+
type: "video" | "image";
|
|
10427
|
+
videoId?: string;
|
|
10428
|
+
videoUrl?: string;
|
|
10429
|
+
isDirectVideoUrl?: boolean;
|
|
10430
|
+
imageId?: string;
|
|
10431
|
+
};
|
|
10432
|
+
keywords: {
|
|
10433
|
+
[key: string]: Keyword[];
|
|
10434
|
+
};
|
|
10435
|
+
type: StreamItemTypes.Event;
|
|
10436
|
+
contentsList: StreamPublishableItemContents[];
|
|
10437
|
+
channelsList: string[];
|
|
10438
|
+
isUnread: boolean;
|
|
10439
|
+
keywordsList?: Keyword[];
|
|
10440
|
+
userResponseType?: StreamEventResponse;
|
|
10441
|
+
startDate?: string;
|
|
10442
|
+
endDate?: string;
|
|
10443
|
+
timeZone?: string;
|
|
10444
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10445
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10446
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10447
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10448
|
+
hasNewComments?: boolean;
|
|
10449
|
+
isLiked?: boolean;
|
|
10450
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10451
|
+
recurrenceSeriesId?: string;
|
|
10452
|
+
isSeriesMaster?: string;
|
|
10453
|
+
isVirtual?: boolean;
|
|
10454
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10455
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10456
|
+
id?: string;
|
|
10457
|
+
versionId?: string;
|
|
10458
|
+
publishingDate?: string;
|
|
10459
|
+
deleted?: string;
|
|
10460
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10461
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10462
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10463
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10464
|
+
fileAccessToken?: string;
|
|
10465
|
+
customProperties?: {
|
|
10466
|
+
[key: string]: any;
|
|
10467
|
+
};
|
|
10468
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10469
|
+
modified: string;
|
|
10470
|
+
created: string;
|
|
10471
|
+
publishedVersionId?: string;
|
|
10472
|
+
isCurrentPublishedVersion?: boolean;
|
|
10473
|
+
isLatestVersion?: boolean;
|
|
10474
|
+
permalink?: string;
|
|
10475
|
+
groupIds: string[];
|
|
10476
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10477
|
+
useExternalContent?: boolean;
|
|
10478
|
+
isDemoContent?: boolean;
|
|
10479
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10480
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10481
|
+
} | {
|
|
10482
|
+
knownState?: undefined;
|
|
10483
|
+
pageType: PageType;
|
|
10484
|
+
navigationContext: PageNavigationContext;
|
|
10485
|
+
userResponse: EventResponse;
|
|
10486
|
+
channels: {
|
|
10487
|
+
name: string;
|
|
10488
|
+
}[];
|
|
10489
|
+
contents: {};
|
|
10490
|
+
bannerInfo: {
|
|
10491
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10492
|
+
type: "video" | "image";
|
|
10493
|
+
videoId?: string;
|
|
10494
|
+
videoUrl?: string;
|
|
10495
|
+
isDirectVideoUrl?: boolean;
|
|
10496
|
+
imageId?: string;
|
|
10497
|
+
};
|
|
10498
|
+
keywords: {
|
|
10499
|
+
[key: string]: Keyword[];
|
|
10500
|
+
};
|
|
10501
|
+
type: StreamItemTypes.Event;
|
|
10502
|
+
contentsList: StreamPublishableItemContents[];
|
|
10503
|
+
channelsList: string[];
|
|
10504
|
+
isUnread: boolean;
|
|
10505
|
+
keywordsList?: Keyword[];
|
|
10506
|
+
userResponseType?: StreamEventResponse;
|
|
10507
|
+
startDate?: string;
|
|
10508
|
+
endDate?: string;
|
|
10509
|
+
timeZone?: string;
|
|
10510
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10511
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10512
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10513
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10514
|
+
hasNewComments?: boolean;
|
|
10515
|
+
isLiked?: boolean;
|
|
10516
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10517
|
+
recurrenceSeriesId?: string;
|
|
10518
|
+
isSeriesMaster?: string;
|
|
10519
|
+
isVirtual?: boolean;
|
|
10520
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10521
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10522
|
+
id?: string;
|
|
10523
|
+
versionId?: string;
|
|
10524
|
+
publishingDate?: string;
|
|
10525
|
+
deleted?: string;
|
|
10526
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10527
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10528
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10529
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10530
|
+
fileAccessToken?: string;
|
|
10531
|
+
customProperties?: {
|
|
10532
|
+
[key: string]: any;
|
|
10533
|
+
};
|
|
10534
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10535
|
+
modified: string;
|
|
10536
|
+
created: string;
|
|
10537
|
+
publishedVersionId?: string;
|
|
10538
|
+
isCurrentPublishedVersion?: boolean;
|
|
10539
|
+
isLatestVersion?: boolean;
|
|
10540
|
+
permalink?: string;
|
|
10541
|
+
groupIds: string[];
|
|
10542
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10543
|
+
useExternalContent?: boolean;
|
|
10544
|
+
isDemoContent?: boolean;
|
|
10545
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10546
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10547
|
+
} | {
|
|
10548
|
+
knownState: KnownNewsState;
|
|
10549
|
+
pageType: PageType;
|
|
10550
|
+
navigationContext: PageNavigationContext;
|
|
10551
|
+
userResponse: EventResponse;
|
|
10552
|
+
channels: {
|
|
10553
|
+
name: string;
|
|
10554
|
+
}[];
|
|
10555
|
+
contents: {};
|
|
10556
|
+
bannerInfo: {
|
|
10557
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10558
|
+
type: "video" | "image";
|
|
10559
|
+
videoId?: string;
|
|
10560
|
+
videoUrl?: string;
|
|
10561
|
+
isDirectVideoUrl?: boolean;
|
|
10562
|
+
imageId?: string;
|
|
9545
10563
|
};
|
|
9546
|
-
|
|
9547
|
-
|
|
9548
|
-
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9549
|
-
import { FC } from 'react';
|
|
9550
|
-
export const PostFollowButton: FC<{
|
|
9551
|
-
itemId: string;
|
|
9552
|
-
}>;
|
|
9553
|
-
}
|
|
9554
|
-
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9555
|
-
import { FC } from 'react';
|
|
9556
|
-
import { NavLink } from 'react-router-dom';
|
|
9557
|
-
export const PostGroup: FC<{
|
|
9558
|
-
groupId: string;
|
|
9559
|
-
to: string;
|
|
9560
|
-
className?: string;
|
|
9561
|
-
}>;
|
|
9562
|
-
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9563
|
-
}
|
|
9564
|
-
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9565
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9566
|
-
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9567
|
-
interface Props {
|
|
9568
|
-
post: Post;
|
|
9569
|
-
className?: string;
|
|
9570
|
-
threadId?: string;
|
|
9571
|
-
onCustomPostDelete?: () => void;
|
|
9572
|
-
comments?: PaginatedList<Comment>;
|
|
9573
|
-
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9574
|
-
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9575
|
-
onThreadCommentDelete?: () => void;
|
|
9576
|
-
onThreadReply?: (threadId: string) => void;
|
|
9577
|
-
keywordSettings?: {
|
|
9578
|
-
availableKeywords?: Keyword[];
|
|
9579
|
-
defaultKeywords?: Keyword[];
|
|
9580
|
-
mandatoryKeywords?: Keyword[];
|
|
10564
|
+
keywords: {
|
|
10565
|
+
[key: string]: Keyword[];
|
|
9581
10566
|
};
|
|
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
|
-
|
|
10567
|
+
type: StreamItemTypes.Event;
|
|
10568
|
+
contentsList: StreamPublishableItemContents[];
|
|
10569
|
+
channelsList: string[];
|
|
10570
|
+
isUnread: boolean;
|
|
10571
|
+
keywordsList?: Keyword[];
|
|
10572
|
+
userResponseType?: StreamEventResponse;
|
|
10573
|
+
startDate?: string;
|
|
10574
|
+
endDate?: string;
|
|
10575
|
+
timeZone?: string;
|
|
10576
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10577
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10578
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10579
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10580
|
+
hasNewComments?: boolean;
|
|
10581
|
+
isLiked?: boolean;
|
|
10582
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10583
|
+
recurrenceSeriesId?: string;
|
|
10584
|
+
isSeriesMaster?: string;
|
|
10585
|
+
isVirtual?: boolean;
|
|
10586
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10587
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10588
|
+
id?: string;
|
|
10589
|
+
versionId?: string;
|
|
10590
|
+
publishingDate?: string;
|
|
10591
|
+
deleted?: string;
|
|
10592
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10593
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10594
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10595
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10596
|
+
fileAccessToken?: string;
|
|
10597
|
+
customProperties?: {
|
|
10598
|
+
[key: string]: any;
|
|
9607
10599
|
};
|
|
9608
|
-
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9620
|
-
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
10600
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10601
|
+
modified: string;
|
|
10602
|
+
created: string;
|
|
10603
|
+
publishedVersionId?: string;
|
|
10604
|
+
isCurrentPublishedVersion?: boolean;
|
|
10605
|
+
isLatestVersion?: boolean;
|
|
10606
|
+
permalink?: string;
|
|
10607
|
+
groupIds: string[];
|
|
10608
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10609
|
+
useExternalContent?: boolean;
|
|
10610
|
+
isDemoContent?: boolean;
|
|
10611
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10612
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10613
|
+
} | {
|
|
10614
|
+
knownState?: undefined;
|
|
10615
|
+
pageType?: PageType;
|
|
10616
|
+
navigationContext?: PageNavigationContext;
|
|
10617
|
+
userResponse: EventResponse;
|
|
10618
|
+
channels: {
|
|
10619
|
+
name: string;
|
|
10620
|
+
}[];
|
|
10621
|
+
contents: {};
|
|
10622
|
+
bannerInfo: {
|
|
10623
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10624
|
+
type: "video" | "image";
|
|
10625
|
+
videoId?: string;
|
|
10626
|
+
videoUrl?: string;
|
|
10627
|
+
isDirectVideoUrl?: boolean;
|
|
10628
|
+
imageId?: string;
|
|
9626
10629
|
};
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
10630
|
+
keywords: {
|
|
10631
|
+
[key: string]: Keyword[];
|
|
10632
|
+
};
|
|
10633
|
+
type: StreamItemTypes.Page;
|
|
10634
|
+
contentsList: StreamPublishableItemContents[];
|
|
10635
|
+
channelsList: string[];
|
|
10636
|
+
isUnread: boolean;
|
|
10637
|
+
keywordsList?: Keyword[];
|
|
10638
|
+
streamPageType?: string;
|
|
10639
|
+
path?: (PageNavigationNode & {
|
|
10640
|
+
parentId?: string;
|
|
10641
|
+
})[];
|
|
10642
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10643
|
+
parentId?: string;
|
|
10644
|
+
pathIds?: string[];
|
|
10645
|
+
position?: number;
|
|
10646
|
+
hasHiddenAncestor?: boolean;
|
|
10647
|
+
isUnlinked?: boolean;
|
|
10648
|
+
firstChildId?: string;
|
|
10649
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10650
|
+
id?: string;
|
|
10651
|
+
versionId?: string;
|
|
10652
|
+
publishingDate?: string;
|
|
10653
|
+
deleted?: string;
|
|
10654
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10655
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10656
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10657
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10658
|
+
fileAccessToken?: string;
|
|
10659
|
+
customProperties?: {
|
|
10660
|
+
[key: string]: any;
|
|
10661
|
+
};
|
|
10662
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10663
|
+
modified: string;
|
|
10664
|
+
created: string;
|
|
10665
|
+
publishedVersionId?: string;
|
|
10666
|
+
isCurrentPublishedVersion?: boolean;
|
|
10667
|
+
isLatestVersion?: boolean;
|
|
10668
|
+
permalink?: string;
|
|
10669
|
+
groupIds: string[];
|
|
10670
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10671
|
+
useExternalContent?: boolean;
|
|
10672
|
+
isDemoContent?: boolean;
|
|
10673
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10674
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10675
|
+
} | {
|
|
10676
|
+
knownState: KnownNewsState;
|
|
10677
|
+
pageType?: PageType;
|
|
10678
|
+
navigationContext?: PageNavigationContext;
|
|
10679
|
+
userResponse: EventResponse;
|
|
10680
|
+
channels: {
|
|
10681
|
+
name: string;
|
|
10682
|
+
}[];
|
|
10683
|
+
contents: {};
|
|
10684
|
+
bannerInfo: {
|
|
10685
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10686
|
+
type: "video" | "image";
|
|
10687
|
+
videoId?: string;
|
|
10688
|
+
videoUrl?: string;
|
|
10689
|
+
isDirectVideoUrl?: boolean;
|
|
10690
|
+
imageId?: string;
|
|
10691
|
+
};
|
|
10692
|
+
keywords: {
|
|
10693
|
+
[key: string]: Keyword[];
|
|
10694
|
+
};
|
|
10695
|
+
type: StreamItemTypes.Page;
|
|
10696
|
+
contentsList: StreamPublishableItemContents[];
|
|
10697
|
+
channelsList: string[];
|
|
10698
|
+
isUnread: boolean;
|
|
10699
|
+
keywordsList?: Keyword[];
|
|
10700
|
+
streamPageType?: string;
|
|
10701
|
+
path?: (PageNavigationNode & {
|
|
10702
|
+
parentId?: string;
|
|
10703
|
+
})[];
|
|
10704
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10705
|
+
parentId?: string;
|
|
10706
|
+
pathIds?: string[];
|
|
10707
|
+
position?: number;
|
|
10708
|
+
hasHiddenAncestor?: boolean;
|
|
10709
|
+
isUnlinked?: boolean;
|
|
10710
|
+
firstChildId?: string;
|
|
10711
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10712
|
+
id?: string;
|
|
10713
|
+
versionId?: string;
|
|
10714
|
+
publishingDate?: string;
|
|
10715
|
+
deleted?: string;
|
|
10716
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10717
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10718
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10719
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10720
|
+
fileAccessToken?: string;
|
|
10721
|
+
customProperties?: {
|
|
10722
|
+
[key: string]: any;
|
|
10723
|
+
};
|
|
10724
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10725
|
+
modified: string;
|
|
10726
|
+
created: string;
|
|
10727
|
+
publishedVersionId?: string;
|
|
10728
|
+
isCurrentPublishedVersion?: boolean;
|
|
10729
|
+
isLatestVersion?: boolean;
|
|
10730
|
+
permalink?: string;
|
|
10731
|
+
groupIds: string[];
|
|
10732
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10733
|
+
useExternalContent?: boolean;
|
|
10734
|
+
isDemoContent?: boolean;
|
|
10735
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10736
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10737
|
+
})[];
|
|
9634
10738
|
}
|
|
9635
|
-
declare module "libs/reach/feature/content/src/
|
|
10739
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10740
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10741
|
+
import { DocumentNode } from '@apollo/client';
|
|
10742
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10743
|
+
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
10744
|
+
export enum StreamEventResponse {
|
|
10745
|
+
NotSet = "NOTSET",
|
|
10746
|
+
Registered = "REGISTERED",
|
|
10747
|
+
Declined = "DECLINED"
|
|
10748
|
+
}
|
|
10749
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10750
|
+
}
|
|
10751
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10752
|
+
items: StreamItem[];
|
|
10753
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10754
|
+
loadMore: () => Promise<void>;
|
|
10755
|
+
pageInfo: {
|
|
10756
|
+
errors?: any;
|
|
10757
|
+
hasNextPage: boolean;
|
|
10758
|
+
skip: number;
|
|
10759
|
+
};
|
|
10760
|
+
refresh: () => Promise<void>;
|
|
10761
|
+
};
|
|
10762
|
+
export const getStreamQuery: () => DocumentNode;
|
|
10763
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10764
|
+
export const CHANNELS_OR_CONDITION: (channels: string[], allChannels: Channel[]) => string;
|
|
10765
|
+
export const KEYWORDS_OR_CONDITION: (keywords: string[]) => string;
|
|
10766
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10767
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10768
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10769
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
10770
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10771
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10772
|
+
}
|
|
10773
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
9636
10774
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9637
10775
|
import { DependencyList } from 'react';
|
|
9638
|
-
export function
|
|
10776
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
9639
10777
|
}
|
|
9640
10778
|
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
9641
10779
|
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -9653,7 +10791,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
9653
10791
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
9654
10792
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
9655
10793
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
9656
|
-
export * from "libs/reach/feature/content/src/posts/
|
|
10794
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
9657
10795
|
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
9658
10796
|
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
9659
10797
|
export * from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9673,7 +10811,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
|
9673
10811
|
onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
|
|
9674
10812
|
onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
|
|
9675
10813
|
className?: string;
|
|
9676
|
-
useLargeAvatar?: boolean;
|
|
9677
10814
|
useExternalLink?: boolean;
|
|
9678
10815
|
}
|
|
9679
10816
|
export const EditorListItem: FC<Props>;
|
|
@@ -9718,12 +10855,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
9718
10855
|
}
|
|
9719
10856
|
}
|
|
9720
10857
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
9721
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
10858
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9722
10859
|
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
10860
|
import { Observable } from 'rxjs';
|
|
9728
10861
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
9729
10862
|
export function useEditorApi(): {
|
|
@@ -9743,6 +10876,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
|
9743
10876
|
keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
|
|
9744
10877
|
saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
|
|
9745
10878
|
updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
|
|
10879
|
+
translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
|
|
9746
10880
|
};
|
|
9747
10881
|
}
|
|
9748
10882
|
declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
@@ -9766,6 +10900,59 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
9766
10900
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
9767
10901
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
9768
10902
|
}
|
|
10903
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
10904
|
+
import { FC } from 'react';
|
|
10905
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10906
|
+
export const StreamPostItemCard: FC<{
|
|
10907
|
+
post: PostStreamItem;
|
|
10908
|
+
onPostDelete: (id: string) => unknown;
|
|
10909
|
+
}>;
|
|
10910
|
+
}
|
|
10911
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
10912
|
+
import { FC } from 'react';
|
|
10913
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10914
|
+
export const StreamNewsItemCard: FC<{
|
|
10915
|
+
news: NewsStreamItem;
|
|
10916
|
+
}>;
|
|
10917
|
+
}
|
|
10918
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
10919
|
+
import { FC } from 'react';
|
|
10920
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10921
|
+
export const StreamEventItemCard: FC<{
|
|
10922
|
+
event: EventStreamItem;
|
|
10923
|
+
}>;
|
|
10924
|
+
}
|
|
10925
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
10926
|
+
import { FC } from 'react';
|
|
10927
|
+
export const GlobalSearchButton: FC;
|
|
10928
|
+
}
|
|
10929
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
10930
|
+
import { FC } from 'react';
|
|
10931
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10932
|
+
export type StreamQueryResult = {
|
|
10933
|
+
items: StreamItem[];
|
|
10934
|
+
};
|
|
10935
|
+
export const StreamList: FC;
|
|
10936
|
+
}
|
|
10937
|
+
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
10938
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10939
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
10940
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10941
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
|
|
10942
|
+
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
10943
|
+
}
|
|
10944
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
10945
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
10946
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10947
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10948
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
10949
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
10950
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
10951
|
+
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
10952
|
+
}
|
|
10953
|
+
declare module "libs/reach/feature/content/src/search/index" {
|
|
10954
|
+
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
10955
|
+
}
|
|
9769
10956
|
declare module "libs/reach/feature/content/src/index" {
|
|
9770
10957
|
export * from "libs/reach/feature/content/src/comments/index";
|
|
9771
10958
|
export * from "libs/reach/feature/content/src/common/index";
|
|
@@ -9778,6 +10965,8 @@ declare module "libs/reach/feature/content/src/index" {
|
|
|
9778
10965
|
export * from "libs/reach/feature/content/src/posts/index";
|
|
9779
10966
|
export * from "libs/reach/feature/content/src/editor/index";
|
|
9780
10967
|
export * from "libs/reach/feature/content/src/public-user/index";
|
|
10968
|
+
export * from "libs/reach/feature/content/src/stream/index";
|
|
10969
|
+
export * from "libs/reach/feature/content/src/search/index";
|
|
9781
10970
|
}
|
|
9782
10971
|
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
9783
10972
|
import { FC } from 'react';
|
|
@@ -9842,18 +11031,6 @@ declare module "apps/reach-app/src/app/admin/users/self-registration/SelfRegistr
|
|
|
9842
11031
|
import { FC } from 'react';
|
|
9843
11032
|
export const SelfRegistrationSettingsPage: FC;
|
|
9844
11033
|
}
|
|
9845
|
-
declare module "apps/reach-app/src/app/Intercom/Intercom" {
|
|
9846
|
-
export interface Intercom {
|
|
9847
|
-
(action: string, settings?: IntercomSettings): void;
|
|
9848
|
-
}
|
|
9849
|
-
export interface IntercomSettings {
|
|
9850
|
-
app_id: string;
|
|
9851
|
-
product_id: string;
|
|
9852
|
-
name?: string;
|
|
9853
|
-
email?: string;
|
|
9854
|
-
}
|
|
9855
|
-
export function create(settings: IntercomSettings): Intercom;
|
|
9856
|
-
}
|
|
9857
11034
|
declare module "apps/reach-app/src/app/AppLoader" {
|
|
9858
11035
|
import { FC } from 'react';
|
|
9859
11036
|
export const AppLoader: FC;
|
|
@@ -9899,21 +11076,20 @@ declare module "apps/reach-app/src/app/teams/TeamsContext" {
|
|
|
9899
11076
|
}>;
|
|
9900
11077
|
export const TeamsContextProvider: FC;
|
|
9901
11078
|
}
|
|
9902
|
-
declare module "apps/reach-app/src/app/
|
|
9903
|
-
export enum
|
|
9904
|
-
Authenticated = 0,
|
|
9905
|
-
UnAuthenticated = 1
|
|
9906
|
-
}
|
|
9907
|
-
export enum IntercomInitialState {
|
|
11079
|
+
declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
11080
|
+
export enum ZendeskInitialState {
|
|
9908
11081
|
Minimized = 0,
|
|
9909
11082
|
MobileHidden = 1
|
|
9910
11083
|
}
|
|
9911
|
-
export function
|
|
9912
|
-
export
|
|
9913
|
-
|
|
11084
|
+
export function shutdownZendesk(): void;
|
|
11085
|
+
export function useZendeskWithSubscription(): {
|
|
11086
|
+
showZendeskChat: () => void;
|
|
9914
11087
|
toggleIcon: (show: boolean) => void;
|
|
9915
|
-
}
|
|
9916
|
-
export function
|
|
11088
|
+
};
|
|
11089
|
+
export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
|
|
11090
|
+
showZendeskChat: () => void;
|
|
11091
|
+
toggleIcon: (show: boolean) => void;
|
|
11092
|
+
};
|
|
9917
11093
|
}
|
|
9918
11094
|
declare module "apps/reach-app/src/app/admin/terms-and-conditions/TermsAndConditionsPage" {
|
|
9919
11095
|
import { FC } from 'react';
|
|
@@ -9955,7 +11131,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
|
|
|
9955
11131
|
import { FC } from 'react';
|
|
9956
11132
|
export const AdminActionItem: FC<{
|
|
9957
11133
|
submenuContents: JSX.Element;
|
|
9958
|
-
onClick
|
|
11134
|
+
onClick?: () => unknown;
|
|
9959
11135
|
title?: string;
|
|
9960
11136
|
}>;
|
|
9961
11137
|
const AdminRoutes: FC;
|
|
@@ -9969,7 +11145,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
|
|
|
9969
11145
|
import { FC } from 'react';
|
|
9970
11146
|
export const ChatMenuNode: FC<{
|
|
9971
11147
|
title: string;
|
|
9972
|
-
onClick
|
|
11148
|
+
onClick?: () => void;
|
|
9973
11149
|
}>;
|
|
9974
11150
|
}
|
|
9975
11151
|
declare module "apps/reach-app/src/app/chrome/Sidebar" {
|
|
@@ -9996,20 +11172,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
|
|
|
9996
11172
|
className?: string;
|
|
9997
11173
|
}>;
|
|
9998
11174
|
}
|
|
9999
|
-
declare module "apps/reach-app/src/app/about/ApplicationVersion" {
|
|
10000
|
-
export default interface ApplicationVersion {
|
|
10001
|
-
description: string;
|
|
10002
|
-
version: string;
|
|
10003
|
-
commitId: string;
|
|
10004
|
-
}
|
|
10005
|
-
}
|
|
10006
|
-
declare module "apps/reach-app/src/app/chrome/VersionInfo" {
|
|
10007
|
-
import { FC } from 'react';
|
|
10008
|
-
export const VersionInfo: FC<{
|
|
10009
|
-
className?: string;
|
|
10010
|
-
renderCommitId?: boolean;
|
|
10011
|
-
}>;
|
|
10012
|
-
}
|
|
10013
11175
|
declare module "apps/reach-app/src/AppLoaderContextProvider" {
|
|
10014
11176
|
import { FC, ReactNode } from 'react';
|
|
10015
11177
|
export const AppLoaderContext: import("react").Context<{
|