@livetiles/reach-plugin-types 0.4.0-preview.31 → 0.4.0-preview.310
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 +2102 -897
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -38,12 +38,10 @@ declare module "libs/shared/util/common/src/JwtHelper" {
|
|
|
38
38
|
declare module "libs/shared/util/common/src/redirect" {
|
|
39
39
|
export function redirectWithReload(redirectUrl: string): void;
|
|
40
40
|
}
|
|
41
|
-
declare module "libs/shared/util/environment/src/
|
|
42
|
-
export interface
|
|
43
|
-
|
|
41
|
+
declare module "libs/shared/util/environment/src/ZendeskConfig" {
|
|
42
|
+
export interface ZendeskConfig {
|
|
43
|
+
apiKey: string;
|
|
44
44
|
enable: boolean;
|
|
45
|
-
productId: string;
|
|
46
|
-
unauthenticatedProductId: string;
|
|
47
45
|
}
|
|
48
46
|
}
|
|
49
47
|
declare module "libs/shared/util/authentication/src/AuthenticationType" {
|
|
@@ -209,14 +207,14 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
|
|
|
209
207
|
clientId: string;
|
|
210
208
|
basePolicyUrl: string;
|
|
211
209
|
signInPolicy: string;
|
|
212
|
-
forgotPasswordPolicy
|
|
210
|
+
forgotPasswordPolicy?: string;
|
|
213
211
|
apiScope: string;
|
|
214
212
|
scopes: string[];
|
|
215
213
|
extraScopes: string[];
|
|
216
214
|
}
|
|
217
215
|
}
|
|
218
216
|
declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
219
|
-
import {
|
|
217
|
+
import { ZendeskConfig } from "libs/shared/util/environment/src/ZendeskConfig";
|
|
220
218
|
import { AuthenticationType } from "libs/shared/util/authentication/src/index";
|
|
221
219
|
import { KeycloakConfiguration } from "libs/shared/util/environment/src/KeycloakConfiguration";
|
|
222
220
|
import { MsalConfiguration } from "libs/shared/util/environment/src/MsalConfiguration";
|
|
@@ -235,12 +233,12 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
235
233
|
export interface AppConfiguration {
|
|
236
234
|
configType: ConfigType;
|
|
237
235
|
authentication: {
|
|
238
|
-
useSingleAuthType
|
|
236
|
+
useSingleAuthType?: AuthenticationType;
|
|
239
237
|
azuread: MsalConfiguration;
|
|
240
|
-
b2c
|
|
241
|
-
keycloak
|
|
242
|
-
teams
|
|
243
|
-
teamsAustralia
|
|
238
|
+
b2c?: MsalConfiguration;
|
|
239
|
+
keycloak?: KeycloakConfiguration;
|
|
240
|
+
teams?: MsalConfiguration;
|
|
241
|
+
teamsAustralia?: MsalConfiguration;
|
|
244
242
|
};
|
|
245
243
|
apiEndpoint: string;
|
|
246
244
|
api2Endpoint: string;
|
|
@@ -249,6 +247,7 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
249
247
|
webAppUrl: string;
|
|
250
248
|
productWebsite: string;
|
|
251
249
|
supportUrl: string;
|
|
250
|
+
releaseNotesUrl: string;
|
|
252
251
|
privacyUrl: string;
|
|
253
252
|
eulaUrl: string;
|
|
254
253
|
appInsightsKey: string;
|
|
@@ -260,7 +259,7 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
260
259
|
resource: string;
|
|
261
260
|
};
|
|
262
261
|
};
|
|
263
|
-
|
|
262
|
+
zendeskMessaging: ZendeskConfig;
|
|
264
263
|
singleSubscriptionMode: boolean;
|
|
265
264
|
oneSignal?: {
|
|
266
265
|
appId: string;
|
|
@@ -417,6 +416,7 @@ declare module "libs/reach/util/common/src/PaginatedList" {
|
|
|
417
416
|
paginationToken?: any;
|
|
418
417
|
nextItem?: TItem;
|
|
419
418
|
hasMoreUnreadComments?: boolean;
|
|
419
|
+
hasNextPage?: boolean;
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
422
|
declare module "libs/reach/util/common/src/SortDirection" {
|
|
@@ -522,6 +522,12 @@ declare module "libs/reach/util/common/src/useCacheLanguageApi" {
|
|
|
522
522
|
getLocaleFromLocalStorage: () => Promise<string>;
|
|
523
523
|
};
|
|
524
524
|
}
|
|
525
|
+
declare module "libs/reach/util/common/src/resources/languages/da.async" {
|
|
526
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/da';
|
|
527
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/da';
|
|
528
|
+
import da from "libs/reach/util/common/src/resources/languages/string-resources/da";
|
|
529
|
+
export default da;
|
|
530
|
+
}
|
|
525
531
|
declare module "libs/reach/util/common/src/resources/languages/de.async" {
|
|
526
532
|
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
527
533
|
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
@@ -577,7 +583,7 @@ declare module "libs/reach/util/common/src/resources/languages/en.async" {
|
|
|
577
583
|
export default en;
|
|
578
584
|
}
|
|
579
585
|
declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
|
|
580
|
-
export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/
|
|
586
|
+
export function importLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/da.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
|
|
581
587
|
}
|
|
582
588
|
declare module "libs/reach/util/common/src/resources/locales/ar-dz.async" {
|
|
583
589
|
import '@formatjs/intl-pluralrules/dist/locale-data/ar';
|
|
@@ -1070,6 +1076,8 @@ declare module "libs/reach/util/common/src/user/Audience" {
|
|
|
1070
1076
|
[key: string]: string;
|
|
1071
1077
|
};
|
|
1072
1078
|
mode: AudienceMatchMode;
|
|
1079
|
+
includeDirectoryUsers?: boolean;
|
|
1080
|
+
includeNonDirectoryUsers?: boolean;
|
|
1073
1081
|
}
|
|
1074
1082
|
}
|
|
1075
1083
|
declare module "libs/reach/util/common/src/content/Language" {
|
|
@@ -1095,7 +1103,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1095
1103
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
1096
1104
|
import { Audience } from "libs/reach/util/common/src/user/Audience";
|
|
1097
1105
|
import { CurrentUser, NotificationType, UserGroupRole } from "libs/reach/util/common/src/user/User";
|
|
1098
|
-
import { SubscriptionInfo as BaseSubscriptionInfo
|
|
1106
|
+
import { IdentityProviderNames, IdentityProviderSettings, SubscriptionInfo as BaseSubscriptionInfo } from "libs/shared/util/authentication/src/index";
|
|
1099
1107
|
import { Language, LanguageBase } from "libs/reach/util/common/src/content/Language";
|
|
1100
1108
|
export interface DirectoryConfiguration extends DirectoryConfigurationPatch {
|
|
1101
1109
|
domains?: string[];
|
|
@@ -1133,6 +1141,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1133
1141
|
theme?: Theme;
|
|
1134
1142
|
allowPublicAccess?: boolean;
|
|
1135
1143
|
redirectToContent?: boolean;
|
|
1144
|
+
allowZendesk?: boolean;
|
|
1136
1145
|
}
|
|
1137
1146
|
export interface SignInSettings {
|
|
1138
1147
|
customIdentityProviders: IdentityProviderSettings[];
|
|
@@ -1707,6 +1716,7 @@ declare module "libs/reach/util/common/src/content/VideoSource" {
|
|
|
1707
1716
|
GenericUrl = 3,
|
|
1708
1717
|
Kaltura = 4
|
|
1709
1718
|
}
|
|
1719
|
+
export function convertStringToVideoSource(videoSource: string): VideoSource;
|
|
1710
1720
|
}
|
|
1711
1721
|
declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
1712
1722
|
import { ItemStatistics } from "libs/reach/util/common/src/content/ItemStatistics";
|
|
@@ -1714,6 +1724,19 @@ declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
|
1714
1724
|
id?: string;
|
|
1715
1725
|
statistics?: ItemStatistics;
|
|
1716
1726
|
poll?: Poll;
|
|
1727
|
+
searchHighlights?: SearchHighlightSummary;
|
|
1728
|
+
}
|
|
1729
|
+
export interface SearchHighlightSummary {
|
|
1730
|
+
title: SearchHighlight[];
|
|
1731
|
+
content: SearchHighlight[];
|
|
1732
|
+
}
|
|
1733
|
+
export interface SearchHighlight {
|
|
1734
|
+
language: string;
|
|
1735
|
+
texts: {
|
|
1736
|
+
value: string;
|
|
1737
|
+
type: 'text' | 'hit';
|
|
1738
|
+
}[];
|
|
1739
|
+
score: number;
|
|
1717
1740
|
}
|
|
1718
1741
|
export interface Poll {
|
|
1719
1742
|
questions: PollQuestion[];
|
|
@@ -1781,7 +1804,6 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1781
1804
|
headline?: string;
|
|
1782
1805
|
intro?: string;
|
|
1783
1806
|
body?: string;
|
|
1784
|
-
bodyRaw?: string;
|
|
1785
1807
|
customProperties?: {
|
|
1786
1808
|
[key: string]: any;
|
|
1787
1809
|
};
|
|
@@ -2051,7 +2073,7 @@ declare module "libs/reach/util/common/src/content/Comment" {
|
|
|
2051
2073
|
hasUnreadReplies?: boolean;
|
|
2052
2074
|
isDemoContent?: boolean;
|
|
2053
2075
|
}
|
|
2054
|
-
interface CommentStatistics {
|
|
2076
|
+
export interface CommentStatistics {
|
|
2055
2077
|
likeCount?: number;
|
|
2056
2078
|
replyCount?: number;
|
|
2057
2079
|
}
|
|
@@ -2612,10 +2634,11 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2612
2634
|
useExternalContent?: boolean;
|
|
2613
2635
|
isSearchMatch?: boolean;
|
|
2614
2636
|
topLevelFolderName?: string;
|
|
2637
|
+
uploadToken?: string;
|
|
2615
2638
|
}
|
|
2616
2639
|
export interface PageNavigationContext {
|
|
2617
2640
|
parent?: PageNavigationNode;
|
|
2618
|
-
siblings
|
|
2641
|
+
siblings?: PageNavigationNode[];
|
|
2619
2642
|
children?: PageNavigationNode[];
|
|
2620
2643
|
}
|
|
2621
2644
|
export enum PageType {
|
|
@@ -2717,7 +2740,17 @@ declare module "libs/reach/util/common/src/content/useClearUnreadItems" {
|
|
|
2717
2740
|
onStarted?: () => unknown;
|
|
2718
2741
|
onFinished?: () => unknown;
|
|
2719
2742
|
}
|
|
2720
|
-
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers): () => Promise<void>;
|
|
2743
|
+
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
2744
|
+
}
|
|
2745
|
+
declare module "libs/reach/util/common/src/content/useClearUnreadOnlyFilter" {
|
|
2746
|
+
export function useClearUnreadOnlyFilter(): {
|
|
2747
|
+
clearUnreadOnlyFilter: () => void;
|
|
2748
|
+
};
|
|
2749
|
+
}
|
|
2750
|
+
declare module "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler" {
|
|
2751
|
+
export function useUnreadItemsTogglerHandler(): {
|
|
2752
|
+
toggleUnreadItems: () => void;
|
|
2753
|
+
};
|
|
2721
2754
|
}
|
|
2722
2755
|
declare module "libs/reach/util/common/src/content/index" {
|
|
2723
2756
|
export * from "libs/reach/util/common/src/content/Attachment";
|
|
@@ -2742,6 +2775,8 @@ declare module "libs/reach/util/common/src/content/index" {
|
|
|
2742
2775
|
export * from "libs/reach/util/common/src/content/useFileApi";
|
|
2743
2776
|
export * from "libs/reach/util/common/src/content/content-keyword-utils";
|
|
2744
2777
|
export * from "libs/reach/util/common/src/content/useClearUnreadItems";
|
|
2778
|
+
export * from "libs/reach/util/common/src/content/useClearUnreadOnlyFilter";
|
|
2779
|
+
export * from "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler";
|
|
2745
2780
|
}
|
|
2746
2781
|
declare module "libs/reach/util/common/src/Variables" {
|
|
2747
2782
|
export const maxContentWidth = 985;
|
|
@@ -2842,6 +2877,7 @@ declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
|
2842
2877
|
}
|
|
2843
2878
|
declare module "libs/reach/util/common/src/notification/ToastNotificationHost" {
|
|
2844
2879
|
import { FC } from 'react';
|
|
2880
|
+
import 'react-toastify/dist/ReactToastify.min.css';
|
|
2845
2881
|
export const ToastNotificationHost: FC;
|
|
2846
2882
|
}
|
|
2847
2883
|
declare module "libs/reach/util/common/src/notification/index" {
|
|
@@ -2911,7 +2947,7 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2911
2947
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2912
2948
|
export interface Chat {
|
|
2913
2949
|
id: string;
|
|
2914
|
-
members: Account[];
|
|
2950
|
+
members: (Account & ChatMember)[];
|
|
2915
2951
|
memberIds: string[];
|
|
2916
2952
|
groupName?: string;
|
|
2917
2953
|
lastMessageInfo?: {
|
|
@@ -2922,6 +2958,10 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2922
2958
|
deleteDate?: string;
|
|
2923
2959
|
deleteState?: DeleteState;
|
|
2924
2960
|
messageType?: ChatMessageType;
|
|
2961
|
+
messageValues?: {
|
|
2962
|
+
groupName?: string;
|
|
2963
|
+
userId?: string;
|
|
2964
|
+
};
|
|
2925
2965
|
};
|
|
2926
2966
|
messages: ChatMessage[];
|
|
2927
2967
|
hasNewMessages: boolean;
|
|
@@ -2934,7 +2974,19 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2934
2974
|
}
|
|
2935
2975
|
export enum ChatMessageType {
|
|
2936
2976
|
Default = "DEFAULT",
|
|
2937
|
-
GroupNameChange = "GROUP_NAME_CHANGE"
|
|
2977
|
+
GroupNameChange = "GROUP_NAME_CHANGE",
|
|
2978
|
+
UserLeftGroup = "USER_LEFT_GROUP"
|
|
2979
|
+
}
|
|
2980
|
+
export enum MemberStatus {
|
|
2981
|
+
Normal = "NORMAL",
|
|
2982
|
+
LeftGroupChat = "LEFT_GROUP_CHAT",
|
|
2983
|
+
LeftOneToOneChat = "LEFT_ONE_TO_ONE_CHAT"
|
|
2984
|
+
}
|
|
2985
|
+
export interface ChatMember {
|
|
2986
|
+
id?: string;
|
|
2987
|
+
status?: MemberStatus;
|
|
2988
|
+
joinDate?: string;
|
|
2989
|
+
leftDate?: string;
|
|
2938
2990
|
}
|
|
2939
2991
|
export interface ChatMessage {
|
|
2940
2992
|
itemId: string;
|
|
@@ -3148,6 +3200,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3148
3200
|
placeholderStringResourceKey?: string;
|
|
3149
3201
|
autoFocus?: boolean;
|
|
3150
3202
|
inputId?: string;
|
|
3203
|
+
required?: boolean;
|
|
3151
3204
|
className?: string;
|
|
3152
3205
|
}
|
|
3153
3206
|
export const PeoplePicker: FC<Props>;
|
|
@@ -3185,7 +3238,6 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3185
3238
|
}
|
|
3186
3239
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3187
3240
|
import { FC } from 'react';
|
|
3188
|
-
import 'react-toastify/dist/ReactToastify.min.css';
|
|
3189
3241
|
export const NotificationBar: FC;
|
|
3190
3242
|
}
|
|
3191
3243
|
declare module "libs/reach/ui/common/src/common/AttachedMediaDownloadLink" {
|
|
@@ -3264,8 +3316,8 @@ declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
|
3264
3316
|
}
|
|
3265
3317
|
declare module "libs/reach/ui/common/src/common/Callout" {
|
|
3266
3318
|
import { FC } from 'react';
|
|
3267
|
-
import {
|
|
3268
|
-
export const Callout: FC<
|
|
3319
|
+
import { IFocusTrapCalloutProps } from 'office-ui-fabric-react';
|
|
3320
|
+
export const Callout: FC<IFocusTrapCalloutProps>;
|
|
3269
3321
|
}
|
|
3270
3322
|
declare module "libs/reach/ui/common/src/common/CommentInputTheme" {
|
|
3271
3323
|
export type CommentInputTheme = 'light' | 'dark';
|
|
@@ -3342,12 +3394,13 @@ declare module "libs/reach/ui/common/src/common/Dropdown" {
|
|
|
3342
3394
|
export const Dropdown: FC<IDropdownProps>;
|
|
3343
3395
|
}
|
|
3344
3396
|
declare module "libs/reach/ui/common/src/common/EmptyList" {
|
|
3397
|
+
import { FC } from 'react';
|
|
3345
3398
|
interface EmptyListProps {
|
|
3346
3399
|
icon?: string;
|
|
3347
3400
|
emptyMessageResources?: string[];
|
|
3348
3401
|
className?: string;
|
|
3349
3402
|
}
|
|
3350
|
-
export const EmptyList:
|
|
3403
|
+
export const EmptyList: FC<EmptyListProps>;
|
|
3351
3404
|
}
|
|
3352
3405
|
declare module "libs/reach/ui/common/src/common/EnumHelpers" {
|
|
3353
3406
|
export const hasFlag: (baseValue: any, flag: any) => boolean;
|
|
@@ -3498,18 +3551,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
|
|
|
3498
3551
|
date: string;
|
|
3499
3552
|
}>;
|
|
3500
3553
|
}
|
|
3501
|
-
declare module "libs/reach/ui/common/src/common/IconHeaderButton" {
|
|
3502
|
-
import { FC } from 'react';
|
|
3503
|
-
export const IconHeaderButton: FC<{
|
|
3504
|
-
icon: string;
|
|
3505
|
-
isActive?: boolean;
|
|
3506
|
-
disabled?: boolean;
|
|
3507
|
-
tooltipResourceKey?: string;
|
|
3508
|
-
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3509
|
-
link?: string;
|
|
3510
|
-
className?: string;
|
|
3511
|
-
}>;
|
|
3512
|
-
}
|
|
3513
3554
|
declare module "libs/reach/ui/common/src/common/IconLabel" {
|
|
3514
3555
|
import { FC, ReactNode } from 'react';
|
|
3515
3556
|
export const IconLabel: FC<{
|
|
@@ -3564,7 +3605,7 @@ declare module "libs/reach/ui/common/src/common/Logos" {
|
|
|
3564
3605
|
export { ReactComponent as WhiteDefaultLogoWithText } from './logos/logo-white-with-name.svg';
|
|
3565
3606
|
export { ReactComponent as LogoPurpleXL } from './logos/logo-purple-xl.svg';
|
|
3566
3607
|
export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
|
|
3567
|
-
export { ReactComponent as
|
|
3608
|
+
export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
|
|
3568
3609
|
}
|
|
3569
3610
|
declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
|
|
3570
3611
|
import { FC } from 'react';
|
|
@@ -3624,11 +3665,24 @@ declare module "libs/reach/ui/common/src/common/Prompt" {
|
|
|
3624
3665
|
}
|
|
3625
3666
|
export const Prompt: FC<Props>;
|
|
3626
3667
|
}
|
|
3668
|
+
declare module "libs/reach/ui/common/src/common/buttons/IconHeaderButton" {
|
|
3669
|
+
import { FC } from 'react';
|
|
3670
|
+
export const IconHeaderButton: FC<{
|
|
3671
|
+
icon: string;
|
|
3672
|
+
isActive?: boolean;
|
|
3673
|
+
disabled?: boolean;
|
|
3674
|
+
tooltipResourceKey?: string;
|
|
3675
|
+
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3676
|
+
link?: string;
|
|
3677
|
+
className?: string;
|
|
3678
|
+
}>;
|
|
3679
|
+
}
|
|
3627
3680
|
declare module "libs/reach/ui/common/src/common/toolbar/ToolbarIconButtonWithToolTip" {
|
|
3628
3681
|
import { FC } from 'react';
|
|
3629
3682
|
export interface ToolbarIconButtonProps {
|
|
3630
3683
|
iconName: string;
|
|
3631
|
-
|
|
3684
|
+
ariaLabel?: string;
|
|
3685
|
+
ariaLabelResourceKey?: string;
|
|
3632
3686
|
onClick?: () => unknown;
|
|
3633
3687
|
to?: string;
|
|
3634
3688
|
target?: string;
|
|
@@ -3657,6 +3711,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
|
|
|
3657
3711
|
onSearchTextChange?: (text: string) => void;
|
|
3658
3712
|
onExecuteSearch?: (text: string) => void;
|
|
3659
3713
|
searchText?: string;
|
|
3714
|
+
showSearchBoxInput?: boolean;
|
|
3660
3715
|
}
|
|
3661
3716
|
export const SearchBox: FC<SearchBoxProps & {
|
|
3662
3717
|
onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
|
|
@@ -3735,8 +3790,7 @@ declare module "libs/reach/ui/common/src/common/buttons/ChoiceGroup" {
|
|
|
3735
3790
|
}
|
|
3736
3791
|
declare module "libs/reach/ui/common/src/common/buttons/CommentActionMenu" {
|
|
3737
3792
|
import { FC } from 'react';
|
|
3738
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
3739
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
3793
|
+
import { Account, Comment } from "libs/reach/util/common/src/index";
|
|
3740
3794
|
export const CommentActionMenu: FC<{
|
|
3741
3795
|
comment: Comment;
|
|
3742
3796
|
showEdit: boolean;
|
|
@@ -3782,6 +3836,21 @@ declare module "libs/reach/ui/common/src/common/buttons/TopActionButton" {
|
|
|
3782
3836
|
}
|
|
3783
3837
|
export const TopActionButton: import("styled-components").StyledComponent<import("react").FC<Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
3784
3838
|
}
|
|
3839
|
+
declare module "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler" {
|
|
3840
|
+
import { FC } from 'react';
|
|
3841
|
+
export const UnreadItemsToggler: FC<{
|
|
3842
|
+
disabled: boolean;
|
|
3843
|
+
className?: string;
|
|
3844
|
+
}>;
|
|
3845
|
+
}
|
|
3846
|
+
declare module "libs/reach/ui/common/src/common/buttons/HeaderMenuButton" {
|
|
3847
|
+
import { FC } from 'react';
|
|
3848
|
+
import { IContextualMenuItem } from 'office-ui-fabric-react';
|
|
3849
|
+
export const HeaderMenuButton: FC<{
|
|
3850
|
+
items: IContextualMenuItem[];
|
|
3851
|
+
className?: string;
|
|
3852
|
+
}>;
|
|
3853
|
+
}
|
|
3785
3854
|
declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
|
|
3786
3855
|
import { FC } from 'react';
|
|
3787
3856
|
import { Channel } from "libs/reach/util/common/src/index";
|
|
@@ -3850,6 +3919,8 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelSelector" {
|
|
|
3850
3919
|
showSelectionToggle?: boolean;
|
|
3851
3920
|
placeholder?: string;
|
|
3852
3921
|
inlineControls?: boolean;
|
|
3922
|
+
required?: boolean;
|
|
3923
|
+
id?: string;
|
|
3853
3924
|
}
|
|
3854
3925
|
export const ChannelSelector: FC<Props>;
|
|
3855
3926
|
}
|
|
@@ -4106,7 +4177,7 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
|
|
|
4106
4177
|
declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
|
|
4107
4178
|
import { DependencyList } from 'react';
|
|
4108
4179
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4109
|
-
export function useItemLoaderWithPreFetch(pageSize: number, handler: (pageSize: number,
|
|
4180
|
+
export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: (pageSize: number, token?: TTokenType) => Promise<PaginatedList<TItem>>, deps?: DependencyList): {
|
|
4110
4181
|
items: any[];
|
|
4111
4182
|
isInitialLoading: boolean;
|
|
4112
4183
|
isLoadingNextPage: boolean;
|
|
@@ -4119,6 +4190,21 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
|
|
|
4119
4190
|
isEmpty: boolean;
|
|
4120
4191
|
};
|
|
4121
4192
|
}
|
|
4193
|
+
declare module "libs/reach/ui/common/src/common/paging/PaginationStatus" {
|
|
4194
|
+
import { FC } from 'react';
|
|
4195
|
+
export const PaginationStatus: FC<{
|
|
4196
|
+
allLoadedResourceId: string;
|
|
4197
|
+
showAllLoaded: boolean;
|
|
4198
|
+
showSpinner?: boolean;
|
|
4199
|
+
showPlaceholder?: boolean;
|
|
4200
|
+
}>;
|
|
4201
|
+
}
|
|
4202
|
+
declare module "libs/reach/ui/common/src/common/paging/usePageScrollPagination" {
|
|
4203
|
+
import { DependencyList } from 'react';
|
|
4204
|
+
export function usePageScrollPagination(loadMoreItems: () => Promise<void>, allItemsLoaded?: boolean, additionalDeps?: DependencyList): {
|
|
4205
|
+
isLoadingMore: boolean;
|
|
4206
|
+
};
|
|
4207
|
+
}
|
|
4122
4208
|
declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
|
|
4123
4209
|
import { FC, ReactNode } from 'react';
|
|
4124
4210
|
export const PullToRefreshContext: import("react").Context<{
|
|
@@ -4170,6 +4256,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarMarkAllAsReadButt
|
|
|
4170
4256
|
onMarkAsReadStarted?: () => unknown;
|
|
4171
4257
|
onMarkAsReadFinished?: () => unknown;
|
|
4172
4258
|
disabled?: boolean;
|
|
4259
|
+
unreadCount?: number;
|
|
4173
4260
|
}
|
|
4174
4261
|
export const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
4175
4262
|
export const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
@@ -4353,7 +4440,6 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4353
4440
|
export * from "libs/reach/ui/common/src/common/FloatingActionButton";
|
|
4354
4441
|
export * from "libs/reach/ui/common/src/common/FormattedMessageWithStyle";
|
|
4355
4442
|
export * from "libs/reach/ui/common/src/common/GroupedByDateTitles";
|
|
4356
|
-
export * from "libs/reach/ui/common/src/common/IconHeaderButton";
|
|
4357
4443
|
export * from "libs/reach/ui/common/src/common/IconLabel";
|
|
4358
4444
|
export * from "libs/reach/ui/common/src/common/ItemStatisticsCache";
|
|
4359
4445
|
export * from "libs/reach/ui/common/src/common/KeywordTitle";
|
|
@@ -4384,6 +4470,9 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4384
4470
|
export * from "libs/reach/ui/common/src/common/buttons/DeleteAttachmentButton";
|
|
4385
4471
|
export * from "libs/reach/ui/common/src/common/buttons/ToggleAllButtons";
|
|
4386
4472
|
export * from "libs/reach/ui/common/src/common/buttons/TopActionButton";
|
|
4473
|
+
export * from "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler";
|
|
4474
|
+
export * from "libs/reach/ui/common/src/common/buttons/IconHeaderButton";
|
|
4475
|
+
export * from "libs/reach/ui/common/src/common/buttons/HeaderMenuButton";
|
|
4387
4476
|
export * from "libs/reach/ui/common/src/common/channels/ChannelItem";
|
|
4388
4477
|
export * from "libs/reach/ui/common/src/common/channels/ChannelList";
|
|
4389
4478
|
export * from "libs/reach/ui/common/src/common/channels/ChannelSelector";
|
|
@@ -4412,6 +4501,8 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4412
4501
|
export * from "libs/reach/ui/common/src/common/paging/HorizontalPager";
|
|
4413
4502
|
export * from "libs/reach/ui/common/src/common/paging/VerticalPager";
|
|
4414
4503
|
export * from "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch";
|
|
4504
|
+
export * from "libs/reach/ui/common/src/common/paging/PaginationStatus";
|
|
4505
|
+
export * from "libs/reach/ui/common/src/common/paging/usePageScrollPagination";
|
|
4415
4506
|
export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
|
|
4416
4507
|
export * from "libs/reach/ui/common/src/common/refreshScripts";
|
|
4417
4508
|
export * from "libs/reach/ui/common/src/common/toolbar/Toolbar";
|
|
@@ -4492,10 +4583,10 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4492
4583
|
export function useEscapeOnClose(onClose: Function): void;
|
|
4493
4584
|
}
|
|
4494
4585
|
declare module "apps/reach-app/src/app/chrome/Header" {
|
|
4495
|
-
import { FC, ReactNode } from 'react';
|
|
4586
|
+
import { FC, Dispatch, SetStateAction, ReactNode, HTMLProps } from 'react';
|
|
4496
4587
|
import './Header.scss';
|
|
4497
4588
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
4498
|
-
interface Props extends
|
|
4589
|
+
interface Props extends HTMLProps<HTMLElement>, SearchBoxProps {
|
|
4499
4590
|
iconLeft?: string;
|
|
4500
4591
|
onToggleLeft?: () => void;
|
|
4501
4592
|
onToggleRight?: () => void;
|
|
@@ -4511,6 +4602,14 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
4511
4602
|
disableGoBack?: boolean;
|
|
4512
4603
|
route?: string;
|
|
4513
4604
|
}
|
|
4605
|
+
export interface HeaderContextType {
|
|
4606
|
+
setIsSearchInputFieldVisible: Dispatch<SetStateAction<boolean>>;
|
|
4607
|
+
isSearchInputFieldVisible: boolean;
|
|
4608
|
+
}
|
|
4609
|
+
export const HeaderContext: import("react").Context<HeaderContextType>;
|
|
4610
|
+
export const HeaderContextProvider: FC<{
|
|
4611
|
+
children: ReactNode;
|
|
4612
|
+
}>;
|
|
4514
4613
|
export const Header: FC<Props>;
|
|
4515
4614
|
}
|
|
4516
4615
|
declare module "apps/reach-app/src/app/chrome/FloatingPageActions" {
|
|
@@ -4625,17 +4724,19 @@ declare module "apps/reach-app/src/app/admin/AddButton" {
|
|
|
4625
4724
|
icon?: string;
|
|
4626
4725
|
tooltipResourceKey?: string;
|
|
4627
4726
|
labelResourceKey?: string;
|
|
4727
|
+
domIdentifier?: string;
|
|
4628
4728
|
className?: string;
|
|
4629
4729
|
}
|
|
4630
4730
|
export const AddButton: FC<AddButtonProps>;
|
|
4631
4731
|
}
|
|
4632
4732
|
declare module "apps/reach-app/src/app/admin/common" {
|
|
4633
|
-
|
|
4634
|
-
|
|
4733
|
+
import { FC, ReactNode } from 'react';
|
|
4734
|
+
export const AdminPage: FC<{
|
|
4735
|
+
children: ReactNode;
|
|
4635
4736
|
className?: string;
|
|
4636
4737
|
domIdentifier?: string;
|
|
4637
4738
|
}>;
|
|
4638
|
-
export const
|
|
4739
|
+
export const AdminPageTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
|
|
4639
4740
|
}
|
|
4640
4741
|
declare module "apps/reach-app/src/app/admin/keywords/useKeywordsApi" {
|
|
4641
4742
|
import { KeywordGroup } from "libs/reach/util/common/src/index";
|
|
@@ -4731,6 +4832,29 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
|
|
|
4731
4832
|
import './ApplicationName.scss';
|
|
4732
4833
|
export const ApplicationName: FC;
|
|
4733
4834
|
}
|
|
4835
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
|
|
4836
|
+
import { FC } from 'react';
|
|
4837
|
+
export const LogoPreview: FC<{
|
|
4838
|
+
src: string;
|
|
4839
|
+
subscriptionName: string;
|
|
4840
|
+
domIdentifier: string;
|
|
4841
|
+
}>;
|
|
4842
|
+
}
|
|
4843
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
|
|
4844
|
+
import { FC } from 'react';
|
|
4845
|
+
export const LogoPreviewDialog: FC<{
|
|
4846
|
+
canSave: boolean;
|
|
4847
|
+
onDismiss: () => unknown;
|
|
4848
|
+
onSave: () => unknown;
|
|
4849
|
+
source: string;
|
|
4850
|
+
}>;
|
|
4851
|
+
}
|
|
4852
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
|
|
4853
|
+
import { FC } from 'react';
|
|
4854
|
+
export const LogoEditor: FC<{
|
|
4855
|
+
logoType: string;
|
|
4856
|
+
}>;
|
|
4857
|
+
}
|
|
4734
4858
|
declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
|
|
4735
4859
|
import { FC } from 'react';
|
|
4736
4860
|
export const ApplicationLogo: FC;
|
|
@@ -5492,6 +5616,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
|
|
|
5492
5616
|
}
|
|
5493
5617
|
export const GoToAdminConsentButton: React.FC<Props>;
|
|
5494
5618
|
}
|
|
5619
|
+
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
5620
|
+
import { IntlShape } from 'react-intl';
|
|
5621
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
5622
|
+
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
5623
|
+
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
5624
|
+
export const systemAccountGroupIds: {
|
|
5625
|
+
everyone: string;
|
|
5626
|
+
directoryUsers: string;
|
|
5627
|
+
nonDirectoryUsers: string;
|
|
5628
|
+
allGroups: string[];
|
|
5629
|
+
};
|
|
5630
|
+
export function getDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5631
|
+
export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5632
|
+
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
5633
|
+
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
5634
|
+
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
5635
|
+
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
5636
|
+
export const isAdGroup: (account: Account) => boolean;
|
|
5637
|
+
export const isUser: (account: Account) => boolean;
|
|
5638
|
+
}
|
|
5495
5639
|
declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
|
|
5496
5640
|
import { FC } from 'react';
|
|
5497
5641
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -5866,12 +6010,11 @@ declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
|
5866
6010
|
}>;
|
|
5867
6011
|
}
|
|
5868
6012
|
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
5869
|
-
import
|
|
6013
|
+
import { FC, ReactNode } from 'react';
|
|
6014
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
5870
6015
|
import './SidebarItem.scss';
|
|
5871
6016
|
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
5872
6017
|
import { LocationDescriptor } from 'history';
|
|
5873
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
5874
|
-
import { ReactNode } from 'react';
|
|
5875
6018
|
interface CommonSidebarItemProps {
|
|
5876
6019
|
title?: any;
|
|
5877
6020
|
titleResource?: string;
|
|
@@ -5904,13 +6047,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5904
6047
|
secondaryIconRoute?: LocationDescriptor;
|
|
5905
6048
|
isHoverable?: boolean;
|
|
5906
6049
|
}
|
|
5907
|
-
export const SidebarItem:
|
|
6050
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
5908
6051
|
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
5909
|
-
route:
|
|
6052
|
+
route: LocationDescriptor;
|
|
5910
6053
|
exact?: boolean;
|
|
5911
6054
|
linkClassName?: string;
|
|
5912
6055
|
}
|
|
5913
|
-
export const NavLinkSidebarItem:
|
|
6056
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
5914
6057
|
}
|
|
5915
6058
|
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
5916
6059
|
import { WrappedComponentProps } from 'react-intl';
|
|
@@ -6003,24 +6146,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
|
6003
6146
|
import { FC } from 'react';
|
|
6004
6147
|
export const GroupListPage: FC;
|
|
6005
6148
|
}
|
|
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
6149
|
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
6025
6150
|
import { FC } from 'react';
|
|
6026
6151
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -6265,6 +6390,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6265
6390
|
private static vimeoRegex;
|
|
6266
6391
|
private static microsoftStreamRegex;
|
|
6267
6392
|
private static vimeoDirectLinkRegex;
|
|
6393
|
+
private static vimeoRedirectLinkRegex;
|
|
6268
6394
|
private static kalturaRegex;
|
|
6269
6395
|
readonly source: VideoSource | null;
|
|
6270
6396
|
readonly id: string | null;
|
|
@@ -6272,9 +6398,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6272
6398
|
readonly videoProperties: any;
|
|
6273
6399
|
readonly thumbnailUrl: string;
|
|
6274
6400
|
constructor(url: string);
|
|
6275
|
-
isValid(): boolean;
|
|
6401
|
+
isValid(features?: any): boolean;
|
|
6276
6402
|
}
|
|
6403
|
+
export function getVideoSources(features: any): any[];
|
|
6277
6404
|
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6405
|
+
export function getAllVideoSources(features: any): any[];
|
|
6278
6406
|
}
|
|
6279
6407
|
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6280
6408
|
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
@@ -6302,9 +6430,9 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
|
6302
6430
|
}
|
|
6303
6431
|
}
|
|
6304
6432
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
6305
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6433
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6306
6434
|
export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
|
|
6307
|
-
keywords?:
|
|
6435
|
+
keywords?: FilterWithLogicalOperator;
|
|
6308
6436
|
}
|
|
6309
6437
|
}
|
|
6310
6438
|
declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
|
|
@@ -6329,6 +6457,14 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6329
6457
|
export interface IndexableFilterDefinition {
|
|
6330
6458
|
[key: string]: any;
|
|
6331
6459
|
}
|
|
6460
|
+
export interface FilterWithLogicalOperator {
|
|
6461
|
+
items?: string[];
|
|
6462
|
+
operator?: LogicalOperator;
|
|
6463
|
+
}
|
|
6464
|
+
export enum LogicalOperator {
|
|
6465
|
+
Or = "or",
|
|
6466
|
+
And = "and"
|
|
6467
|
+
}
|
|
6332
6468
|
}
|
|
6333
6469
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6334
6470
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
@@ -6351,12 +6487,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
|
|
|
6351
6487
|
contacts?: string[];
|
|
6352
6488
|
}
|
|
6353
6489
|
}
|
|
6490
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6491
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6492
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6493
|
+
channels?: FilterWithLogicalOperator;
|
|
6494
|
+
}
|
|
6495
|
+
}
|
|
6354
6496
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6355
6497
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6356
6498
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6357
6499
|
import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6358
6500
|
import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6359
|
-
|
|
6501
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6502
|
+
export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
|
|
6360
6503
|
excludePastEvents?: boolean;
|
|
6361
6504
|
pastEventsOnly?: boolean;
|
|
6362
6505
|
}
|
|
@@ -6367,26 +6510,19 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6367
6510
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6368
6511
|
export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6369
6512
|
}
|
|
6370
|
-
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6371
|
-
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6372
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6373
|
-
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6374
|
-
export function useEventsApi(): {
|
|
6375
|
-
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6376
|
-
getEvent: (id: string) => Promise<EventItem>;
|
|
6377
|
-
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6378
|
-
};
|
|
6379
|
-
}
|
|
6380
6513
|
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6381
6514
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6382
6515
|
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6383
6516
|
author?: string;
|
|
6384
6517
|
}
|
|
6385
6518
|
}
|
|
6386
|
-
declare module "libs/reach/feature/content/src/filter/
|
|
6519
|
+
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6387
6520
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6388
|
-
export interface
|
|
6389
|
-
|
|
6521
|
+
export interface FilteringProps {
|
|
6522
|
+
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6523
|
+
onShowFilterPanel?: () => unknown;
|
|
6524
|
+
onToggleFilterSidebar?: () => unknown;
|
|
6525
|
+
isFilterActive?: boolean;
|
|
6390
6526
|
}
|
|
6391
6527
|
}
|
|
6392
6528
|
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
@@ -6404,8 +6540,98 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6404
6540
|
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
6405
6541
|
groupId?: string;
|
|
6406
6542
|
bookmarksOnly?: boolean;
|
|
6543
|
+
unreadOnly?: boolean;
|
|
6544
|
+
}
|
|
6545
|
+
}
|
|
6546
|
+
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6547
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6548
|
+
export enum ItemType {
|
|
6549
|
+
None = 0,
|
|
6550
|
+
News = 1,
|
|
6551
|
+
Post = 2,
|
|
6552
|
+
Page = 4,
|
|
6553
|
+
Event = 8
|
|
6554
|
+
}
|
|
6555
|
+
export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
|
|
6556
|
+
itemType?: ItemType;
|
|
6557
|
+
}
|
|
6558
|
+
}
|
|
6559
|
+
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
6560
|
+
import { FC } from 'react';
|
|
6561
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6562
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6563
|
+
export interface InjectedFilterProps {
|
|
6564
|
+
filter: IndexableFilterDefinition;
|
|
6565
|
+
hasFilter: boolean;
|
|
6566
|
+
isSearchActive: boolean;
|
|
6567
|
+
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6568
|
+
onSearchChange: (text: string) => void;
|
|
6569
|
+
onClearFilter: () => void;
|
|
6570
|
+
}
|
|
6571
|
+
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
6572
|
+
filter: Partial<IndexableFilterDefinition>;
|
|
6573
|
+
hasFilter: boolean;
|
|
6574
|
+
isSearchActive: boolean;
|
|
6575
|
+
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
6576
|
+
onSearchChange: (search: string) => void;
|
|
6577
|
+
onClearFilter: () => void;
|
|
6578
|
+
};
|
|
6579
|
+
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
6580
|
+
export const FilterContextProvider: FC<{
|
|
6581
|
+
addFilters?: (locationParams: {
|
|
6582
|
+
[paramName: string]: any;
|
|
6583
|
+
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
6584
|
+
additionalExcludedFilterProperties?: string[];
|
|
6585
|
+
onClearQueryString?: (prev: any, next: any) => any;
|
|
6586
|
+
}>;
|
|
6587
|
+
export interface FilterVisibilityState {
|
|
6588
|
+
showFilterAsPanel?: boolean;
|
|
6589
|
+
showFilterSidebar?: boolean;
|
|
6407
6590
|
}
|
|
6408
6591
|
}
|
|
6592
|
+
declare module "libs/reach/feature/content/src/filter/index" {
|
|
6593
|
+
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6594
|
+
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6595
|
+
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6596
|
+
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6597
|
+
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6598
|
+
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6599
|
+
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6600
|
+
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
6601
|
+
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6602
|
+
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6603
|
+
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
6604
|
+
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6605
|
+
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6606
|
+
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6607
|
+
export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
|
|
6608
|
+
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
6609
|
+
export * from "libs/reach/feature/content/src/filter/utils";
|
|
6610
|
+
}
|
|
6611
|
+
declare module "libs/reach/feature/content/src/filter/utils" {
|
|
6612
|
+
import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
6613
|
+
export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
|
|
6614
|
+
channels?: undefined;
|
|
6615
|
+
} | {
|
|
6616
|
+
channels: string;
|
|
6617
|
+
};
|
|
6618
|
+
export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
|
|
6619
|
+
keywords?: undefined;
|
|
6620
|
+
} | {
|
|
6621
|
+
keywords: string;
|
|
6622
|
+
};
|
|
6623
|
+
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6624
|
+
}
|
|
6625
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6626
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6627
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6628
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6629
|
+
export function useEventsApi(): {
|
|
6630
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6631
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
6632
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6633
|
+
};
|
|
6634
|
+
}
|
|
6409
6635
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6410
6636
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6411
6637
|
import { Observable } from 'rxjs';
|
|
@@ -6495,6 +6721,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6495
6721
|
import { Account, BaseItem, CurrentUser, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
6496
6722
|
import { Comment, ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
6497
6723
|
import { ItemStatistics } from "libs/reach/util/common/src/index";
|
|
6724
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6498
6725
|
export interface Post extends BaseItem, ItemWithAttachments {
|
|
6499
6726
|
id: string;
|
|
6500
6727
|
comments?: PaginatedList<Comment>;
|
|
@@ -6517,6 +6744,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6517
6744
|
token?: string;
|
|
6518
6745
|
pageSize?: string;
|
|
6519
6746
|
search?: string;
|
|
6747
|
+
keywords?: FilterWithLogicalOperator;
|
|
6520
6748
|
}
|
|
6521
6749
|
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
6522
6750
|
export function getPostsBaseRoute(post: Post, user: CurrentUser): string;
|
|
@@ -6619,7 +6847,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
6619
6847
|
private getVideoElement;
|
|
6620
6848
|
private getNotSupportedElement;
|
|
6621
6849
|
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
6622
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "
|
|
6850
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
6623
6851
|
}
|
|
6624
6852
|
}
|
|
6625
6853
|
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
@@ -6701,6 +6929,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
6701
6929
|
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
6702
6930
|
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
6703
6931
|
export class NewsService {
|
|
6932
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6704
6933
|
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6705
6934
|
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
6706
6935
|
static getContentLanguages(contents: {
|
|
@@ -6808,12 +7037,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
6808
7037
|
}
|
|
6809
7038
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
6810
7039
|
import { FC } from 'react';
|
|
6811
|
-
import { BannerInfo } from "libs/reach/util/common/src/index";
|
|
6812
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7040
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6813
7041
|
interface Props {
|
|
6814
7042
|
itemId: string;
|
|
6815
7043
|
bannerInfo: BannerInfo;
|
|
6816
|
-
|
|
7044
|
+
useEditorRoutes?: boolean;
|
|
6817
7045
|
width: number;
|
|
6818
7046
|
resourceType: ItemResourceTypes;
|
|
6819
7047
|
token?: string;
|
|
@@ -7244,7 +7472,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7244
7472
|
updateSelectedLanguage: (lang: string) => unknown;
|
|
7245
7473
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7246
7474
|
handleLanguageChange: (language: string) => unknown;
|
|
7247
|
-
|
|
7475
|
+
isEditorPreview?: boolean;
|
|
7248
7476
|
}
|
|
7249
7477
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7250
7478
|
}
|
|
@@ -7796,34 +8024,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
7796
8024
|
}>;
|
|
7797
8025
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
7798
8026
|
}
|
|
7799
|
-
declare module "libs/reach/feature/content/src/
|
|
7800
|
-
import { FC
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
className?: string;
|
|
8027
|
+
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8028
|
+
import { FC } from 'react';
|
|
8029
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8030
|
+
export const DetailViewContextProvider: FC<{
|
|
8031
|
+
itemId: string;
|
|
8032
|
+
type?: ItemResourceTypes;
|
|
8033
|
+
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8034
|
+
isEditorPreview?: boolean;
|
|
7808
8035
|
}>;
|
|
7809
8036
|
}
|
|
7810
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7811
|
-
import {
|
|
7812
|
-
export
|
|
8037
|
+
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8038
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8039
|
+
export interface EmbeddedObjectPreviewData {
|
|
8040
|
+
itemId: string;
|
|
8041
|
+
type: string;
|
|
8042
|
+
subscriptionIdentifier: string;
|
|
8043
|
+
}
|
|
8044
|
+
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
7813
8045
|
}
|
|
7814
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7815
|
-
import {
|
|
7816
|
-
export const
|
|
8046
|
+
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8047
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8048
|
+
export const InlineImageMapper: HtmlComponentMapper;
|
|
7817
8049
|
}
|
|
7818
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7819
|
-
import {
|
|
7820
|
-
export
|
|
8050
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
8051
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8052
|
+
export interface ContactDetails {
|
|
8053
|
+
id: string;
|
|
8054
|
+
upn?: string;
|
|
8055
|
+
tenantId?: string;
|
|
8056
|
+
properties?: {
|
|
8057
|
+
[key: string]: {
|
|
8058
|
+
value: string;
|
|
8059
|
+
shouldAutoLoad?: boolean;
|
|
8060
|
+
};
|
|
8061
|
+
};
|
|
8062
|
+
}
|
|
8063
|
+
export const InlineContactMapper: HtmlComponentMapper;
|
|
7821
8064
|
}
|
|
7822
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7823
|
-
import { FC
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
8065
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
|
|
8066
|
+
import { FC } from 'react';
|
|
8067
|
+
import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8068
|
+
export const InlineContactViewer: FC<{
|
|
8069
|
+
contact: ContactDetails;
|
|
7827
8070
|
}>;
|
|
7828
8071
|
}
|
|
7829
8072
|
declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
|
|
@@ -7849,6 +8092,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
|
|
|
7849
8092
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7850
8093
|
export const InlineQuoteMapper: HtmlComponentMapper;
|
|
7851
8094
|
}
|
|
8095
|
+
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
8096
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8097
|
+
export const InlineVideoMapper: HtmlComponentMapper;
|
|
8098
|
+
}
|
|
8099
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
8100
|
+
import { FC } from 'react';
|
|
8101
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8102
|
+
export const InlinePageListViewer: FC<{
|
|
8103
|
+
items: PageItem[];
|
|
8104
|
+
baseRoute: string;
|
|
8105
|
+
filterBaseUrl?: string;
|
|
8106
|
+
isInitialLoading?: boolean;
|
|
8107
|
+
}>;
|
|
8108
|
+
}
|
|
8109
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
8110
|
+
import { FC } from 'react';
|
|
8111
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8112
|
+
export interface ListPagingProps {
|
|
8113
|
+
getNextPage: () => unknown;
|
|
8114
|
+
getPrevPage: () => unknown;
|
|
8115
|
+
getFirstPage: () => unknown;
|
|
8116
|
+
isLoadingNextPage: boolean;
|
|
8117
|
+
isInitialLoading: boolean;
|
|
8118
|
+
isFirstPage: boolean;
|
|
8119
|
+
hideNextButton: boolean;
|
|
8120
|
+
}
|
|
8121
|
+
export const InlinePageListWithPaging: FC<{
|
|
8122
|
+
pages: PageItem[];
|
|
8123
|
+
baseRoute: string;
|
|
8124
|
+
pagingProps?: ListPagingProps;
|
|
8125
|
+
filterBaseUrl?: string;
|
|
8126
|
+
}>;
|
|
8127
|
+
}
|
|
8128
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8129
|
+
import { DependencyList } from 'react';
|
|
8130
|
+
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8131
|
+
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8132
|
+
showPages: boolean;
|
|
8133
|
+
showDocuments: boolean;
|
|
8134
|
+
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8135
|
+
pageItems: any[];
|
|
8136
|
+
pagingProps: {
|
|
8137
|
+
hideNextButton: boolean;
|
|
8138
|
+
isInitialLoading: boolean;
|
|
8139
|
+
isLoadingNextPage: boolean;
|
|
8140
|
+
error: any;
|
|
8141
|
+
getFirstPage: () => void;
|
|
8142
|
+
getPrevPage: () => void;
|
|
8143
|
+
getNextPage: () => Promise<void>;
|
|
8144
|
+
isFirstPage: boolean;
|
|
8145
|
+
isLastPage: boolean;
|
|
8146
|
+
isEmpty: boolean;
|
|
8147
|
+
};
|
|
8148
|
+
};
|
|
8149
|
+
}
|
|
8150
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8151
|
+
import { FC } from 'react';
|
|
8152
|
+
export const InlinePageListSkeleton: FC<{
|
|
8153
|
+
isDataLoaded: boolean;
|
|
8154
|
+
pageSize?: number;
|
|
8155
|
+
}>;
|
|
8156
|
+
}
|
|
7852
8157
|
declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
|
|
7853
8158
|
export interface CodeDetails {
|
|
7854
8159
|
id: string;
|
|
@@ -7870,20 +8175,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
|
|
|
7870
8175
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7871
8176
|
export const InlineCodeMapper: HtmlComponentMapper;
|
|
7872
8177
|
}
|
|
7873
|
-
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
7874
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7875
|
-
export const InlineVideoMapper: HtmlComponentMapper;
|
|
7876
|
-
}
|
|
7877
|
-
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
7878
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7879
|
-
export const InlineImageMapper: HtmlComponentMapper;
|
|
7880
|
-
}
|
|
7881
|
-
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
7882
|
-
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
7883
|
-
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
7884
|
-
format: TableFormat;
|
|
7885
|
-
}, never>;
|
|
7886
|
-
}
|
|
7887
8178
|
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
7888
8179
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7889
8180
|
import { CSSProperties } from 'react';
|
|
@@ -7924,237 +8215,94 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
|
7924
8215
|
export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
|
|
7925
8216
|
export const InlineTable: HtmlComponentMapper;
|
|
7926
8217
|
}
|
|
7927
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7928
|
-
import {
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
8218
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
8219
|
+
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8220
|
+
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
8221
|
+
format: TableFormat;
|
|
8222
|
+
}, never>;
|
|
8223
|
+
}
|
|
8224
|
+
declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
8225
|
+
import { FC, ReactNode } from 'react';
|
|
8226
|
+
export const ItemBodyWrapper: FC<{
|
|
8227
|
+
className?: string;
|
|
8228
|
+
children?: ReactNode;
|
|
7932
8229
|
}>;
|
|
7933
8230
|
}
|
|
7934
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7935
|
-
import {
|
|
7936
|
-
export
|
|
7937
|
-
id: string;
|
|
7938
|
-
upn?: string;
|
|
7939
|
-
tenantId?: string;
|
|
7940
|
-
properties?: {
|
|
7941
|
-
[key: string]: {
|
|
7942
|
-
value: string;
|
|
7943
|
-
shouldAutoLoad?: boolean;
|
|
7944
|
-
};
|
|
7945
|
-
};
|
|
7946
|
-
}
|
|
7947
|
-
export const InlineContactMapper: HtmlComponentMapper;
|
|
8231
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8232
|
+
import { FC } from 'react';
|
|
8233
|
+
export const EventDetailViewPeopleInfo: FC;
|
|
7948
8234
|
}
|
|
7949
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8235
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
7950
8236
|
import { FC } from 'react';
|
|
7951
|
-
|
|
7952
|
-
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
8237
|
+
export const EventDetailViewLocationInfo: FC;
|
|
8238
|
+
}
|
|
8239
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
8240
|
+
import { FC } from 'react';
|
|
8241
|
+
export const EventDetailViewMetaInfo: FC<{
|
|
8242
|
+
allowFilterByChannels?: boolean;
|
|
7957
8243
|
}>;
|
|
7958
8244
|
}
|
|
7959
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8245
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
7960
8246
|
import { FC } from 'react';
|
|
7961
|
-
|
|
7962
|
-
|
|
7963
|
-
getNextPage: () => unknown;
|
|
7964
|
-
getPrevPage: () => unknown;
|
|
7965
|
-
getFirstPage: () => unknown;
|
|
7966
|
-
isLoadingNextPage: boolean;
|
|
7967
|
-
isInitialLoading: boolean;
|
|
7968
|
-
isFirstPage: boolean;
|
|
7969
|
-
hideNextButton: boolean;
|
|
7970
|
-
}
|
|
7971
|
-
export const InlinePageListWithPaging: FC<{
|
|
7972
|
-
pages: PageItem[];
|
|
7973
|
-
baseRoute: string;
|
|
7974
|
-
pagingProps?: ListPagingProps;
|
|
7975
|
-
filterBaseUrl?: string;
|
|
8247
|
+
export const EventDetailViewDatesInfo: FC<{
|
|
8248
|
+
className?: string;
|
|
7976
8249
|
}>;
|
|
7977
8250
|
}
|
|
7978
|
-
declare module "libs/reach/feature/content/src/
|
|
7979
|
-
import {
|
|
7980
|
-
|
|
8251
|
+
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8252
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8253
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8254
|
+
import { PollQuestion, PollQuestionAnswer, PollResult, QuestionResult } from "libs/reach/util/common/src/index";
|
|
8255
|
+
export interface PollUserContextType {
|
|
8256
|
+
item: PublishableItem;
|
|
8257
|
+
resourceType: ItemResourceTypes;
|
|
8258
|
+
questions: PollQuestion[];
|
|
8259
|
+
answers: PollQuestionAnswer[];
|
|
8260
|
+
addAnswer: (questionId: string, selectedChoiceIds: string[]) => unknown;
|
|
8261
|
+
setAnswers: (answers: PollQuestionAnswer[]) => unknown;
|
|
8262
|
+
hasMissingAnswers: boolean;
|
|
8263
|
+
hasMissingUnsavedAnswer: boolean;
|
|
8264
|
+
pollResult: PollResult;
|
|
8265
|
+
isLoadingPollResult: boolean;
|
|
8266
|
+
showResult: boolean;
|
|
8267
|
+
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
8268
|
+
getQuestionResult: (questionId: string) => QuestionResult;
|
|
8269
|
+
reset: () => Promise<void>;
|
|
8270
|
+
fetchPollResults: () => Promise<void>;
|
|
8271
|
+
onBehalfOfUpn: string;
|
|
8272
|
+
}
|
|
8273
|
+
export const PollUserContext: import("react").Context<PollUserContextType>;
|
|
7981
8274
|
}
|
|
7982
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8275
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollsSubmitButton" {
|
|
7983
8276
|
import { FC } from 'react';
|
|
7984
|
-
export const
|
|
7985
|
-
|
|
7986
|
-
pageSize?: number;
|
|
8277
|
+
export const DetailViewPollsSubmitButton: FC<{
|
|
8278
|
+
isReadOnly?: boolean;
|
|
7987
8279
|
}>;
|
|
7988
8280
|
}
|
|
7989
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8281
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewCsvExportButton" {
|
|
7990
8282
|
import { FC } from 'react';
|
|
7991
|
-
export const
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
8283
|
+
export const DetailViewCsvExportButton: FC<{
|
|
8284
|
+
path: string;
|
|
8285
|
+
stringResource: string;
|
|
8286
|
+
className?: string;
|
|
7995
8287
|
}>;
|
|
7996
8288
|
}
|
|
7997
|
-
declare module "libs/reach/feature/content/src/
|
|
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" {
|
|
8289
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollExportButton" {
|
|
8002
8290
|
import { FC } from 'react';
|
|
8003
|
-
export const
|
|
8004
|
-
|
|
8005
|
-
showDocuments: boolean;
|
|
8006
|
-
showPages: boolean;
|
|
8291
|
+
export const DetailViewPollExportButton: FC<{
|
|
8292
|
+
className?: string;
|
|
8007
8293
|
}>;
|
|
8008
8294
|
}
|
|
8009
|
-
declare module "libs/reach/feature/content/src/
|
|
8010
|
-
import {
|
|
8011
|
-
|
|
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
|
-
};
|
|
8295
|
+
declare module "libs/reach/feature/content/src/feedback/PollUserInput" {
|
|
8296
|
+
import { FC } from 'react';
|
|
8297
|
+
export const PollUserInput: FC;
|
|
8030
8298
|
}
|
|
8031
|
-
declare module "libs/reach/feature/content/src/
|
|
8299
|
+
declare module "libs/reach/feature/content/src/feedback/PollDisplay" {
|
|
8032
8300
|
import { FC } from 'react';
|
|
8033
|
-
|
|
8034
|
-
|
|
8035
|
-
blockProps?: PageListDetails;
|
|
8301
|
+
export const PollDisplay: FC<{
|
|
8302
|
+
className?: string;
|
|
8036
8303
|
}>;
|
|
8037
8304
|
}
|
|
8038
|
-
declare module "libs/reach/feature/content/src/
|
|
8039
|
-
import { FC } from 'react';
|
|
8040
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8041
|
-
export interface PageListDetails {
|
|
8042
|
-
id?: string;
|
|
8043
|
-
showChildren?: boolean;
|
|
8044
|
-
showDocuments?: boolean;
|
|
8045
|
-
showPages?: boolean;
|
|
8046
|
-
pageId?: string;
|
|
8047
|
-
keywords?: string;
|
|
8048
|
-
}
|
|
8049
|
-
export const InlinePageList: FC<{
|
|
8050
|
-
blockProps?: PageListDetails;
|
|
8051
|
-
}>;
|
|
8052
|
-
export const InlinePageListMapper: HtmlComponentMapper;
|
|
8053
|
-
}
|
|
8054
|
-
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8055
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8056
|
-
export interface EmbeddedObjectPreviewData {
|
|
8057
|
-
itemId: string;
|
|
8058
|
-
type: string;
|
|
8059
|
-
subscriptionIdentifier: string;
|
|
8060
|
-
}
|
|
8061
|
-
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
8062
|
-
}
|
|
8063
|
-
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
8064
|
-
import { FC } from 'react';
|
|
8065
|
-
export const RichTextViewer: FC<{
|
|
8066
|
-
html: string;
|
|
8067
|
-
}>;
|
|
8068
|
-
}
|
|
8069
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
8070
|
-
import { FC } from 'react';
|
|
8071
|
-
export const DetailViewBody: FC;
|
|
8072
|
-
}
|
|
8073
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
8074
|
-
import { FC } from 'react';
|
|
8075
|
-
export const DetailViewKeywords: FC<{
|
|
8076
|
-
filterBaseUrl: string;
|
|
8077
|
-
}>;
|
|
8078
|
-
}
|
|
8079
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
8080
|
-
import { FC } from 'react';
|
|
8081
|
-
export const EventDetailViewDatesInfo: FC<{
|
|
8082
|
-
className?: string;
|
|
8083
|
-
}>;
|
|
8084
|
-
}
|
|
8085
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8086
|
-
import { FC } from 'react';
|
|
8087
|
-
export const EventDetailViewPeopleInfo: FC;
|
|
8088
|
-
}
|
|
8089
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
8090
|
-
import { FC } from 'react';
|
|
8091
|
-
export const EventDetailViewLocationInfo: FC;
|
|
8092
|
-
}
|
|
8093
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
8094
|
-
import { FC } from 'react';
|
|
8095
|
-
export const EventDetailViewMetaInfo: FC<{
|
|
8096
|
-
allowFilterByChannels?: boolean;
|
|
8097
|
-
}>;
|
|
8098
|
-
}
|
|
8099
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8100
|
-
import { FC } from 'react';
|
|
8101
|
-
export const EventDetailViewCancelInformation: FC;
|
|
8102
|
-
}
|
|
8103
|
-
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8104
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8105
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8106
|
-
import { PollQuestion, PollQuestionAnswer, PollResult, QuestionResult } from "libs/reach/util/common/src/index";
|
|
8107
|
-
export interface PollUserContextType {
|
|
8108
|
-
item: PublishableItem;
|
|
8109
|
-
resourceType: ItemResourceTypes;
|
|
8110
|
-
questions: PollQuestion[];
|
|
8111
|
-
answers: PollQuestionAnswer[];
|
|
8112
|
-
addAnswer: (questionId: string, selectedChoiceIds: string[]) => unknown;
|
|
8113
|
-
setAnswers: (answers: PollQuestionAnswer[]) => unknown;
|
|
8114
|
-
hasMissingAnswers: boolean;
|
|
8115
|
-
hasMissingUnsavedAnswer: boolean;
|
|
8116
|
-
pollResult: PollResult;
|
|
8117
|
-
isLoadingPollResult: boolean;
|
|
8118
|
-
showResult: boolean;
|
|
8119
|
-
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
8120
|
-
getQuestionResult: (questionId: string) => QuestionResult;
|
|
8121
|
-
reset: () => Promise<void>;
|
|
8122
|
-
fetchPollResults: () => Promise<void>;
|
|
8123
|
-
onBehalfOfUpn: string;
|
|
8124
|
-
}
|
|
8125
|
-
export const PollUserContext: import("react").Context<PollUserContextType>;
|
|
8126
|
-
}
|
|
8127
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollsSubmitButton" {
|
|
8128
|
-
import { FC } from 'react';
|
|
8129
|
-
export const DetailViewPollsSubmitButton: FC<{
|
|
8130
|
-
isReadOnly?: boolean;
|
|
8131
|
-
}>;
|
|
8132
|
-
}
|
|
8133
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewCsvExportButton" {
|
|
8134
|
-
import { FC } from 'react';
|
|
8135
|
-
export const DetailViewCsvExportButton: FC<{
|
|
8136
|
-
path: string;
|
|
8137
|
-
stringResource: string;
|
|
8138
|
-
className?: string;
|
|
8139
|
-
}>;
|
|
8140
|
-
}
|
|
8141
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollExportButton" {
|
|
8142
|
-
import { FC } from 'react';
|
|
8143
|
-
export const DetailViewPollExportButton: FC<{
|
|
8144
|
-
className?: string;
|
|
8145
|
-
}>;
|
|
8146
|
-
}
|
|
8147
|
-
declare module "libs/reach/feature/content/src/feedback/PollUserInput" {
|
|
8148
|
-
import { FC } from 'react';
|
|
8149
|
-
export const PollUserInput: FC;
|
|
8150
|
-
}
|
|
8151
|
-
declare module "libs/reach/feature/content/src/feedback/PollDisplay" {
|
|
8152
|
-
import { FC } from 'react';
|
|
8153
|
-
export const PollDisplay: FC<{
|
|
8154
|
-
className?: string;
|
|
8155
|
-
}>;
|
|
8156
|
-
}
|
|
8157
|
-
declare module "libs/reach/feature/content/src/feedback/PollUserContextProvider" {
|
|
8305
|
+
declare module "libs/reach/feature/content/src/feedback/PollUserContextProvider" {
|
|
8158
8306
|
import { FC } from 'react';
|
|
8159
8307
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8160
8308
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
@@ -8257,6 +8405,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8257
8405
|
import { FC } from 'react';
|
|
8258
8406
|
export const EventDetailViewRegistration: FC;
|
|
8259
8407
|
}
|
|
8408
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8409
|
+
import { FC } from 'react';
|
|
8410
|
+
export const EventDetailViewCancelInformation: FC;
|
|
8411
|
+
}
|
|
8260
8412
|
declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
8261
8413
|
import { FC } from 'react';
|
|
8262
8414
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
@@ -8512,92 +8664,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
|
|
|
8512
8664
|
eventItem: EventItem;
|
|
8513
8665
|
}>;
|
|
8514
8666
|
}
|
|
8515
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
8516
|
-
import { FC } from 'react';
|
|
8517
|
-
export const DetailViewPageViewTracker: FC;
|
|
8518
|
-
}
|
|
8519
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
8520
|
-
import { FC } from 'react';
|
|
8521
|
-
export const DetailViewIntro: FC;
|
|
8522
|
-
}
|
|
8523
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
8524
|
-
import { FC } from 'react';
|
|
8525
|
-
export const ConfirmationBox: FC<{
|
|
8526
|
-
disabled?: boolean;
|
|
8527
|
-
onChange?: (value: boolean) => void;
|
|
8528
|
-
checked: boolean;
|
|
8529
|
-
}>;
|
|
8530
|
-
}
|
|
8531
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
8532
|
-
import { FC } from 'react';
|
|
8533
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8534
|
-
export const ConfirmationSection: FC<{
|
|
8535
|
-
item?: NewsItem;
|
|
8536
|
-
showDescription: boolean;
|
|
8537
|
-
readOnly?: boolean;
|
|
8538
|
-
className?: string;
|
|
8539
|
-
}>;
|
|
8540
|
-
}
|
|
8541
|
-
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
8542
|
-
import { FC } from 'react';
|
|
8543
|
-
export const DetailViewConfirmations: FC;
|
|
8544
|
-
}
|
|
8545
|
-
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
8546
|
-
import { FC } from 'react';
|
|
8547
|
-
export const FeedbackButtonBookmark: FC<{
|
|
8548
|
-
isReadOnly?: boolean;
|
|
8549
|
-
}>;
|
|
8550
|
-
}
|
|
8551
|
-
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
8552
|
-
import { FC } from 'react';
|
|
8553
|
-
export const NewsDetailViewFeedbackSection: FC<{
|
|
8554
|
-
hideLikes?: boolean;
|
|
8555
|
-
hideComments?: boolean;
|
|
8556
|
-
hideProfileUrl?: boolean;
|
|
8557
|
-
disableLoginForPublicUser?: boolean;
|
|
8558
|
-
}>;
|
|
8559
|
-
}
|
|
8560
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
8561
|
-
import { FC } from 'react';
|
|
8562
|
-
export const DetailViewHeadline: FC;
|
|
8563
|
-
}
|
|
8564
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
8565
|
-
import { FC } from 'react';
|
|
8566
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8567
|
-
export const DetailViewBodyExternalContent: FC<{
|
|
8568
|
-
itemType: ItemResourceTypes;
|
|
8569
|
-
}>;
|
|
8570
|
-
}
|
|
8571
|
-
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8572
|
-
import { FC } from 'react';
|
|
8573
|
-
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8574
|
-
export const DetailViewContextProvider: FC<{
|
|
8575
|
-
itemId: string;
|
|
8576
|
-
type?: ItemResourceTypes;
|
|
8577
|
-
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8578
|
-
isReadOnly?: boolean;
|
|
8579
|
-
}>;
|
|
8580
|
-
}
|
|
8581
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8582
|
-
import { FC } from 'react';
|
|
8583
|
-
export const PageDetailViewFeedbackSection: FC<{
|
|
8584
|
-
hideLikes?: boolean;
|
|
8585
|
-
hideComments?: boolean;
|
|
8586
|
-
hideProfileUrl?: boolean;
|
|
8587
|
-
disableLoginForPublicUser?: boolean;
|
|
8588
|
-
}>;
|
|
8589
|
-
}
|
|
8590
|
-
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
8591
|
-
import { FC } from 'react';
|
|
8592
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8593
|
-
export const PageBreadcrumb: FC<{
|
|
8594
|
-
page: PageItem;
|
|
8595
|
-
target?: string;
|
|
8596
|
-
language?: string;
|
|
8597
|
-
hideCurrentPageNode?: boolean;
|
|
8598
|
-
className?: string;
|
|
8599
|
-
}>;
|
|
8600
|
-
}
|
|
8601
8667
|
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8602
8668
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8603
8669
|
interface DateInfoProps {
|
|
@@ -8637,77 +8703,39 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8637
8703
|
import { FC } from 'react';
|
|
8638
8704
|
export const PageDetailViewMetaInfo: FC;
|
|
8639
8705
|
}
|
|
8640
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/
|
|
8706
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8641
8707
|
import { FC } from 'react';
|
|
8708
|
+
export const PageDetailViewFeedbackSection: FC<{
|
|
8709
|
+
hideLikes?: boolean;
|
|
8710
|
+
hideComments?: boolean;
|
|
8711
|
+
hideProfileUrl?: boolean;
|
|
8712
|
+
disableLoginForPublicUser?: boolean;
|
|
8713
|
+
}>;
|
|
8714
|
+
}
|
|
8715
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
8642
8716
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8643
|
-
import
|
|
8644
|
-
export
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
|
|
8717
|
+
import * as H from 'history';
|
|
8718
|
+
export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
|
|
8719
|
+
showSearch: boolean;
|
|
8720
|
+
handleSearchTextChange: (searchText: string) => void;
|
|
8721
|
+
redirectToSearchPage: (searchText: string) => void;
|
|
8722
|
+
};
|
|
8723
|
+
}
|
|
8724
|
+
declare module "libs/reach/feature/content/src/pages/PageTocSearch" {
|
|
8725
|
+
import { FC } from 'react';
|
|
8726
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
8727
|
+
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8728
|
+
export const PageTocSearch: FC<{
|
|
8729
|
+
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8730
|
+
onSearchResultChange: (pages: PageNavigationNode[]) => unknown;
|
|
8649
8731
|
}>;
|
|
8650
8732
|
}
|
|
8651
|
-
declare module "libs/reach/feature/content/src/
|
|
8652
|
-
import {
|
|
8653
|
-
|
|
8654
|
-
interface Props {
|
|
8655
|
-
id: string;
|
|
8656
|
-
item: PublishableItem;
|
|
8657
|
-
itemResourceType: ItemResourceTypes;
|
|
8658
|
-
}
|
|
8659
|
-
export const CardBanner: React.FC<Props>;
|
|
8733
|
+
declare module "libs/reach/feature/content/src/pages/pageTocUtils" {
|
|
8734
|
+
import { PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8735
|
+
export function filterChildren(page: PageNavigationNode, activePage: PageNavigationNode): boolean;
|
|
8660
8736
|
}
|
|
8661
|
-
declare module "libs/reach/feature/content/src/
|
|
8662
|
-
import { FC,
|
|
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
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
8688
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8689
|
-
import * as H from 'history';
|
|
8690
|
-
export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
|
|
8691
|
-
showSearch: boolean;
|
|
8692
|
-
handleSearchTextChange: (searchText: string) => void;
|
|
8693
|
-
redirectToSearchPage: (searchText: string) => void;
|
|
8694
|
-
};
|
|
8695
|
-
}
|
|
8696
|
-
declare module "libs/reach/feature/content/src/pages/PageTocSearch" {
|
|
8697
|
-
import { FC } from 'react';
|
|
8698
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
8699
|
-
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8700
|
-
export const PageTocSearch: FC<{
|
|
8701
|
-
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8702
|
-
onSearchResultChange: (pages: PageNavigationNode[]) => unknown;
|
|
8703
|
-
}>;
|
|
8704
|
-
}
|
|
8705
|
-
declare module "libs/reach/feature/content/src/pages/pageTocUtils" {
|
|
8706
|
-
import { PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8707
|
-
export function filterChildren(page: PageNavigationNode, activePage: PageNavigationNode): boolean;
|
|
8708
|
-
}
|
|
8709
|
-
declare module "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton" {
|
|
8710
|
-
import { FC, MouseEvent } from 'react';
|
|
8737
|
+
declare module "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton" {
|
|
8738
|
+
import { FC, MouseEvent } from 'react';
|
|
8711
8739
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8712
8740
|
import { PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8713
8741
|
export const ExternalPagesLinkButton: FC<{
|
|
@@ -8790,6 +8818,104 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8790
8818
|
import { FC } from 'react';
|
|
8791
8819
|
export const PageDetailViewTableOfContentsButton: FC;
|
|
8792
8820
|
}
|
|
8821
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
8822
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
8823
|
+
export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
8824
|
+
}
|
|
8825
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
8826
|
+
import { FC } from 'react';
|
|
8827
|
+
export const InlinePageListByKeywords: FC<{
|
|
8828
|
+
keywords: string[];
|
|
8829
|
+
showDocuments?: boolean;
|
|
8830
|
+
showPages?: boolean;
|
|
8831
|
+
}>;
|
|
8832
|
+
}
|
|
8833
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
8834
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
8835
|
+
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
8836
|
+
}
|
|
8837
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
8838
|
+
import { FC } from 'react';
|
|
8839
|
+
export const InlinePageListByPageId: FC<{
|
|
8840
|
+
pageId: string;
|
|
8841
|
+
showDocuments: boolean;
|
|
8842
|
+
showPages: boolean;
|
|
8843
|
+
}>;
|
|
8844
|
+
}
|
|
8845
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
8846
|
+
import { FC } from 'react';
|
|
8847
|
+
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8848
|
+
export const InlinePageListByCurrentPage: FC<{
|
|
8849
|
+
blockProps?: PageListDetails;
|
|
8850
|
+
}>;
|
|
8851
|
+
}
|
|
8852
|
+
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
8853
|
+
import { FC } from 'react';
|
|
8854
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8855
|
+
export interface PageListDetails {
|
|
8856
|
+
id?: string;
|
|
8857
|
+
showChildren?: boolean;
|
|
8858
|
+
showDocuments?: boolean;
|
|
8859
|
+
showPages?: boolean;
|
|
8860
|
+
pageId?: string;
|
|
8861
|
+
keywords?: string;
|
|
8862
|
+
}
|
|
8863
|
+
export const InlinePageList: FC<{
|
|
8864
|
+
blockProps?: PageListDetails;
|
|
8865
|
+
}>;
|
|
8866
|
+
export const InlinePageListMapper: HtmlComponentMapper;
|
|
8867
|
+
}
|
|
8868
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
8869
|
+
import { FC } from 'react';
|
|
8870
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8871
|
+
export const PageBreadcrumb: FC<{
|
|
8872
|
+
page: PageItem;
|
|
8873
|
+
target?: string;
|
|
8874
|
+
language?: string;
|
|
8875
|
+
hideCurrentPageNode?: boolean;
|
|
8876
|
+
className?: string;
|
|
8877
|
+
}>;
|
|
8878
|
+
}
|
|
8879
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
8880
|
+
import { FC } from 'react';
|
|
8881
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8882
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
8883
|
+
export const DetailViewPageDocumentDownload: FC;
|
|
8884
|
+
export const PageDocumentDownloadButton: FC<{
|
|
8885
|
+
item: PageItem;
|
|
8886
|
+
content: PublishableItemContent;
|
|
8887
|
+
basePath?: string;
|
|
8888
|
+
}>;
|
|
8889
|
+
}
|
|
8890
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8891
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8892
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8893
|
+
interface Props {
|
|
8894
|
+
id: string;
|
|
8895
|
+
item: PublishableItem;
|
|
8896
|
+
itemResourceType: ItemResourceTypes;
|
|
8897
|
+
}
|
|
8898
|
+
export const CardBanner: React.FC<Props>;
|
|
8899
|
+
}
|
|
8900
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8901
|
+
import { FC, ReactNode } from 'react';
|
|
8902
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8903
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8904
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8905
|
+
interface CardProps {
|
|
8906
|
+
item: PublishableItem;
|
|
8907
|
+
itemResourceType: ItemResourceTypes;
|
|
8908
|
+
additionalMetadata?: ReactNode;
|
|
8909
|
+
highlight?: boolean;
|
|
8910
|
+
className?: string;
|
|
8911
|
+
}
|
|
8912
|
+
export const Card: FC<CardProps>;
|
|
8913
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
8914
|
+
item: TItem;
|
|
8915
|
+
language: string;
|
|
8916
|
+
}
|
|
8917
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8918
|
+
}
|
|
8793
8919
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
8794
8920
|
import { FC } from 'react';
|
|
8795
8921
|
interface LanguageSelectorProps {
|
|
@@ -8811,10 +8937,112 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8811
8937
|
className?: string;
|
|
8812
8938
|
}>;
|
|
8813
8939
|
}
|
|
8940
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
|
|
8941
|
+
import { FC } from 'react';
|
|
8942
|
+
export const DetailViewBanner: FC;
|
|
8943
|
+
}
|
|
8944
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
8945
|
+
import { FC } from 'react';
|
|
8946
|
+
export const DetailViewIntro: FC;
|
|
8947
|
+
}
|
|
8948
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
8949
|
+
import { FC } from 'react';
|
|
8950
|
+
export const DetailMainSection: FC;
|
|
8951
|
+
}
|
|
8952
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
8953
|
+
import { FC, ReactNode } from 'react';
|
|
8954
|
+
export const GutterMarkerIcon: FC<{
|
|
8955
|
+
iconName: string;
|
|
8956
|
+
children: ReactNode;
|
|
8957
|
+
isActive: boolean;
|
|
8958
|
+
color: string;
|
|
8959
|
+
tooltipResourceKey?: string;
|
|
8960
|
+
className?: string;
|
|
8961
|
+
}>;
|
|
8962
|
+
}
|
|
8963
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
8964
|
+
import { FC } from 'react';
|
|
8965
|
+
export const DetailViewTitle: FC;
|
|
8966
|
+
}
|
|
8814
8967
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
|
|
8815
8968
|
import { FC } from 'react';
|
|
8816
8969
|
export const NewsDetailViewMetaInfo: FC;
|
|
8817
8970
|
}
|
|
8971
|
+
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
8972
|
+
import { FC } from 'react';
|
|
8973
|
+
export const RichTextViewer: FC<{
|
|
8974
|
+
html: string;
|
|
8975
|
+
}>;
|
|
8976
|
+
}
|
|
8977
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
8978
|
+
import { FC } from 'react';
|
|
8979
|
+
export const DetailViewBody: FC;
|
|
8980
|
+
}
|
|
8981
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
8982
|
+
import { FC } from 'react';
|
|
8983
|
+
export const DetailViewKeywords: FC<{
|
|
8984
|
+
filterBaseUrl: string;
|
|
8985
|
+
}>;
|
|
8986
|
+
}
|
|
8987
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
8988
|
+
import { FC } from 'react';
|
|
8989
|
+
export const ConfirmationBox: FC<{
|
|
8990
|
+
disabled?: boolean;
|
|
8991
|
+
onChange?: (value: boolean) => void;
|
|
8992
|
+
checked: boolean;
|
|
8993
|
+
}>;
|
|
8994
|
+
}
|
|
8995
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
8996
|
+
import { FC } from 'react';
|
|
8997
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8998
|
+
export const ConfirmationSection: FC<{
|
|
8999
|
+
item?: NewsItem;
|
|
9000
|
+
showDescription: boolean;
|
|
9001
|
+
readOnly?: boolean;
|
|
9002
|
+
className?: string;
|
|
9003
|
+
}>;
|
|
9004
|
+
}
|
|
9005
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
9006
|
+
import { FC } from 'react';
|
|
9007
|
+
export const DetailViewConfirmations: FC;
|
|
9008
|
+
}
|
|
9009
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
9010
|
+
import { FC } from 'react';
|
|
9011
|
+
export const DetailViewPageViewTracker: FC;
|
|
9012
|
+
}
|
|
9013
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
9014
|
+
import { FC } from 'react';
|
|
9015
|
+
export const FeedbackButtonBookmark: FC<{
|
|
9016
|
+
isReadOnly?: boolean;
|
|
9017
|
+
}>;
|
|
9018
|
+
}
|
|
9019
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
9020
|
+
import { FC } from 'react';
|
|
9021
|
+
export const NewsDetailViewFeedbackSection: FC<{
|
|
9022
|
+
hideLikes?: boolean;
|
|
9023
|
+
hideComments?: boolean;
|
|
9024
|
+
hideProfileUrl?: boolean;
|
|
9025
|
+
disableLoginForPublicUser?: boolean;
|
|
9026
|
+
}>;
|
|
9027
|
+
}
|
|
9028
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
9029
|
+
import { FC, ReactNode } from 'react';
|
|
9030
|
+
export const DetailViewNavigation: FC<{
|
|
9031
|
+
children?: ReactNode;
|
|
9032
|
+
callout?: ReactNode;
|
|
9033
|
+
}>;
|
|
9034
|
+
}
|
|
9035
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9036
|
+
import { FC } from 'react';
|
|
9037
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9038
|
+
export const DetailViewBodyExternalContent: FC<{
|
|
9039
|
+
itemType: ItemResourceTypes;
|
|
9040
|
+
}>;
|
|
9041
|
+
}
|
|
9042
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
9043
|
+
import { FC } from 'react';
|
|
9044
|
+
export const DetailViewHeadline: FC;
|
|
9045
|
+
}
|
|
8818
9046
|
declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
8819
9047
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
8820
9048
|
export const StateIcon: React.FC<{
|
|
@@ -8835,205 +9063,65 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
|
8835
9063
|
}
|
|
8836
9064
|
declare module "libs/reach/feature/content/src/common/index" {
|
|
8837
9065
|
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
8838
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8839
9066
|
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8840
9067
|
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
9068
|
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
9069
|
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
8896
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8897
9070
|
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
8898
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8899
9071
|
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
8900
9072
|
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
9073
|
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
9074
|
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
9075
|
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
9076
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
8921
9077
|
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
8922
9078
|
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
9079
|
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
8927
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8928
9080
|
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
9081
|
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
9082
|
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
9083
|
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
8938
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8939
9084
|
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8940
9085
|
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8941
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8942
9086
|
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
9087
|
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8951
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8952
9088
|
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
9089
|
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
8956
9090
|
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
8957
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8958
9091
|
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8959
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8960
9092
|
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
9093
|
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
9094
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8967
9095
|
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
9096
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
8972
9097
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
8973
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8974
9098
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8975
9099
|
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
9100
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
8980
9101
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
8981
9102
|
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8982
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8983
9103
|
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8984
9104
|
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8985
9105
|
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
9106
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8992
9107
|
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
9108
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8997
9109
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8998
9110
|
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
9111
|
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
9112
|
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
9113
|
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
9114
|
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9013
9115
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9014
9116
|
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9015
9117
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9016
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9017
9118
|
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
9119
|
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9026
9120
|
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
9121
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9032
9122
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9033
9123
|
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9034
9124
|
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
9125
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9038
9126
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9039
9127
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
@@ -9050,7 +9138,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9050
9138
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9051
9139
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9052
9140
|
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9053
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9054
9141
|
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9055
9142
|
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9056
9143
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
@@ -9072,65 +9159,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
|
|
|
9072
9159
|
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9073
9160
|
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9074
9161
|
}
|
|
9075
|
-
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
9076
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9077
|
-
export interface FilteringProps {
|
|
9078
|
-
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
9079
|
-
onShowFilterPanel?: () => unknown;
|
|
9080
|
-
onToggleFilterSidebar?: () => unknown;
|
|
9081
|
-
isFilterActive?: boolean;
|
|
9082
|
-
}
|
|
9083
|
-
}
|
|
9084
|
-
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
9085
|
-
import { FC } from 'react';
|
|
9086
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9087
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
9088
|
-
export interface InjectedFilterProps {
|
|
9089
|
-
filter: IndexableFilterDefinition;
|
|
9090
|
-
hasFilter: boolean;
|
|
9091
|
-
isSearchActive: boolean;
|
|
9092
|
-
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
9093
|
-
onSearchChange: (text: string) => void;
|
|
9094
|
-
onClearFilter: () => void;
|
|
9095
|
-
}
|
|
9096
|
-
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
9097
|
-
filter: Partial<IndexableFilterDefinition>;
|
|
9098
|
-
hasFilter: boolean;
|
|
9099
|
-
isSearchActive: boolean;
|
|
9100
|
-
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
9101
|
-
onSearchChange: (search: string) => void;
|
|
9102
|
-
onClearFilter: () => void;
|
|
9103
|
-
};
|
|
9104
|
-
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
9105
|
-
export const FilterContextProvider: FC<{
|
|
9106
|
-
addFilters?: (locationParams: {
|
|
9107
|
-
[paramName: string]: any;
|
|
9108
|
-
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
9109
|
-
additionalExcludedFilterProperties?: string[];
|
|
9110
|
-
onClearQueryString?: (prev: any, next: any) => any;
|
|
9111
|
-
}>;
|
|
9112
|
-
export interface FilterVisibilityState {
|
|
9113
|
-
showFilterAsPanel?: boolean;
|
|
9114
|
-
showFilterSidebar?: boolean;
|
|
9115
|
-
}
|
|
9116
|
-
}
|
|
9117
|
-
declare module "libs/reach/feature/content/src/filter/index" {
|
|
9118
|
-
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
9119
|
-
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9120
|
-
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
9121
|
-
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
9122
|
-
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
9123
|
-
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
9124
|
-
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
9125
|
-
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
9126
|
-
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
9127
|
-
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
9128
|
-
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
9129
|
-
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
9130
|
-
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
9131
|
-
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
9132
|
-
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
9133
|
-
}
|
|
9134
9162
|
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
9135
9163
|
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
9136
9164
|
import { FC } from 'react';
|
|
@@ -9205,26 +9233,6 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
9205
9233
|
*/
|
|
9206
9234
|
export const Textarea: FC<TextareaProps>;
|
|
9207
9235
|
}
|
|
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
9236
|
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9229
9237
|
import { FC } from 'react';
|
|
9230
9238
|
interface Props {
|
|
@@ -9249,6 +9257,27 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
|
9249
9257
|
}
|
|
9250
9258
|
export const InsertImagesButton: FC<Props>;
|
|
9251
9259
|
}
|
|
9260
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9261
|
+
import { FC } from 'react';
|
|
9262
|
+
interface DateTimePickerProps {
|
|
9263
|
+
date: string;
|
|
9264
|
+
maxDate?: string;
|
|
9265
|
+
minDate?: string;
|
|
9266
|
+
dateValidationResourceKey?: string;
|
|
9267
|
+
timeValidationResourceKey?: string;
|
|
9268
|
+
readOnly?: boolean;
|
|
9269
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
9270
|
+
noDateResourceKey: string;
|
|
9271
|
+
selectDateResourceKey: string;
|
|
9272
|
+
dateOnly?: boolean;
|
|
9273
|
+
initialPickerDate?: string;
|
|
9274
|
+
label?: string;
|
|
9275
|
+
isRequired?: boolean;
|
|
9276
|
+
className?: string;
|
|
9277
|
+
}
|
|
9278
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9279
|
+
export default DateTimePicker;
|
|
9280
|
+
}
|
|
9252
9281
|
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
9253
9282
|
import moment, { Moment } from 'moment';
|
|
9254
9283
|
export enum DateRange {
|
|
@@ -9295,33 +9324,17 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
|
9295
9324
|
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
9296
9325
|
}
|
|
9297
9326
|
declare module "libs/reach/feature/content/src/forms/index" {
|
|
9298
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9299
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9300
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9301
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9302
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9303
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9304
9327
|
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
9328
|
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9309
9329
|
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
9310
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9311
9330
|
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
9312
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9313
9331
|
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
9314
9332
|
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
9315
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9316
9333
|
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9317
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9318
9334
|
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9319
9335
|
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
9336
|
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
9323
9337
|
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
9324
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9325
9338
|
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9326
9339
|
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9327
9340
|
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
@@ -9401,6 +9414,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9401
9414
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9402
9415
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9403
9416
|
}
|
|
9417
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9418
|
+
import { FC } from 'react';
|
|
9419
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9420
|
+
export const SearchHighlighter: FC<{
|
|
9421
|
+
highlight: SearchHighlight;
|
|
9422
|
+
}>;
|
|
9423
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9424
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9425
|
+
}
|
|
9404
9426
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9405
9427
|
import { FC } from 'react';
|
|
9406
9428
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9429,11 +9451,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9429
9451
|
}
|
|
9430
9452
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9431
9453
|
import { FC } from 'react';
|
|
9432
|
-
import {
|
|
9454
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9433
9455
|
export const PageListItemBody: FC<{
|
|
9434
|
-
|
|
9435
|
-
[key: string]: PublishableItemContent;
|
|
9436
|
-
};
|
|
9456
|
+
page: PageItem;
|
|
9437
9457
|
search?: string;
|
|
9438
9458
|
}>;
|
|
9439
9459
|
}
|
|
@@ -9499,7 +9519,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9499
9519
|
import { FC } from 'react';
|
|
9500
9520
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9501
9521
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9502
|
-
export
|
|
9522
|
+
export interface PostCreatorProps {
|
|
9503
9523
|
groupId: string;
|
|
9504
9524
|
disabled: boolean;
|
|
9505
9525
|
disableDragAndDrop?: boolean;
|
|
@@ -9510,132 +9530,1293 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9510
9530
|
defaultKeywords?: Keyword[];
|
|
9511
9531
|
mandatoryKeywords?: Keyword[];
|
|
9512
9532
|
};
|
|
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
|
-
|
|
9533
|
+
disableAutoFocus?: boolean;
|
|
9534
|
+
}
|
|
9535
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9536
|
+
}
|
|
9537
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9538
|
+
import { FC } from 'react';
|
|
9539
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9540
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
9541
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9542
|
+
interface Props {
|
|
9543
|
+
className?: string;
|
|
9544
|
+
post: Post;
|
|
9545
|
+
initialPageSize?: number;
|
|
9546
|
+
comments?: PaginatedList<Comment>;
|
|
9547
|
+
autoFocusReplyField?: boolean;
|
|
9548
|
+
onReplyAdded: () => void;
|
|
9549
|
+
onReplyDeleted: () => void;
|
|
9550
|
+
onThreadReply?: (threadId: string) => void;
|
|
9551
|
+
}
|
|
9552
|
+
export const PostReplies: FC<Props>;
|
|
9553
|
+
}
|
|
9554
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
9555
|
+
import { FC } from 'react';
|
|
9556
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9557
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9558
|
+
export const PostEditor: FC<{
|
|
9559
|
+
className?: string;
|
|
9560
|
+
post: Post;
|
|
9561
|
+
onCancel: () => void;
|
|
9562
|
+
onBeforeSave: (post: Post) => void;
|
|
9563
|
+
onSaved: (post: Post) => void;
|
|
9564
|
+
keywordSettings?: {
|
|
9565
|
+
availableKeywords?: Keyword[];
|
|
9566
|
+
defaultKeywords?: Keyword[];
|
|
9567
|
+
mandatoryKeywords?: Keyword[];
|
|
9568
|
+
};
|
|
9569
|
+
}>;
|
|
9570
|
+
}
|
|
9571
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9572
|
+
import { FC } from 'react';
|
|
9573
|
+
export const PostFollowButton: FC<{
|
|
9574
|
+
itemId: string;
|
|
9575
|
+
}>;
|
|
9576
|
+
}
|
|
9577
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9578
|
+
import { FC } from 'react';
|
|
9579
|
+
import { NavLink } from 'react-router-dom';
|
|
9580
|
+
export const PostGroup: FC<{
|
|
9581
|
+
groupId: string;
|
|
9582
|
+
to: string;
|
|
9583
|
+
className?: string;
|
|
9584
|
+
}>;
|
|
9585
|
+
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9586
|
+
}
|
|
9587
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9588
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9589
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9590
|
+
interface Props {
|
|
9591
|
+
post: Post;
|
|
9592
|
+
className?: string;
|
|
9593
|
+
threadId?: string;
|
|
9594
|
+
onCustomPostDelete?: () => void;
|
|
9595
|
+
comments?: PaginatedList<Comment>;
|
|
9596
|
+
initialCommentsPageSize?: number;
|
|
9597
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9598
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9599
|
+
onThreadCommentDelete?: () => void;
|
|
9600
|
+
onThreadReply?: (threadId: string) => void;
|
|
9601
|
+
keywordSettings?: {
|
|
9602
|
+
availableKeywords?: Keyword[];
|
|
9603
|
+
defaultKeywords?: Keyword[];
|
|
9604
|
+
mandatoryKeywords?: Keyword[];
|
|
9605
|
+
};
|
|
9606
|
+
showGroup?: boolean;
|
|
9607
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9608
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9609
|
+
}
|
|
9610
|
+
export const PostDisplay: React.FC<Props>;
|
|
9611
|
+
}
|
|
9612
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
|
|
9613
|
+
import { FC } from 'react';
|
|
9614
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
9615
|
+
export const PostGroupsSelector: FC<{
|
|
9616
|
+
groups: UserGroup[];
|
|
9617
|
+
}>;
|
|
9618
|
+
}
|
|
9619
|
+
declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
9620
|
+
import { FC } from 'react';
|
|
9621
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9622
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9623
|
+
interface Props {
|
|
9624
|
+
post: Post;
|
|
9625
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9626
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9627
|
+
keywordSettings?: {
|
|
9628
|
+
availableKeywords?: Keyword[];
|
|
9629
|
+
defaultKeywords?: Keyword[];
|
|
9630
|
+
mandatoryKeywords?: Keyword[];
|
|
9631
|
+
};
|
|
9632
|
+
showGroup: boolean;
|
|
9633
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9634
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9635
|
+
}
|
|
9636
|
+
export const PostListItem: FC<Props>;
|
|
9637
|
+
}
|
|
9638
|
+
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9639
|
+
import { FC } from 'react';
|
|
9640
|
+
import { Post } from "libs/reach/feature/content/src/index";
|
|
9641
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9642
|
+
export const PostWithSelfThreadHandling: FC<{
|
|
9643
|
+
post: Post;
|
|
9644
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9645
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9646
|
+
keywordSettings?: {
|
|
9647
|
+
availableKeywords?: Keyword[];
|
|
9648
|
+
defaultKeywords?: Keyword[];
|
|
9649
|
+
mandatoryKeywords?: Keyword[];
|
|
9650
|
+
};
|
|
9651
|
+
showGroup: boolean;
|
|
9652
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9653
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9654
|
+
}>;
|
|
9655
|
+
}
|
|
9656
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
9657
|
+
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";
|
|
9658
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9659
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9660
|
+
enum StreamItemTypes {
|
|
9661
|
+
Post = "POST",
|
|
9662
|
+
News = "NEWS",
|
|
9663
|
+
Event = "EVENT",
|
|
9664
|
+
Page = "PAGE"
|
|
9665
|
+
}
|
|
9666
|
+
export enum StreamConversationScope {
|
|
9667
|
+
Public = "PUBLIC",
|
|
9668
|
+
Editor = "EDITOR",
|
|
9669
|
+
Posts = "POSTS"
|
|
9670
|
+
}
|
|
9671
|
+
export interface PostStreamItem extends Post {
|
|
9672
|
+
type: StreamItemTypes.Post;
|
|
9673
|
+
isUnread: boolean;
|
|
9674
|
+
keywordsList?: Keyword[];
|
|
9675
|
+
groupIds?: string[];
|
|
9676
|
+
postAttachments?: StreamAttachment[];
|
|
9677
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9678
|
+
hasMoreUnreadComments: boolean;
|
|
9679
|
+
}
|
|
9680
|
+
export interface StreamPostComment extends Comment {
|
|
9681
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9682
|
+
streamConversationScope?: StreamConversationScope;
|
|
9683
|
+
}
|
|
9684
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
9685
|
+
type: GraphQLAttachmentType;
|
|
9686
|
+
}
|
|
9687
|
+
export interface NewsStreamItem extends NewsItem {
|
|
9688
|
+
type: StreamItemTypes.News;
|
|
9689
|
+
contentsList: StreamPublishableItemContents[];
|
|
9690
|
+
channelsList: string[];
|
|
9691
|
+
isUnread: boolean;
|
|
9692
|
+
keywordsList?: Keyword[];
|
|
9693
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9694
|
+
}
|
|
9695
|
+
export enum StreamKnownNewsState {
|
|
9696
|
+
Unconfirmed = "UNCONFIRMED",
|
|
9697
|
+
Alert = "ALERT"
|
|
9698
|
+
}
|
|
9699
|
+
export interface EventStreamItem extends EventItem {
|
|
9700
|
+
type: StreamItemTypes.Event;
|
|
9701
|
+
contentsList: StreamPublishableItemContents[];
|
|
9702
|
+
channelsList: string[];
|
|
9703
|
+
isUnread: boolean;
|
|
9704
|
+
keywordsList?: Keyword[];
|
|
9705
|
+
userResponseType?: StreamEventResponse;
|
|
9706
|
+
}
|
|
9707
|
+
export interface PageStreamItem extends PageItem {
|
|
9708
|
+
type: StreamItemTypes.Page;
|
|
9709
|
+
contentsList: StreamPublishableItemContents[];
|
|
9710
|
+
channelsList: string[];
|
|
9711
|
+
isUnread: boolean;
|
|
9712
|
+
keywordsList?: Keyword[];
|
|
9713
|
+
streamPageType?: string;
|
|
9714
|
+
path?: (PageNavigationNode & {
|
|
9715
|
+
parentId?: string;
|
|
9716
|
+
})[];
|
|
9717
|
+
}
|
|
9718
|
+
interface StreamPublishableItemContents {
|
|
9719
|
+
language: string;
|
|
9720
|
+
title: string;
|
|
9721
|
+
intro?: string;
|
|
9722
|
+
headline?: string;
|
|
9723
|
+
}
|
|
9724
|
+
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9725
|
+
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9726
|
+
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
9727
|
+
export function isEvent(item: StreamItem): item is EventStreamItem;
|
|
9728
|
+
export function isPage(item: StreamItem): item is PageStreamItem;
|
|
9729
|
+
export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
|
|
9730
|
+
groupId: string;
|
|
9731
|
+
attachments: {
|
|
9732
|
+
type: AttachmentType;
|
|
9733
|
+
id: string;
|
|
9734
|
+
filename?: string;
|
|
9735
|
+
previewUrl?: string;
|
|
9736
|
+
url?: string;
|
|
9737
|
+
isUploadInProgress?: boolean;
|
|
9738
|
+
hasError?: boolean;
|
|
9739
|
+
width?: number;
|
|
9740
|
+
height?: number;
|
|
9741
|
+
}[];
|
|
9742
|
+
comments: {
|
|
9743
|
+
items: {
|
|
9744
|
+
conversationScope: ConversationScope;
|
|
9745
|
+
fileAccessToken: string;
|
|
9746
|
+
attachments: {
|
|
9747
|
+
type: AttachmentType;
|
|
9748
|
+
id: string;
|
|
9749
|
+
filename?: string;
|
|
9750
|
+
previewUrl?: string;
|
|
9751
|
+
url?: string;
|
|
9752
|
+
isUploadInProgress?: boolean;
|
|
9753
|
+
hasError?: boolean;
|
|
9754
|
+
width?: number;
|
|
9755
|
+
height?: number;
|
|
9756
|
+
}[];
|
|
9757
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9758
|
+
streamConversationScope?: StreamConversationScope;
|
|
9759
|
+
id: string;
|
|
9760
|
+
parentItemId: string;
|
|
9761
|
+
content: string;
|
|
9762
|
+
contentLanguageCode?: string;
|
|
9763
|
+
receivedDateTime: string;
|
|
9764
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9765
|
+
modified?: string;
|
|
9766
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9767
|
+
isLiked?: boolean;
|
|
9768
|
+
threadId?: string;
|
|
9769
|
+
isUnread?: boolean;
|
|
9770
|
+
hasUnreadReplies?: boolean;
|
|
9771
|
+
isDemoContent?: boolean;
|
|
9772
|
+
attachmentContainerId?: string;
|
|
9773
|
+
}[];
|
|
9774
|
+
paginationToken?: any;
|
|
9775
|
+
nextItem?: StreamPostComment;
|
|
9776
|
+
hasMoreUnreadComments?: boolean;
|
|
9777
|
+
hasNextPage?: boolean;
|
|
9778
|
+
};
|
|
9779
|
+
keywords: {
|
|
9780
|
+
[key: string]: Keyword[];
|
|
9781
|
+
};
|
|
9782
|
+
type: StreamItemTypes.Post;
|
|
9783
|
+
isUnread: boolean;
|
|
9784
|
+
keywordsList?: Keyword[];
|
|
9785
|
+
groupIds?: string[];
|
|
9786
|
+
postAttachments?: StreamAttachment[];
|
|
9787
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9788
|
+
hasMoreUnreadComments: boolean;
|
|
9789
|
+
id: string;
|
|
9790
|
+
content: string;
|
|
9791
|
+
permalink?: string;
|
|
9792
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
9793
|
+
publishingDate: string;
|
|
9794
|
+
modified?: string;
|
|
9795
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
9796
|
+
contentLanguageCode?: string;
|
|
9797
|
+
isLiked?: boolean;
|
|
9798
|
+
isDemoContent?: boolean;
|
|
9799
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
9800
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9801
|
+
fileAccessToken?: string;
|
|
9802
|
+
attachmentContainerId?: string;
|
|
9803
|
+
} | {
|
|
9804
|
+
groupId: string;
|
|
9805
|
+
attachments: {
|
|
9806
|
+
type: AttachmentType;
|
|
9807
|
+
id: string;
|
|
9808
|
+
filename?: string;
|
|
9809
|
+
previewUrl?: string;
|
|
9810
|
+
url?: string;
|
|
9811
|
+
isUploadInProgress?: boolean;
|
|
9812
|
+
hasError?: boolean;
|
|
9813
|
+
width?: number;
|
|
9814
|
+
height?: number;
|
|
9815
|
+
}[];
|
|
9816
|
+
comments: {
|
|
9817
|
+
items: {
|
|
9818
|
+
conversationScope: ConversationScope;
|
|
9819
|
+
fileAccessToken: string;
|
|
9820
|
+
attachments: {
|
|
9821
|
+
type: AttachmentType;
|
|
9822
|
+
id: string;
|
|
9823
|
+
filename?: string;
|
|
9824
|
+
previewUrl?: string;
|
|
9825
|
+
url?: string;
|
|
9826
|
+
isUploadInProgress?: boolean;
|
|
9827
|
+
hasError?: boolean;
|
|
9828
|
+
width?: number;
|
|
9829
|
+
height?: number;
|
|
9830
|
+
}[];
|
|
9831
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9832
|
+
streamConversationScope?: StreamConversationScope;
|
|
9833
|
+
id: string;
|
|
9834
|
+
parentItemId: string;
|
|
9835
|
+
content: string;
|
|
9836
|
+
contentLanguageCode?: string;
|
|
9837
|
+
receivedDateTime: string;
|
|
9838
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9839
|
+
modified?: string;
|
|
9840
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9841
|
+
isLiked?: boolean;
|
|
9842
|
+
threadId?: string;
|
|
9843
|
+
isUnread?: boolean;
|
|
9844
|
+
hasUnreadReplies?: boolean;
|
|
9845
|
+
isDemoContent?: boolean;
|
|
9846
|
+
attachmentContainerId?: string;
|
|
9847
|
+
}[];
|
|
9848
|
+
paginationToken?: any;
|
|
9849
|
+
nextItem?: StreamPostComment;
|
|
9850
|
+
hasMoreUnreadComments?: boolean;
|
|
9851
|
+
hasNextPage?: boolean;
|
|
9852
|
+
};
|
|
9853
|
+
keywords: {
|
|
9854
|
+
[key: string]: Keyword[];
|
|
9855
|
+
};
|
|
9856
|
+
type: StreamItemTypes.News;
|
|
9857
|
+
contentsList: StreamPublishableItemContents[];
|
|
9858
|
+
channelsList: string[];
|
|
9859
|
+
isUnread: boolean;
|
|
9860
|
+
keywordsList?: Keyword[];
|
|
9861
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9862
|
+
source?: string;
|
|
9863
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
9864
|
+
expiryDate?: string;
|
|
9865
|
+
knownState: KnownNewsState;
|
|
9866
|
+
hasNewComments?: boolean;
|
|
9867
|
+
isLiked?: boolean;
|
|
9868
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
9869
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
9870
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
9871
|
+
id?: string;
|
|
9872
|
+
versionId?: string;
|
|
9873
|
+
publishingDate?: string;
|
|
9874
|
+
deleted?: string;
|
|
9875
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
9876
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
9877
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
9878
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
9879
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
9880
|
+
fileAccessToken?: string;
|
|
9881
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
9882
|
+
customProperties?: {
|
|
9883
|
+
[key: string]: any;
|
|
9884
|
+
};
|
|
9885
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
9886
|
+
modified: string;
|
|
9887
|
+
created: string;
|
|
9888
|
+
publishedVersionId?: string;
|
|
9889
|
+
isCurrentPublishedVersion?: boolean;
|
|
9890
|
+
isLatestVersion?: boolean;
|
|
9891
|
+
permalink?: string;
|
|
9892
|
+
groupIds: string[];
|
|
9893
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
9894
|
+
useExternalContent?: boolean;
|
|
9895
|
+
isDemoContent?: boolean;
|
|
9896
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
9897
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9898
|
+
} | {
|
|
9899
|
+
groupId: string;
|
|
9900
|
+
attachments: {
|
|
9901
|
+
type: AttachmentType;
|
|
9902
|
+
id: string;
|
|
9903
|
+
filename?: string;
|
|
9904
|
+
previewUrl?: string;
|
|
9905
|
+
url?: string;
|
|
9906
|
+
isUploadInProgress?: boolean;
|
|
9907
|
+
hasError?: boolean;
|
|
9908
|
+
width?: number;
|
|
9909
|
+
height?: number;
|
|
9910
|
+
}[];
|
|
9911
|
+
comments: {
|
|
9912
|
+
items: {
|
|
9913
|
+
conversationScope: ConversationScope;
|
|
9914
|
+
fileAccessToken: string;
|
|
9915
|
+
attachments: {
|
|
9916
|
+
type: AttachmentType;
|
|
9917
|
+
id: string;
|
|
9918
|
+
filename?: string;
|
|
9919
|
+
previewUrl?: string;
|
|
9920
|
+
url?: string;
|
|
9921
|
+
isUploadInProgress?: boolean;
|
|
9922
|
+
hasError?: boolean;
|
|
9923
|
+
width?: number;
|
|
9924
|
+
height?: number;
|
|
9925
|
+
}[];
|
|
9926
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9927
|
+
streamConversationScope?: StreamConversationScope;
|
|
9928
|
+
id: string;
|
|
9929
|
+
parentItemId: string;
|
|
9930
|
+
content: string;
|
|
9931
|
+
contentLanguageCode?: string;
|
|
9932
|
+
receivedDateTime: string;
|
|
9933
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9934
|
+
modified?: string;
|
|
9935
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9936
|
+
isLiked?: boolean;
|
|
9937
|
+
threadId?: string;
|
|
9938
|
+
isUnread?: boolean;
|
|
9939
|
+
hasUnreadReplies?: boolean;
|
|
9940
|
+
isDemoContent?: boolean;
|
|
9941
|
+
attachmentContainerId?: string;
|
|
9942
|
+
}[];
|
|
9943
|
+
paginationToken?: any;
|
|
9944
|
+
nextItem?: StreamPostComment;
|
|
9945
|
+
hasMoreUnreadComments?: boolean;
|
|
9946
|
+
hasNextPage?: boolean;
|
|
9947
|
+
};
|
|
9948
|
+
keywords: {
|
|
9949
|
+
[key: string]: Keyword[];
|
|
9950
|
+
};
|
|
9951
|
+
type: StreamItemTypes.Event;
|
|
9952
|
+
contentsList: StreamPublishableItemContents[];
|
|
9953
|
+
channelsList: string[];
|
|
9954
|
+
isUnread: boolean;
|
|
9955
|
+
keywordsList?: Keyword[];
|
|
9956
|
+
userResponseType?: StreamEventResponse;
|
|
9957
|
+
startDate?: string;
|
|
9958
|
+
endDate?: string;
|
|
9959
|
+
timeZone?: string;
|
|
9960
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
9961
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
9962
|
+
userResponse?: EventResponse;
|
|
9963
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
9964
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
9965
|
+
hasNewComments?: boolean;
|
|
9966
|
+
isLiked?: boolean;
|
|
9967
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
9968
|
+
recurrenceSeriesId?: string;
|
|
9969
|
+
isSeriesMaster?: string;
|
|
9970
|
+
isVirtual?: boolean;
|
|
9971
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
9972
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
9973
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
9974
|
+
id?: string;
|
|
9975
|
+
versionId?: string;
|
|
9976
|
+
publishingDate?: string;
|
|
9977
|
+
deleted?: string;
|
|
9978
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
9979
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
9980
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
9981
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
9982
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
9983
|
+
fileAccessToken?: string;
|
|
9984
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
9985
|
+
customProperties?: {
|
|
9986
|
+
[key: string]: any;
|
|
9987
|
+
};
|
|
9988
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
9989
|
+
modified: string;
|
|
9990
|
+
created: string;
|
|
9991
|
+
publishedVersionId?: string;
|
|
9992
|
+
isCurrentPublishedVersion?: boolean;
|
|
9993
|
+
isLatestVersion?: boolean;
|
|
9994
|
+
permalink?: string;
|
|
9995
|
+
groupIds: string[];
|
|
9996
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
9997
|
+
useExternalContent?: boolean;
|
|
9998
|
+
isDemoContent?: boolean;
|
|
9999
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10000
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10001
|
+
} | {
|
|
10002
|
+
groupId: string;
|
|
10003
|
+
attachments: {
|
|
10004
|
+
type: AttachmentType;
|
|
10005
|
+
id: string;
|
|
10006
|
+
filename?: string;
|
|
10007
|
+
previewUrl?: string;
|
|
10008
|
+
url?: string;
|
|
10009
|
+
isUploadInProgress?: boolean;
|
|
10010
|
+
hasError?: boolean;
|
|
10011
|
+
width?: number;
|
|
10012
|
+
height?: number;
|
|
10013
|
+
}[];
|
|
10014
|
+
comments: {
|
|
10015
|
+
items: {
|
|
10016
|
+
conversationScope: ConversationScope;
|
|
10017
|
+
fileAccessToken: string;
|
|
10018
|
+
attachments: {
|
|
10019
|
+
type: AttachmentType;
|
|
10020
|
+
id: string;
|
|
10021
|
+
filename?: string;
|
|
10022
|
+
previewUrl?: string;
|
|
10023
|
+
url?: string;
|
|
10024
|
+
isUploadInProgress?: boolean;
|
|
10025
|
+
hasError?: boolean;
|
|
10026
|
+
width?: number;
|
|
10027
|
+
height?: number;
|
|
10028
|
+
}[];
|
|
10029
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10030
|
+
streamConversationScope?: StreamConversationScope;
|
|
10031
|
+
id: string;
|
|
10032
|
+
parentItemId: string;
|
|
10033
|
+
content: string;
|
|
10034
|
+
contentLanguageCode?: string;
|
|
10035
|
+
receivedDateTime: string;
|
|
10036
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10037
|
+
modified?: string;
|
|
10038
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10039
|
+
isLiked?: boolean;
|
|
10040
|
+
threadId?: string;
|
|
10041
|
+
isUnread?: boolean;
|
|
10042
|
+
hasUnreadReplies?: boolean;
|
|
10043
|
+
isDemoContent?: boolean;
|
|
10044
|
+
attachmentContainerId?: string;
|
|
10045
|
+
}[];
|
|
10046
|
+
paginationToken?: any;
|
|
10047
|
+
nextItem?: StreamPostComment;
|
|
10048
|
+
hasMoreUnreadComments?: boolean;
|
|
10049
|
+
hasNextPage?: boolean;
|
|
10050
|
+
};
|
|
10051
|
+
keywords: {
|
|
10052
|
+
[key: string]: Keyword[];
|
|
10053
|
+
};
|
|
10054
|
+
type: StreamItemTypes.Page;
|
|
10055
|
+
contentsList: StreamPublishableItemContents[];
|
|
10056
|
+
channelsList: string[];
|
|
10057
|
+
isUnread: boolean;
|
|
10058
|
+
keywordsList?: Keyword[];
|
|
10059
|
+
streamPageType?: string;
|
|
10060
|
+
path?: (PageNavigationNode & {
|
|
10061
|
+
parentId?: string;
|
|
10062
|
+
})[];
|
|
10063
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10064
|
+
parentId?: string;
|
|
10065
|
+
pathIds?: string[];
|
|
10066
|
+
position?: number;
|
|
10067
|
+
navigationContext?: PageNavigationContext;
|
|
10068
|
+
hasHiddenAncestor?: boolean;
|
|
10069
|
+
isUnlinked?: boolean;
|
|
10070
|
+
pageType?: PageType;
|
|
10071
|
+
firstChildId?: string;
|
|
10072
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10073
|
+
id?: string;
|
|
10074
|
+
versionId?: string;
|
|
10075
|
+
publishingDate?: string;
|
|
10076
|
+
deleted?: string;
|
|
10077
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10078
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10079
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10080
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10081
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10082
|
+
fileAccessToken?: string;
|
|
10083
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10084
|
+
customProperties?: {
|
|
10085
|
+
[key: string]: any;
|
|
10086
|
+
};
|
|
10087
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10088
|
+
modified: string;
|
|
10089
|
+
created: string;
|
|
10090
|
+
publishedVersionId?: string;
|
|
10091
|
+
isCurrentPublishedVersion?: boolean;
|
|
10092
|
+
isLatestVersion?: boolean;
|
|
10093
|
+
permalink?: string;
|
|
10094
|
+
groupIds: string[];
|
|
10095
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10096
|
+
useExternalContent?: boolean;
|
|
10097
|
+
isDemoContent?: boolean;
|
|
10098
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10099
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10100
|
+
} | {
|
|
10101
|
+
knownState?: undefined;
|
|
10102
|
+
pageType?: undefined;
|
|
10103
|
+
navigationContext?: undefined;
|
|
10104
|
+
userResponse: EventResponse;
|
|
10105
|
+
channels: {
|
|
10106
|
+
name: string;
|
|
10107
|
+
}[];
|
|
10108
|
+
contents: {};
|
|
10109
|
+
bannerInfo: {
|
|
10110
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10111
|
+
type: "video" | "image";
|
|
10112
|
+
videoId?: string;
|
|
10113
|
+
videoUrl?: string;
|
|
10114
|
+
isDirectVideoUrl?: boolean;
|
|
10115
|
+
imageId?: string;
|
|
10116
|
+
};
|
|
10117
|
+
keywords: {
|
|
10118
|
+
[key: string]: Keyword[];
|
|
10119
|
+
};
|
|
10120
|
+
type: StreamItemTypes.Post;
|
|
10121
|
+
isUnread: boolean;
|
|
10122
|
+
keywordsList?: Keyword[];
|
|
10123
|
+
groupIds?: string[];
|
|
10124
|
+
postAttachments?: StreamAttachment[];
|
|
10125
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10126
|
+
hasMoreUnreadComments: boolean;
|
|
10127
|
+
id: string;
|
|
10128
|
+
comments?: PaginatedList<Comment>;
|
|
10129
|
+
groupId: string;
|
|
10130
|
+
content: string;
|
|
10131
|
+
permalink?: string;
|
|
10132
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10133
|
+
publishingDate: string;
|
|
10134
|
+
modified?: string;
|
|
10135
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10136
|
+
contentLanguageCode?: string;
|
|
10137
|
+
isLiked?: boolean;
|
|
10138
|
+
isDemoContent?: boolean;
|
|
10139
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10140
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10141
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10142
|
+
fileAccessToken?: string;
|
|
10143
|
+
attachmentContainerId?: string;
|
|
10144
|
+
} | {
|
|
10145
|
+
knownState: KnownNewsState;
|
|
10146
|
+
pageType?: undefined;
|
|
10147
|
+
navigationContext?: undefined;
|
|
10148
|
+
userResponse: EventResponse;
|
|
10149
|
+
channels: {
|
|
10150
|
+
name: string;
|
|
10151
|
+
}[];
|
|
10152
|
+
contents: {};
|
|
10153
|
+
bannerInfo: {
|
|
10154
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10155
|
+
type: "video" | "image";
|
|
10156
|
+
videoId?: string;
|
|
10157
|
+
videoUrl?: string;
|
|
10158
|
+
isDirectVideoUrl?: boolean;
|
|
10159
|
+
imageId?: string;
|
|
10160
|
+
};
|
|
10161
|
+
keywords: {
|
|
10162
|
+
[key: string]: Keyword[];
|
|
10163
|
+
};
|
|
10164
|
+
type: StreamItemTypes.Post;
|
|
10165
|
+
isUnread: boolean;
|
|
10166
|
+
keywordsList?: Keyword[];
|
|
10167
|
+
groupIds?: string[];
|
|
10168
|
+
postAttachments?: StreamAttachment[];
|
|
10169
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10170
|
+
hasMoreUnreadComments: boolean;
|
|
10171
|
+
id: string;
|
|
10172
|
+
comments?: PaginatedList<Comment>;
|
|
10173
|
+
groupId: string;
|
|
10174
|
+
content: string;
|
|
10175
|
+
permalink?: string;
|
|
10176
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10177
|
+
publishingDate: string;
|
|
10178
|
+
modified?: string;
|
|
10179
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10180
|
+
contentLanguageCode?: string;
|
|
10181
|
+
isLiked?: boolean;
|
|
10182
|
+
isDemoContent?: boolean;
|
|
10183
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10184
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10185
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10186
|
+
fileAccessToken?: string;
|
|
10187
|
+
attachmentContainerId?: string;
|
|
10188
|
+
} | {
|
|
10189
|
+
knownState?: undefined;
|
|
10190
|
+
pageType: PageType;
|
|
10191
|
+
navigationContext: PageNavigationContext;
|
|
10192
|
+
userResponse: EventResponse;
|
|
10193
|
+
channels: {
|
|
10194
|
+
name: string;
|
|
10195
|
+
}[];
|
|
10196
|
+
contents: {};
|
|
10197
|
+
bannerInfo: {
|
|
10198
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10199
|
+
type: "video" | "image";
|
|
10200
|
+
videoId?: string;
|
|
10201
|
+
videoUrl?: string;
|
|
10202
|
+
isDirectVideoUrl?: boolean;
|
|
10203
|
+
imageId?: string;
|
|
10204
|
+
};
|
|
10205
|
+
keywords: {
|
|
10206
|
+
[key: string]: Keyword[];
|
|
10207
|
+
};
|
|
10208
|
+
type: StreamItemTypes.Post;
|
|
10209
|
+
isUnread: boolean;
|
|
10210
|
+
keywordsList?: Keyword[];
|
|
10211
|
+
groupIds?: string[];
|
|
10212
|
+
postAttachments?: StreamAttachment[];
|
|
10213
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10214
|
+
hasMoreUnreadComments: boolean;
|
|
10215
|
+
id: string;
|
|
10216
|
+
comments?: PaginatedList<Comment>;
|
|
10217
|
+
groupId: string;
|
|
10218
|
+
content: string;
|
|
10219
|
+
permalink?: string;
|
|
10220
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10221
|
+
publishingDate: string;
|
|
10222
|
+
modified?: string;
|
|
10223
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10224
|
+
contentLanguageCode?: string;
|
|
10225
|
+
isLiked?: boolean;
|
|
10226
|
+
isDemoContent?: boolean;
|
|
10227
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10228
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10229
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10230
|
+
fileAccessToken?: string;
|
|
10231
|
+
attachmentContainerId?: string;
|
|
10232
|
+
} | {
|
|
10233
|
+
knownState: KnownNewsState;
|
|
10234
|
+
pageType: PageType;
|
|
10235
|
+
navigationContext: PageNavigationContext;
|
|
10236
|
+
userResponse: EventResponse;
|
|
10237
|
+
channels: {
|
|
10238
|
+
name: string;
|
|
10239
|
+
}[];
|
|
10240
|
+
contents: {};
|
|
10241
|
+
bannerInfo: {
|
|
10242
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10243
|
+
type: "video" | "image";
|
|
10244
|
+
videoId?: string;
|
|
10245
|
+
videoUrl?: string;
|
|
10246
|
+
isDirectVideoUrl?: boolean;
|
|
10247
|
+
imageId?: string;
|
|
10248
|
+
};
|
|
10249
|
+
keywords: {
|
|
10250
|
+
[key: string]: Keyword[];
|
|
10251
|
+
};
|
|
10252
|
+
type: StreamItemTypes.Post;
|
|
10253
|
+
isUnread: boolean;
|
|
10254
|
+
keywordsList?: Keyword[];
|
|
10255
|
+
groupIds?: string[];
|
|
10256
|
+
postAttachments?: StreamAttachment[];
|
|
10257
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10258
|
+
hasMoreUnreadComments: boolean;
|
|
10259
|
+
id: string;
|
|
10260
|
+
comments?: PaginatedList<Comment>;
|
|
10261
|
+
groupId: string;
|
|
10262
|
+
content: string;
|
|
10263
|
+
permalink?: string;
|
|
10264
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10265
|
+
publishingDate: string;
|
|
10266
|
+
modified?: string;
|
|
10267
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10268
|
+
contentLanguageCode?: string;
|
|
10269
|
+
isLiked?: boolean;
|
|
10270
|
+
isDemoContent?: boolean;
|
|
10271
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10272
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10273
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10274
|
+
fileAccessToken?: string;
|
|
10275
|
+
attachmentContainerId?: string;
|
|
10276
|
+
} | {
|
|
10277
|
+
knownState: KnownNewsState;
|
|
10278
|
+
pageType?: undefined;
|
|
10279
|
+
navigationContext?: undefined;
|
|
10280
|
+
userResponse: EventResponse;
|
|
10281
|
+
channels: {
|
|
10282
|
+
name: string;
|
|
10283
|
+
}[];
|
|
10284
|
+
contents: {};
|
|
10285
|
+
bannerInfo: {
|
|
10286
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10287
|
+
type: "video" | "image";
|
|
10288
|
+
videoId?: string;
|
|
10289
|
+
videoUrl?: string;
|
|
10290
|
+
isDirectVideoUrl?: boolean;
|
|
10291
|
+
imageId?: string;
|
|
10292
|
+
};
|
|
10293
|
+
keywords: {
|
|
10294
|
+
[key: string]: Keyword[];
|
|
10295
|
+
};
|
|
10296
|
+
type: StreamItemTypes.News;
|
|
10297
|
+
contentsList: StreamPublishableItemContents[];
|
|
10298
|
+
channelsList: string[];
|
|
10299
|
+
isUnread: boolean;
|
|
10300
|
+
keywordsList?: Keyword[];
|
|
10301
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10302
|
+
source?: string;
|
|
10303
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10304
|
+
expiryDate?: string;
|
|
10305
|
+
hasNewComments?: boolean;
|
|
10306
|
+
isLiked?: boolean;
|
|
10307
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10308
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10309
|
+
id?: string;
|
|
10310
|
+
versionId?: string;
|
|
10311
|
+
publishingDate?: string;
|
|
10312
|
+
deleted?: string;
|
|
10313
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10314
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10315
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10316
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10317
|
+
fileAccessToken?: string;
|
|
10318
|
+
customProperties?: {
|
|
10319
|
+
[key: string]: any;
|
|
10320
|
+
};
|
|
10321
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10322
|
+
modified: string;
|
|
10323
|
+
created: string;
|
|
10324
|
+
publishedVersionId?: string;
|
|
10325
|
+
isCurrentPublishedVersion?: boolean;
|
|
10326
|
+
isLatestVersion?: boolean;
|
|
10327
|
+
permalink?: string;
|
|
10328
|
+
groupIds: string[];
|
|
10329
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10330
|
+
useExternalContent?: boolean;
|
|
10331
|
+
isDemoContent?: boolean;
|
|
10332
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10333
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10334
|
+
} | {
|
|
10335
|
+
knownState: KnownNewsState;
|
|
10336
|
+
pageType: PageType;
|
|
10337
|
+
navigationContext: PageNavigationContext;
|
|
10338
|
+
userResponse: EventResponse;
|
|
10339
|
+
channels: {
|
|
10340
|
+
name: string;
|
|
10341
|
+
}[];
|
|
10342
|
+
contents: {};
|
|
10343
|
+
bannerInfo: {
|
|
10344
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10345
|
+
type: "video" | "image";
|
|
10346
|
+
videoId?: string;
|
|
10347
|
+
videoUrl?: string;
|
|
10348
|
+
isDirectVideoUrl?: boolean;
|
|
10349
|
+
imageId?: string;
|
|
10350
|
+
};
|
|
10351
|
+
keywords: {
|
|
10352
|
+
[key: string]: Keyword[];
|
|
10353
|
+
};
|
|
10354
|
+
type: StreamItemTypes.News;
|
|
10355
|
+
contentsList: StreamPublishableItemContents[];
|
|
10356
|
+
channelsList: string[];
|
|
10357
|
+
isUnread: boolean;
|
|
10358
|
+
keywordsList?: Keyword[];
|
|
10359
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10360
|
+
source?: string;
|
|
10361
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10362
|
+
expiryDate?: string;
|
|
10363
|
+
hasNewComments?: boolean;
|
|
10364
|
+
isLiked?: boolean;
|
|
10365
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10366
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10367
|
+
id?: string;
|
|
10368
|
+
versionId?: string;
|
|
10369
|
+
publishingDate?: string;
|
|
10370
|
+
deleted?: string;
|
|
10371
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10372
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10373
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10374
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10375
|
+
fileAccessToken?: string;
|
|
10376
|
+
customProperties?: {
|
|
10377
|
+
[key: string]: any;
|
|
10378
|
+
};
|
|
10379
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10380
|
+
modified: string;
|
|
10381
|
+
created: string;
|
|
10382
|
+
publishedVersionId?: string;
|
|
10383
|
+
isCurrentPublishedVersion?: boolean;
|
|
10384
|
+
isLatestVersion?: boolean;
|
|
10385
|
+
permalink?: string;
|
|
10386
|
+
groupIds: string[];
|
|
10387
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10388
|
+
useExternalContent?: boolean;
|
|
10389
|
+
isDemoContent?: boolean;
|
|
10390
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10391
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10392
|
+
} | {
|
|
10393
|
+
knownState?: undefined;
|
|
10394
|
+
pageType?: undefined;
|
|
10395
|
+
navigationContext?: undefined;
|
|
10396
|
+
userResponse: EventResponse;
|
|
10397
|
+
channels: {
|
|
10398
|
+
name: string;
|
|
10399
|
+
}[];
|
|
10400
|
+
contents: {};
|
|
10401
|
+
bannerInfo: {
|
|
10402
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10403
|
+
type: "video" | "image";
|
|
10404
|
+
videoId?: string;
|
|
10405
|
+
videoUrl?: string;
|
|
10406
|
+
isDirectVideoUrl?: boolean;
|
|
10407
|
+
imageId?: string;
|
|
10408
|
+
};
|
|
10409
|
+
keywords: {
|
|
10410
|
+
[key: string]: Keyword[];
|
|
10411
|
+
};
|
|
10412
|
+
type: StreamItemTypes.Event;
|
|
10413
|
+
contentsList: StreamPublishableItemContents[];
|
|
10414
|
+
channelsList: string[];
|
|
10415
|
+
isUnread: boolean;
|
|
10416
|
+
keywordsList?: Keyword[];
|
|
10417
|
+
userResponseType?: StreamEventResponse;
|
|
10418
|
+
startDate?: string;
|
|
10419
|
+
endDate?: string;
|
|
10420
|
+
timeZone?: string;
|
|
10421
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10422
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10423
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10424
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10425
|
+
hasNewComments?: boolean;
|
|
10426
|
+
isLiked?: boolean;
|
|
10427
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10428
|
+
recurrenceSeriesId?: string;
|
|
10429
|
+
isSeriesMaster?: string;
|
|
10430
|
+
isVirtual?: boolean;
|
|
10431
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10432
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10433
|
+
id?: string;
|
|
10434
|
+
versionId?: string;
|
|
10435
|
+
publishingDate?: string;
|
|
10436
|
+
deleted?: string;
|
|
10437
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10438
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10439
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10440
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10441
|
+
fileAccessToken?: string;
|
|
10442
|
+
customProperties?: {
|
|
10443
|
+
[key: string]: any;
|
|
10444
|
+
};
|
|
10445
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10446
|
+
modified: string;
|
|
10447
|
+
created: string;
|
|
10448
|
+
publishedVersionId?: string;
|
|
10449
|
+
isCurrentPublishedVersion?: boolean;
|
|
10450
|
+
isLatestVersion?: boolean;
|
|
10451
|
+
permalink?: string;
|
|
10452
|
+
groupIds: string[];
|
|
10453
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10454
|
+
useExternalContent?: boolean;
|
|
10455
|
+
isDemoContent?: boolean;
|
|
10456
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10457
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10458
|
+
} | {
|
|
10459
|
+
knownState: KnownNewsState;
|
|
10460
|
+
pageType?: undefined;
|
|
10461
|
+
navigationContext?: undefined;
|
|
10462
|
+
userResponse: EventResponse;
|
|
10463
|
+
channels: {
|
|
10464
|
+
name: string;
|
|
10465
|
+
}[];
|
|
10466
|
+
contents: {};
|
|
10467
|
+
bannerInfo: {
|
|
10468
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10469
|
+
type: "video" | "image";
|
|
10470
|
+
videoId?: string;
|
|
10471
|
+
videoUrl?: string;
|
|
10472
|
+
isDirectVideoUrl?: boolean;
|
|
10473
|
+
imageId?: string;
|
|
10474
|
+
};
|
|
10475
|
+
keywords: {
|
|
10476
|
+
[key: string]: Keyword[];
|
|
10477
|
+
};
|
|
10478
|
+
type: StreamItemTypes.Event;
|
|
10479
|
+
contentsList: StreamPublishableItemContents[];
|
|
10480
|
+
channelsList: string[];
|
|
10481
|
+
isUnread: boolean;
|
|
10482
|
+
keywordsList?: Keyword[];
|
|
10483
|
+
userResponseType?: StreamEventResponse;
|
|
10484
|
+
startDate?: string;
|
|
10485
|
+
endDate?: string;
|
|
10486
|
+
timeZone?: string;
|
|
10487
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10488
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10489
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10490
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10491
|
+
hasNewComments?: boolean;
|
|
10492
|
+
isLiked?: boolean;
|
|
10493
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10494
|
+
recurrenceSeriesId?: string;
|
|
10495
|
+
isSeriesMaster?: string;
|
|
10496
|
+
isVirtual?: boolean;
|
|
10497
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10498
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10499
|
+
id?: string;
|
|
10500
|
+
versionId?: string;
|
|
10501
|
+
publishingDate?: string;
|
|
10502
|
+
deleted?: string;
|
|
10503
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10504
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10505
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10506
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10507
|
+
fileAccessToken?: string;
|
|
10508
|
+
customProperties?: {
|
|
10509
|
+
[key: string]: any;
|
|
10510
|
+
};
|
|
10511
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10512
|
+
modified: string;
|
|
10513
|
+
created: string;
|
|
10514
|
+
publishedVersionId?: string;
|
|
10515
|
+
isCurrentPublishedVersion?: boolean;
|
|
10516
|
+
isLatestVersion?: boolean;
|
|
10517
|
+
permalink?: string;
|
|
10518
|
+
groupIds: string[];
|
|
10519
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10520
|
+
useExternalContent?: boolean;
|
|
10521
|
+
isDemoContent?: boolean;
|
|
10522
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10523
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10524
|
+
} | {
|
|
10525
|
+
knownState?: undefined;
|
|
10526
|
+
pageType: PageType;
|
|
10527
|
+
navigationContext: PageNavigationContext;
|
|
10528
|
+
userResponse: EventResponse;
|
|
10529
|
+
channels: {
|
|
10530
|
+
name: string;
|
|
10531
|
+
}[];
|
|
10532
|
+
contents: {};
|
|
10533
|
+
bannerInfo: {
|
|
10534
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10535
|
+
type: "video" | "image";
|
|
10536
|
+
videoId?: string;
|
|
10537
|
+
videoUrl?: string;
|
|
10538
|
+
isDirectVideoUrl?: boolean;
|
|
10539
|
+
imageId?: string;
|
|
10540
|
+
};
|
|
10541
|
+
keywords: {
|
|
10542
|
+
[key: string]: Keyword[];
|
|
10543
|
+
};
|
|
10544
|
+
type: StreamItemTypes.Event;
|
|
10545
|
+
contentsList: StreamPublishableItemContents[];
|
|
10546
|
+
channelsList: string[];
|
|
10547
|
+
isUnread: boolean;
|
|
10548
|
+
keywordsList?: Keyword[];
|
|
10549
|
+
userResponseType?: StreamEventResponse;
|
|
10550
|
+
startDate?: string;
|
|
10551
|
+
endDate?: string;
|
|
10552
|
+
timeZone?: string;
|
|
10553
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10554
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10555
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10556
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10557
|
+
hasNewComments?: boolean;
|
|
10558
|
+
isLiked?: boolean;
|
|
10559
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10560
|
+
recurrenceSeriesId?: string;
|
|
10561
|
+
isSeriesMaster?: string;
|
|
10562
|
+
isVirtual?: boolean;
|
|
10563
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10564
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10565
|
+
id?: string;
|
|
10566
|
+
versionId?: string;
|
|
10567
|
+
publishingDate?: string;
|
|
10568
|
+
deleted?: string;
|
|
10569
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10570
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10571
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10572
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10573
|
+
fileAccessToken?: string;
|
|
10574
|
+
customProperties?: {
|
|
10575
|
+
[key: string]: any;
|
|
10576
|
+
};
|
|
10577
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10578
|
+
modified: string;
|
|
10579
|
+
created: string;
|
|
10580
|
+
publishedVersionId?: string;
|
|
10581
|
+
isCurrentPublishedVersion?: boolean;
|
|
10582
|
+
isLatestVersion?: boolean;
|
|
10583
|
+
permalink?: string;
|
|
10584
|
+
groupIds: string[];
|
|
10585
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10586
|
+
useExternalContent?: boolean;
|
|
10587
|
+
isDemoContent?: boolean;
|
|
10588
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10589
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10590
|
+
} | {
|
|
10591
|
+
knownState: KnownNewsState;
|
|
10592
|
+
pageType: PageType;
|
|
10593
|
+
navigationContext: PageNavigationContext;
|
|
10594
|
+
userResponse: EventResponse;
|
|
10595
|
+
channels: {
|
|
10596
|
+
name: string;
|
|
10597
|
+
}[];
|
|
10598
|
+
contents: {};
|
|
10599
|
+
bannerInfo: {
|
|
10600
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10601
|
+
type: "video" | "image";
|
|
10602
|
+
videoId?: string;
|
|
10603
|
+
videoUrl?: string;
|
|
10604
|
+
isDirectVideoUrl?: boolean;
|
|
10605
|
+
imageId?: string;
|
|
9545
10606
|
};
|
|
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[];
|
|
10607
|
+
keywords: {
|
|
10608
|
+
[key: string]: Keyword[];
|
|
9581
10609
|
};
|
|
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
|
-
|
|
10610
|
+
type: StreamItemTypes.Event;
|
|
10611
|
+
contentsList: StreamPublishableItemContents[];
|
|
10612
|
+
channelsList: string[];
|
|
10613
|
+
isUnread: boolean;
|
|
10614
|
+
keywordsList?: Keyword[];
|
|
10615
|
+
userResponseType?: StreamEventResponse;
|
|
10616
|
+
startDate?: string;
|
|
10617
|
+
endDate?: string;
|
|
10618
|
+
timeZone?: string;
|
|
10619
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10620
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10621
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10622
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10623
|
+
hasNewComments?: boolean;
|
|
10624
|
+
isLiked?: boolean;
|
|
10625
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10626
|
+
recurrenceSeriesId?: string;
|
|
10627
|
+
isSeriesMaster?: string;
|
|
10628
|
+
isVirtual?: boolean;
|
|
10629
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10630
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10631
|
+
id?: string;
|
|
10632
|
+
versionId?: string;
|
|
10633
|
+
publishingDate?: string;
|
|
10634
|
+
deleted?: string;
|
|
10635
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10636
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10637
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10638
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10639
|
+
fileAccessToken?: string;
|
|
10640
|
+
customProperties?: {
|
|
10641
|
+
[key: string]: any;
|
|
9607
10642
|
};
|
|
9608
|
-
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9620
|
-
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
10643
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10644
|
+
modified: string;
|
|
10645
|
+
created: string;
|
|
10646
|
+
publishedVersionId?: string;
|
|
10647
|
+
isCurrentPublishedVersion?: boolean;
|
|
10648
|
+
isLatestVersion?: boolean;
|
|
10649
|
+
permalink?: string;
|
|
10650
|
+
groupIds: string[];
|
|
10651
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10652
|
+
useExternalContent?: boolean;
|
|
10653
|
+
isDemoContent?: boolean;
|
|
10654
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10655
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10656
|
+
} | {
|
|
10657
|
+
knownState?: undefined;
|
|
10658
|
+
pageType?: PageType;
|
|
10659
|
+
navigationContext?: PageNavigationContext;
|
|
10660
|
+
userResponse: EventResponse;
|
|
10661
|
+
channels: {
|
|
10662
|
+
name: string;
|
|
10663
|
+
}[];
|
|
10664
|
+
contents: {};
|
|
10665
|
+
bannerInfo: {
|
|
10666
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10667
|
+
type: "video" | "image";
|
|
10668
|
+
videoId?: string;
|
|
10669
|
+
videoUrl?: string;
|
|
10670
|
+
isDirectVideoUrl?: boolean;
|
|
10671
|
+
imageId?: string;
|
|
9626
10672
|
};
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
10673
|
+
keywords: {
|
|
10674
|
+
[key: string]: Keyword[];
|
|
10675
|
+
};
|
|
10676
|
+
type: StreamItemTypes.Page;
|
|
10677
|
+
contentsList: StreamPublishableItemContents[];
|
|
10678
|
+
channelsList: string[];
|
|
10679
|
+
isUnread: boolean;
|
|
10680
|
+
keywordsList?: Keyword[];
|
|
10681
|
+
streamPageType?: string;
|
|
10682
|
+
path?: (PageNavigationNode & {
|
|
10683
|
+
parentId?: string;
|
|
10684
|
+
})[];
|
|
10685
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10686
|
+
parentId?: string;
|
|
10687
|
+
pathIds?: string[];
|
|
10688
|
+
position?: number;
|
|
10689
|
+
hasHiddenAncestor?: boolean;
|
|
10690
|
+
isUnlinked?: boolean;
|
|
10691
|
+
firstChildId?: string;
|
|
10692
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10693
|
+
id?: string;
|
|
10694
|
+
versionId?: string;
|
|
10695
|
+
publishingDate?: string;
|
|
10696
|
+
deleted?: string;
|
|
10697
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10698
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10699
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10700
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10701
|
+
fileAccessToken?: string;
|
|
10702
|
+
customProperties?: {
|
|
10703
|
+
[key: string]: any;
|
|
10704
|
+
};
|
|
10705
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10706
|
+
modified: string;
|
|
10707
|
+
created: string;
|
|
10708
|
+
publishedVersionId?: string;
|
|
10709
|
+
isCurrentPublishedVersion?: boolean;
|
|
10710
|
+
isLatestVersion?: boolean;
|
|
10711
|
+
permalink?: string;
|
|
10712
|
+
groupIds: string[];
|
|
10713
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10714
|
+
useExternalContent?: boolean;
|
|
10715
|
+
isDemoContent?: boolean;
|
|
10716
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10717
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10718
|
+
} | {
|
|
10719
|
+
knownState: KnownNewsState;
|
|
10720
|
+
pageType?: PageType;
|
|
10721
|
+
navigationContext?: PageNavigationContext;
|
|
10722
|
+
userResponse: EventResponse;
|
|
10723
|
+
channels: {
|
|
10724
|
+
name: string;
|
|
10725
|
+
}[];
|
|
10726
|
+
contents: {};
|
|
10727
|
+
bannerInfo: {
|
|
10728
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10729
|
+
type: "video" | "image";
|
|
10730
|
+
videoId?: string;
|
|
10731
|
+
videoUrl?: string;
|
|
10732
|
+
isDirectVideoUrl?: boolean;
|
|
10733
|
+
imageId?: string;
|
|
10734
|
+
};
|
|
10735
|
+
keywords: {
|
|
10736
|
+
[key: string]: Keyword[];
|
|
10737
|
+
};
|
|
10738
|
+
type: StreamItemTypes.Page;
|
|
10739
|
+
contentsList: StreamPublishableItemContents[];
|
|
10740
|
+
channelsList: string[];
|
|
10741
|
+
isUnread: boolean;
|
|
10742
|
+
keywordsList?: Keyword[];
|
|
10743
|
+
streamPageType?: string;
|
|
10744
|
+
path?: (PageNavigationNode & {
|
|
10745
|
+
parentId?: string;
|
|
10746
|
+
})[];
|
|
10747
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10748
|
+
parentId?: string;
|
|
10749
|
+
pathIds?: string[];
|
|
10750
|
+
position?: number;
|
|
10751
|
+
hasHiddenAncestor?: boolean;
|
|
10752
|
+
isUnlinked?: boolean;
|
|
10753
|
+
firstChildId?: string;
|
|
10754
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10755
|
+
id?: string;
|
|
10756
|
+
versionId?: string;
|
|
10757
|
+
publishingDate?: string;
|
|
10758
|
+
deleted?: string;
|
|
10759
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10760
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10761
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10762
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10763
|
+
fileAccessToken?: string;
|
|
10764
|
+
customProperties?: {
|
|
10765
|
+
[key: string]: any;
|
|
10766
|
+
};
|
|
10767
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10768
|
+
modified: string;
|
|
10769
|
+
created: string;
|
|
10770
|
+
publishedVersionId?: string;
|
|
10771
|
+
isCurrentPublishedVersion?: boolean;
|
|
10772
|
+
isLatestVersion?: boolean;
|
|
10773
|
+
permalink?: string;
|
|
10774
|
+
groupIds: string[];
|
|
10775
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10776
|
+
useExternalContent?: boolean;
|
|
10777
|
+
isDemoContent?: boolean;
|
|
10778
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10779
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10780
|
+
})[];
|
|
9634
10781
|
}
|
|
9635
|
-
declare module "libs/reach/feature/content/src/
|
|
10782
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10783
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10784
|
+
import { DocumentNode } from '@apollo/client';
|
|
10785
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10786
|
+
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition, FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
10787
|
+
export enum StreamEventResponse {
|
|
10788
|
+
NotSet = "NOTSET",
|
|
10789
|
+
Registered = "REGISTERED",
|
|
10790
|
+
Declined = "DECLINED"
|
|
10791
|
+
}
|
|
10792
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10793
|
+
}
|
|
10794
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10795
|
+
items: StreamItem[];
|
|
10796
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10797
|
+
loadMore: () => Promise<void>;
|
|
10798
|
+
pageInfo: {
|
|
10799
|
+
errors?: any;
|
|
10800
|
+
hasNextPage: boolean;
|
|
10801
|
+
skip: number;
|
|
10802
|
+
};
|
|
10803
|
+
refresh: () => Promise<void>;
|
|
10804
|
+
};
|
|
10805
|
+
export const getStreamQuery: () => DocumentNode;
|
|
10806
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10807
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10808
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10809
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10810
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10811
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10812
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
10813
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10814
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10815
|
+
}
|
|
10816
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
9636
10817
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9637
10818
|
import { DependencyList } from 'react';
|
|
9638
|
-
export function
|
|
10819
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
9639
10820
|
}
|
|
9640
10821
|
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
9641
10822
|
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -9653,7 +10834,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
9653
10834
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
9654
10835
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
9655
10836
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
9656
|
-
export * from "libs/reach/feature/content/src/posts/
|
|
10837
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
9657
10838
|
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
9658
10839
|
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
9659
10840
|
export * from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9673,7 +10854,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
|
9673
10854
|
onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
|
|
9674
10855
|
onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
|
|
9675
10856
|
className?: string;
|
|
9676
|
-
useLargeAvatar?: boolean;
|
|
9677
10857
|
useExternalLink?: boolean;
|
|
9678
10858
|
}
|
|
9679
10859
|
export const EditorListItem: FC<Props>;
|
|
@@ -9718,12 +10898,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
9718
10898
|
}
|
|
9719
10899
|
}
|
|
9720
10900
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
9721
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
10901
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9722
10902
|
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
10903
|
import { Observable } from 'rxjs';
|
|
9728
10904
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
9729
10905
|
export function useEditorApi(): {
|
|
@@ -9743,6 +10919,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
|
9743
10919
|
keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
|
|
9744
10920
|
saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
|
|
9745
10921
|
updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
|
|
10922
|
+
translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
|
|
9746
10923
|
};
|
|
9747
10924
|
}
|
|
9748
10925
|
declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
@@ -9766,6 +10943,59 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
9766
10943
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
9767
10944
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
9768
10945
|
}
|
|
10946
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
10947
|
+
import { FC } from 'react';
|
|
10948
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10949
|
+
export const StreamPostItemCard: FC<{
|
|
10950
|
+
post: PostStreamItem;
|
|
10951
|
+
onPostDelete: (id: string) => unknown;
|
|
10952
|
+
}>;
|
|
10953
|
+
}
|
|
10954
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
10955
|
+
import { FC } from 'react';
|
|
10956
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10957
|
+
export const StreamNewsItemCard: FC<{
|
|
10958
|
+
news: NewsStreamItem;
|
|
10959
|
+
}>;
|
|
10960
|
+
}
|
|
10961
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
10962
|
+
import { FC } from 'react';
|
|
10963
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10964
|
+
export const StreamEventItemCard: FC<{
|
|
10965
|
+
event: EventStreamItem;
|
|
10966
|
+
}>;
|
|
10967
|
+
}
|
|
10968
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
10969
|
+
import { FC } from 'react';
|
|
10970
|
+
export const GlobalSearchButton: FC;
|
|
10971
|
+
}
|
|
10972
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
10973
|
+
import { FC } from 'react';
|
|
10974
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10975
|
+
export type StreamQueryResult = {
|
|
10976
|
+
items: StreamItem[];
|
|
10977
|
+
};
|
|
10978
|
+
export const StreamList: FC;
|
|
10979
|
+
}
|
|
10980
|
+
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
10981
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10982
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
10983
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10984
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
|
|
10985
|
+
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
10986
|
+
}
|
|
10987
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
10988
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
10989
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10990
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10991
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
10992
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
10993
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
10994
|
+
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
10995
|
+
}
|
|
10996
|
+
declare module "libs/reach/feature/content/src/search/index" {
|
|
10997
|
+
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
10998
|
+
}
|
|
9769
10999
|
declare module "libs/reach/feature/content/src/index" {
|
|
9770
11000
|
export * from "libs/reach/feature/content/src/comments/index";
|
|
9771
11001
|
export * from "libs/reach/feature/content/src/common/index";
|
|
@@ -9778,6 +11008,8 @@ declare module "libs/reach/feature/content/src/index" {
|
|
|
9778
11008
|
export * from "libs/reach/feature/content/src/posts/index";
|
|
9779
11009
|
export * from "libs/reach/feature/content/src/editor/index";
|
|
9780
11010
|
export * from "libs/reach/feature/content/src/public-user/index";
|
|
11011
|
+
export * from "libs/reach/feature/content/src/stream/index";
|
|
11012
|
+
export * from "libs/reach/feature/content/src/search/index";
|
|
9781
11013
|
}
|
|
9782
11014
|
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
9783
11015
|
import { FC } from 'react';
|
|
@@ -9842,18 +11074,6 @@ declare module "apps/reach-app/src/app/admin/users/self-registration/SelfRegistr
|
|
|
9842
11074
|
import { FC } from 'react';
|
|
9843
11075
|
export const SelfRegistrationSettingsPage: FC;
|
|
9844
11076
|
}
|
|
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
11077
|
declare module "apps/reach-app/src/app/AppLoader" {
|
|
9858
11078
|
import { FC } from 'react';
|
|
9859
11079
|
export const AppLoader: FC;
|
|
@@ -9899,21 +11119,20 @@ declare module "apps/reach-app/src/app/teams/TeamsContext" {
|
|
|
9899
11119
|
}>;
|
|
9900
11120
|
export const TeamsContextProvider: FC;
|
|
9901
11121
|
}
|
|
9902
|
-
declare module "apps/reach-app/src/app/
|
|
9903
|
-
export enum
|
|
9904
|
-
Authenticated = 0,
|
|
9905
|
-
UnAuthenticated = 1
|
|
9906
|
-
}
|
|
9907
|
-
export enum IntercomInitialState {
|
|
11122
|
+
declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
11123
|
+
export enum ZendeskInitialState {
|
|
9908
11124
|
Minimized = 0,
|
|
9909
11125
|
MobileHidden = 1
|
|
9910
11126
|
}
|
|
9911
|
-
export function
|
|
9912
|
-
export
|
|
9913
|
-
|
|
11127
|
+
export function shutdownZendesk(): void;
|
|
11128
|
+
export function useZendeskWithSubscription(): {
|
|
11129
|
+
showZendeskChat: () => void;
|
|
9914
11130
|
toggleIcon: (show: boolean) => void;
|
|
9915
|
-
}
|
|
9916
|
-
export function
|
|
11131
|
+
};
|
|
11132
|
+
export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
|
|
11133
|
+
showZendeskChat: () => void;
|
|
11134
|
+
toggleIcon: (show: boolean) => void;
|
|
11135
|
+
};
|
|
9917
11136
|
}
|
|
9918
11137
|
declare module "apps/reach-app/src/app/admin/terms-and-conditions/TermsAndConditionsPage" {
|
|
9919
11138
|
import { FC } from 'react';
|
|
@@ -9955,7 +11174,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
|
|
|
9955
11174
|
import { FC } from 'react';
|
|
9956
11175
|
export const AdminActionItem: FC<{
|
|
9957
11176
|
submenuContents: JSX.Element;
|
|
9958
|
-
onClick
|
|
11177
|
+
onClick?: () => unknown;
|
|
9959
11178
|
title?: string;
|
|
9960
11179
|
}>;
|
|
9961
11180
|
const AdminRoutes: FC;
|
|
@@ -9969,7 +11188,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
|
|
|
9969
11188
|
import { FC } from 'react';
|
|
9970
11189
|
export const ChatMenuNode: FC<{
|
|
9971
11190
|
title: string;
|
|
9972
|
-
onClick
|
|
11191
|
+
onClick?: () => void;
|
|
9973
11192
|
}>;
|
|
9974
11193
|
}
|
|
9975
11194
|
declare module "apps/reach-app/src/app/chrome/Sidebar" {
|
|
@@ -9996,20 +11215,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
|
|
|
9996
11215
|
className?: string;
|
|
9997
11216
|
}>;
|
|
9998
11217
|
}
|
|
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
11218
|
declare module "apps/reach-app/src/AppLoaderContextProvider" {
|
|
10014
11219
|
import { FC, ReactNode } from 'react';
|
|
10015
11220
|
export const AppLoaderContext: import("react").Context<{
|