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