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