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