@livetiles/reach-plugin-types 0.4.0-preview.31 → 0.4.0-preview.312
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 +2118 -901
- 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[];
|
|
@@ -1128,11 +1136,12 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1128
1136
|
useInAppBrowser?: boolean;
|
|
1129
1137
|
tenantId?: string;
|
|
1130
1138
|
signInSettings?: SignInSettings;
|
|
1131
|
-
logoUrl?: string;
|
|
1132
1139
|
faviconUrl?: string;
|
|
1133
1140
|
theme?: Theme;
|
|
1134
1141
|
allowPublicAccess?: boolean;
|
|
1135
1142
|
redirectToContent?: boolean;
|
|
1143
|
+
allowZendesk?: boolean;
|
|
1144
|
+
logoInfo: LogoInfo;
|
|
1136
1145
|
}
|
|
1137
1146
|
export interface SignInSettings {
|
|
1138
1147
|
customIdentityProviders: IdentityProviderSettings[];
|
|
@@ -1146,7 +1155,6 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1146
1155
|
contact: Account;
|
|
1147
1156
|
theme: Theme;
|
|
1148
1157
|
defaultLanguage: string;
|
|
1149
|
-
logoUrl: string;
|
|
1150
1158
|
faviconUrl?: string;
|
|
1151
1159
|
navigation: NavigationNode[];
|
|
1152
1160
|
regionSettings?: RegionSettings;
|
|
@@ -1155,6 +1163,16 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1155
1163
|
hasUnreadItems: boolean;
|
|
1156
1164
|
pageTrackingInfo: PageTrackingInfo;
|
|
1157
1165
|
termsAndConditionsHash?: string;
|
|
1166
|
+
logoInfo: LogoInfo;
|
|
1167
|
+
}
|
|
1168
|
+
export enum LogoSize {
|
|
1169
|
+
large = "large",
|
|
1170
|
+
small = "small"
|
|
1171
|
+
}
|
|
1172
|
+
export interface LogoInfo {
|
|
1173
|
+
smallUrl?: string;
|
|
1174
|
+
largeUrl?: string;
|
|
1175
|
+
isLegacyLogo?: boolean;
|
|
1158
1176
|
}
|
|
1159
1177
|
export interface TermsAndConditions {
|
|
1160
1178
|
value?: string;
|
|
@@ -1707,6 +1725,7 @@ declare module "libs/reach/util/common/src/content/VideoSource" {
|
|
|
1707
1725
|
GenericUrl = 3,
|
|
1708
1726
|
Kaltura = 4
|
|
1709
1727
|
}
|
|
1728
|
+
export function convertStringToVideoSource(videoSource: string): VideoSource;
|
|
1710
1729
|
}
|
|
1711
1730
|
declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
1712
1731
|
import { ItemStatistics } from "libs/reach/util/common/src/content/ItemStatistics";
|
|
@@ -1714,6 +1733,19 @@ declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
|
1714
1733
|
id?: string;
|
|
1715
1734
|
statistics?: ItemStatistics;
|
|
1716
1735
|
poll?: Poll;
|
|
1736
|
+
searchHighlights?: SearchHighlightSummary;
|
|
1737
|
+
}
|
|
1738
|
+
export interface SearchHighlightSummary {
|
|
1739
|
+
title: SearchHighlight[];
|
|
1740
|
+
content: SearchHighlight[];
|
|
1741
|
+
}
|
|
1742
|
+
export interface SearchHighlight {
|
|
1743
|
+
language: string;
|
|
1744
|
+
texts: {
|
|
1745
|
+
value: string;
|
|
1746
|
+
type: 'text' | 'hit';
|
|
1747
|
+
}[];
|
|
1748
|
+
score: number;
|
|
1717
1749
|
}
|
|
1718
1750
|
export interface Poll {
|
|
1719
1751
|
questions: PollQuestion[];
|
|
@@ -1781,7 +1813,6 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1781
1813
|
headline?: string;
|
|
1782
1814
|
intro?: string;
|
|
1783
1815
|
body?: string;
|
|
1784
|
-
bodyRaw?: string;
|
|
1785
1816
|
customProperties?: {
|
|
1786
1817
|
[key: string]: any;
|
|
1787
1818
|
};
|
|
@@ -2051,7 +2082,7 @@ declare module "libs/reach/util/common/src/content/Comment" {
|
|
|
2051
2082
|
hasUnreadReplies?: boolean;
|
|
2052
2083
|
isDemoContent?: boolean;
|
|
2053
2084
|
}
|
|
2054
|
-
interface CommentStatistics {
|
|
2085
|
+
export interface CommentStatistics {
|
|
2055
2086
|
likeCount?: number;
|
|
2056
2087
|
replyCount?: number;
|
|
2057
2088
|
}
|
|
@@ -2612,10 +2643,11 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2612
2643
|
useExternalContent?: boolean;
|
|
2613
2644
|
isSearchMatch?: boolean;
|
|
2614
2645
|
topLevelFolderName?: string;
|
|
2646
|
+
uploadToken?: string;
|
|
2615
2647
|
}
|
|
2616
2648
|
export interface PageNavigationContext {
|
|
2617
2649
|
parent?: PageNavigationNode;
|
|
2618
|
-
siblings
|
|
2650
|
+
siblings?: PageNavigationNode[];
|
|
2619
2651
|
children?: PageNavigationNode[];
|
|
2620
2652
|
}
|
|
2621
2653
|
export enum PageType {
|
|
@@ -2717,7 +2749,17 @@ declare module "libs/reach/util/common/src/content/useClearUnreadItems" {
|
|
|
2717
2749
|
onStarted?: () => unknown;
|
|
2718
2750
|
onFinished?: () => unknown;
|
|
2719
2751
|
}
|
|
2720
|
-
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers): () => Promise<void>;
|
|
2752
|
+
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
2753
|
+
}
|
|
2754
|
+
declare module "libs/reach/util/common/src/content/useClearUnreadOnlyFilter" {
|
|
2755
|
+
export function useClearUnreadOnlyFilter(): {
|
|
2756
|
+
clearUnreadOnlyFilter: () => void;
|
|
2757
|
+
};
|
|
2758
|
+
}
|
|
2759
|
+
declare module "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler" {
|
|
2760
|
+
export function useUnreadItemsTogglerHandler(): {
|
|
2761
|
+
toggleUnreadItems: () => void;
|
|
2762
|
+
};
|
|
2721
2763
|
}
|
|
2722
2764
|
declare module "libs/reach/util/common/src/content/index" {
|
|
2723
2765
|
export * from "libs/reach/util/common/src/content/Attachment";
|
|
@@ -2742,6 +2784,8 @@ declare module "libs/reach/util/common/src/content/index" {
|
|
|
2742
2784
|
export * from "libs/reach/util/common/src/content/useFileApi";
|
|
2743
2785
|
export * from "libs/reach/util/common/src/content/content-keyword-utils";
|
|
2744
2786
|
export * from "libs/reach/util/common/src/content/useClearUnreadItems";
|
|
2787
|
+
export * from "libs/reach/util/common/src/content/useClearUnreadOnlyFilter";
|
|
2788
|
+
export * from "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler";
|
|
2745
2789
|
}
|
|
2746
2790
|
declare module "libs/reach/util/common/src/Variables" {
|
|
2747
2791
|
export const maxContentWidth = 985;
|
|
@@ -2842,6 +2886,7 @@ declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
|
2842
2886
|
}
|
|
2843
2887
|
declare module "libs/reach/util/common/src/notification/ToastNotificationHost" {
|
|
2844
2888
|
import { FC } from 'react';
|
|
2889
|
+
import 'react-toastify/dist/ReactToastify.min.css';
|
|
2845
2890
|
export const ToastNotificationHost: FC;
|
|
2846
2891
|
}
|
|
2847
2892
|
declare module "libs/reach/util/common/src/notification/index" {
|
|
@@ -2911,7 +2956,7 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2911
2956
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2912
2957
|
export interface Chat {
|
|
2913
2958
|
id: string;
|
|
2914
|
-
members: Account[];
|
|
2959
|
+
members: (Account & ChatMember)[];
|
|
2915
2960
|
memberIds: string[];
|
|
2916
2961
|
groupName?: string;
|
|
2917
2962
|
lastMessageInfo?: {
|
|
@@ -2922,6 +2967,10 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2922
2967
|
deleteDate?: string;
|
|
2923
2968
|
deleteState?: DeleteState;
|
|
2924
2969
|
messageType?: ChatMessageType;
|
|
2970
|
+
messageValues?: {
|
|
2971
|
+
groupName?: string;
|
|
2972
|
+
userId?: string;
|
|
2973
|
+
};
|
|
2925
2974
|
};
|
|
2926
2975
|
messages: ChatMessage[];
|
|
2927
2976
|
hasNewMessages: boolean;
|
|
@@ -2934,7 +2983,19 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2934
2983
|
}
|
|
2935
2984
|
export enum ChatMessageType {
|
|
2936
2985
|
Default = "DEFAULT",
|
|
2937
|
-
GroupNameChange = "GROUP_NAME_CHANGE"
|
|
2986
|
+
GroupNameChange = "GROUP_NAME_CHANGE",
|
|
2987
|
+
UserLeftGroup = "USER_LEFT_GROUP"
|
|
2988
|
+
}
|
|
2989
|
+
export enum MemberStatus {
|
|
2990
|
+
Normal = "NORMAL",
|
|
2991
|
+
LeftGroupChat = "LEFT_GROUP_CHAT",
|
|
2992
|
+
LeftOneToOneChat = "LEFT_ONE_TO_ONE_CHAT"
|
|
2993
|
+
}
|
|
2994
|
+
export interface ChatMember {
|
|
2995
|
+
id?: string;
|
|
2996
|
+
status?: MemberStatus;
|
|
2997
|
+
joinDate?: string;
|
|
2998
|
+
leftDate?: string;
|
|
2938
2999
|
}
|
|
2939
3000
|
export interface ChatMessage {
|
|
2940
3001
|
itemId: string;
|
|
@@ -3148,6 +3209,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3148
3209
|
placeholderStringResourceKey?: string;
|
|
3149
3210
|
autoFocus?: boolean;
|
|
3150
3211
|
inputId?: string;
|
|
3212
|
+
required?: boolean;
|
|
3151
3213
|
className?: string;
|
|
3152
3214
|
}
|
|
3153
3215
|
export const PeoplePicker: FC<Props>;
|
|
@@ -3185,7 +3247,6 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3185
3247
|
}
|
|
3186
3248
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3187
3249
|
import { FC } from 'react';
|
|
3188
|
-
import 'react-toastify/dist/ReactToastify.min.css';
|
|
3189
3250
|
export const NotificationBar: FC;
|
|
3190
3251
|
}
|
|
3191
3252
|
declare module "libs/reach/ui/common/src/common/AttachedMediaDownloadLink" {
|
|
@@ -3264,8 +3325,8 @@ declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
|
3264
3325
|
}
|
|
3265
3326
|
declare module "libs/reach/ui/common/src/common/Callout" {
|
|
3266
3327
|
import { FC } from 'react';
|
|
3267
|
-
import {
|
|
3268
|
-
export const Callout: FC<
|
|
3328
|
+
import { IFocusTrapCalloutProps } from 'office-ui-fabric-react';
|
|
3329
|
+
export const Callout: FC<IFocusTrapCalloutProps>;
|
|
3269
3330
|
}
|
|
3270
3331
|
declare module "libs/reach/ui/common/src/common/CommentInputTheme" {
|
|
3271
3332
|
export type CommentInputTheme = 'light' | 'dark';
|
|
@@ -3342,12 +3403,13 @@ declare module "libs/reach/ui/common/src/common/Dropdown" {
|
|
|
3342
3403
|
export const Dropdown: FC<IDropdownProps>;
|
|
3343
3404
|
}
|
|
3344
3405
|
declare module "libs/reach/ui/common/src/common/EmptyList" {
|
|
3406
|
+
import { FC } from 'react';
|
|
3345
3407
|
interface EmptyListProps {
|
|
3346
3408
|
icon?: string;
|
|
3347
3409
|
emptyMessageResources?: string[];
|
|
3348
3410
|
className?: string;
|
|
3349
3411
|
}
|
|
3350
|
-
export const EmptyList:
|
|
3412
|
+
export const EmptyList: FC<EmptyListProps>;
|
|
3351
3413
|
}
|
|
3352
3414
|
declare module "libs/reach/ui/common/src/common/EnumHelpers" {
|
|
3353
3415
|
export const hasFlag: (baseValue: any, flag: any) => boolean;
|
|
@@ -3498,18 +3560,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
|
|
|
3498
3560
|
date: string;
|
|
3499
3561
|
}>;
|
|
3500
3562
|
}
|
|
3501
|
-
declare module "libs/reach/ui/common/src/common/IconHeaderButton" {
|
|
3502
|
-
import { FC } from 'react';
|
|
3503
|
-
export const IconHeaderButton: FC<{
|
|
3504
|
-
icon: string;
|
|
3505
|
-
isActive?: boolean;
|
|
3506
|
-
disabled?: boolean;
|
|
3507
|
-
tooltipResourceKey?: string;
|
|
3508
|
-
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3509
|
-
link?: string;
|
|
3510
|
-
className?: string;
|
|
3511
|
-
}>;
|
|
3512
|
-
}
|
|
3513
3563
|
declare module "libs/reach/ui/common/src/common/IconLabel" {
|
|
3514
3564
|
import { FC, ReactNode } from 'react';
|
|
3515
3565
|
export const IconLabel: FC<{
|
|
@@ -3564,7 +3614,7 @@ declare module "libs/reach/ui/common/src/common/Logos" {
|
|
|
3564
3614
|
export { ReactComponent as WhiteDefaultLogoWithText } from './logos/logo-white-with-name.svg';
|
|
3565
3615
|
export { ReactComponent as LogoPurpleXL } from './logos/logo-purple-xl.svg';
|
|
3566
3616
|
export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
|
|
3567
|
-
export { ReactComponent as
|
|
3617
|
+
export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
|
|
3568
3618
|
}
|
|
3569
3619
|
declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
|
|
3570
3620
|
import { FC } from 'react';
|
|
@@ -3624,11 +3674,24 @@ declare module "libs/reach/ui/common/src/common/Prompt" {
|
|
|
3624
3674
|
}
|
|
3625
3675
|
export const Prompt: FC<Props>;
|
|
3626
3676
|
}
|
|
3677
|
+
declare module "libs/reach/ui/common/src/common/buttons/IconHeaderButton" {
|
|
3678
|
+
import { FC } from 'react';
|
|
3679
|
+
export const IconHeaderButton: FC<{
|
|
3680
|
+
icon: string;
|
|
3681
|
+
isActive?: boolean;
|
|
3682
|
+
disabled?: boolean;
|
|
3683
|
+
tooltipResourceKey?: string;
|
|
3684
|
+
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3685
|
+
link?: string;
|
|
3686
|
+
className?: string;
|
|
3687
|
+
}>;
|
|
3688
|
+
}
|
|
3627
3689
|
declare module "libs/reach/ui/common/src/common/toolbar/ToolbarIconButtonWithToolTip" {
|
|
3628
3690
|
import { FC } from 'react';
|
|
3629
3691
|
export interface ToolbarIconButtonProps {
|
|
3630
3692
|
iconName: string;
|
|
3631
|
-
|
|
3693
|
+
ariaLabel?: string;
|
|
3694
|
+
ariaLabelResourceKey?: string;
|
|
3632
3695
|
onClick?: () => unknown;
|
|
3633
3696
|
to?: string;
|
|
3634
3697
|
target?: string;
|
|
@@ -3657,6 +3720,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
|
|
|
3657
3720
|
onSearchTextChange?: (text: string) => void;
|
|
3658
3721
|
onExecuteSearch?: (text: string) => void;
|
|
3659
3722
|
searchText?: string;
|
|
3723
|
+
showSearchBoxInput?: boolean;
|
|
3660
3724
|
}
|
|
3661
3725
|
export const SearchBox: FC<SearchBoxProps & {
|
|
3662
3726
|
onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
|
|
@@ -3735,8 +3799,7 @@ declare module "libs/reach/ui/common/src/common/buttons/ChoiceGroup" {
|
|
|
3735
3799
|
}
|
|
3736
3800
|
declare module "libs/reach/ui/common/src/common/buttons/CommentActionMenu" {
|
|
3737
3801
|
import { FC } from 'react';
|
|
3738
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
3739
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
3802
|
+
import { Account, Comment } from "libs/reach/util/common/src/index";
|
|
3740
3803
|
export const CommentActionMenu: FC<{
|
|
3741
3804
|
comment: Comment;
|
|
3742
3805
|
showEdit: boolean;
|
|
@@ -3782,6 +3845,21 @@ declare module "libs/reach/ui/common/src/common/buttons/TopActionButton" {
|
|
|
3782
3845
|
}
|
|
3783
3846
|
export const TopActionButton: import("styled-components").StyledComponent<import("react").FC<Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
3784
3847
|
}
|
|
3848
|
+
declare module "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler" {
|
|
3849
|
+
import { FC } from 'react';
|
|
3850
|
+
export const UnreadItemsToggler: FC<{
|
|
3851
|
+
disabled: boolean;
|
|
3852
|
+
className?: string;
|
|
3853
|
+
}>;
|
|
3854
|
+
}
|
|
3855
|
+
declare module "libs/reach/ui/common/src/common/buttons/HeaderMenuButton" {
|
|
3856
|
+
import { FC } from 'react';
|
|
3857
|
+
import { IContextualMenuItem } from 'office-ui-fabric-react';
|
|
3858
|
+
export const HeaderMenuButton: FC<{
|
|
3859
|
+
items: IContextualMenuItem[];
|
|
3860
|
+
className?: string;
|
|
3861
|
+
}>;
|
|
3862
|
+
}
|
|
3785
3863
|
declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
|
|
3786
3864
|
import { FC } from 'react';
|
|
3787
3865
|
import { Channel } from "libs/reach/util/common/src/index";
|
|
@@ -3850,6 +3928,8 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelSelector" {
|
|
|
3850
3928
|
showSelectionToggle?: boolean;
|
|
3851
3929
|
placeholder?: string;
|
|
3852
3930
|
inlineControls?: boolean;
|
|
3931
|
+
required?: boolean;
|
|
3932
|
+
id?: string;
|
|
3853
3933
|
}
|
|
3854
3934
|
export const ChannelSelector: FC<Props>;
|
|
3855
3935
|
}
|
|
@@ -4106,7 +4186,7 @@ declare module "libs/reach/ui/common/src/common/paging/VerticalPager" {
|
|
|
4106
4186
|
declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch" {
|
|
4107
4187
|
import { DependencyList } from 'react';
|
|
4108
4188
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4109
|
-
export function useItemLoaderWithPreFetch(pageSize: number, handler: (pageSize: number,
|
|
4189
|
+
export function useItemLoaderWithPreFetch<TItem, TTokenType>(pageSize: number, handler: (pageSize: number, token?: TTokenType) => Promise<PaginatedList<TItem>>, deps?: DependencyList): {
|
|
4110
4190
|
items: any[];
|
|
4111
4191
|
isInitialLoading: boolean;
|
|
4112
4192
|
isLoadingNextPage: boolean;
|
|
@@ -4119,6 +4199,21 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
|
|
|
4119
4199
|
isEmpty: boolean;
|
|
4120
4200
|
};
|
|
4121
4201
|
}
|
|
4202
|
+
declare module "libs/reach/ui/common/src/common/paging/PaginationStatus" {
|
|
4203
|
+
import { FC } from 'react';
|
|
4204
|
+
export const PaginationStatus: FC<{
|
|
4205
|
+
allLoadedResourceId: string;
|
|
4206
|
+
showAllLoaded: boolean;
|
|
4207
|
+
showSpinner?: boolean;
|
|
4208
|
+
showPlaceholder?: boolean;
|
|
4209
|
+
}>;
|
|
4210
|
+
}
|
|
4211
|
+
declare module "libs/reach/ui/common/src/common/paging/usePageScrollPagination" {
|
|
4212
|
+
import { DependencyList } from 'react';
|
|
4213
|
+
export function usePageScrollPagination(loadMoreItems: () => Promise<void>, allItemsLoaded?: boolean, additionalDeps?: DependencyList): {
|
|
4214
|
+
isLoadingMore: boolean;
|
|
4215
|
+
};
|
|
4216
|
+
}
|
|
4122
4217
|
declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
|
|
4123
4218
|
import { FC, ReactNode } from 'react';
|
|
4124
4219
|
export const PullToRefreshContext: import("react").Context<{
|
|
@@ -4170,6 +4265,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarMarkAllAsReadButt
|
|
|
4170
4265
|
onMarkAsReadStarted?: () => unknown;
|
|
4171
4266
|
onMarkAsReadFinished?: () => unknown;
|
|
4172
4267
|
disabled?: boolean;
|
|
4268
|
+
unreadCount?: number;
|
|
4173
4269
|
}
|
|
4174
4270
|
export const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
4175
4271
|
export const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
@@ -4353,7 +4449,6 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4353
4449
|
export * from "libs/reach/ui/common/src/common/FloatingActionButton";
|
|
4354
4450
|
export * from "libs/reach/ui/common/src/common/FormattedMessageWithStyle";
|
|
4355
4451
|
export * from "libs/reach/ui/common/src/common/GroupedByDateTitles";
|
|
4356
|
-
export * from "libs/reach/ui/common/src/common/IconHeaderButton";
|
|
4357
4452
|
export * from "libs/reach/ui/common/src/common/IconLabel";
|
|
4358
4453
|
export * from "libs/reach/ui/common/src/common/ItemStatisticsCache";
|
|
4359
4454
|
export * from "libs/reach/ui/common/src/common/KeywordTitle";
|
|
@@ -4384,6 +4479,9 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4384
4479
|
export * from "libs/reach/ui/common/src/common/buttons/DeleteAttachmentButton";
|
|
4385
4480
|
export * from "libs/reach/ui/common/src/common/buttons/ToggleAllButtons";
|
|
4386
4481
|
export * from "libs/reach/ui/common/src/common/buttons/TopActionButton";
|
|
4482
|
+
export * from "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler";
|
|
4483
|
+
export * from "libs/reach/ui/common/src/common/buttons/IconHeaderButton";
|
|
4484
|
+
export * from "libs/reach/ui/common/src/common/buttons/HeaderMenuButton";
|
|
4387
4485
|
export * from "libs/reach/ui/common/src/common/channels/ChannelItem";
|
|
4388
4486
|
export * from "libs/reach/ui/common/src/common/channels/ChannelList";
|
|
4389
4487
|
export * from "libs/reach/ui/common/src/common/channels/ChannelSelector";
|
|
@@ -4412,6 +4510,8 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4412
4510
|
export * from "libs/reach/ui/common/src/common/paging/HorizontalPager";
|
|
4413
4511
|
export * from "libs/reach/ui/common/src/common/paging/VerticalPager";
|
|
4414
4512
|
export * from "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch";
|
|
4513
|
+
export * from "libs/reach/ui/common/src/common/paging/PaginationStatus";
|
|
4514
|
+
export * from "libs/reach/ui/common/src/common/paging/usePageScrollPagination";
|
|
4415
4515
|
export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
|
|
4416
4516
|
export * from "libs/reach/ui/common/src/common/refreshScripts";
|
|
4417
4517
|
export * from "libs/reach/ui/common/src/common/toolbar/Toolbar";
|
|
@@ -4492,10 +4592,10 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4492
4592
|
export function useEscapeOnClose(onClose: Function): void;
|
|
4493
4593
|
}
|
|
4494
4594
|
declare module "apps/reach-app/src/app/chrome/Header" {
|
|
4495
|
-
import { FC, ReactNode } from 'react';
|
|
4595
|
+
import { FC, Dispatch, SetStateAction, ReactNode, HTMLProps } from 'react';
|
|
4496
4596
|
import './Header.scss';
|
|
4497
4597
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
4498
|
-
interface Props extends
|
|
4598
|
+
interface Props extends HTMLProps<HTMLElement>, SearchBoxProps {
|
|
4499
4599
|
iconLeft?: string;
|
|
4500
4600
|
onToggleLeft?: () => void;
|
|
4501
4601
|
onToggleRight?: () => void;
|
|
@@ -4511,6 +4611,14 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
4511
4611
|
disableGoBack?: boolean;
|
|
4512
4612
|
route?: string;
|
|
4513
4613
|
}
|
|
4614
|
+
export interface HeaderContextType {
|
|
4615
|
+
setIsSearchInputFieldVisible: Dispatch<SetStateAction<boolean>>;
|
|
4616
|
+
isSearchInputFieldVisible: boolean;
|
|
4617
|
+
}
|
|
4618
|
+
export const HeaderContext: import("react").Context<HeaderContextType>;
|
|
4619
|
+
export const HeaderContextProvider: FC<{
|
|
4620
|
+
children: ReactNode;
|
|
4621
|
+
}>;
|
|
4514
4622
|
export const Header: FC<Props>;
|
|
4515
4623
|
}
|
|
4516
4624
|
declare module "apps/reach-app/src/app/chrome/FloatingPageActions" {
|
|
@@ -4625,17 +4733,19 @@ declare module "apps/reach-app/src/app/admin/AddButton" {
|
|
|
4625
4733
|
icon?: string;
|
|
4626
4734
|
tooltipResourceKey?: string;
|
|
4627
4735
|
labelResourceKey?: string;
|
|
4736
|
+
domIdentifier?: string;
|
|
4628
4737
|
className?: string;
|
|
4629
4738
|
}
|
|
4630
4739
|
export const AddButton: FC<AddButtonProps>;
|
|
4631
4740
|
}
|
|
4632
4741
|
declare module "apps/reach-app/src/app/admin/common" {
|
|
4633
|
-
|
|
4634
|
-
|
|
4742
|
+
import { FC, ReactNode } from 'react';
|
|
4743
|
+
export const AdminPage: FC<{
|
|
4744
|
+
children: ReactNode;
|
|
4635
4745
|
className?: string;
|
|
4636
4746
|
domIdentifier?: string;
|
|
4637
4747
|
}>;
|
|
4638
|
-
export const
|
|
4748
|
+
export const AdminPageTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
|
|
4639
4749
|
}
|
|
4640
4750
|
declare module "apps/reach-app/src/app/admin/keywords/useKeywordsApi" {
|
|
4641
4751
|
import { KeywordGroup } from "libs/reach/util/common/src/index";
|
|
@@ -4667,7 +4777,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
|
|
|
4667
4777
|
}
|
|
4668
4778
|
declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
4669
4779
|
import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
|
|
4670
|
-
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions } from "libs/reach/util/common/src/index";
|
|
4780
|
+
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult, Theme, TermsAndConditions, LogoSize } from "libs/reach/util/common/src/index";
|
|
4671
4781
|
import { Account } from "libs/reach/util/common/src/index";
|
|
4672
4782
|
import { Language } from "libs/reach/util/common/src/index";
|
|
4673
4783
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -4682,7 +4792,7 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
4682
4792
|
setSubscriptionName: (name: string) => Promise<string>;
|
|
4683
4793
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
4684
4794
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
4685
|
-
updateLogo: (file?: File) => Promise<void>;
|
|
4795
|
+
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
4686
4796
|
updateFavicon: (file?: File) => Promise<void>;
|
|
4687
4797
|
updateAudience: (audience: ReadonlyArray<Audience>) => Promise<Audience[]>;
|
|
4688
4798
|
linkDirectory: (verificationHash: string) => Promise<LinkDirectoryResult>;
|
|
@@ -4731,6 +4841,32 @@ declare module "apps/reach-app/src/app/admin/customization/ApplicationName" {
|
|
|
4731
4841
|
import './ApplicationName.scss';
|
|
4732
4842
|
export const ApplicationName: FC;
|
|
4733
4843
|
}
|
|
4844
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreview" {
|
|
4845
|
+
import { FC } from 'react';
|
|
4846
|
+
export const LogoPreview: FC<{
|
|
4847
|
+
src: string;
|
|
4848
|
+
subscriptionName: string;
|
|
4849
|
+
domIdentifier: string;
|
|
4850
|
+
}>;
|
|
4851
|
+
}
|
|
4852
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoPreviewDialog" {
|
|
4853
|
+
import { FC } from 'react';
|
|
4854
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
4855
|
+
export const LogoPreviewDialog: FC<{
|
|
4856
|
+
canSave: boolean;
|
|
4857
|
+
onDismiss: () => unknown;
|
|
4858
|
+
onSave: (logoSize: LogoSize) => unknown;
|
|
4859
|
+
source: string;
|
|
4860
|
+
logoType: LogoSize;
|
|
4861
|
+
}>;
|
|
4862
|
+
}
|
|
4863
|
+
declare module "apps/reach-app/src/app/admin/customization/LogoEditor" {
|
|
4864
|
+
import { FC } from 'react';
|
|
4865
|
+
import { LogoSize } from "libs/reach/util/common/src/index";
|
|
4866
|
+
export const LogoEditor: FC<{
|
|
4867
|
+
logoType: LogoSize;
|
|
4868
|
+
}>;
|
|
4869
|
+
}
|
|
4734
4870
|
declare module "apps/reach-app/src/app/admin/customization/ApplicationLogo" {
|
|
4735
4871
|
import { FC } from 'react';
|
|
4736
4872
|
export const ApplicationLogo: FC;
|
|
@@ -5492,6 +5628,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
|
|
|
5492
5628
|
}
|
|
5493
5629
|
export const GoToAdminConsentButton: React.FC<Props>;
|
|
5494
5630
|
}
|
|
5631
|
+
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
5632
|
+
import { IntlShape } from 'react-intl';
|
|
5633
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
5634
|
+
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
5635
|
+
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
5636
|
+
export const systemAccountGroupIds: {
|
|
5637
|
+
everyone: string;
|
|
5638
|
+
directoryUsers: string;
|
|
5639
|
+
nonDirectoryUsers: string;
|
|
5640
|
+
allGroups: string[];
|
|
5641
|
+
};
|
|
5642
|
+
export function getDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5643
|
+
export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5644
|
+
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
5645
|
+
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
5646
|
+
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
5647
|
+
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
5648
|
+
export const isAdGroup: (account: Account) => boolean;
|
|
5649
|
+
export const isUser: (account: Account) => boolean;
|
|
5650
|
+
}
|
|
5495
5651
|
declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
|
|
5496
5652
|
import { FC } from 'react';
|
|
5497
5653
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -5866,12 +6022,11 @@ declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
|
5866
6022
|
}>;
|
|
5867
6023
|
}
|
|
5868
6024
|
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
5869
|
-
import
|
|
6025
|
+
import { FC, ReactNode } from 'react';
|
|
6026
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
5870
6027
|
import './SidebarItem.scss';
|
|
5871
6028
|
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
5872
6029
|
import { LocationDescriptor } from 'history';
|
|
5873
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
5874
|
-
import { ReactNode } from 'react';
|
|
5875
6030
|
interface CommonSidebarItemProps {
|
|
5876
6031
|
title?: any;
|
|
5877
6032
|
titleResource?: string;
|
|
@@ -5904,13 +6059,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5904
6059
|
secondaryIconRoute?: LocationDescriptor;
|
|
5905
6060
|
isHoverable?: boolean;
|
|
5906
6061
|
}
|
|
5907
|
-
export const SidebarItem:
|
|
6062
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
5908
6063
|
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
5909
|
-
route:
|
|
6064
|
+
route: LocationDescriptor;
|
|
5910
6065
|
exact?: boolean;
|
|
5911
6066
|
linkClassName?: string;
|
|
5912
6067
|
}
|
|
5913
|
-
export const NavLinkSidebarItem:
|
|
6068
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
5914
6069
|
}
|
|
5915
6070
|
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
5916
6071
|
import { WrappedComponentProps } from 'react-intl';
|
|
@@ -6003,24 +6158,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
|
6003
6158
|
import { FC } from 'react';
|
|
6004
6159
|
export const GroupListPage: FC;
|
|
6005
6160
|
}
|
|
6006
|
-
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
6007
|
-
import { IntlShape } from 'react-intl';
|
|
6008
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
6009
|
-
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
6010
|
-
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
6011
|
-
export const systemAccountGroupIds: {
|
|
6012
|
-
everyone: string;
|
|
6013
|
-
directoryUsers: string;
|
|
6014
|
-
nonDirectoryUsers: string;
|
|
6015
|
-
allGroups: string[];
|
|
6016
|
-
};
|
|
6017
|
-
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
6018
|
-
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
6019
|
-
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
6020
|
-
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
6021
|
-
export const isAdGroup: (account: Account) => boolean;
|
|
6022
|
-
export const isUser: (account: Account) => boolean;
|
|
6023
|
-
}
|
|
6024
6161
|
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
6025
6162
|
import { FC } from 'react';
|
|
6026
6163
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -6265,6 +6402,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6265
6402
|
private static vimeoRegex;
|
|
6266
6403
|
private static microsoftStreamRegex;
|
|
6267
6404
|
private static vimeoDirectLinkRegex;
|
|
6405
|
+
private static vimeoRedirectLinkRegex;
|
|
6268
6406
|
private static kalturaRegex;
|
|
6269
6407
|
readonly source: VideoSource | null;
|
|
6270
6408
|
readonly id: string | null;
|
|
@@ -6272,9 +6410,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6272
6410
|
readonly videoProperties: any;
|
|
6273
6411
|
readonly thumbnailUrl: string;
|
|
6274
6412
|
constructor(url: string);
|
|
6275
|
-
isValid(): boolean;
|
|
6413
|
+
isValid(features?: any): boolean;
|
|
6276
6414
|
}
|
|
6415
|
+
export function getVideoSources(features: any): any[];
|
|
6277
6416
|
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6417
|
+
export function getAllVideoSources(features: any): any[];
|
|
6278
6418
|
}
|
|
6279
6419
|
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6280
6420
|
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
@@ -6302,9 +6442,9 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
|
6302
6442
|
}
|
|
6303
6443
|
}
|
|
6304
6444
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
6305
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6445
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6306
6446
|
export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
|
|
6307
|
-
keywords?:
|
|
6447
|
+
keywords?: FilterWithLogicalOperator;
|
|
6308
6448
|
}
|
|
6309
6449
|
}
|
|
6310
6450
|
declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
|
|
@@ -6329,6 +6469,14 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6329
6469
|
export interface IndexableFilterDefinition {
|
|
6330
6470
|
[key: string]: any;
|
|
6331
6471
|
}
|
|
6472
|
+
export interface FilterWithLogicalOperator {
|
|
6473
|
+
items?: string[];
|
|
6474
|
+
operator?: LogicalOperator;
|
|
6475
|
+
}
|
|
6476
|
+
export enum LogicalOperator {
|
|
6477
|
+
Or = "or",
|
|
6478
|
+
And = "and"
|
|
6479
|
+
}
|
|
6332
6480
|
}
|
|
6333
6481
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6334
6482
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
@@ -6351,12 +6499,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
|
|
|
6351
6499
|
contacts?: string[];
|
|
6352
6500
|
}
|
|
6353
6501
|
}
|
|
6502
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6503
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6504
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6505
|
+
channels?: FilterWithLogicalOperator;
|
|
6506
|
+
}
|
|
6507
|
+
}
|
|
6354
6508
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6355
6509
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6356
6510
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6357
6511
|
import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6358
6512
|
import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6359
|
-
|
|
6513
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6514
|
+
export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
|
|
6360
6515
|
excludePastEvents?: boolean;
|
|
6361
6516
|
pastEventsOnly?: boolean;
|
|
6362
6517
|
}
|
|
@@ -6367,26 +6522,19 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6367
6522
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6368
6523
|
export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6369
6524
|
}
|
|
6370
|
-
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6371
|
-
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6372
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6373
|
-
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6374
|
-
export function useEventsApi(): {
|
|
6375
|
-
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6376
|
-
getEvent: (id: string) => Promise<EventItem>;
|
|
6377
|
-
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6378
|
-
};
|
|
6379
|
-
}
|
|
6380
6525
|
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6381
6526
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6382
6527
|
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6383
6528
|
author?: string;
|
|
6384
6529
|
}
|
|
6385
6530
|
}
|
|
6386
|
-
declare module "libs/reach/feature/content/src/filter/
|
|
6531
|
+
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6387
6532
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6388
|
-
export interface
|
|
6389
|
-
|
|
6533
|
+
export interface FilteringProps {
|
|
6534
|
+
onFilterChange?: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6535
|
+
onShowFilterPanel?: () => unknown;
|
|
6536
|
+
onToggleFilterSidebar?: () => unknown;
|
|
6537
|
+
isFilterActive?: boolean;
|
|
6390
6538
|
}
|
|
6391
6539
|
}
|
|
6392
6540
|
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
@@ -6404,8 +6552,98 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6404
6552
|
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
6405
6553
|
groupId?: string;
|
|
6406
6554
|
bookmarksOnly?: boolean;
|
|
6555
|
+
unreadOnly?: boolean;
|
|
6556
|
+
}
|
|
6557
|
+
}
|
|
6558
|
+
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
6559
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6560
|
+
export enum ItemType {
|
|
6561
|
+
None = 0,
|
|
6562
|
+
News = 1,
|
|
6563
|
+
Post = 2,
|
|
6564
|
+
Page = 4,
|
|
6565
|
+
Event = 8
|
|
6566
|
+
}
|
|
6567
|
+
export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
|
|
6568
|
+
itemType?: ItemType;
|
|
6569
|
+
}
|
|
6570
|
+
}
|
|
6571
|
+
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
6572
|
+
import { FC } from 'react';
|
|
6573
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6574
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
6575
|
+
export interface InjectedFilterProps {
|
|
6576
|
+
filter: IndexableFilterDefinition;
|
|
6577
|
+
hasFilter: boolean;
|
|
6578
|
+
isSearchActive: boolean;
|
|
6579
|
+
onFilterChange: (filter: Partial<IndexableFilterDefinition>) => void;
|
|
6580
|
+
onSearchChange: (text: string) => void;
|
|
6581
|
+
onClearFilter: () => void;
|
|
6582
|
+
}
|
|
6583
|
+
export function useFilter<TQueryString extends Object = any>(addFilters?: (routeParams: any, user: CurrentUser) => Partial<IndexableFilterDefinition>, onClearQueryString?: (prev: TQueryString, next: TQueryString) => TQueryString, additionalExcludedFilterProperties?: string[]): {
|
|
6584
|
+
filter: Partial<IndexableFilterDefinition>;
|
|
6585
|
+
hasFilter: boolean;
|
|
6586
|
+
isSearchActive: boolean;
|
|
6587
|
+
onFilterChange: (newFilter: Partial<IndexableFilterDefinition> | null) => void;
|
|
6588
|
+
onSearchChange: (search: string) => void;
|
|
6589
|
+
onClearFilter: () => void;
|
|
6590
|
+
};
|
|
6591
|
+
export const FilterContext: import("react").Context<InjectedFilterProps>;
|
|
6592
|
+
export const FilterContextProvider: FC<{
|
|
6593
|
+
addFilters?: (locationParams: {
|
|
6594
|
+
[paramName: string]: any;
|
|
6595
|
+
}, user: CurrentUser) => IndexableFilterDefinition;
|
|
6596
|
+
additionalExcludedFilterProperties?: string[];
|
|
6597
|
+
onClearQueryString?: (prev: any, next: any) => any;
|
|
6598
|
+
}>;
|
|
6599
|
+
export interface FilterVisibilityState {
|
|
6600
|
+
showFilterAsPanel?: boolean;
|
|
6601
|
+
showFilterSidebar?: boolean;
|
|
6407
6602
|
}
|
|
6408
6603
|
}
|
|
6604
|
+
declare module "libs/reach/feature/content/src/filter/index" {
|
|
6605
|
+
export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6606
|
+
export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6607
|
+
export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6608
|
+
export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6609
|
+
export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6610
|
+
export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6611
|
+
export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6612
|
+
export * from "libs/reach/feature/content/src/filter/FilteringProps";
|
|
6613
|
+
export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6614
|
+
export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6615
|
+
export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
|
|
6616
|
+
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6617
|
+
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6618
|
+
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6619
|
+
export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
|
|
6620
|
+
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
6621
|
+
export * from "libs/reach/feature/content/src/filter/utils";
|
|
6622
|
+
}
|
|
6623
|
+
declare module "libs/reach/feature/content/src/filter/utils" {
|
|
6624
|
+
import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
6625
|
+
export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
|
|
6626
|
+
channels?: undefined;
|
|
6627
|
+
} | {
|
|
6628
|
+
channels: string;
|
|
6629
|
+
};
|
|
6630
|
+
export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
|
|
6631
|
+
keywords?: undefined;
|
|
6632
|
+
} | {
|
|
6633
|
+
keywords: string;
|
|
6634
|
+
};
|
|
6635
|
+
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
6636
|
+
}
|
|
6637
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6638
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6639
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6640
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
6641
|
+
export function useEventsApi(): {
|
|
6642
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
6643
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
6644
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
6645
|
+
};
|
|
6646
|
+
}
|
|
6409
6647
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
6410
6648
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
6411
6649
|
import { Observable } from 'rxjs';
|
|
@@ -6495,6 +6733,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6495
6733
|
import { Account, BaseItem, CurrentUser, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
6496
6734
|
import { Comment, ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
6497
6735
|
import { ItemStatistics } from "libs/reach/util/common/src/index";
|
|
6736
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6498
6737
|
export interface Post extends BaseItem, ItemWithAttachments {
|
|
6499
6738
|
id: string;
|
|
6500
6739
|
comments?: PaginatedList<Comment>;
|
|
@@ -6517,6 +6756,7 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
6517
6756
|
token?: string;
|
|
6518
6757
|
pageSize?: string;
|
|
6519
6758
|
search?: string;
|
|
6759
|
+
keywords?: FilterWithLogicalOperator;
|
|
6520
6760
|
}
|
|
6521
6761
|
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
6522
6762
|
export function getPostsBaseRoute(post: Post, user: CurrentUser): string;
|
|
@@ -6619,7 +6859,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
6619
6859
|
private getVideoElement;
|
|
6620
6860
|
private getNotSupportedElement;
|
|
6621
6861
|
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
6622
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "
|
|
6862
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
6623
6863
|
}
|
|
6624
6864
|
}
|
|
6625
6865
|
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
@@ -6701,6 +6941,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
6701
6941
|
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
6702
6942
|
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
6703
6943
|
export class NewsService {
|
|
6944
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6704
6945
|
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6705
6946
|
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
6706
6947
|
static getContentLanguages(contents: {
|
|
@@ -6808,12 +7049,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
6808
7049
|
}
|
|
6809
7050
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
6810
7051
|
import { FC } from 'react';
|
|
6811
|
-
import { BannerInfo } from "libs/reach/util/common/src/index";
|
|
6812
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7052
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6813
7053
|
interface Props {
|
|
6814
7054
|
itemId: string;
|
|
6815
7055
|
bannerInfo: BannerInfo;
|
|
6816
|
-
|
|
7056
|
+
useEditorRoutes?: boolean;
|
|
6817
7057
|
width: number;
|
|
6818
7058
|
resourceType: ItemResourceTypes;
|
|
6819
7059
|
token?: string;
|
|
@@ -7244,7 +7484,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7244
7484
|
updateSelectedLanguage: (lang: string) => unknown;
|
|
7245
7485
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7246
7486
|
handleLanguageChange: (language: string) => unknown;
|
|
7247
|
-
|
|
7487
|
+
isEditorPreview?: boolean;
|
|
7248
7488
|
}
|
|
7249
7489
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7250
7490
|
}
|
|
@@ -7796,34 +8036,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
7796
8036
|
}>;
|
|
7797
8037
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
7798
8038
|
}
|
|
7799
|
-
declare module "libs/reach/feature/content/src/
|
|
7800
|
-
import { FC, ReactNode } from 'react';
|
|
7801
|
-
export const GutterMarkerIcon: FC<{
|
|
7802
|
-
iconName: string;
|
|
7803
|
-
children: ReactNode;
|
|
7804
|
-
isActive: boolean;
|
|
7805
|
-
color: string;
|
|
7806
|
-
tooltipResourceKey?: string;
|
|
7807
|
-
className?: string;
|
|
7808
|
-
}>;
|
|
7809
|
-
}
|
|
7810
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
8039
|
+
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
7811
8040
|
import { FC } from 'react';
|
|
7812
|
-
|
|
8041
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8042
|
+
export const DetailViewContextProvider: FC<{
|
|
8043
|
+
itemId: string;
|
|
8044
|
+
type?: ItemResourceTypes;
|
|
8045
|
+
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8046
|
+
isEditorPreview?: boolean;
|
|
8047
|
+
}>;
|
|
7813
8048
|
}
|
|
7814
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7815
|
-
import {
|
|
7816
|
-
export
|
|
8049
|
+
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8050
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8051
|
+
export interface EmbeddedObjectPreviewData {
|
|
8052
|
+
itemId: string;
|
|
8053
|
+
type: string;
|
|
8054
|
+
subscriptionIdentifier: string;
|
|
8055
|
+
}
|
|
8056
|
+
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
7817
8057
|
}
|
|
7818
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7819
|
-
import {
|
|
7820
|
-
export const
|
|
8058
|
+
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
8059
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8060
|
+
export const InlineImageMapper: HtmlComponentMapper;
|
|
7821
8061
|
}
|
|
7822
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7823
|
-
import {
|
|
7824
|
-
export
|
|
7825
|
-
|
|
7826
|
-
|
|
8062
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
8063
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8064
|
+
export interface ContactDetails {
|
|
8065
|
+
id: string;
|
|
8066
|
+
upn?: string;
|
|
8067
|
+
tenantId?: string;
|
|
8068
|
+
properties?: {
|
|
8069
|
+
[key: string]: {
|
|
8070
|
+
value: string;
|
|
8071
|
+
shouldAutoLoad?: boolean;
|
|
8072
|
+
};
|
|
8073
|
+
};
|
|
8074
|
+
}
|
|
8075
|
+
export const InlineContactMapper: HtmlComponentMapper;
|
|
8076
|
+
}
|
|
8077
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
|
|
8078
|
+
import { FC } from 'react';
|
|
8079
|
+
import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8080
|
+
export const InlineContactViewer: FC<{
|
|
8081
|
+
contact: ContactDetails;
|
|
7827
8082
|
}>;
|
|
7828
8083
|
}
|
|
7829
8084
|
declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
|
|
@@ -7849,6 +8104,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
|
|
|
7849
8104
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7850
8105
|
export const InlineQuoteMapper: HtmlComponentMapper;
|
|
7851
8106
|
}
|
|
8107
|
+
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
8108
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8109
|
+
export const InlineVideoMapper: HtmlComponentMapper;
|
|
8110
|
+
}
|
|
8111
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
8112
|
+
import { FC } from 'react';
|
|
8113
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8114
|
+
export const InlinePageListViewer: FC<{
|
|
8115
|
+
items: PageItem[];
|
|
8116
|
+
baseRoute: string;
|
|
8117
|
+
filterBaseUrl?: string;
|
|
8118
|
+
isInitialLoading?: boolean;
|
|
8119
|
+
}>;
|
|
8120
|
+
}
|
|
8121
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
8122
|
+
import { FC } from 'react';
|
|
8123
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8124
|
+
export interface ListPagingProps {
|
|
8125
|
+
getNextPage: () => unknown;
|
|
8126
|
+
getPrevPage: () => unknown;
|
|
8127
|
+
getFirstPage: () => unknown;
|
|
8128
|
+
isLoadingNextPage: boolean;
|
|
8129
|
+
isInitialLoading: boolean;
|
|
8130
|
+
isFirstPage: boolean;
|
|
8131
|
+
hideNextButton: boolean;
|
|
8132
|
+
}
|
|
8133
|
+
export const InlinePageListWithPaging: FC<{
|
|
8134
|
+
pages: PageItem[];
|
|
8135
|
+
baseRoute: string;
|
|
8136
|
+
pagingProps?: ListPagingProps;
|
|
8137
|
+
filterBaseUrl?: string;
|
|
8138
|
+
}>;
|
|
8139
|
+
}
|
|
8140
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8141
|
+
import { DependencyList } from 'react';
|
|
8142
|
+
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8143
|
+
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8144
|
+
showPages: boolean;
|
|
8145
|
+
showDocuments: boolean;
|
|
8146
|
+
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8147
|
+
pageItems: any[];
|
|
8148
|
+
pagingProps: {
|
|
8149
|
+
hideNextButton: boolean;
|
|
8150
|
+
isInitialLoading: boolean;
|
|
8151
|
+
isLoadingNextPage: boolean;
|
|
8152
|
+
error: any;
|
|
8153
|
+
getFirstPage: () => void;
|
|
8154
|
+
getPrevPage: () => void;
|
|
8155
|
+
getNextPage: () => Promise<void>;
|
|
8156
|
+
isFirstPage: boolean;
|
|
8157
|
+
isLastPage: boolean;
|
|
8158
|
+
isEmpty: boolean;
|
|
8159
|
+
};
|
|
8160
|
+
};
|
|
8161
|
+
}
|
|
8162
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8163
|
+
import { FC } from 'react';
|
|
8164
|
+
export const InlinePageListSkeleton: FC<{
|
|
8165
|
+
isDataLoaded: boolean;
|
|
8166
|
+
pageSize?: number;
|
|
8167
|
+
}>;
|
|
8168
|
+
}
|
|
7852
8169
|
declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
|
|
7853
8170
|
export interface CodeDetails {
|
|
7854
8171
|
id: string;
|
|
@@ -7870,20 +8187,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
|
|
|
7870
8187
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7871
8188
|
export const InlineCodeMapper: HtmlComponentMapper;
|
|
7872
8189
|
}
|
|
7873
|
-
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
7874
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7875
|
-
export const InlineVideoMapper: HtmlComponentMapper;
|
|
7876
|
-
}
|
|
7877
|
-
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
7878
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7879
|
-
export const InlineImageMapper: HtmlComponentMapper;
|
|
7880
|
-
}
|
|
7881
|
-
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
7882
|
-
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
7883
|
-
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
7884
|
-
format: TableFormat;
|
|
7885
|
-
}, never>;
|
|
7886
|
-
}
|
|
7887
8190
|
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
7888
8191
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7889
8192
|
import { CSSProperties } from 'react';
|
|
@@ -7924,234 +8227,91 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
|
7924
8227
|
export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
|
|
7925
8228
|
export const InlineTable: HtmlComponentMapper;
|
|
7926
8229
|
}
|
|
7927
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7928
|
-
import {
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
8230
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
8231
|
+
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8232
|
+
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
8233
|
+
format: TableFormat;
|
|
8234
|
+
}, never>;
|
|
8235
|
+
}
|
|
8236
|
+
declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
8237
|
+
import { FC, ReactNode } from 'react';
|
|
8238
|
+
export const ItemBodyWrapper: FC<{
|
|
8239
|
+
className?: string;
|
|
8240
|
+
children?: ReactNode;
|
|
7932
8241
|
}>;
|
|
7933
8242
|
}
|
|
7934
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7935
|
-
import {
|
|
7936
|
-
export
|
|
7937
|
-
id: string;
|
|
7938
|
-
upn?: string;
|
|
7939
|
-
tenantId?: string;
|
|
7940
|
-
properties?: {
|
|
7941
|
-
[key: string]: {
|
|
7942
|
-
value: string;
|
|
7943
|
-
shouldAutoLoad?: boolean;
|
|
7944
|
-
};
|
|
7945
|
-
};
|
|
7946
|
-
}
|
|
7947
|
-
export const InlineContactMapper: HtmlComponentMapper;
|
|
8243
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8244
|
+
import { FC } from 'react';
|
|
8245
|
+
export const EventDetailViewPeopleInfo: FC;
|
|
7948
8246
|
}
|
|
7949
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8247
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
7950
8248
|
import { FC } from 'react';
|
|
7951
|
-
|
|
7952
|
-
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
8249
|
+
export const EventDetailViewLocationInfo: FC;
|
|
8250
|
+
}
|
|
8251
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
8252
|
+
import { FC } from 'react';
|
|
8253
|
+
export const EventDetailViewMetaInfo: FC<{
|
|
8254
|
+
allowFilterByChannels?: boolean;
|
|
7957
8255
|
}>;
|
|
7958
8256
|
}
|
|
7959
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8257
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
7960
8258
|
import { FC } from 'react';
|
|
7961
|
-
|
|
7962
|
-
|
|
7963
|
-
getNextPage: () => unknown;
|
|
7964
|
-
getPrevPage: () => unknown;
|
|
7965
|
-
getFirstPage: () => unknown;
|
|
7966
|
-
isLoadingNextPage: boolean;
|
|
7967
|
-
isInitialLoading: boolean;
|
|
7968
|
-
isFirstPage: boolean;
|
|
7969
|
-
hideNextButton: boolean;
|
|
7970
|
-
}
|
|
7971
|
-
export const InlinePageListWithPaging: FC<{
|
|
7972
|
-
pages: PageItem[];
|
|
7973
|
-
baseRoute: string;
|
|
7974
|
-
pagingProps?: ListPagingProps;
|
|
7975
|
-
filterBaseUrl?: string;
|
|
8259
|
+
export const EventDetailViewDatesInfo: FC<{
|
|
8260
|
+
className?: string;
|
|
7976
8261
|
}>;
|
|
7977
8262
|
}
|
|
7978
|
-
declare module "libs/reach/feature/content/src/
|
|
7979
|
-
import {
|
|
7980
|
-
|
|
8263
|
+
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8264
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8265
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8266
|
+
import { PollQuestion, PollQuestionAnswer, PollResult, QuestionResult } from "libs/reach/util/common/src/index";
|
|
8267
|
+
export interface PollUserContextType {
|
|
8268
|
+
item: PublishableItem;
|
|
8269
|
+
resourceType: ItemResourceTypes;
|
|
8270
|
+
questions: PollQuestion[];
|
|
8271
|
+
answers: PollQuestionAnswer[];
|
|
8272
|
+
addAnswer: (questionId: string, selectedChoiceIds: string[]) => unknown;
|
|
8273
|
+
setAnswers: (answers: PollQuestionAnswer[]) => unknown;
|
|
8274
|
+
hasMissingAnswers: boolean;
|
|
8275
|
+
hasMissingUnsavedAnswer: boolean;
|
|
8276
|
+
pollResult: PollResult;
|
|
8277
|
+
isLoadingPollResult: boolean;
|
|
8278
|
+
showResult: boolean;
|
|
8279
|
+
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
8280
|
+
getQuestionResult: (questionId: string) => QuestionResult;
|
|
8281
|
+
reset: () => Promise<void>;
|
|
8282
|
+
fetchPollResults: () => Promise<void>;
|
|
8283
|
+
onBehalfOfUpn: string;
|
|
8284
|
+
}
|
|
8285
|
+
export const PollUserContext: import("react").Context<PollUserContextType>;
|
|
7981
8286
|
}
|
|
7982
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8287
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollsSubmitButton" {
|
|
7983
8288
|
import { FC } from 'react';
|
|
7984
|
-
export const
|
|
7985
|
-
|
|
7986
|
-
pageSize?: number;
|
|
8289
|
+
export const DetailViewPollsSubmitButton: FC<{
|
|
8290
|
+
isReadOnly?: boolean;
|
|
7987
8291
|
}>;
|
|
7988
8292
|
}
|
|
7989
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8293
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewCsvExportButton" {
|
|
7990
8294
|
import { FC } from 'react';
|
|
7991
|
-
export const
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
8295
|
+
export const DetailViewCsvExportButton: FC<{
|
|
8296
|
+
path: string;
|
|
8297
|
+
stringResource: string;
|
|
8298
|
+
className?: string;
|
|
7995
8299
|
}>;
|
|
7996
8300
|
}
|
|
7997
|
-
declare module "libs/reach/feature/content/src/
|
|
7998
|
-
import { PageType } from "libs/reach/util/common/src/index";
|
|
7999
|
-
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
|
|
8000
|
-
}
|
|
8001
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
8301
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollExportButton" {
|
|
8002
8302
|
import { FC } from 'react';
|
|
8003
|
-
export const
|
|
8004
|
-
|
|
8005
|
-
showDocuments: boolean;
|
|
8006
|
-
showPages: boolean;
|
|
8303
|
+
export const DetailViewPollExportButton: FC<{
|
|
8304
|
+
className?: string;
|
|
8007
8305
|
}>;
|
|
8008
8306
|
}
|
|
8009
|
-
declare module "libs/reach/feature/content/src/
|
|
8010
|
-
import {
|
|
8011
|
-
|
|
8012
|
-
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8013
|
-
showPages: boolean;
|
|
8014
|
-
showDocuments: boolean;
|
|
8015
|
-
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8016
|
-
pageItems: any[];
|
|
8017
|
-
pagingProps: {
|
|
8018
|
-
hideNextButton: boolean;
|
|
8019
|
-
isInitialLoading: boolean;
|
|
8020
|
-
isLoadingNextPage: boolean;
|
|
8021
|
-
error: any;
|
|
8022
|
-
getFirstPage: () => void;
|
|
8023
|
-
getPrevPage: () => void;
|
|
8024
|
-
getNextPage: () => Promise<void>;
|
|
8025
|
-
isFirstPage: boolean;
|
|
8026
|
-
isLastPage: boolean;
|
|
8027
|
-
isEmpty: boolean;
|
|
8028
|
-
};
|
|
8029
|
-
};
|
|
8307
|
+
declare module "libs/reach/feature/content/src/feedback/PollUserInput" {
|
|
8308
|
+
import { FC } from 'react';
|
|
8309
|
+
export const PollUserInput: FC;
|
|
8030
8310
|
}
|
|
8031
|
-
declare module "libs/reach/feature/content/src/
|
|
8311
|
+
declare module "libs/reach/feature/content/src/feedback/PollDisplay" {
|
|
8032
8312
|
import { FC } from 'react';
|
|
8033
|
-
|
|
8034
|
-
|
|
8035
|
-
blockProps?: PageListDetails;
|
|
8036
|
-
}>;
|
|
8037
|
-
}
|
|
8038
|
-
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
8039
|
-
import { FC } from 'react';
|
|
8040
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8041
|
-
export interface PageListDetails {
|
|
8042
|
-
id?: string;
|
|
8043
|
-
showChildren?: boolean;
|
|
8044
|
-
showDocuments?: boolean;
|
|
8045
|
-
showPages?: boolean;
|
|
8046
|
-
pageId?: string;
|
|
8047
|
-
keywords?: string;
|
|
8048
|
-
}
|
|
8049
|
-
export const InlinePageList: FC<{
|
|
8050
|
-
blockProps?: PageListDetails;
|
|
8051
|
-
}>;
|
|
8052
|
-
export const InlinePageListMapper: HtmlComponentMapper;
|
|
8053
|
-
}
|
|
8054
|
-
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
8055
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8056
|
-
export interface EmbeddedObjectPreviewData {
|
|
8057
|
-
itemId: string;
|
|
8058
|
-
type: string;
|
|
8059
|
-
subscriptionIdentifier: string;
|
|
8060
|
-
}
|
|
8061
|
-
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
8062
|
-
}
|
|
8063
|
-
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
8064
|
-
import { FC } from 'react';
|
|
8065
|
-
export const RichTextViewer: FC<{
|
|
8066
|
-
html: string;
|
|
8067
|
-
}>;
|
|
8068
|
-
}
|
|
8069
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
8070
|
-
import { FC } from 'react';
|
|
8071
|
-
export const DetailViewBody: FC;
|
|
8072
|
-
}
|
|
8073
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
8074
|
-
import { FC } from 'react';
|
|
8075
|
-
export const DetailViewKeywords: FC<{
|
|
8076
|
-
filterBaseUrl: string;
|
|
8077
|
-
}>;
|
|
8078
|
-
}
|
|
8079
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
8080
|
-
import { FC } from 'react';
|
|
8081
|
-
export const EventDetailViewDatesInfo: FC<{
|
|
8082
|
-
className?: string;
|
|
8083
|
-
}>;
|
|
8084
|
-
}
|
|
8085
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
8086
|
-
import { FC } from 'react';
|
|
8087
|
-
export const EventDetailViewPeopleInfo: FC;
|
|
8088
|
-
}
|
|
8089
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewLocationInfo" {
|
|
8090
|
-
import { FC } from 'react';
|
|
8091
|
-
export const EventDetailViewLocationInfo: FC;
|
|
8092
|
-
}
|
|
8093
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo" {
|
|
8094
|
-
import { FC } from 'react';
|
|
8095
|
-
export const EventDetailViewMetaInfo: FC<{
|
|
8096
|
-
allowFilterByChannels?: boolean;
|
|
8097
|
-
}>;
|
|
8098
|
-
}
|
|
8099
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8100
|
-
import { FC } from 'react';
|
|
8101
|
-
export const EventDetailViewCancelInformation: FC;
|
|
8102
|
-
}
|
|
8103
|
-
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8104
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8105
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8106
|
-
import { PollQuestion, PollQuestionAnswer, PollResult, QuestionResult } from "libs/reach/util/common/src/index";
|
|
8107
|
-
export interface PollUserContextType {
|
|
8108
|
-
item: PublishableItem;
|
|
8109
|
-
resourceType: ItemResourceTypes;
|
|
8110
|
-
questions: PollQuestion[];
|
|
8111
|
-
answers: PollQuestionAnswer[];
|
|
8112
|
-
addAnswer: (questionId: string, selectedChoiceIds: string[]) => unknown;
|
|
8113
|
-
setAnswers: (answers: PollQuestionAnswer[]) => unknown;
|
|
8114
|
-
hasMissingAnswers: boolean;
|
|
8115
|
-
hasMissingUnsavedAnswer: boolean;
|
|
8116
|
-
pollResult: PollResult;
|
|
8117
|
-
isLoadingPollResult: boolean;
|
|
8118
|
-
showResult: boolean;
|
|
8119
|
-
submitPoll: (savePollAnswers: () => Promise<unknown>) => Promise<unknown>;
|
|
8120
|
-
getQuestionResult: (questionId: string) => QuestionResult;
|
|
8121
|
-
reset: () => Promise<void>;
|
|
8122
|
-
fetchPollResults: () => Promise<void>;
|
|
8123
|
-
onBehalfOfUpn: string;
|
|
8124
|
-
}
|
|
8125
|
-
export const PollUserContext: import("react").Context<PollUserContextType>;
|
|
8126
|
-
}
|
|
8127
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollsSubmitButton" {
|
|
8128
|
-
import { FC } from 'react';
|
|
8129
|
-
export const DetailViewPollsSubmitButton: FC<{
|
|
8130
|
-
isReadOnly?: boolean;
|
|
8131
|
-
}>;
|
|
8132
|
-
}
|
|
8133
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewCsvExportButton" {
|
|
8134
|
-
import { FC } from 'react';
|
|
8135
|
-
export const DetailViewCsvExportButton: FC<{
|
|
8136
|
-
path: string;
|
|
8137
|
-
stringResource: string;
|
|
8138
|
-
className?: string;
|
|
8139
|
-
}>;
|
|
8140
|
-
}
|
|
8141
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPollExportButton" {
|
|
8142
|
-
import { FC } from 'react';
|
|
8143
|
-
export const DetailViewPollExportButton: FC<{
|
|
8144
|
-
className?: string;
|
|
8145
|
-
}>;
|
|
8146
|
-
}
|
|
8147
|
-
declare module "libs/reach/feature/content/src/feedback/PollUserInput" {
|
|
8148
|
-
import { FC } from 'react';
|
|
8149
|
-
export const PollUserInput: FC;
|
|
8150
|
-
}
|
|
8151
|
-
declare module "libs/reach/feature/content/src/feedback/PollDisplay" {
|
|
8152
|
-
import { FC } from 'react';
|
|
8153
|
-
export const PollDisplay: FC<{
|
|
8154
|
-
className?: string;
|
|
8313
|
+
export const PollDisplay: FC<{
|
|
8314
|
+
className?: string;
|
|
8155
8315
|
}>;
|
|
8156
8316
|
}
|
|
8157
8317
|
declare module "libs/reach/feature/content/src/feedback/PollUserContextProvider" {
|
|
@@ -8257,6 +8417,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8257
8417
|
import { FC } from 'react';
|
|
8258
8418
|
export const EventDetailViewRegistration: FC;
|
|
8259
8419
|
}
|
|
8420
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8421
|
+
import { FC } from 'react';
|
|
8422
|
+
export const EventDetailViewCancelInformation: FC;
|
|
8423
|
+
}
|
|
8260
8424
|
declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
8261
8425
|
import { FC } from 'react';
|
|
8262
8426
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
@@ -8512,92 +8676,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
|
|
|
8512
8676
|
eventItem: EventItem;
|
|
8513
8677
|
}>;
|
|
8514
8678
|
}
|
|
8515
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
8516
|
-
import { FC } from 'react';
|
|
8517
|
-
export const DetailViewPageViewTracker: FC;
|
|
8518
|
-
}
|
|
8519
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
8520
|
-
import { FC } from 'react';
|
|
8521
|
-
export const DetailViewIntro: FC;
|
|
8522
|
-
}
|
|
8523
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
8524
|
-
import { FC } from 'react';
|
|
8525
|
-
export const ConfirmationBox: FC<{
|
|
8526
|
-
disabled?: boolean;
|
|
8527
|
-
onChange?: (value: boolean) => void;
|
|
8528
|
-
checked: boolean;
|
|
8529
|
-
}>;
|
|
8530
|
-
}
|
|
8531
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
8532
|
-
import { FC } from 'react';
|
|
8533
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8534
|
-
export const ConfirmationSection: FC<{
|
|
8535
|
-
item?: NewsItem;
|
|
8536
|
-
showDescription: boolean;
|
|
8537
|
-
readOnly?: boolean;
|
|
8538
|
-
className?: string;
|
|
8539
|
-
}>;
|
|
8540
|
-
}
|
|
8541
|
-
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
8542
|
-
import { FC } from 'react';
|
|
8543
|
-
export const DetailViewConfirmations: FC;
|
|
8544
|
-
}
|
|
8545
|
-
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
8546
|
-
import { FC } from 'react';
|
|
8547
|
-
export const FeedbackButtonBookmark: FC<{
|
|
8548
|
-
isReadOnly?: boolean;
|
|
8549
|
-
}>;
|
|
8550
|
-
}
|
|
8551
|
-
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
8552
|
-
import { FC } from 'react';
|
|
8553
|
-
export const NewsDetailViewFeedbackSection: FC<{
|
|
8554
|
-
hideLikes?: boolean;
|
|
8555
|
-
hideComments?: boolean;
|
|
8556
|
-
hideProfileUrl?: boolean;
|
|
8557
|
-
disableLoginForPublicUser?: boolean;
|
|
8558
|
-
}>;
|
|
8559
|
-
}
|
|
8560
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
8561
|
-
import { FC } from 'react';
|
|
8562
|
-
export const DetailViewHeadline: FC;
|
|
8563
|
-
}
|
|
8564
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
8565
|
-
import { FC } from 'react';
|
|
8566
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8567
|
-
export const DetailViewBodyExternalContent: FC<{
|
|
8568
|
-
itemType: ItemResourceTypes;
|
|
8569
|
-
}>;
|
|
8570
|
-
}
|
|
8571
|
-
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
8572
|
-
import { FC } from 'react';
|
|
8573
|
-
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8574
|
-
export const DetailViewContextProvider: FC<{
|
|
8575
|
-
itemId: string;
|
|
8576
|
-
type?: ItemResourceTypes;
|
|
8577
|
-
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
8578
|
-
isReadOnly?: boolean;
|
|
8579
|
-
}>;
|
|
8580
|
-
}
|
|
8581
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8582
|
-
import { FC } from 'react';
|
|
8583
|
-
export const PageDetailViewFeedbackSection: FC<{
|
|
8584
|
-
hideLikes?: boolean;
|
|
8585
|
-
hideComments?: boolean;
|
|
8586
|
-
hideProfileUrl?: boolean;
|
|
8587
|
-
disableLoginForPublicUser?: boolean;
|
|
8588
|
-
}>;
|
|
8589
|
-
}
|
|
8590
|
-
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
8591
|
-
import { FC } from 'react';
|
|
8592
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8593
|
-
export const PageBreadcrumb: FC<{
|
|
8594
|
-
page: PageItem;
|
|
8595
|
-
target?: string;
|
|
8596
|
-
language?: string;
|
|
8597
|
-
hideCurrentPageNode?: boolean;
|
|
8598
|
-
className?: string;
|
|
8599
|
-
}>;
|
|
8600
|
-
}
|
|
8601
8679
|
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8602
8680
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8603
8681
|
interface DateInfoProps {
|
|
@@ -8637,77 +8715,39 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8637
8715
|
import { FC } from 'react';
|
|
8638
8716
|
export const PageDetailViewMetaInfo: FC;
|
|
8639
8717
|
}
|
|
8640
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/
|
|
8718
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8641
8719
|
import { FC } from 'react';
|
|
8720
|
+
export const PageDetailViewFeedbackSection: FC<{
|
|
8721
|
+
hideLikes?: boolean;
|
|
8722
|
+
hideComments?: boolean;
|
|
8723
|
+
hideProfileUrl?: boolean;
|
|
8724
|
+
disableLoginForPublicUser?: boolean;
|
|
8725
|
+
}>;
|
|
8726
|
+
}
|
|
8727
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
8642
8728
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8643
|
-
import
|
|
8644
|
-
export
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
|
|
8729
|
+
import * as H from 'history';
|
|
8730
|
+
export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
|
|
8731
|
+
showSearch: boolean;
|
|
8732
|
+
handleSearchTextChange: (searchText: string) => void;
|
|
8733
|
+
redirectToSearchPage: (searchText: string) => void;
|
|
8734
|
+
};
|
|
8735
|
+
}
|
|
8736
|
+
declare module "libs/reach/feature/content/src/pages/PageTocSearch" {
|
|
8737
|
+
import { FC } from 'react';
|
|
8738
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
8739
|
+
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8740
|
+
export const PageTocSearch: FC<{
|
|
8741
|
+
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8742
|
+
onSearchResultChange: (pages: PageNavigationNode[]) => unknown;
|
|
8649
8743
|
}>;
|
|
8650
8744
|
}
|
|
8651
|
-
declare module "libs/reach/feature/content/src/
|
|
8652
|
-
import {
|
|
8653
|
-
|
|
8654
|
-
interface Props {
|
|
8655
|
-
id: string;
|
|
8656
|
-
item: PublishableItem;
|
|
8657
|
-
itemResourceType: ItemResourceTypes;
|
|
8658
|
-
}
|
|
8659
|
-
export const CardBanner: React.FC<Props>;
|
|
8745
|
+
declare module "libs/reach/feature/content/src/pages/pageTocUtils" {
|
|
8746
|
+
import { PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8747
|
+
export function filterChildren(page: PageNavigationNode, activePage: PageNavigationNode): boolean;
|
|
8660
8748
|
}
|
|
8661
|
-
declare module "libs/reach/feature/content/src/
|
|
8662
|
-
import { FC,
|
|
8663
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8664
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8665
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8666
|
-
interface CardProps {
|
|
8667
|
-
item: PublishableItem;
|
|
8668
|
-
itemResourceType: ItemResourceTypes;
|
|
8669
|
-
additionalMetadata?: ReactNode;
|
|
8670
|
-
highlight?: boolean;
|
|
8671
|
-
className?: string;
|
|
8672
|
-
}
|
|
8673
|
-
export const Card: FC<CardProps>;
|
|
8674
|
-
export interface CardItem<TItem = PublishableItem> {
|
|
8675
|
-
item: TItem;
|
|
8676
|
-
language: string;
|
|
8677
|
-
}
|
|
8678
|
-
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8679
|
-
}
|
|
8680
|
-
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
8681
|
-
import { FC, ReactNode } from 'react';
|
|
8682
|
-
export const DetailViewNavigation: FC<{
|
|
8683
|
-
children?: ReactNode;
|
|
8684
|
-
callout?: ReactNode;
|
|
8685
|
-
}>;
|
|
8686
|
-
}
|
|
8687
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
8688
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8689
|
-
import * as H from 'history';
|
|
8690
|
-
export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
|
|
8691
|
-
showSearch: boolean;
|
|
8692
|
-
handleSearchTextChange: (searchText: string) => void;
|
|
8693
|
-
redirectToSearchPage: (searchText: string) => void;
|
|
8694
|
-
};
|
|
8695
|
-
}
|
|
8696
|
-
declare module "libs/reach/feature/content/src/pages/PageTocSearch" {
|
|
8697
|
-
import { FC } from 'react';
|
|
8698
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
8699
|
-
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8700
|
-
export const PageTocSearch: FC<{
|
|
8701
|
-
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8702
|
-
onSearchResultChange: (pages: PageNavigationNode[]) => unknown;
|
|
8703
|
-
}>;
|
|
8704
|
-
}
|
|
8705
|
-
declare module "libs/reach/feature/content/src/pages/pageTocUtils" {
|
|
8706
|
-
import { PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8707
|
-
export function filterChildren(page: PageNavigationNode, activePage: PageNavigationNode): boolean;
|
|
8708
|
-
}
|
|
8709
|
-
declare module "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton" {
|
|
8710
|
-
import { FC, MouseEvent } from 'react';
|
|
8749
|
+
declare module "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton" {
|
|
8750
|
+
import { FC, MouseEvent } from 'react';
|
|
8711
8751
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8712
8752
|
import { PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8713
8753
|
export const ExternalPagesLinkButton: FC<{
|
|
@@ -8790,6 +8830,104 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8790
8830
|
import { FC } from 'react';
|
|
8791
8831
|
export const PageDetailViewTableOfContentsButton: FC;
|
|
8792
8832
|
}
|
|
8833
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
8834
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
8835
|
+
export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
8836
|
+
}
|
|
8837
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
8838
|
+
import { FC } from 'react';
|
|
8839
|
+
export const InlinePageListByKeywords: FC<{
|
|
8840
|
+
keywords: string[];
|
|
8841
|
+
showDocuments?: boolean;
|
|
8842
|
+
showPages?: boolean;
|
|
8843
|
+
}>;
|
|
8844
|
+
}
|
|
8845
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
8846
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
8847
|
+
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
8848
|
+
}
|
|
8849
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
8850
|
+
import { FC } from 'react';
|
|
8851
|
+
export const InlinePageListByPageId: FC<{
|
|
8852
|
+
pageId: string;
|
|
8853
|
+
showDocuments: boolean;
|
|
8854
|
+
showPages: boolean;
|
|
8855
|
+
}>;
|
|
8856
|
+
}
|
|
8857
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
8858
|
+
import { FC } from 'react';
|
|
8859
|
+
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8860
|
+
export const InlinePageListByCurrentPage: FC<{
|
|
8861
|
+
blockProps?: PageListDetails;
|
|
8862
|
+
}>;
|
|
8863
|
+
}
|
|
8864
|
+
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
8865
|
+
import { FC } from 'react';
|
|
8866
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8867
|
+
export interface PageListDetails {
|
|
8868
|
+
id?: string;
|
|
8869
|
+
showChildren?: boolean;
|
|
8870
|
+
showDocuments?: boolean;
|
|
8871
|
+
showPages?: boolean;
|
|
8872
|
+
pageId?: string;
|
|
8873
|
+
keywords?: string;
|
|
8874
|
+
}
|
|
8875
|
+
export const InlinePageList: FC<{
|
|
8876
|
+
blockProps?: PageListDetails;
|
|
8877
|
+
}>;
|
|
8878
|
+
export const InlinePageListMapper: HtmlComponentMapper;
|
|
8879
|
+
}
|
|
8880
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
8881
|
+
import { FC } from 'react';
|
|
8882
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8883
|
+
export const PageBreadcrumb: FC<{
|
|
8884
|
+
page: PageItem;
|
|
8885
|
+
target?: string;
|
|
8886
|
+
language?: string;
|
|
8887
|
+
hideCurrentPageNode?: boolean;
|
|
8888
|
+
className?: string;
|
|
8889
|
+
}>;
|
|
8890
|
+
}
|
|
8891
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
8892
|
+
import { FC } from 'react';
|
|
8893
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8894
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
8895
|
+
export const DetailViewPageDocumentDownload: FC;
|
|
8896
|
+
export const PageDocumentDownloadButton: FC<{
|
|
8897
|
+
item: PageItem;
|
|
8898
|
+
content: PublishableItemContent;
|
|
8899
|
+
basePath?: string;
|
|
8900
|
+
}>;
|
|
8901
|
+
}
|
|
8902
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8903
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8904
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8905
|
+
interface Props {
|
|
8906
|
+
id: string;
|
|
8907
|
+
item: PublishableItem;
|
|
8908
|
+
itemResourceType: ItemResourceTypes;
|
|
8909
|
+
}
|
|
8910
|
+
export const CardBanner: React.FC<Props>;
|
|
8911
|
+
}
|
|
8912
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8913
|
+
import { FC, ReactNode } from 'react';
|
|
8914
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8915
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8916
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8917
|
+
interface CardProps {
|
|
8918
|
+
item: PublishableItem;
|
|
8919
|
+
itemResourceType: ItemResourceTypes;
|
|
8920
|
+
additionalMetadata?: ReactNode;
|
|
8921
|
+
highlight?: boolean;
|
|
8922
|
+
className?: string;
|
|
8923
|
+
}
|
|
8924
|
+
export const Card: FC<CardProps>;
|
|
8925
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
8926
|
+
item: TItem;
|
|
8927
|
+
language: string;
|
|
8928
|
+
}
|
|
8929
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8930
|
+
}
|
|
8793
8931
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
8794
8932
|
import { FC } from 'react';
|
|
8795
8933
|
interface LanguageSelectorProps {
|
|
@@ -8811,10 +8949,112 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8811
8949
|
className?: string;
|
|
8812
8950
|
}>;
|
|
8813
8951
|
}
|
|
8952
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
|
|
8953
|
+
import { FC } from 'react';
|
|
8954
|
+
export const DetailViewBanner: FC;
|
|
8955
|
+
}
|
|
8956
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
8957
|
+
import { FC } from 'react';
|
|
8958
|
+
export const DetailViewIntro: FC;
|
|
8959
|
+
}
|
|
8960
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
8961
|
+
import { FC } from 'react';
|
|
8962
|
+
export const DetailMainSection: FC;
|
|
8963
|
+
}
|
|
8964
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
8965
|
+
import { FC, ReactNode } from 'react';
|
|
8966
|
+
export const GutterMarkerIcon: FC<{
|
|
8967
|
+
iconName: string;
|
|
8968
|
+
children: ReactNode;
|
|
8969
|
+
isActive: boolean;
|
|
8970
|
+
color: string;
|
|
8971
|
+
tooltipResourceKey?: string;
|
|
8972
|
+
className?: string;
|
|
8973
|
+
}>;
|
|
8974
|
+
}
|
|
8975
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
8976
|
+
import { FC } from 'react';
|
|
8977
|
+
export const DetailViewTitle: FC;
|
|
8978
|
+
}
|
|
8814
8979
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
|
|
8815
8980
|
import { FC } from 'react';
|
|
8816
8981
|
export const NewsDetailViewMetaInfo: FC;
|
|
8817
8982
|
}
|
|
8983
|
+
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
8984
|
+
import { FC } from 'react';
|
|
8985
|
+
export const RichTextViewer: FC<{
|
|
8986
|
+
html: string;
|
|
8987
|
+
}>;
|
|
8988
|
+
}
|
|
8989
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
8990
|
+
import { FC } from 'react';
|
|
8991
|
+
export const DetailViewBody: FC;
|
|
8992
|
+
}
|
|
8993
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
8994
|
+
import { FC } from 'react';
|
|
8995
|
+
export const DetailViewKeywords: FC<{
|
|
8996
|
+
filterBaseUrl: string;
|
|
8997
|
+
}>;
|
|
8998
|
+
}
|
|
8999
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9000
|
+
import { FC } from 'react';
|
|
9001
|
+
export const ConfirmationBox: FC<{
|
|
9002
|
+
disabled?: boolean;
|
|
9003
|
+
onChange?: (value: boolean) => void;
|
|
9004
|
+
checked: boolean;
|
|
9005
|
+
}>;
|
|
9006
|
+
}
|
|
9007
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9008
|
+
import { FC } from 'react';
|
|
9009
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9010
|
+
export const ConfirmationSection: FC<{
|
|
9011
|
+
item?: NewsItem;
|
|
9012
|
+
showDescription: boolean;
|
|
9013
|
+
readOnly?: boolean;
|
|
9014
|
+
className?: string;
|
|
9015
|
+
}>;
|
|
9016
|
+
}
|
|
9017
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
9018
|
+
import { FC } from 'react';
|
|
9019
|
+
export const DetailViewConfirmations: FC;
|
|
9020
|
+
}
|
|
9021
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
9022
|
+
import { FC } from 'react';
|
|
9023
|
+
export const DetailViewPageViewTracker: FC;
|
|
9024
|
+
}
|
|
9025
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
9026
|
+
import { FC } from 'react';
|
|
9027
|
+
export const FeedbackButtonBookmark: FC<{
|
|
9028
|
+
isReadOnly?: boolean;
|
|
9029
|
+
}>;
|
|
9030
|
+
}
|
|
9031
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
9032
|
+
import { FC } from 'react';
|
|
9033
|
+
export const NewsDetailViewFeedbackSection: FC<{
|
|
9034
|
+
hideLikes?: boolean;
|
|
9035
|
+
hideComments?: boolean;
|
|
9036
|
+
hideProfileUrl?: boolean;
|
|
9037
|
+
disableLoginForPublicUser?: boolean;
|
|
9038
|
+
}>;
|
|
9039
|
+
}
|
|
9040
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
9041
|
+
import { FC, ReactNode } from 'react';
|
|
9042
|
+
export const DetailViewNavigation: FC<{
|
|
9043
|
+
children?: ReactNode;
|
|
9044
|
+
callout?: ReactNode;
|
|
9045
|
+
}>;
|
|
9046
|
+
}
|
|
9047
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9048
|
+
import { FC } from 'react';
|
|
9049
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9050
|
+
export const DetailViewBodyExternalContent: FC<{
|
|
9051
|
+
itemType: ItemResourceTypes;
|
|
9052
|
+
}>;
|
|
9053
|
+
}
|
|
9054
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
9055
|
+
import { FC } from 'react';
|
|
9056
|
+
export const DetailViewHeadline: FC;
|
|
9057
|
+
}
|
|
8818
9058
|
declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
8819
9059
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
8820
9060
|
export const StateIcon: React.FC<{
|
|
@@ -8835,205 +9075,65 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
|
8835
9075
|
}
|
|
8836
9076
|
declare module "libs/reach/feature/content/src/common/index" {
|
|
8837
9077
|
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
8838
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8839
9078
|
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8840
9079
|
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
9080
|
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
9081
|
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
8896
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8897
9082
|
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
8898
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8899
9083
|
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
8900
9084
|
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
9085
|
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
9086
|
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
9087
|
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
9088
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
8921
9089
|
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
8922
9090
|
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
9091
|
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
8927
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8928
9092
|
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
9093
|
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
9094
|
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
9095
|
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
8938
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8939
9096
|
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8940
9097
|
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8941
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8942
9098
|
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
9099
|
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8946
9100
|
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
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8951
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8952
|
-
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
9101
|
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
8956
9102
|
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
8957
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8958
9103
|
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8959
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8960
9104
|
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
9105
|
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
9106
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8967
9107
|
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
9108
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
8972
9109
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
8973
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8974
9110
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8975
9111
|
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
9112
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
8980
9113
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
8981
9114
|
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8982
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8983
9115
|
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8984
9116
|
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8985
9117
|
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
9118
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8992
9119
|
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
9120
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8997
9121
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8998
9122
|
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
9123
|
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
9124
|
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
9125
|
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
9126
|
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9013
9127
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9014
9128
|
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9015
9129
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9016
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9017
9130
|
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
9131
|
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9026
9132
|
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
9133
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9032
9134
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9033
9135
|
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9034
9136
|
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
9137
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9038
9138
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9039
9139
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
@@ -9050,7 +9150,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9050
9150
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9051
9151
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9052
9152
|
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9053
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9054
9153
|
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9055
9154
|
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9056
9155
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
@@ -9072,65 +9171,6 @@ declare module "libs/reach/feature/content/src/feedback/index" {
|
|
|
9072
9171
|
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
9073
9172
|
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
9074
9173
|
}
|
|
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
9174
|
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
9135
9175
|
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
9136
9176
|
import { FC } from 'react';
|
|
@@ -9205,26 +9245,6 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
9205
9245
|
*/
|
|
9206
9246
|
export const Textarea: FC<TextareaProps>;
|
|
9207
9247
|
}
|
|
9208
|
-
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9209
|
-
import { FC } from 'react';
|
|
9210
|
-
interface DateTimePickerProps {
|
|
9211
|
-
date: string;
|
|
9212
|
-
maxDate?: string;
|
|
9213
|
-
minDate?: string;
|
|
9214
|
-
dateValidationResourceKey?: string;
|
|
9215
|
-
timeValidationResourceKey?: string;
|
|
9216
|
-
readOnly?: boolean;
|
|
9217
|
-
onChanged: (date: string, isValid: boolean) => void;
|
|
9218
|
-
noDateResourceKey: string;
|
|
9219
|
-
selectDateResourceKey: string;
|
|
9220
|
-
dateOnly?: boolean;
|
|
9221
|
-
initialPickerDate?: string;
|
|
9222
|
-
label?: string;
|
|
9223
|
-
className?: string;
|
|
9224
|
-
}
|
|
9225
|
-
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9226
|
-
export default DateTimePicker;
|
|
9227
|
-
}
|
|
9228
9248
|
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9229
9249
|
import { FC } from 'react';
|
|
9230
9250
|
interface Props {
|
|
@@ -9249,6 +9269,27 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
|
9249
9269
|
}
|
|
9250
9270
|
export const InsertImagesButton: FC<Props>;
|
|
9251
9271
|
}
|
|
9272
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9273
|
+
import { FC } from 'react';
|
|
9274
|
+
interface DateTimePickerProps {
|
|
9275
|
+
date: string;
|
|
9276
|
+
maxDate?: string;
|
|
9277
|
+
minDate?: string;
|
|
9278
|
+
dateValidationResourceKey?: string;
|
|
9279
|
+
timeValidationResourceKey?: string;
|
|
9280
|
+
readOnly?: boolean;
|
|
9281
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
9282
|
+
noDateResourceKey: string;
|
|
9283
|
+
selectDateResourceKey: string;
|
|
9284
|
+
dateOnly?: boolean;
|
|
9285
|
+
initialPickerDate?: string;
|
|
9286
|
+
label?: string;
|
|
9287
|
+
isRequired?: boolean;
|
|
9288
|
+
className?: string;
|
|
9289
|
+
}
|
|
9290
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9291
|
+
export default DateTimePicker;
|
|
9292
|
+
}
|
|
9252
9293
|
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
9253
9294
|
import moment, { Moment } from 'moment';
|
|
9254
9295
|
export enum DateRange {
|
|
@@ -9295,33 +9336,17 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
|
9295
9336
|
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
9296
9337
|
}
|
|
9297
9338
|
declare module "libs/reach/feature/content/src/forms/index" {
|
|
9298
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9299
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9300
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9301
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9302
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9303
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9304
9339
|
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
9305
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9306
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9307
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9308
9340
|
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9309
9341
|
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
9310
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9311
9342
|
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
9312
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9313
9343
|
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
9314
9344
|
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
9315
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9316
9345
|
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9317
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9318
9346
|
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9319
9347
|
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9320
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9321
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9322
9348
|
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
9323
9349
|
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
9324
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9325
9350
|
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9326
9351
|
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9327
9352
|
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
@@ -9401,6 +9426,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9401
9426
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9402
9427
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9403
9428
|
}
|
|
9429
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9430
|
+
import { FC } from 'react';
|
|
9431
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9432
|
+
export const SearchHighlighter: FC<{
|
|
9433
|
+
highlight: SearchHighlight;
|
|
9434
|
+
}>;
|
|
9435
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9436
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9437
|
+
}
|
|
9404
9438
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9405
9439
|
import { FC } from 'react';
|
|
9406
9440
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9429,11 +9463,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9429
9463
|
}
|
|
9430
9464
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9431
9465
|
import { FC } from 'react';
|
|
9432
|
-
import {
|
|
9466
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9433
9467
|
export const PageListItemBody: FC<{
|
|
9434
|
-
|
|
9435
|
-
[key: string]: PublishableItemContent;
|
|
9436
|
-
};
|
|
9468
|
+
page: PageItem;
|
|
9437
9469
|
search?: string;
|
|
9438
9470
|
}>;
|
|
9439
9471
|
}
|
|
@@ -9499,7 +9531,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9499
9531
|
import { FC } from 'react';
|
|
9500
9532
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9501
9533
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9502
|
-
export
|
|
9534
|
+
export interface PostCreatorProps {
|
|
9503
9535
|
groupId: string;
|
|
9504
9536
|
disabled: boolean;
|
|
9505
9537
|
disableDragAndDrop?: boolean;
|
|
@@ -9510,132 +9542,1293 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9510
9542
|
defaultKeywords?: Keyword[];
|
|
9511
9543
|
mandatoryKeywords?: Keyword[];
|
|
9512
9544
|
};
|
|
9513
|
-
|
|
9514
|
-
}
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
import {
|
|
9519
|
-
import {
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9545
|
+
disableAutoFocus?: boolean;
|
|
9546
|
+
}
|
|
9547
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9548
|
+
}
|
|
9549
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9550
|
+
import { FC } from 'react';
|
|
9551
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9552
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
9553
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9554
|
+
interface Props {
|
|
9555
|
+
className?: string;
|
|
9556
|
+
post: Post;
|
|
9557
|
+
initialPageSize?: number;
|
|
9558
|
+
comments?: PaginatedList<Comment>;
|
|
9559
|
+
autoFocusReplyField?: boolean;
|
|
9560
|
+
onReplyAdded: () => void;
|
|
9561
|
+
onReplyDeleted: () => void;
|
|
9562
|
+
onThreadReply?: (threadId: string) => void;
|
|
9563
|
+
}
|
|
9564
|
+
export const PostReplies: FC<Props>;
|
|
9565
|
+
}
|
|
9566
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
9567
|
+
import { FC } from 'react';
|
|
9568
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9569
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9570
|
+
export const PostEditor: FC<{
|
|
9571
|
+
className?: string;
|
|
9572
|
+
post: Post;
|
|
9573
|
+
onCancel: () => void;
|
|
9574
|
+
onBeforeSave: (post: Post) => void;
|
|
9575
|
+
onSaved: (post: Post) => void;
|
|
9576
|
+
keywordSettings?: {
|
|
9577
|
+
availableKeywords?: Keyword[];
|
|
9578
|
+
defaultKeywords?: Keyword[];
|
|
9579
|
+
mandatoryKeywords?: Keyword[];
|
|
9580
|
+
};
|
|
9581
|
+
}>;
|
|
9582
|
+
}
|
|
9583
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9584
|
+
import { FC } from 'react';
|
|
9585
|
+
export const PostFollowButton: FC<{
|
|
9586
|
+
itemId: string;
|
|
9587
|
+
}>;
|
|
9588
|
+
}
|
|
9589
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9590
|
+
import { FC } from 'react';
|
|
9591
|
+
import { NavLink } from 'react-router-dom';
|
|
9592
|
+
export const PostGroup: FC<{
|
|
9593
|
+
groupId: string;
|
|
9594
|
+
to: string;
|
|
9595
|
+
className?: string;
|
|
9596
|
+
}>;
|
|
9597
|
+
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9598
|
+
}
|
|
9599
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9600
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9601
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9602
|
+
interface Props {
|
|
9603
|
+
post: Post;
|
|
9604
|
+
className?: string;
|
|
9605
|
+
threadId?: string;
|
|
9606
|
+
onCustomPostDelete?: () => void;
|
|
9607
|
+
comments?: PaginatedList<Comment>;
|
|
9608
|
+
initialCommentsPageSize?: number;
|
|
9609
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9610
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9611
|
+
onThreadCommentDelete?: () => void;
|
|
9612
|
+
onThreadReply?: (threadId: string) => void;
|
|
9613
|
+
keywordSettings?: {
|
|
9614
|
+
availableKeywords?: Keyword[];
|
|
9615
|
+
defaultKeywords?: Keyword[];
|
|
9616
|
+
mandatoryKeywords?: Keyword[];
|
|
9617
|
+
};
|
|
9618
|
+
showGroup?: boolean;
|
|
9619
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9620
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9621
|
+
}
|
|
9622
|
+
export const PostDisplay: React.FC<Props>;
|
|
9623
|
+
}
|
|
9624
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsSelector" {
|
|
9625
|
+
import { FC } from 'react';
|
|
9626
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
9627
|
+
export const PostGroupsSelector: FC<{
|
|
9628
|
+
groups: UserGroup[];
|
|
9629
|
+
}>;
|
|
9630
|
+
}
|
|
9631
|
+
declare module "libs/reach/feature/content/src/posts/PostListItem" {
|
|
9632
|
+
import { FC } from 'react';
|
|
9633
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9634
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9635
|
+
interface Props {
|
|
9636
|
+
post: Post;
|
|
9637
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9638
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9639
|
+
keywordSettings?: {
|
|
9640
|
+
availableKeywords?: Keyword[];
|
|
9641
|
+
defaultKeywords?: Keyword[];
|
|
9642
|
+
mandatoryKeywords?: Keyword[];
|
|
9643
|
+
};
|
|
9644
|
+
showGroup: boolean;
|
|
9645
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9646
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9647
|
+
}
|
|
9648
|
+
export const PostListItem: FC<Props>;
|
|
9649
|
+
}
|
|
9650
|
+
declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling" {
|
|
9651
|
+
import { FC } from 'react';
|
|
9652
|
+
import { Post } from "libs/reach/feature/content/src/index";
|
|
9653
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9654
|
+
export const PostWithSelfThreadHandling: FC<{
|
|
9655
|
+
post: Post;
|
|
9656
|
+
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9657
|
+
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9658
|
+
keywordSettings?: {
|
|
9659
|
+
availableKeywords?: Keyword[];
|
|
9660
|
+
defaultKeywords?: Keyword[];
|
|
9661
|
+
mandatoryKeywords?: Keyword[];
|
|
9662
|
+
};
|
|
9663
|
+
showGroup: boolean;
|
|
9664
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
9665
|
+
onAfterDelete?: (id: string) => unknown;
|
|
9666
|
+
}>;
|
|
9667
|
+
}
|
|
9668
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
9669
|
+
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";
|
|
9670
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9671
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9672
|
+
enum StreamItemTypes {
|
|
9673
|
+
Post = "POST",
|
|
9674
|
+
News = "NEWS",
|
|
9675
|
+
Event = "EVENT",
|
|
9676
|
+
Page = "PAGE"
|
|
9677
|
+
}
|
|
9678
|
+
export enum StreamConversationScope {
|
|
9679
|
+
Public = "PUBLIC",
|
|
9680
|
+
Editor = "EDITOR",
|
|
9681
|
+
Posts = "POSTS"
|
|
9682
|
+
}
|
|
9683
|
+
export interface PostStreamItem extends Post {
|
|
9684
|
+
type: StreamItemTypes.Post;
|
|
9685
|
+
isUnread: boolean;
|
|
9686
|
+
keywordsList?: Keyword[];
|
|
9687
|
+
groupIds?: string[];
|
|
9688
|
+
postAttachments?: StreamAttachment[];
|
|
9689
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9690
|
+
hasMoreUnreadComments: boolean;
|
|
9691
|
+
}
|
|
9692
|
+
export interface StreamPostComment extends Comment {
|
|
9693
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9694
|
+
streamConversationScope?: StreamConversationScope;
|
|
9695
|
+
}
|
|
9696
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
9697
|
+
type: GraphQLAttachmentType;
|
|
9698
|
+
}
|
|
9699
|
+
export interface NewsStreamItem extends NewsItem {
|
|
9700
|
+
type: StreamItemTypes.News;
|
|
9701
|
+
contentsList: StreamPublishableItemContents[];
|
|
9702
|
+
channelsList: string[];
|
|
9703
|
+
isUnread: boolean;
|
|
9704
|
+
keywordsList?: Keyword[];
|
|
9705
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9706
|
+
}
|
|
9707
|
+
export enum StreamKnownNewsState {
|
|
9708
|
+
Unconfirmed = "UNCONFIRMED",
|
|
9709
|
+
Alert = "ALERT"
|
|
9710
|
+
}
|
|
9711
|
+
export interface EventStreamItem extends EventItem {
|
|
9712
|
+
type: StreamItemTypes.Event;
|
|
9713
|
+
contentsList: StreamPublishableItemContents[];
|
|
9714
|
+
channelsList: string[];
|
|
9715
|
+
isUnread: boolean;
|
|
9716
|
+
keywordsList?: Keyword[];
|
|
9717
|
+
userResponseType?: StreamEventResponse;
|
|
9718
|
+
}
|
|
9719
|
+
export interface PageStreamItem extends PageItem {
|
|
9720
|
+
type: StreamItemTypes.Page;
|
|
9721
|
+
contentsList: StreamPublishableItemContents[];
|
|
9722
|
+
channelsList: string[];
|
|
9723
|
+
isUnread: boolean;
|
|
9724
|
+
keywordsList?: Keyword[];
|
|
9725
|
+
streamPageType?: string;
|
|
9726
|
+
path?: (PageNavigationNode & {
|
|
9727
|
+
parentId?: string;
|
|
9728
|
+
})[];
|
|
9729
|
+
}
|
|
9730
|
+
interface StreamPublishableItemContents {
|
|
9731
|
+
language: string;
|
|
9732
|
+
title: string;
|
|
9733
|
+
intro?: string;
|
|
9734
|
+
headline?: string;
|
|
9735
|
+
}
|
|
9736
|
+
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9737
|
+
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9738
|
+
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
9739
|
+
export function isEvent(item: StreamItem): item is EventStreamItem;
|
|
9740
|
+
export function isPage(item: StreamItem): item is PageStreamItem;
|
|
9741
|
+
export function convertProperties(items: StreamItem[], user: CurrentUser, subscriptionChannels: Channel[]): ({
|
|
9742
|
+
groupId: string;
|
|
9743
|
+
attachments: {
|
|
9744
|
+
type: AttachmentType;
|
|
9745
|
+
id: string;
|
|
9746
|
+
filename?: string;
|
|
9747
|
+
previewUrl?: string;
|
|
9748
|
+
url?: string;
|
|
9749
|
+
isUploadInProgress?: boolean;
|
|
9750
|
+
hasError?: boolean;
|
|
9751
|
+
width?: number;
|
|
9752
|
+
height?: number;
|
|
9753
|
+
}[];
|
|
9754
|
+
comments: {
|
|
9755
|
+
items: {
|
|
9756
|
+
conversationScope: ConversationScope;
|
|
9757
|
+
fileAccessToken: string;
|
|
9758
|
+
attachments: {
|
|
9759
|
+
type: AttachmentType;
|
|
9760
|
+
id: string;
|
|
9761
|
+
filename?: string;
|
|
9762
|
+
previewUrl?: string;
|
|
9763
|
+
url?: string;
|
|
9764
|
+
isUploadInProgress?: boolean;
|
|
9765
|
+
hasError?: boolean;
|
|
9766
|
+
width?: number;
|
|
9767
|
+
height?: number;
|
|
9768
|
+
}[];
|
|
9769
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9770
|
+
streamConversationScope?: StreamConversationScope;
|
|
9771
|
+
id: string;
|
|
9772
|
+
parentItemId: string;
|
|
9773
|
+
content: string;
|
|
9774
|
+
contentLanguageCode?: string;
|
|
9775
|
+
receivedDateTime: string;
|
|
9776
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9777
|
+
modified?: string;
|
|
9778
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9779
|
+
isLiked?: boolean;
|
|
9780
|
+
threadId?: string;
|
|
9781
|
+
isUnread?: boolean;
|
|
9782
|
+
hasUnreadReplies?: boolean;
|
|
9783
|
+
isDemoContent?: boolean;
|
|
9784
|
+
attachmentContainerId?: string;
|
|
9785
|
+
}[];
|
|
9786
|
+
paginationToken?: any;
|
|
9787
|
+
nextItem?: StreamPostComment;
|
|
9788
|
+
hasMoreUnreadComments?: boolean;
|
|
9789
|
+
hasNextPage?: boolean;
|
|
9790
|
+
};
|
|
9791
|
+
keywords: {
|
|
9792
|
+
[key: string]: Keyword[];
|
|
9793
|
+
};
|
|
9794
|
+
type: StreamItemTypes.Post;
|
|
9795
|
+
isUnread: boolean;
|
|
9796
|
+
keywordsList?: Keyword[];
|
|
9797
|
+
groupIds?: string[];
|
|
9798
|
+
postAttachments?: StreamAttachment[];
|
|
9799
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9800
|
+
hasMoreUnreadComments: boolean;
|
|
9801
|
+
id: string;
|
|
9802
|
+
content: string;
|
|
9803
|
+
permalink?: string;
|
|
9804
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
9805
|
+
publishingDate: string;
|
|
9806
|
+
modified?: string;
|
|
9807
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
9808
|
+
contentLanguageCode?: string;
|
|
9809
|
+
isLiked?: boolean;
|
|
9810
|
+
isDemoContent?: boolean;
|
|
9811
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
9812
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9813
|
+
fileAccessToken?: string;
|
|
9814
|
+
attachmentContainerId?: string;
|
|
9815
|
+
} | {
|
|
9816
|
+
groupId: string;
|
|
9817
|
+
attachments: {
|
|
9818
|
+
type: AttachmentType;
|
|
9819
|
+
id: string;
|
|
9820
|
+
filename?: string;
|
|
9821
|
+
previewUrl?: string;
|
|
9822
|
+
url?: string;
|
|
9823
|
+
isUploadInProgress?: boolean;
|
|
9824
|
+
hasError?: boolean;
|
|
9825
|
+
width?: number;
|
|
9826
|
+
height?: number;
|
|
9827
|
+
}[];
|
|
9828
|
+
comments: {
|
|
9829
|
+
items: {
|
|
9830
|
+
conversationScope: ConversationScope;
|
|
9831
|
+
fileAccessToken: string;
|
|
9832
|
+
attachments: {
|
|
9833
|
+
type: AttachmentType;
|
|
9834
|
+
id: string;
|
|
9835
|
+
filename?: string;
|
|
9836
|
+
previewUrl?: string;
|
|
9837
|
+
url?: string;
|
|
9838
|
+
isUploadInProgress?: boolean;
|
|
9839
|
+
hasError?: boolean;
|
|
9840
|
+
width?: number;
|
|
9841
|
+
height?: number;
|
|
9842
|
+
}[];
|
|
9843
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9844
|
+
streamConversationScope?: StreamConversationScope;
|
|
9845
|
+
id: string;
|
|
9846
|
+
parentItemId: string;
|
|
9847
|
+
content: string;
|
|
9848
|
+
contentLanguageCode?: string;
|
|
9849
|
+
receivedDateTime: string;
|
|
9850
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9851
|
+
modified?: string;
|
|
9852
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9853
|
+
isLiked?: boolean;
|
|
9854
|
+
threadId?: string;
|
|
9855
|
+
isUnread?: boolean;
|
|
9856
|
+
hasUnreadReplies?: boolean;
|
|
9857
|
+
isDemoContent?: boolean;
|
|
9858
|
+
attachmentContainerId?: string;
|
|
9859
|
+
}[];
|
|
9860
|
+
paginationToken?: any;
|
|
9861
|
+
nextItem?: StreamPostComment;
|
|
9862
|
+
hasMoreUnreadComments?: boolean;
|
|
9863
|
+
hasNextPage?: boolean;
|
|
9864
|
+
};
|
|
9865
|
+
keywords: {
|
|
9866
|
+
[key: string]: Keyword[];
|
|
9867
|
+
};
|
|
9868
|
+
type: StreamItemTypes.News;
|
|
9869
|
+
contentsList: StreamPublishableItemContents[];
|
|
9870
|
+
channelsList: string[];
|
|
9871
|
+
isUnread: boolean;
|
|
9872
|
+
keywordsList?: Keyword[];
|
|
9873
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9874
|
+
source?: string;
|
|
9875
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
9876
|
+
expiryDate?: string;
|
|
9877
|
+
knownState: KnownNewsState;
|
|
9878
|
+
hasNewComments?: boolean;
|
|
9879
|
+
isLiked?: boolean;
|
|
9880
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
9881
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
9882
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
9883
|
+
id?: string;
|
|
9884
|
+
versionId?: string;
|
|
9885
|
+
publishingDate?: string;
|
|
9886
|
+
deleted?: string;
|
|
9887
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
9888
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
9889
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
9890
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
9891
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
9892
|
+
fileAccessToken?: string;
|
|
9893
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
9894
|
+
customProperties?: {
|
|
9895
|
+
[key: string]: any;
|
|
9896
|
+
};
|
|
9897
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
9898
|
+
modified: string;
|
|
9899
|
+
created: string;
|
|
9900
|
+
publishedVersionId?: string;
|
|
9901
|
+
isCurrentPublishedVersion?: boolean;
|
|
9902
|
+
isLatestVersion?: boolean;
|
|
9903
|
+
permalink?: string;
|
|
9904
|
+
groupIds: string[];
|
|
9905
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
9906
|
+
useExternalContent?: boolean;
|
|
9907
|
+
isDemoContent?: boolean;
|
|
9908
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
9909
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
9910
|
+
} | {
|
|
9911
|
+
groupId: string;
|
|
9912
|
+
attachments: {
|
|
9913
|
+
type: AttachmentType;
|
|
9914
|
+
id: string;
|
|
9915
|
+
filename?: string;
|
|
9916
|
+
previewUrl?: string;
|
|
9917
|
+
url?: string;
|
|
9918
|
+
isUploadInProgress?: boolean;
|
|
9919
|
+
hasError?: boolean;
|
|
9920
|
+
width?: number;
|
|
9921
|
+
height?: number;
|
|
9922
|
+
}[];
|
|
9923
|
+
comments: {
|
|
9924
|
+
items: {
|
|
9925
|
+
conversationScope: ConversationScope;
|
|
9926
|
+
fileAccessToken: string;
|
|
9927
|
+
attachments: {
|
|
9928
|
+
type: AttachmentType;
|
|
9929
|
+
id: string;
|
|
9930
|
+
filename?: string;
|
|
9931
|
+
previewUrl?: string;
|
|
9932
|
+
url?: string;
|
|
9933
|
+
isUploadInProgress?: boolean;
|
|
9934
|
+
hasError?: boolean;
|
|
9935
|
+
width?: number;
|
|
9936
|
+
height?: number;
|
|
9937
|
+
}[];
|
|
9938
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9939
|
+
streamConversationScope?: StreamConversationScope;
|
|
9940
|
+
id: string;
|
|
9941
|
+
parentItemId: string;
|
|
9942
|
+
content: string;
|
|
9943
|
+
contentLanguageCode?: string;
|
|
9944
|
+
receivedDateTime: string;
|
|
9945
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
9946
|
+
modified?: string;
|
|
9947
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
9948
|
+
isLiked?: boolean;
|
|
9949
|
+
threadId?: string;
|
|
9950
|
+
isUnread?: boolean;
|
|
9951
|
+
hasUnreadReplies?: boolean;
|
|
9952
|
+
isDemoContent?: boolean;
|
|
9953
|
+
attachmentContainerId?: string;
|
|
9954
|
+
}[];
|
|
9955
|
+
paginationToken?: any;
|
|
9956
|
+
nextItem?: StreamPostComment;
|
|
9957
|
+
hasMoreUnreadComments?: boolean;
|
|
9958
|
+
hasNextPage?: boolean;
|
|
9959
|
+
};
|
|
9960
|
+
keywords: {
|
|
9961
|
+
[key: string]: Keyword[];
|
|
9962
|
+
};
|
|
9963
|
+
type: StreamItemTypes.Event;
|
|
9964
|
+
contentsList: StreamPublishableItemContents[];
|
|
9965
|
+
channelsList: string[];
|
|
9966
|
+
isUnread: boolean;
|
|
9967
|
+
keywordsList?: Keyword[];
|
|
9968
|
+
userResponseType?: StreamEventResponse;
|
|
9969
|
+
startDate?: string;
|
|
9970
|
+
endDate?: string;
|
|
9971
|
+
timeZone?: string;
|
|
9972
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
9973
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
9974
|
+
userResponse?: EventResponse;
|
|
9975
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
9976
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
9977
|
+
hasNewComments?: boolean;
|
|
9978
|
+
isLiked?: boolean;
|
|
9979
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
9980
|
+
recurrenceSeriesId?: string;
|
|
9981
|
+
isSeriesMaster?: string;
|
|
9982
|
+
isVirtual?: boolean;
|
|
9983
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
9984
|
+
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
9985
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
9986
|
+
id?: string;
|
|
9987
|
+
versionId?: string;
|
|
9988
|
+
publishingDate?: string;
|
|
9989
|
+
deleted?: string;
|
|
9990
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
9991
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
9992
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
9993
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
9994
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
9995
|
+
fileAccessToken?: string;
|
|
9996
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
9997
|
+
customProperties?: {
|
|
9998
|
+
[key: string]: any;
|
|
9999
|
+
};
|
|
10000
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10001
|
+
modified: string;
|
|
10002
|
+
created: string;
|
|
10003
|
+
publishedVersionId?: string;
|
|
10004
|
+
isCurrentPublishedVersion?: boolean;
|
|
10005
|
+
isLatestVersion?: boolean;
|
|
10006
|
+
permalink?: string;
|
|
10007
|
+
groupIds: string[];
|
|
10008
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10009
|
+
useExternalContent?: boolean;
|
|
10010
|
+
isDemoContent?: boolean;
|
|
10011
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10012
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10013
|
+
} | {
|
|
10014
|
+
groupId: string;
|
|
10015
|
+
attachments: {
|
|
10016
|
+
type: AttachmentType;
|
|
10017
|
+
id: string;
|
|
10018
|
+
filename?: string;
|
|
10019
|
+
previewUrl?: string;
|
|
10020
|
+
url?: string;
|
|
10021
|
+
isUploadInProgress?: boolean;
|
|
10022
|
+
hasError?: boolean;
|
|
10023
|
+
width?: number;
|
|
10024
|
+
height?: number;
|
|
10025
|
+
}[];
|
|
10026
|
+
comments: {
|
|
10027
|
+
items: {
|
|
10028
|
+
conversationScope: ConversationScope;
|
|
10029
|
+
fileAccessToken: string;
|
|
10030
|
+
attachments: {
|
|
10031
|
+
type: AttachmentType;
|
|
10032
|
+
id: string;
|
|
10033
|
+
filename?: string;
|
|
10034
|
+
previewUrl?: string;
|
|
10035
|
+
url?: string;
|
|
10036
|
+
isUploadInProgress?: boolean;
|
|
10037
|
+
hasError?: boolean;
|
|
10038
|
+
width?: number;
|
|
10039
|
+
height?: number;
|
|
10040
|
+
}[];
|
|
10041
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10042
|
+
streamConversationScope?: StreamConversationScope;
|
|
10043
|
+
id: string;
|
|
10044
|
+
parentItemId: string;
|
|
10045
|
+
content: string;
|
|
10046
|
+
contentLanguageCode?: string;
|
|
10047
|
+
receivedDateTime: string;
|
|
10048
|
+
sender: import("@livetiles/reach/util/common").Account;
|
|
10049
|
+
modified?: string;
|
|
10050
|
+
statistics?: import("@livetiles/reach/util/common").CommentStatistics;
|
|
10051
|
+
isLiked?: boolean;
|
|
10052
|
+
threadId?: string;
|
|
10053
|
+
isUnread?: boolean;
|
|
10054
|
+
hasUnreadReplies?: boolean;
|
|
10055
|
+
isDemoContent?: boolean;
|
|
10056
|
+
attachmentContainerId?: string;
|
|
10057
|
+
}[];
|
|
10058
|
+
paginationToken?: any;
|
|
10059
|
+
nextItem?: StreamPostComment;
|
|
10060
|
+
hasMoreUnreadComments?: boolean;
|
|
10061
|
+
hasNextPage?: boolean;
|
|
10062
|
+
};
|
|
10063
|
+
keywords: {
|
|
10064
|
+
[key: string]: Keyword[];
|
|
10065
|
+
};
|
|
10066
|
+
type: StreamItemTypes.Page;
|
|
10067
|
+
contentsList: StreamPublishableItemContents[];
|
|
10068
|
+
channelsList: string[];
|
|
10069
|
+
isUnread: boolean;
|
|
10070
|
+
keywordsList?: Keyword[];
|
|
10071
|
+
streamPageType?: string;
|
|
10072
|
+
path?: (PageNavigationNode & {
|
|
10073
|
+
parentId?: string;
|
|
10074
|
+
})[];
|
|
10075
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10076
|
+
parentId?: string;
|
|
10077
|
+
pathIds?: string[];
|
|
10078
|
+
position?: number;
|
|
10079
|
+
navigationContext?: PageNavigationContext;
|
|
10080
|
+
hasHiddenAncestor?: boolean;
|
|
10081
|
+
isUnlinked?: boolean;
|
|
10082
|
+
pageType?: PageType;
|
|
10083
|
+
firstChildId?: string;
|
|
10084
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10085
|
+
id?: string;
|
|
10086
|
+
versionId?: string;
|
|
10087
|
+
publishingDate?: string;
|
|
10088
|
+
deleted?: string;
|
|
10089
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10090
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10091
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10092
|
+
contents?: import("@livetiles/reach/util/common").PublishableItemContents;
|
|
10093
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10094
|
+
fileAccessToken?: string;
|
|
10095
|
+
bannerInfo?: import("@livetiles/reach/util/common").BannerInfo;
|
|
10096
|
+
customProperties?: {
|
|
10097
|
+
[key: string]: any;
|
|
10098
|
+
};
|
|
10099
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10100
|
+
modified: string;
|
|
10101
|
+
created: string;
|
|
10102
|
+
publishedVersionId?: string;
|
|
10103
|
+
isCurrentPublishedVersion?: boolean;
|
|
10104
|
+
isLatestVersion?: boolean;
|
|
10105
|
+
permalink?: string;
|
|
10106
|
+
groupIds: string[];
|
|
10107
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10108
|
+
useExternalContent?: boolean;
|
|
10109
|
+
isDemoContent?: boolean;
|
|
10110
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10111
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10112
|
+
} | {
|
|
10113
|
+
knownState?: undefined;
|
|
10114
|
+
pageType?: undefined;
|
|
10115
|
+
navigationContext?: undefined;
|
|
10116
|
+
userResponse: EventResponse;
|
|
10117
|
+
channels: {
|
|
10118
|
+
name: string;
|
|
10119
|
+
}[];
|
|
10120
|
+
contents: {};
|
|
10121
|
+
bannerInfo: {
|
|
10122
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10123
|
+
type: "video" | "image";
|
|
10124
|
+
videoId?: string;
|
|
10125
|
+
videoUrl?: string;
|
|
10126
|
+
isDirectVideoUrl?: boolean;
|
|
10127
|
+
imageId?: string;
|
|
10128
|
+
};
|
|
10129
|
+
keywords: {
|
|
10130
|
+
[key: string]: Keyword[];
|
|
10131
|
+
};
|
|
10132
|
+
type: StreamItemTypes.Post;
|
|
10133
|
+
isUnread: boolean;
|
|
10134
|
+
keywordsList?: Keyword[];
|
|
10135
|
+
groupIds?: string[];
|
|
10136
|
+
postAttachments?: StreamAttachment[];
|
|
10137
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10138
|
+
hasMoreUnreadComments: boolean;
|
|
10139
|
+
id: string;
|
|
10140
|
+
comments?: PaginatedList<Comment>;
|
|
10141
|
+
groupId: string;
|
|
10142
|
+
content: string;
|
|
10143
|
+
permalink?: string;
|
|
10144
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10145
|
+
publishingDate: string;
|
|
10146
|
+
modified?: string;
|
|
10147
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10148
|
+
contentLanguageCode?: string;
|
|
10149
|
+
isLiked?: boolean;
|
|
10150
|
+
isDemoContent?: boolean;
|
|
10151
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10152
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10153
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10154
|
+
fileAccessToken?: string;
|
|
10155
|
+
attachmentContainerId?: string;
|
|
10156
|
+
} | {
|
|
10157
|
+
knownState: KnownNewsState;
|
|
10158
|
+
pageType?: undefined;
|
|
10159
|
+
navigationContext?: undefined;
|
|
10160
|
+
userResponse: EventResponse;
|
|
10161
|
+
channels: {
|
|
10162
|
+
name: string;
|
|
10163
|
+
}[];
|
|
10164
|
+
contents: {};
|
|
10165
|
+
bannerInfo: {
|
|
10166
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10167
|
+
type: "video" | "image";
|
|
10168
|
+
videoId?: string;
|
|
10169
|
+
videoUrl?: string;
|
|
10170
|
+
isDirectVideoUrl?: boolean;
|
|
10171
|
+
imageId?: string;
|
|
10172
|
+
};
|
|
10173
|
+
keywords: {
|
|
10174
|
+
[key: string]: Keyword[];
|
|
10175
|
+
};
|
|
10176
|
+
type: StreamItemTypes.Post;
|
|
10177
|
+
isUnread: boolean;
|
|
10178
|
+
keywordsList?: Keyword[];
|
|
10179
|
+
groupIds?: string[];
|
|
10180
|
+
postAttachments?: StreamAttachment[];
|
|
10181
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10182
|
+
hasMoreUnreadComments: boolean;
|
|
10183
|
+
id: string;
|
|
10184
|
+
comments?: PaginatedList<Comment>;
|
|
10185
|
+
groupId: string;
|
|
10186
|
+
content: string;
|
|
10187
|
+
permalink?: string;
|
|
10188
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10189
|
+
publishingDate: string;
|
|
10190
|
+
modified?: string;
|
|
10191
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10192
|
+
contentLanguageCode?: string;
|
|
10193
|
+
isLiked?: boolean;
|
|
10194
|
+
isDemoContent?: boolean;
|
|
10195
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10196
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10197
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10198
|
+
fileAccessToken?: string;
|
|
10199
|
+
attachmentContainerId?: string;
|
|
10200
|
+
} | {
|
|
10201
|
+
knownState?: undefined;
|
|
10202
|
+
pageType: PageType;
|
|
10203
|
+
navigationContext: PageNavigationContext;
|
|
10204
|
+
userResponse: EventResponse;
|
|
10205
|
+
channels: {
|
|
10206
|
+
name: string;
|
|
10207
|
+
}[];
|
|
10208
|
+
contents: {};
|
|
10209
|
+
bannerInfo: {
|
|
10210
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10211
|
+
type: "video" | "image";
|
|
10212
|
+
videoId?: string;
|
|
10213
|
+
videoUrl?: string;
|
|
10214
|
+
isDirectVideoUrl?: boolean;
|
|
10215
|
+
imageId?: string;
|
|
10216
|
+
};
|
|
10217
|
+
keywords: {
|
|
10218
|
+
[key: string]: Keyword[];
|
|
10219
|
+
};
|
|
10220
|
+
type: StreamItemTypes.Post;
|
|
10221
|
+
isUnread: boolean;
|
|
10222
|
+
keywordsList?: Keyword[];
|
|
10223
|
+
groupIds?: string[];
|
|
10224
|
+
postAttachments?: StreamAttachment[];
|
|
10225
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10226
|
+
hasMoreUnreadComments: boolean;
|
|
10227
|
+
id: string;
|
|
10228
|
+
comments?: PaginatedList<Comment>;
|
|
10229
|
+
groupId: string;
|
|
10230
|
+
content: string;
|
|
10231
|
+
permalink?: string;
|
|
10232
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10233
|
+
publishingDate: string;
|
|
10234
|
+
modified?: string;
|
|
10235
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10236
|
+
contentLanguageCode?: string;
|
|
10237
|
+
isLiked?: boolean;
|
|
10238
|
+
isDemoContent?: boolean;
|
|
10239
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10240
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10241
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10242
|
+
fileAccessToken?: string;
|
|
10243
|
+
attachmentContainerId?: string;
|
|
10244
|
+
} | {
|
|
10245
|
+
knownState: KnownNewsState;
|
|
10246
|
+
pageType: PageType;
|
|
10247
|
+
navigationContext: PageNavigationContext;
|
|
10248
|
+
userResponse: EventResponse;
|
|
10249
|
+
channels: {
|
|
10250
|
+
name: string;
|
|
10251
|
+
}[];
|
|
10252
|
+
contents: {};
|
|
10253
|
+
bannerInfo: {
|
|
10254
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10255
|
+
type: "video" | "image";
|
|
10256
|
+
videoId?: string;
|
|
10257
|
+
videoUrl?: string;
|
|
10258
|
+
isDirectVideoUrl?: boolean;
|
|
10259
|
+
imageId?: string;
|
|
10260
|
+
};
|
|
10261
|
+
keywords: {
|
|
10262
|
+
[key: string]: Keyword[];
|
|
10263
|
+
};
|
|
10264
|
+
type: StreamItemTypes.Post;
|
|
10265
|
+
isUnread: boolean;
|
|
10266
|
+
keywordsList?: Keyword[];
|
|
10267
|
+
groupIds?: string[];
|
|
10268
|
+
postAttachments?: StreamAttachment[];
|
|
10269
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10270
|
+
hasMoreUnreadComments: boolean;
|
|
10271
|
+
id: string;
|
|
10272
|
+
comments?: PaginatedList<Comment>;
|
|
10273
|
+
groupId: string;
|
|
10274
|
+
content: string;
|
|
10275
|
+
permalink?: string;
|
|
10276
|
+
author: import("@livetiles/reach/util/common").Account;
|
|
10277
|
+
publishingDate: string;
|
|
10278
|
+
modified?: string;
|
|
10279
|
+
statistics: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10280
|
+
contentLanguageCode?: string;
|
|
10281
|
+
isLiked?: boolean;
|
|
10282
|
+
isDemoContent?: boolean;
|
|
10283
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10284
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10285
|
+
attachments?: import("@livetiles/reach/util/common").Attachment[];
|
|
10286
|
+
fileAccessToken?: string;
|
|
10287
|
+
attachmentContainerId?: string;
|
|
10288
|
+
} | {
|
|
10289
|
+
knownState: KnownNewsState;
|
|
10290
|
+
pageType?: undefined;
|
|
10291
|
+
navigationContext?: undefined;
|
|
10292
|
+
userResponse: EventResponse;
|
|
10293
|
+
channels: {
|
|
10294
|
+
name: string;
|
|
10295
|
+
}[];
|
|
10296
|
+
contents: {};
|
|
10297
|
+
bannerInfo: {
|
|
10298
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10299
|
+
type: "video" | "image";
|
|
10300
|
+
videoId?: string;
|
|
10301
|
+
videoUrl?: string;
|
|
10302
|
+
isDirectVideoUrl?: boolean;
|
|
10303
|
+
imageId?: string;
|
|
10304
|
+
};
|
|
10305
|
+
keywords: {
|
|
10306
|
+
[key: string]: Keyword[];
|
|
10307
|
+
};
|
|
10308
|
+
type: StreamItemTypes.News;
|
|
10309
|
+
contentsList: StreamPublishableItemContents[];
|
|
10310
|
+
channelsList: string[];
|
|
10311
|
+
isUnread: boolean;
|
|
10312
|
+
keywordsList?: Keyword[];
|
|
10313
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10314
|
+
source?: string;
|
|
10315
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10316
|
+
expiryDate?: string;
|
|
10317
|
+
hasNewComments?: boolean;
|
|
10318
|
+
isLiked?: boolean;
|
|
10319
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10320
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10321
|
+
id?: string;
|
|
10322
|
+
versionId?: string;
|
|
10323
|
+
publishingDate?: string;
|
|
10324
|
+
deleted?: string;
|
|
10325
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10326
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10327
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10328
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10329
|
+
fileAccessToken?: string;
|
|
10330
|
+
customProperties?: {
|
|
10331
|
+
[key: string]: any;
|
|
10332
|
+
};
|
|
10333
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10334
|
+
modified: string;
|
|
10335
|
+
created: string;
|
|
10336
|
+
publishedVersionId?: string;
|
|
10337
|
+
isCurrentPublishedVersion?: boolean;
|
|
10338
|
+
isLatestVersion?: boolean;
|
|
10339
|
+
permalink?: string;
|
|
10340
|
+
groupIds: string[];
|
|
10341
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10342
|
+
useExternalContent?: boolean;
|
|
10343
|
+
isDemoContent?: boolean;
|
|
10344
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10345
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10346
|
+
} | {
|
|
10347
|
+
knownState: KnownNewsState;
|
|
10348
|
+
pageType: PageType;
|
|
10349
|
+
navigationContext: PageNavigationContext;
|
|
10350
|
+
userResponse: EventResponse;
|
|
10351
|
+
channels: {
|
|
10352
|
+
name: string;
|
|
10353
|
+
}[];
|
|
10354
|
+
contents: {};
|
|
10355
|
+
bannerInfo: {
|
|
10356
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10357
|
+
type: "video" | "image";
|
|
10358
|
+
videoId?: string;
|
|
10359
|
+
videoUrl?: string;
|
|
10360
|
+
isDirectVideoUrl?: boolean;
|
|
10361
|
+
imageId?: string;
|
|
10362
|
+
};
|
|
10363
|
+
keywords: {
|
|
10364
|
+
[key: string]: Keyword[];
|
|
10365
|
+
};
|
|
10366
|
+
type: StreamItemTypes.News;
|
|
10367
|
+
contentsList: StreamPublishableItemContents[];
|
|
10368
|
+
channelsList: string[];
|
|
10369
|
+
isUnread: boolean;
|
|
10370
|
+
keywordsList?: Keyword[];
|
|
10371
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10372
|
+
source?: string;
|
|
10373
|
+
alertOptions?: import("@livetiles/reach/util/common").NewsItemAlertOptions;
|
|
10374
|
+
expiryDate?: string;
|
|
10375
|
+
hasNewComments?: boolean;
|
|
10376
|
+
isLiked?: boolean;
|
|
10377
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10378
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10379
|
+
id?: string;
|
|
10380
|
+
versionId?: string;
|
|
10381
|
+
publishingDate?: string;
|
|
10382
|
+
deleted?: string;
|
|
10383
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10384
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10385
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10386
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10387
|
+
fileAccessToken?: string;
|
|
10388
|
+
customProperties?: {
|
|
10389
|
+
[key: string]: any;
|
|
10390
|
+
};
|
|
10391
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10392
|
+
modified: string;
|
|
10393
|
+
created: string;
|
|
10394
|
+
publishedVersionId?: string;
|
|
10395
|
+
isCurrentPublishedVersion?: boolean;
|
|
10396
|
+
isLatestVersion?: boolean;
|
|
10397
|
+
permalink?: string;
|
|
10398
|
+
groupIds: string[];
|
|
10399
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10400
|
+
useExternalContent?: boolean;
|
|
10401
|
+
isDemoContent?: boolean;
|
|
10402
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10403
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10404
|
+
} | {
|
|
10405
|
+
knownState?: undefined;
|
|
10406
|
+
pageType?: undefined;
|
|
10407
|
+
navigationContext?: undefined;
|
|
10408
|
+
userResponse: EventResponse;
|
|
10409
|
+
channels: {
|
|
10410
|
+
name: string;
|
|
10411
|
+
}[];
|
|
10412
|
+
contents: {};
|
|
10413
|
+
bannerInfo: {
|
|
10414
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10415
|
+
type: "video" | "image";
|
|
10416
|
+
videoId?: string;
|
|
10417
|
+
videoUrl?: string;
|
|
10418
|
+
isDirectVideoUrl?: boolean;
|
|
10419
|
+
imageId?: string;
|
|
10420
|
+
};
|
|
10421
|
+
keywords: {
|
|
10422
|
+
[key: string]: Keyword[];
|
|
10423
|
+
};
|
|
10424
|
+
type: StreamItemTypes.Event;
|
|
10425
|
+
contentsList: StreamPublishableItemContents[];
|
|
10426
|
+
channelsList: string[];
|
|
10427
|
+
isUnread: boolean;
|
|
10428
|
+
keywordsList?: Keyword[];
|
|
10429
|
+
userResponseType?: StreamEventResponse;
|
|
10430
|
+
startDate?: string;
|
|
10431
|
+
endDate?: string;
|
|
10432
|
+
timeZone?: string;
|
|
10433
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10434
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10435
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10436
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10437
|
+
hasNewComments?: boolean;
|
|
10438
|
+
isLiked?: boolean;
|
|
10439
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10440
|
+
recurrenceSeriesId?: string;
|
|
10441
|
+
isSeriesMaster?: string;
|
|
10442
|
+
isVirtual?: boolean;
|
|
10443
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10444
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10445
|
+
id?: string;
|
|
10446
|
+
versionId?: string;
|
|
10447
|
+
publishingDate?: string;
|
|
10448
|
+
deleted?: string;
|
|
10449
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10450
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10451
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10452
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10453
|
+
fileAccessToken?: string;
|
|
10454
|
+
customProperties?: {
|
|
10455
|
+
[key: string]: any;
|
|
10456
|
+
};
|
|
10457
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10458
|
+
modified: string;
|
|
10459
|
+
created: string;
|
|
10460
|
+
publishedVersionId?: string;
|
|
10461
|
+
isCurrentPublishedVersion?: boolean;
|
|
10462
|
+
isLatestVersion?: boolean;
|
|
10463
|
+
permalink?: string;
|
|
10464
|
+
groupIds: string[];
|
|
10465
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10466
|
+
useExternalContent?: boolean;
|
|
10467
|
+
isDemoContent?: boolean;
|
|
10468
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10469
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10470
|
+
} | {
|
|
10471
|
+
knownState: KnownNewsState;
|
|
10472
|
+
pageType?: undefined;
|
|
10473
|
+
navigationContext?: undefined;
|
|
10474
|
+
userResponse: EventResponse;
|
|
10475
|
+
channels: {
|
|
10476
|
+
name: string;
|
|
10477
|
+
}[];
|
|
10478
|
+
contents: {};
|
|
10479
|
+
bannerInfo: {
|
|
10480
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10481
|
+
type: "video" | "image";
|
|
10482
|
+
videoId?: string;
|
|
10483
|
+
videoUrl?: string;
|
|
10484
|
+
isDirectVideoUrl?: boolean;
|
|
10485
|
+
imageId?: string;
|
|
10486
|
+
};
|
|
10487
|
+
keywords: {
|
|
10488
|
+
[key: string]: Keyword[];
|
|
10489
|
+
};
|
|
10490
|
+
type: StreamItemTypes.Event;
|
|
10491
|
+
contentsList: StreamPublishableItemContents[];
|
|
10492
|
+
channelsList: string[];
|
|
10493
|
+
isUnread: boolean;
|
|
10494
|
+
keywordsList?: Keyword[];
|
|
10495
|
+
userResponseType?: StreamEventResponse;
|
|
10496
|
+
startDate?: string;
|
|
10497
|
+
endDate?: string;
|
|
10498
|
+
timeZone?: string;
|
|
10499
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10500
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10501
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10502
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10503
|
+
hasNewComments?: boolean;
|
|
10504
|
+
isLiked?: boolean;
|
|
10505
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10506
|
+
recurrenceSeriesId?: string;
|
|
10507
|
+
isSeriesMaster?: string;
|
|
10508
|
+
isVirtual?: boolean;
|
|
10509
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10510
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10511
|
+
id?: string;
|
|
10512
|
+
versionId?: string;
|
|
10513
|
+
publishingDate?: string;
|
|
10514
|
+
deleted?: string;
|
|
10515
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10516
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10517
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10518
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10519
|
+
fileAccessToken?: string;
|
|
10520
|
+
customProperties?: {
|
|
10521
|
+
[key: string]: any;
|
|
10522
|
+
};
|
|
10523
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10524
|
+
modified: string;
|
|
10525
|
+
created: string;
|
|
10526
|
+
publishedVersionId?: string;
|
|
10527
|
+
isCurrentPublishedVersion?: boolean;
|
|
10528
|
+
isLatestVersion?: boolean;
|
|
10529
|
+
permalink?: string;
|
|
10530
|
+
groupIds: string[];
|
|
10531
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10532
|
+
useExternalContent?: boolean;
|
|
10533
|
+
isDemoContent?: boolean;
|
|
10534
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10535
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10536
|
+
} | {
|
|
10537
|
+
knownState?: undefined;
|
|
10538
|
+
pageType: PageType;
|
|
10539
|
+
navigationContext: PageNavigationContext;
|
|
10540
|
+
userResponse: EventResponse;
|
|
10541
|
+
channels: {
|
|
10542
|
+
name: string;
|
|
10543
|
+
}[];
|
|
10544
|
+
contents: {};
|
|
10545
|
+
bannerInfo: {
|
|
10546
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10547
|
+
type: "video" | "image";
|
|
10548
|
+
videoId?: string;
|
|
10549
|
+
videoUrl?: string;
|
|
10550
|
+
isDirectVideoUrl?: boolean;
|
|
10551
|
+
imageId?: string;
|
|
10552
|
+
};
|
|
10553
|
+
keywords: {
|
|
10554
|
+
[key: string]: Keyword[];
|
|
10555
|
+
};
|
|
10556
|
+
type: StreamItemTypes.Event;
|
|
10557
|
+
contentsList: StreamPublishableItemContents[];
|
|
10558
|
+
channelsList: string[];
|
|
10559
|
+
isUnread: boolean;
|
|
10560
|
+
keywordsList?: Keyword[];
|
|
10561
|
+
userResponseType?: StreamEventResponse;
|
|
10562
|
+
startDate?: string;
|
|
10563
|
+
endDate?: string;
|
|
10564
|
+
timeZone?: string;
|
|
10565
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10566
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10567
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10568
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10569
|
+
hasNewComments?: boolean;
|
|
10570
|
+
isLiked?: boolean;
|
|
10571
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10572
|
+
recurrenceSeriesId?: string;
|
|
10573
|
+
isSeriesMaster?: string;
|
|
10574
|
+
isVirtual?: boolean;
|
|
10575
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10576
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10577
|
+
id?: string;
|
|
10578
|
+
versionId?: string;
|
|
10579
|
+
publishingDate?: string;
|
|
10580
|
+
deleted?: string;
|
|
10581
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10582
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10583
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10584
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10585
|
+
fileAccessToken?: string;
|
|
10586
|
+
customProperties?: {
|
|
10587
|
+
[key: string]: any;
|
|
10588
|
+
};
|
|
10589
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10590
|
+
modified: string;
|
|
10591
|
+
created: string;
|
|
10592
|
+
publishedVersionId?: string;
|
|
10593
|
+
isCurrentPublishedVersion?: boolean;
|
|
10594
|
+
isLatestVersion?: boolean;
|
|
10595
|
+
permalink?: string;
|
|
10596
|
+
groupIds: string[];
|
|
10597
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10598
|
+
useExternalContent?: boolean;
|
|
10599
|
+
isDemoContent?: boolean;
|
|
10600
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10601
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10602
|
+
} | {
|
|
10603
|
+
knownState: KnownNewsState;
|
|
10604
|
+
pageType: PageType;
|
|
10605
|
+
navigationContext: PageNavigationContext;
|
|
10606
|
+
userResponse: EventResponse;
|
|
10607
|
+
channels: {
|
|
10608
|
+
name: string;
|
|
10609
|
+
}[];
|
|
10610
|
+
contents: {};
|
|
10611
|
+
bannerInfo: {
|
|
10612
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10613
|
+
type: "video" | "image";
|
|
10614
|
+
videoId?: string;
|
|
10615
|
+
videoUrl?: string;
|
|
10616
|
+
isDirectVideoUrl?: boolean;
|
|
10617
|
+
imageId?: string;
|
|
9545
10618
|
};
|
|
9546
|
-
|
|
9547
|
-
|
|
9548
|
-
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
9549
|
-
import { FC } from 'react';
|
|
9550
|
-
export const PostFollowButton: FC<{
|
|
9551
|
-
itemId: string;
|
|
9552
|
-
}>;
|
|
9553
|
-
}
|
|
9554
|
-
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
9555
|
-
import { FC } from 'react';
|
|
9556
|
-
import { NavLink } from 'react-router-dom';
|
|
9557
|
-
export const PostGroup: FC<{
|
|
9558
|
-
groupId: string;
|
|
9559
|
-
to: string;
|
|
9560
|
-
className?: string;
|
|
9561
|
-
}>;
|
|
9562
|
-
export const Group: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
9563
|
-
}
|
|
9564
|
-
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
9565
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9566
|
-
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9567
|
-
interface Props {
|
|
9568
|
-
post: Post;
|
|
9569
|
-
className?: string;
|
|
9570
|
-
threadId?: string;
|
|
9571
|
-
onCustomPostDelete?: () => void;
|
|
9572
|
-
comments?: PaginatedList<Comment>;
|
|
9573
|
-
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9574
|
-
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9575
|
-
onThreadCommentDelete?: () => void;
|
|
9576
|
-
onThreadReply?: (threadId: string) => void;
|
|
9577
|
-
keywordSettings?: {
|
|
9578
|
-
availableKeywords?: Keyword[];
|
|
9579
|
-
defaultKeywords?: Keyword[];
|
|
9580
|
-
mandatoryKeywords?: Keyword[];
|
|
10619
|
+
keywords: {
|
|
10620
|
+
[key: string]: Keyword[];
|
|
9581
10621
|
};
|
|
9582
|
-
|
|
9583
|
-
|
|
9584
|
-
|
|
9585
|
-
|
|
9586
|
-
|
|
9587
|
-
|
|
9588
|
-
|
|
9589
|
-
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
|
|
9593
|
-
|
|
9594
|
-
|
|
9595
|
-
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
|
|
9599
|
-
|
|
9600
|
-
|
|
9601
|
-
|
|
9602
|
-
|
|
9603
|
-
|
|
9604
|
-
|
|
9605
|
-
|
|
9606
|
-
|
|
10622
|
+
type: StreamItemTypes.Event;
|
|
10623
|
+
contentsList: StreamPublishableItemContents[];
|
|
10624
|
+
channelsList: string[];
|
|
10625
|
+
isUnread: boolean;
|
|
10626
|
+
keywordsList?: Keyword[];
|
|
10627
|
+
userResponseType?: StreamEventResponse;
|
|
10628
|
+
startDate?: string;
|
|
10629
|
+
endDate?: string;
|
|
10630
|
+
timeZone?: string;
|
|
10631
|
+
contacts?: import("@livetiles/reach/util/common").Account[];
|
|
10632
|
+
registrationSettings?: import("@livetiles/reach/util/common").EventRegistrationSettings;
|
|
10633
|
+
cancelInformation?: import("@livetiles/reach/util/common").EventCancelInformation;
|
|
10634
|
+
locations?: import("@livetiles/reach/util/common").EventLocation[];
|
|
10635
|
+
hasNewComments?: boolean;
|
|
10636
|
+
isLiked?: boolean;
|
|
10637
|
+
recurrenceSettings?: import("@livetiles/reach/util/common").EventRecurrenceSettings;
|
|
10638
|
+
recurrenceSeriesId?: string;
|
|
10639
|
+
isSeriesMaster?: string;
|
|
10640
|
+
isVirtual?: boolean;
|
|
10641
|
+
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10642
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10643
|
+
id?: string;
|
|
10644
|
+
versionId?: string;
|
|
10645
|
+
publishingDate?: string;
|
|
10646
|
+
deleted?: string;
|
|
10647
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10648
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10649
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10650
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10651
|
+
fileAccessToken?: string;
|
|
10652
|
+
customProperties?: {
|
|
10653
|
+
[key: string]: any;
|
|
9607
10654
|
};
|
|
9608
|
-
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9620
|
-
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
10655
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10656
|
+
modified: string;
|
|
10657
|
+
created: string;
|
|
10658
|
+
publishedVersionId?: string;
|
|
10659
|
+
isCurrentPublishedVersion?: boolean;
|
|
10660
|
+
isLatestVersion?: boolean;
|
|
10661
|
+
permalink?: string;
|
|
10662
|
+
groupIds: string[];
|
|
10663
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10664
|
+
useExternalContent?: boolean;
|
|
10665
|
+
isDemoContent?: boolean;
|
|
10666
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10667
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10668
|
+
} | {
|
|
10669
|
+
knownState?: undefined;
|
|
10670
|
+
pageType?: PageType;
|
|
10671
|
+
navigationContext?: PageNavigationContext;
|
|
10672
|
+
userResponse: EventResponse;
|
|
10673
|
+
channels: {
|
|
10674
|
+
name: string;
|
|
10675
|
+
}[];
|
|
10676
|
+
contents: {};
|
|
10677
|
+
bannerInfo: {
|
|
10678
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10679
|
+
type: "video" | "image";
|
|
10680
|
+
videoId?: string;
|
|
10681
|
+
videoUrl?: string;
|
|
10682
|
+
isDirectVideoUrl?: boolean;
|
|
10683
|
+
imageId?: string;
|
|
9626
10684
|
};
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
10685
|
+
keywords: {
|
|
10686
|
+
[key: string]: Keyword[];
|
|
10687
|
+
};
|
|
10688
|
+
type: StreamItemTypes.Page;
|
|
10689
|
+
contentsList: StreamPublishableItemContents[];
|
|
10690
|
+
channelsList: string[];
|
|
10691
|
+
isUnread: boolean;
|
|
10692
|
+
keywordsList?: Keyword[];
|
|
10693
|
+
streamPageType?: string;
|
|
10694
|
+
path?: (PageNavigationNode & {
|
|
10695
|
+
parentId?: string;
|
|
10696
|
+
})[];
|
|
10697
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10698
|
+
parentId?: string;
|
|
10699
|
+
pathIds?: string[];
|
|
10700
|
+
position?: number;
|
|
10701
|
+
hasHiddenAncestor?: boolean;
|
|
10702
|
+
isUnlinked?: boolean;
|
|
10703
|
+
firstChildId?: string;
|
|
10704
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10705
|
+
id?: string;
|
|
10706
|
+
versionId?: string;
|
|
10707
|
+
publishingDate?: string;
|
|
10708
|
+
deleted?: string;
|
|
10709
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10710
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10711
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10712
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10713
|
+
fileAccessToken?: string;
|
|
10714
|
+
customProperties?: {
|
|
10715
|
+
[key: string]: any;
|
|
10716
|
+
};
|
|
10717
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10718
|
+
modified: string;
|
|
10719
|
+
created: string;
|
|
10720
|
+
publishedVersionId?: string;
|
|
10721
|
+
isCurrentPublishedVersion?: boolean;
|
|
10722
|
+
isLatestVersion?: boolean;
|
|
10723
|
+
permalink?: string;
|
|
10724
|
+
groupIds: string[];
|
|
10725
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10726
|
+
useExternalContent?: boolean;
|
|
10727
|
+
isDemoContent?: boolean;
|
|
10728
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10729
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10730
|
+
} | {
|
|
10731
|
+
knownState: KnownNewsState;
|
|
10732
|
+
pageType?: PageType;
|
|
10733
|
+
navigationContext?: PageNavigationContext;
|
|
10734
|
+
userResponse: EventResponse;
|
|
10735
|
+
channels: {
|
|
10736
|
+
name: string;
|
|
10737
|
+
}[];
|
|
10738
|
+
contents: {};
|
|
10739
|
+
bannerInfo: {
|
|
10740
|
+
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
10741
|
+
type: "video" | "image";
|
|
10742
|
+
videoId?: string;
|
|
10743
|
+
videoUrl?: string;
|
|
10744
|
+
isDirectVideoUrl?: boolean;
|
|
10745
|
+
imageId?: string;
|
|
10746
|
+
};
|
|
10747
|
+
keywords: {
|
|
10748
|
+
[key: string]: Keyword[];
|
|
10749
|
+
};
|
|
10750
|
+
type: StreamItemTypes.Page;
|
|
10751
|
+
contentsList: StreamPublishableItemContents[];
|
|
10752
|
+
channelsList: string[];
|
|
10753
|
+
isUnread: boolean;
|
|
10754
|
+
keywordsList?: Keyword[];
|
|
10755
|
+
streamPageType?: string;
|
|
10756
|
+
path?: (PageNavigationNode & {
|
|
10757
|
+
parentId?: string;
|
|
10758
|
+
})[];
|
|
10759
|
+
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10760
|
+
parentId?: string;
|
|
10761
|
+
pathIds?: string[];
|
|
10762
|
+
position?: number;
|
|
10763
|
+
hasHiddenAncestor?: boolean;
|
|
10764
|
+
isUnlinked?: boolean;
|
|
10765
|
+
firstChildId?: string;
|
|
10766
|
+
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10767
|
+
id?: string;
|
|
10768
|
+
versionId?: string;
|
|
10769
|
+
publishingDate?: string;
|
|
10770
|
+
deleted?: string;
|
|
10771
|
+
author?: import("@livetiles/reach/util/common").Account;
|
|
10772
|
+
owner?: import("@livetiles/reach/util/common").Account;
|
|
10773
|
+
onBehalfOf?: import("@livetiles/reach/util/common").Account;
|
|
10774
|
+
status?: import("@livetiles/reach/util/common").WorkflowStatus;
|
|
10775
|
+
fileAccessToken?: string;
|
|
10776
|
+
customProperties?: {
|
|
10777
|
+
[key: string]: any;
|
|
10778
|
+
};
|
|
10779
|
+
modifiedBy: import("@livetiles/reach/util/common").Account;
|
|
10780
|
+
modified: string;
|
|
10781
|
+
created: string;
|
|
10782
|
+
publishedVersionId?: string;
|
|
10783
|
+
isCurrentPublishedVersion?: boolean;
|
|
10784
|
+
isLatestVersion?: boolean;
|
|
10785
|
+
permalink?: string;
|
|
10786
|
+
groupIds: string[];
|
|
10787
|
+
statistics?: import("@livetiles/reach/util/common").ItemStatistics;
|
|
10788
|
+
useExternalContent?: boolean;
|
|
10789
|
+
isDemoContent?: boolean;
|
|
10790
|
+
poll?: import("@livetiles/reach/util/common").Poll;
|
|
10791
|
+
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
10792
|
+
})[];
|
|
9634
10793
|
}
|
|
9635
|
-
declare module "libs/reach/feature/content/src/
|
|
10794
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10795
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10796
|
+
import { DocumentNode } from '@apollo/client';
|
|
10797
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10798
|
+
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition, FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
10799
|
+
export enum StreamEventResponse {
|
|
10800
|
+
NotSet = "NOTSET",
|
|
10801
|
+
Registered = "REGISTERED",
|
|
10802
|
+
Declined = "DECLINED"
|
|
10803
|
+
}
|
|
10804
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10805
|
+
}
|
|
10806
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10807
|
+
items: StreamItem[];
|
|
10808
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10809
|
+
loadMore: () => Promise<void>;
|
|
10810
|
+
pageInfo: {
|
|
10811
|
+
errors?: any;
|
|
10812
|
+
hasNextPage: boolean;
|
|
10813
|
+
skip: number;
|
|
10814
|
+
};
|
|
10815
|
+
refresh: () => Promise<void>;
|
|
10816
|
+
};
|
|
10817
|
+
export const getStreamQuery: () => DocumentNode;
|
|
10818
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10819
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10820
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10821
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10822
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10823
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10824
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
10825
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10826
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10827
|
+
}
|
|
10828
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
9636
10829
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9637
10830
|
import { DependencyList } from 'react';
|
|
9638
|
-
export function
|
|
10831
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
9639
10832
|
}
|
|
9640
10833
|
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
9641
10834
|
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -9653,7 +10846,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
9653
10846
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
9654
10847
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
9655
10848
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
9656
|
-
export * from "libs/reach/feature/content/src/posts/
|
|
10849
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
9657
10850
|
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
9658
10851
|
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
9659
10852
|
export * from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9673,7 +10866,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
|
9673
10866
|
onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
|
|
9674
10867
|
onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
|
|
9675
10868
|
className?: string;
|
|
9676
|
-
useLargeAvatar?: boolean;
|
|
9677
10869
|
useExternalLink?: boolean;
|
|
9678
10870
|
}
|
|
9679
10871
|
export const EditorListItem: FC<Props>;
|
|
@@ -9718,12 +10910,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
9718
10910
|
}
|
|
9719
10911
|
}
|
|
9720
10912
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
9721
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
10913
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9722
10914
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
9723
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
9724
|
-
import { PublishableItem, ItemVersionSummary, PublishableItemVersion } from "libs/reach/util/common/src/index";
|
|
9725
|
-
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9726
|
-
import { ResponseItem } from "libs/reach/util/common/src/index";
|
|
9727
10915
|
import { Observable } from 'rxjs';
|
|
9728
10916
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
9729
10917
|
export function useEditorApi(): {
|
|
@@ -9743,6 +10931,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
|
9743
10931
|
keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
|
|
9744
10932
|
saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
|
|
9745
10933
|
updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
|
|
10934
|
+
translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
|
|
9746
10935
|
};
|
|
9747
10936
|
}
|
|
9748
10937
|
declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
@@ -9766,6 +10955,59 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
9766
10955
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
9767
10956
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
9768
10957
|
}
|
|
10958
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
10959
|
+
import { FC } from 'react';
|
|
10960
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10961
|
+
export const StreamPostItemCard: FC<{
|
|
10962
|
+
post: PostStreamItem;
|
|
10963
|
+
onPostDelete: (id: string) => unknown;
|
|
10964
|
+
}>;
|
|
10965
|
+
}
|
|
10966
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
10967
|
+
import { FC } from 'react';
|
|
10968
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10969
|
+
export const StreamNewsItemCard: FC<{
|
|
10970
|
+
news: NewsStreamItem;
|
|
10971
|
+
}>;
|
|
10972
|
+
}
|
|
10973
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
10974
|
+
import { FC } from 'react';
|
|
10975
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10976
|
+
export const StreamEventItemCard: FC<{
|
|
10977
|
+
event: EventStreamItem;
|
|
10978
|
+
}>;
|
|
10979
|
+
}
|
|
10980
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
10981
|
+
import { FC } from 'react';
|
|
10982
|
+
export const GlobalSearchButton: FC;
|
|
10983
|
+
}
|
|
10984
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
10985
|
+
import { FC } from 'react';
|
|
10986
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10987
|
+
export type StreamQueryResult = {
|
|
10988
|
+
items: StreamItem[];
|
|
10989
|
+
};
|
|
10990
|
+
export const StreamList: FC;
|
|
10991
|
+
}
|
|
10992
|
+
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
10993
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10994
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
10995
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10996
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string): (take: number, skip?: number) => Promise<PaginatedList<NewsStreamItem>>;
|
|
10997
|
+
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
10998
|
+
}
|
|
10999
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11000
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
11001
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11002
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11003
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
11004
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
11005
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
11006
|
+
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
11007
|
+
}
|
|
11008
|
+
declare module "libs/reach/feature/content/src/search/index" {
|
|
11009
|
+
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11010
|
+
}
|
|
9769
11011
|
declare module "libs/reach/feature/content/src/index" {
|
|
9770
11012
|
export * from "libs/reach/feature/content/src/comments/index";
|
|
9771
11013
|
export * from "libs/reach/feature/content/src/common/index";
|
|
@@ -9778,6 +11020,8 @@ declare module "libs/reach/feature/content/src/index" {
|
|
|
9778
11020
|
export * from "libs/reach/feature/content/src/posts/index";
|
|
9779
11021
|
export * from "libs/reach/feature/content/src/editor/index";
|
|
9780
11022
|
export * from "libs/reach/feature/content/src/public-user/index";
|
|
11023
|
+
export * from "libs/reach/feature/content/src/stream/index";
|
|
11024
|
+
export * from "libs/reach/feature/content/src/search/index";
|
|
9781
11025
|
}
|
|
9782
11026
|
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
9783
11027
|
import { FC } from 'react';
|
|
@@ -9842,18 +11086,6 @@ declare module "apps/reach-app/src/app/admin/users/self-registration/SelfRegistr
|
|
|
9842
11086
|
import { FC } from 'react';
|
|
9843
11087
|
export const SelfRegistrationSettingsPage: FC;
|
|
9844
11088
|
}
|
|
9845
|
-
declare module "apps/reach-app/src/app/Intercom/Intercom" {
|
|
9846
|
-
export interface Intercom {
|
|
9847
|
-
(action: string, settings?: IntercomSettings): void;
|
|
9848
|
-
}
|
|
9849
|
-
export interface IntercomSettings {
|
|
9850
|
-
app_id: string;
|
|
9851
|
-
product_id: string;
|
|
9852
|
-
name?: string;
|
|
9853
|
-
email?: string;
|
|
9854
|
-
}
|
|
9855
|
-
export function create(settings: IntercomSettings): Intercom;
|
|
9856
|
-
}
|
|
9857
11089
|
declare module "apps/reach-app/src/app/AppLoader" {
|
|
9858
11090
|
import { FC } from 'react';
|
|
9859
11091
|
export const AppLoader: FC;
|
|
@@ -9899,21 +11131,20 @@ declare module "apps/reach-app/src/app/teams/TeamsContext" {
|
|
|
9899
11131
|
}>;
|
|
9900
11132
|
export const TeamsContextProvider: FC;
|
|
9901
11133
|
}
|
|
9902
|
-
declare module "apps/reach-app/src/app/
|
|
9903
|
-
export enum
|
|
9904
|
-
Authenticated = 0,
|
|
9905
|
-
UnAuthenticated = 1
|
|
9906
|
-
}
|
|
9907
|
-
export enum IntercomInitialState {
|
|
11134
|
+
declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
11135
|
+
export enum ZendeskInitialState {
|
|
9908
11136
|
Minimized = 0,
|
|
9909
11137
|
MobileHidden = 1
|
|
9910
11138
|
}
|
|
9911
|
-
export function
|
|
9912
|
-
export
|
|
9913
|
-
|
|
11139
|
+
export function shutdownZendesk(): void;
|
|
11140
|
+
export function useZendeskWithSubscription(): {
|
|
11141
|
+
showZendeskChat: () => void;
|
|
9914
11142
|
toggleIcon: (show: boolean) => void;
|
|
9915
|
-
}
|
|
9916
|
-
export function
|
|
11143
|
+
};
|
|
11144
|
+
export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
|
|
11145
|
+
showZendeskChat: () => void;
|
|
11146
|
+
toggleIcon: (show: boolean) => void;
|
|
11147
|
+
};
|
|
9917
11148
|
}
|
|
9918
11149
|
declare module "apps/reach-app/src/app/admin/terms-and-conditions/TermsAndConditionsPage" {
|
|
9919
11150
|
import { FC } from 'react';
|
|
@@ -9955,7 +11186,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
|
|
|
9955
11186
|
import { FC } from 'react';
|
|
9956
11187
|
export const AdminActionItem: FC<{
|
|
9957
11188
|
submenuContents: JSX.Element;
|
|
9958
|
-
onClick
|
|
11189
|
+
onClick?: () => unknown;
|
|
9959
11190
|
title?: string;
|
|
9960
11191
|
}>;
|
|
9961
11192
|
const AdminRoutes: FC;
|
|
@@ -9969,7 +11200,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
|
|
|
9969
11200
|
import { FC } from 'react';
|
|
9970
11201
|
export const ChatMenuNode: FC<{
|
|
9971
11202
|
title: string;
|
|
9972
|
-
onClick
|
|
11203
|
+
onClick?: () => void;
|
|
9973
11204
|
}>;
|
|
9974
11205
|
}
|
|
9975
11206
|
declare module "apps/reach-app/src/app/chrome/Sidebar" {
|
|
@@ -9996,20 +11227,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
|
|
|
9996
11227
|
className?: string;
|
|
9997
11228
|
}>;
|
|
9998
11229
|
}
|
|
9999
|
-
declare module "apps/reach-app/src/app/about/ApplicationVersion" {
|
|
10000
|
-
export default interface ApplicationVersion {
|
|
10001
|
-
description: string;
|
|
10002
|
-
version: string;
|
|
10003
|
-
commitId: string;
|
|
10004
|
-
}
|
|
10005
|
-
}
|
|
10006
|
-
declare module "apps/reach-app/src/app/chrome/VersionInfo" {
|
|
10007
|
-
import { FC } from 'react';
|
|
10008
|
-
export const VersionInfo: FC<{
|
|
10009
|
-
className?: string;
|
|
10010
|
-
renderCommitId?: boolean;
|
|
10011
|
-
}>;
|
|
10012
|
-
}
|
|
10013
11230
|
declare module "apps/reach-app/src/AppLoaderContextProvider" {
|
|
10014
11231
|
import { FC, ReactNode } from 'react';
|
|
10015
11232
|
export const AppLoaderContext: import("react").Context<{
|