@livetiles/reach-plugin-types 0.4.0-preview.23 → 0.4.0-preview.234
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 +775 -686
- 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;
|
|
@@ -1070,6 +1069,8 @@ declare module "libs/reach/util/common/src/user/Audience" {
|
|
|
1070
1069
|
[key: string]: string;
|
|
1071
1070
|
};
|
|
1072
1071
|
mode: AudienceMatchMode;
|
|
1072
|
+
includeDirectoryUsers?: boolean;
|
|
1073
|
+
includeNonDirectoryUsers?: boolean;
|
|
1073
1074
|
}
|
|
1074
1075
|
}
|
|
1075
1076
|
declare module "libs/reach/util/common/src/content/Language" {
|
|
@@ -1095,7 +1096,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1095
1096
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
1096
1097
|
import { Audience } from "libs/reach/util/common/src/user/Audience";
|
|
1097
1098
|
import { CurrentUser, NotificationType, UserGroupRole } from "libs/reach/util/common/src/user/User";
|
|
1098
|
-
import { SubscriptionInfo as BaseSubscriptionInfo
|
|
1099
|
+
import { IdentityProviderNames, IdentityProviderSettings, SubscriptionInfo as BaseSubscriptionInfo } from "libs/shared/util/authentication/src/index";
|
|
1099
1100
|
import { Language, LanguageBase } from "libs/reach/util/common/src/content/Language";
|
|
1100
1101
|
export interface DirectoryConfiguration extends DirectoryConfigurationPatch {
|
|
1101
1102
|
domains?: string[];
|
|
@@ -1133,6 +1134,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1133
1134
|
theme?: Theme;
|
|
1134
1135
|
allowPublicAccess?: boolean;
|
|
1135
1136
|
redirectToContent?: boolean;
|
|
1137
|
+
allowZendesk?: boolean;
|
|
1136
1138
|
}
|
|
1137
1139
|
export interface SignInSettings {
|
|
1138
1140
|
customIdentityProviders: IdentityProviderSettings[];
|
|
@@ -1707,6 +1709,7 @@ declare module "libs/reach/util/common/src/content/VideoSource" {
|
|
|
1707
1709
|
GenericUrl = 3,
|
|
1708
1710
|
Kaltura = 4
|
|
1709
1711
|
}
|
|
1712
|
+
export function convertStringToVideoSource(videoSource: string): VideoSource;
|
|
1710
1713
|
}
|
|
1711
1714
|
declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
1712
1715
|
import { ItemStatistics } from "libs/reach/util/common/src/content/ItemStatistics";
|
|
@@ -1714,6 +1717,19 @@ declare module "libs/reach/util/common/src/content/BaseItem" {
|
|
|
1714
1717
|
id?: string;
|
|
1715
1718
|
statistics?: ItemStatistics;
|
|
1716
1719
|
poll?: Poll;
|
|
1720
|
+
searchHighlights?: SearchHighlightSummary;
|
|
1721
|
+
}
|
|
1722
|
+
export interface SearchHighlightSummary {
|
|
1723
|
+
title: SearchHighlight[];
|
|
1724
|
+
content: SearchHighlight[];
|
|
1725
|
+
}
|
|
1726
|
+
export interface SearchHighlight {
|
|
1727
|
+
language: string;
|
|
1728
|
+
texts: {
|
|
1729
|
+
value: string;
|
|
1730
|
+
type: 'text' | 'hit';
|
|
1731
|
+
}[];
|
|
1732
|
+
score: number;
|
|
1717
1733
|
}
|
|
1718
1734
|
export interface Poll {
|
|
1719
1735
|
questions: PollQuestion[];
|
|
@@ -1781,7 +1797,6 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1781
1797
|
headline?: string;
|
|
1782
1798
|
intro?: string;
|
|
1783
1799
|
body?: string;
|
|
1784
|
-
bodyRaw?: string;
|
|
1785
1800
|
customProperties?: {
|
|
1786
1801
|
[key: string]: any;
|
|
1787
1802
|
};
|
|
@@ -2615,7 +2630,7 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2615
2630
|
}
|
|
2616
2631
|
export interface PageNavigationContext {
|
|
2617
2632
|
parent?: PageNavigationNode;
|
|
2618
|
-
siblings
|
|
2633
|
+
siblings?: PageNavigationNode[];
|
|
2619
2634
|
children?: PageNavigationNode[];
|
|
2620
2635
|
}
|
|
2621
2636
|
export enum PageType {
|
|
@@ -2717,7 +2732,17 @@ declare module "libs/reach/util/common/src/content/useClearUnreadItems" {
|
|
|
2717
2732
|
onStarted?: () => unknown;
|
|
2718
2733
|
onFinished?: () => unknown;
|
|
2719
2734
|
}
|
|
2720
|
-
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers): () => Promise<void>;
|
|
2735
|
+
export function useClearUnreadItems(itemType: ItemResourceTypes, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
2736
|
+
}
|
|
2737
|
+
declare module "libs/reach/util/common/src/content/useClearUnreadOnlyFilter" {
|
|
2738
|
+
export function useClearUnreadOnlyFilter(): {
|
|
2739
|
+
clearUnreadOnlyFilter: () => void;
|
|
2740
|
+
};
|
|
2741
|
+
}
|
|
2742
|
+
declare module "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler" {
|
|
2743
|
+
export function useUnreadItemsTogglerHandler(): {
|
|
2744
|
+
toggleUnreadItems: () => void;
|
|
2745
|
+
};
|
|
2721
2746
|
}
|
|
2722
2747
|
declare module "libs/reach/util/common/src/content/index" {
|
|
2723
2748
|
export * from "libs/reach/util/common/src/content/Attachment";
|
|
@@ -2742,6 +2767,8 @@ declare module "libs/reach/util/common/src/content/index" {
|
|
|
2742
2767
|
export * from "libs/reach/util/common/src/content/useFileApi";
|
|
2743
2768
|
export * from "libs/reach/util/common/src/content/content-keyword-utils";
|
|
2744
2769
|
export * from "libs/reach/util/common/src/content/useClearUnreadItems";
|
|
2770
|
+
export * from "libs/reach/util/common/src/content/useClearUnreadOnlyFilter";
|
|
2771
|
+
export * from "libs/reach/util/common/src/content/useUnreadItemsTogglerHandler";
|
|
2745
2772
|
}
|
|
2746
2773
|
declare module "libs/reach/util/common/src/Variables" {
|
|
2747
2774
|
export const maxContentWidth = 985;
|
|
@@ -2842,6 +2869,7 @@ declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
|
2842
2869
|
}
|
|
2843
2870
|
declare module "libs/reach/util/common/src/notification/ToastNotificationHost" {
|
|
2844
2871
|
import { FC } from 'react';
|
|
2872
|
+
import 'react-toastify/dist/ReactToastify.min.css';
|
|
2845
2873
|
export const ToastNotificationHost: FC;
|
|
2846
2874
|
}
|
|
2847
2875
|
declare module "libs/reach/util/common/src/notification/index" {
|
|
@@ -2911,7 +2939,7 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2911
2939
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2912
2940
|
export interface Chat {
|
|
2913
2941
|
id: string;
|
|
2914
|
-
members: Account[];
|
|
2942
|
+
members: (Account & ChatMember)[];
|
|
2915
2943
|
memberIds: string[];
|
|
2916
2944
|
groupName?: string;
|
|
2917
2945
|
lastMessageInfo?: {
|
|
@@ -2922,6 +2950,10 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2922
2950
|
deleteDate?: string;
|
|
2923
2951
|
deleteState?: DeleteState;
|
|
2924
2952
|
messageType?: ChatMessageType;
|
|
2953
|
+
messageValues?: {
|
|
2954
|
+
groupName?: string;
|
|
2955
|
+
userId?: string;
|
|
2956
|
+
};
|
|
2925
2957
|
};
|
|
2926
2958
|
messages: ChatMessage[];
|
|
2927
2959
|
hasNewMessages: boolean;
|
|
@@ -2934,7 +2966,19 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
2934
2966
|
}
|
|
2935
2967
|
export enum ChatMessageType {
|
|
2936
2968
|
Default = "DEFAULT",
|
|
2937
|
-
GroupNameChange = "GROUP_NAME_CHANGE"
|
|
2969
|
+
GroupNameChange = "GROUP_NAME_CHANGE",
|
|
2970
|
+
UserLeftGroup = "USER_LEFT_GROUP"
|
|
2971
|
+
}
|
|
2972
|
+
export enum MemberStatus {
|
|
2973
|
+
Normal = "NORMAL",
|
|
2974
|
+
LeftGroupChat = "LEFT_GROUP_CHAT",
|
|
2975
|
+
LeftOneToOneChat = "LEFT_ONE_TO_ONE_CHAT"
|
|
2976
|
+
}
|
|
2977
|
+
export interface ChatMember {
|
|
2978
|
+
id?: string;
|
|
2979
|
+
status?: MemberStatus;
|
|
2980
|
+
joinDate?: string;
|
|
2981
|
+
leftDate?: string;
|
|
2938
2982
|
}
|
|
2939
2983
|
export interface ChatMessage {
|
|
2940
2984
|
itemId: string;
|
|
@@ -3148,6 +3192,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3148
3192
|
placeholderStringResourceKey?: string;
|
|
3149
3193
|
autoFocus?: boolean;
|
|
3150
3194
|
inputId?: string;
|
|
3195
|
+
required?: boolean;
|
|
3151
3196
|
className?: string;
|
|
3152
3197
|
}
|
|
3153
3198
|
export const PeoplePicker: FC<Props>;
|
|
@@ -3185,8 +3230,6 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3185
3230
|
}
|
|
3186
3231
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3187
3232
|
import { FC } from 'react';
|
|
3188
|
-
import './Notification.scss';
|
|
3189
|
-
import 'react-toastify/dist/ReactToastify.min.css';
|
|
3190
3233
|
export const NotificationBar: FC;
|
|
3191
3234
|
}
|
|
3192
3235
|
declare module "libs/reach/ui/common/src/common/AttachedMediaDownloadLink" {
|
|
@@ -3265,8 +3308,8 @@ declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
|
3265
3308
|
}
|
|
3266
3309
|
declare module "libs/reach/ui/common/src/common/Callout" {
|
|
3267
3310
|
import { FC } from 'react';
|
|
3268
|
-
import {
|
|
3269
|
-
export const Callout: FC<
|
|
3311
|
+
import { IFocusTrapCalloutProps } from 'office-ui-fabric-react';
|
|
3312
|
+
export const Callout: FC<IFocusTrapCalloutProps>;
|
|
3270
3313
|
}
|
|
3271
3314
|
declare module "libs/reach/ui/common/src/common/CommentInputTheme" {
|
|
3272
3315
|
export type CommentInputTheme = 'light' | 'dark';
|
|
@@ -3343,12 +3386,13 @@ declare module "libs/reach/ui/common/src/common/Dropdown" {
|
|
|
3343
3386
|
export const Dropdown: FC<IDropdownProps>;
|
|
3344
3387
|
}
|
|
3345
3388
|
declare module "libs/reach/ui/common/src/common/EmptyList" {
|
|
3389
|
+
import { FC } from 'react';
|
|
3346
3390
|
interface EmptyListProps {
|
|
3347
3391
|
icon?: string;
|
|
3348
3392
|
emptyMessageResources?: string[];
|
|
3349
3393
|
className?: string;
|
|
3350
3394
|
}
|
|
3351
|
-
export const EmptyList:
|
|
3395
|
+
export const EmptyList: FC<EmptyListProps>;
|
|
3352
3396
|
}
|
|
3353
3397
|
declare module "libs/reach/ui/common/src/common/EnumHelpers" {
|
|
3354
3398
|
export const hasFlag: (baseValue: any, flag: any) => boolean;
|
|
@@ -3499,18 +3543,6 @@ declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
|
|
|
3499
3543
|
date: string;
|
|
3500
3544
|
}>;
|
|
3501
3545
|
}
|
|
3502
|
-
declare module "libs/reach/ui/common/src/common/IconHeaderButton" {
|
|
3503
|
-
import { FC } from 'react';
|
|
3504
|
-
export const IconHeaderButton: FC<{
|
|
3505
|
-
icon: string;
|
|
3506
|
-
isActive?: boolean;
|
|
3507
|
-
disabled?: boolean;
|
|
3508
|
-
tooltipResourceKey?: string;
|
|
3509
|
-
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3510
|
-
link?: string;
|
|
3511
|
-
className?: string;
|
|
3512
|
-
}>;
|
|
3513
|
-
}
|
|
3514
3546
|
declare module "libs/reach/ui/common/src/common/IconLabel" {
|
|
3515
3547
|
import { FC, ReactNode } from 'react';
|
|
3516
3548
|
export const IconLabel: FC<{
|
|
@@ -3565,7 +3597,7 @@ declare module "libs/reach/ui/common/src/common/Logos" {
|
|
|
3565
3597
|
export { ReactComponent as WhiteDefaultLogoWithText } from './logos/logo-white-with-name.svg';
|
|
3566
3598
|
export { ReactComponent as LogoPurpleXL } from './logos/logo-purple-xl.svg';
|
|
3567
3599
|
export { ReactComponent as LogoSmall } from './logos/logo-s.svg';
|
|
3568
|
-
export { ReactComponent as
|
|
3600
|
+
export { ReactComponent as HorizontalLogoWithName } from './logos/horizontal-logo-with-name.svg';
|
|
3569
3601
|
}
|
|
3570
3602
|
declare module "libs/reach/ui/common/src/common/MobileFullHeightDialog" {
|
|
3571
3603
|
import { FC } from 'react';
|
|
@@ -3625,11 +3657,24 @@ declare module "libs/reach/ui/common/src/common/Prompt" {
|
|
|
3625
3657
|
}
|
|
3626
3658
|
export const Prompt: FC<Props>;
|
|
3627
3659
|
}
|
|
3660
|
+
declare module "libs/reach/ui/common/src/common/buttons/IconHeaderButton" {
|
|
3661
|
+
import { FC } from 'react';
|
|
3662
|
+
export const IconHeaderButton: FC<{
|
|
3663
|
+
icon: string;
|
|
3664
|
+
isActive?: boolean;
|
|
3665
|
+
disabled?: boolean;
|
|
3666
|
+
tooltipResourceKey?: string;
|
|
3667
|
+
onClick?: (ref: React.RefObject<Element>) => unknown;
|
|
3668
|
+
link?: string;
|
|
3669
|
+
className?: string;
|
|
3670
|
+
}>;
|
|
3671
|
+
}
|
|
3628
3672
|
declare module "libs/reach/ui/common/src/common/toolbar/ToolbarIconButtonWithToolTip" {
|
|
3629
3673
|
import { FC } from 'react';
|
|
3630
3674
|
export interface ToolbarIconButtonProps {
|
|
3631
3675
|
iconName: string;
|
|
3632
|
-
|
|
3676
|
+
ariaLabel?: string;
|
|
3677
|
+
ariaLabelResourceKey?: string;
|
|
3633
3678
|
onClick?: () => unknown;
|
|
3634
3679
|
to?: string;
|
|
3635
3680
|
target?: string;
|
|
@@ -3658,6 +3703,7 @@ declare module "libs/reach/ui/common/src/common/Search" {
|
|
|
3658
3703
|
onSearchTextChange?: (text: string) => void;
|
|
3659
3704
|
onExecuteSearch?: (text: string) => void;
|
|
3660
3705
|
searchText?: string;
|
|
3706
|
+
showSearchBoxInput?: boolean;
|
|
3661
3707
|
}
|
|
3662
3708
|
export const SearchBox: FC<SearchBoxProps & {
|
|
3663
3709
|
onSearchInputFieldVisibilityChanged?: (isVisible: boolean) => void;
|
|
@@ -3736,8 +3782,7 @@ declare module "libs/reach/ui/common/src/common/buttons/ChoiceGroup" {
|
|
|
3736
3782
|
}
|
|
3737
3783
|
declare module "libs/reach/ui/common/src/common/buttons/CommentActionMenu" {
|
|
3738
3784
|
import { FC } from 'react';
|
|
3739
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
3740
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
3785
|
+
import { Account, Comment } from "libs/reach/util/common/src/index";
|
|
3741
3786
|
export const CommentActionMenu: FC<{
|
|
3742
3787
|
comment: Comment;
|
|
3743
3788
|
showEdit: boolean;
|
|
@@ -3783,6 +3828,21 @@ declare module "libs/reach/ui/common/src/common/buttons/TopActionButton" {
|
|
|
3783
3828
|
}
|
|
3784
3829
|
export const TopActionButton: import("styled-components").StyledComponent<import("react").FC<Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
3785
3830
|
}
|
|
3831
|
+
declare module "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler" {
|
|
3832
|
+
import { FC } from 'react';
|
|
3833
|
+
export const UnreadItemsToggler: FC<{
|
|
3834
|
+
disabled: boolean;
|
|
3835
|
+
className?: string;
|
|
3836
|
+
}>;
|
|
3837
|
+
}
|
|
3838
|
+
declare module "libs/reach/ui/common/src/common/buttons/HeaderMenuButton" {
|
|
3839
|
+
import { FC } from 'react';
|
|
3840
|
+
import { IContextualMenuItem } from 'office-ui-fabric-react';
|
|
3841
|
+
export const HeaderMenuButton: FC<{
|
|
3842
|
+
items: IContextualMenuItem[];
|
|
3843
|
+
className?: string;
|
|
3844
|
+
}>;
|
|
3845
|
+
}
|
|
3786
3846
|
declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
|
|
3787
3847
|
import { FC } from 'react';
|
|
3788
3848
|
import { Channel } from "libs/reach/util/common/src/index";
|
|
@@ -3851,6 +3911,8 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelSelector" {
|
|
|
3851
3911
|
showSelectionToggle?: boolean;
|
|
3852
3912
|
placeholder?: string;
|
|
3853
3913
|
inlineControls?: boolean;
|
|
3914
|
+
required?: boolean;
|
|
3915
|
+
id?: string;
|
|
3854
3916
|
}
|
|
3855
3917
|
export const ChannelSelector: FC<Props>;
|
|
3856
3918
|
}
|
|
@@ -4120,6 +4182,21 @@ declare module "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch
|
|
|
4120
4182
|
isEmpty: boolean;
|
|
4121
4183
|
};
|
|
4122
4184
|
}
|
|
4185
|
+
declare module "libs/reach/ui/common/src/common/paging/PaginationStatus" {
|
|
4186
|
+
import { FC } from 'react';
|
|
4187
|
+
export const PaginationStatus: FC<{
|
|
4188
|
+
allLoadedResourceId: string;
|
|
4189
|
+
showAllLoaded: boolean;
|
|
4190
|
+
showSpinner?: boolean;
|
|
4191
|
+
showPlaceholder?: boolean;
|
|
4192
|
+
}>;
|
|
4193
|
+
}
|
|
4194
|
+
declare module "libs/reach/ui/common/src/common/paging/usePageScrollPagination" {
|
|
4195
|
+
import { DependencyList } from 'react';
|
|
4196
|
+
export function usePageScrollPagination(loadMoreItems: () => Promise<void>, allItemsLoaded?: boolean, additionalDeps?: DependencyList): {
|
|
4197
|
+
isLoadingMore: boolean;
|
|
4198
|
+
};
|
|
4199
|
+
}
|
|
4123
4200
|
declare module "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh" {
|
|
4124
4201
|
import { FC, ReactNode } from 'react';
|
|
4125
4202
|
export const PullToRefreshContext: import("react").Context<{
|
|
@@ -4171,6 +4248,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarMarkAllAsReadButt
|
|
|
4171
4248
|
onMarkAsReadStarted?: () => unknown;
|
|
4172
4249
|
onMarkAsReadFinished?: () => unknown;
|
|
4173
4250
|
disabled?: boolean;
|
|
4251
|
+
unreadCount?: number;
|
|
4174
4252
|
}
|
|
4175
4253
|
export const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
4176
4254
|
export const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
@@ -4354,7 +4432,6 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4354
4432
|
export * from "libs/reach/ui/common/src/common/FloatingActionButton";
|
|
4355
4433
|
export * from "libs/reach/ui/common/src/common/FormattedMessageWithStyle";
|
|
4356
4434
|
export * from "libs/reach/ui/common/src/common/GroupedByDateTitles";
|
|
4357
|
-
export * from "libs/reach/ui/common/src/common/IconHeaderButton";
|
|
4358
4435
|
export * from "libs/reach/ui/common/src/common/IconLabel";
|
|
4359
4436
|
export * from "libs/reach/ui/common/src/common/ItemStatisticsCache";
|
|
4360
4437
|
export * from "libs/reach/ui/common/src/common/KeywordTitle";
|
|
@@ -4385,6 +4462,9 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4385
4462
|
export * from "libs/reach/ui/common/src/common/buttons/DeleteAttachmentButton";
|
|
4386
4463
|
export * from "libs/reach/ui/common/src/common/buttons/ToggleAllButtons";
|
|
4387
4464
|
export * from "libs/reach/ui/common/src/common/buttons/TopActionButton";
|
|
4465
|
+
export * from "libs/reach/ui/common/src/common/buttons/UnreadItemsToggler";
|
|
4466
|
+
export * from "libs/reach/ui/common/src/common/buttons/IconHeaderButton";
|
|
4467
|
+
export * from "libs/reach/ui/common/src/common/buttons/HeaderMenuButton";
|
|
4388
4468
|
export * from "libs/reach/ui/common/src/common/channels/ChannelItem";
|
|
4389
4469
|
export * from "libs/reach/ui/common/src/common/channels/ChannelList";
|
|
4390
4470
|
export * from "libs/reach/ui/common/src/common/channels/ChannelSelector";
|
|
@@ -4413,6 +4493,8 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
4413
4493
|
export * from "libs/reach/ui/common/src/common/paging/HorizontalPager";
|
|
4414
4494
|
export * from "libs/reach/ui/common/src/common/paging/VerticalPager";
|
|
4415
4495
|
export * from "libs/reach/ui/common/src/common/paging/useItemLoaderWithPreFetch";
|
|
4496
|
+
export * from "libs/reach/ui/common/src/common/paging/PaginationStatus";
|
|
4497
|
+
export * from "libs/reach/ui/common/src/common/paging/usePageScrollPagination";
|
|
4416
4498
|
export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
|
|
4417
4499
|
export * from "libs/reach/ui/common/src/common/refreshScripts";
|
|
4418
4500
|
export * from "libs/reach/ui/common/src/common/toolbar/Toolbar";
|
|
@@ -4493,10 +4575,10 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
4493
4575
|
export function useEscapeOnClose(onClose: Function): void;
|
|
4494
4576
|
}
|
|
4495
4577
|
declare module "apps/reach-app/src/app/chrome/Header" {
|
|
4496
|
-
import { FC, ReactNode } from 'react';
|
|
4578
|
+
import { FC, Dispatch, SetStateAction, ReactNode, HTMLProps } from 'react';
|
|
4497
4579
|
import './Header.scss';
|
|
4498
4580
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
4499
|
-
interface Props extends
|
|
4581
|
+
interface Props extends HTMLProps<HTMLElement>, SearchBoxProps {
|
|
4500
4582
|
iconLeft?: string;
|
|
4501
4583
|
onToggleLeft?: () => void;
|
|
4502
4584
|
onToggleRight?: () => void;
|
|
@@ -4512,6 +4594,14 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
4512
4594
|
disableGoBack?: boolean;
|
|
4513
4595
|
route?: string;
|
|
4514
4596
|
}
|
|
4597
|
+
export interface HeaderContextType {
|
|
4598
|
+
setIsSearchInputFieldVisible: Dispatch<SetStateAction<boolean>>;
|
|
4599
|
+
isSearchInputFieldVisible: boolean;
|
|
4600
|
+
}
|
|
4601
|
+
export const HeaderContext: import("react").Context<HeaderContextType>;
|
|
4602
|
+
export const HeaderContextProvider: FC<{
|
|
4603
|
+
children: ReactNode;
|
|
4604
|
+
}>;
|
|
4515
4605
|
export const Header: FC<Props>;
|
|
4516
4606
|
}
|
|
4517
4607
|
declare module "apps/reach-app/src/app/chrome/FloatingPageActions" {
|
|
@@ -4631,12 +4721,13 @@ declare module "apps/reach-app/src/app/admin/AddButton" {
|
|
|
4631
4721
|
export const AddButton: FC<AddButtonProps>;
|
|
4632
4722
|
}
|
|
4633
4723
|
declare module "apps/reach-app/src/app/admin/common" {
|
|
4634
|
-
|
|
4635
|
-
|
|
4724
|
+
import { FC, ReactNode } from 'react';
|
|
4725
|
+
export const AdminPage: FC<{
|
|
4726
|
+
children: ReactNode;
|
|
4636
4727
|
className?: string;
|
|
4637
4728
|
domIdentifier?: string;
|
|
4638
4729
|
}>;
|
|
4639
|
-
export const
|
|
4730
|
+
export const AdminPageTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
|
|
4640
4731
|
}
|
|
4641
4732
|
declare module "apps/reach-app/src/app/admin/keywords/useKeywordsApi" {
|
|
4642
4733
|
import { KeywordGroup } from "libs/reach/util/common/src/index";
|
|
@@ -5207,6 +5298,7 @@ declare module "libs/shared/util/authentication-services/src/msal/WebMsalService
|
|
|
5207
5298
|
getCurrentEmailInternal(): Promise<string>;
|
|
5208
5299
|
private tryGetMsalV1Token;
|
|
5209
5300
|
private removeMsalV1IdToken;
|
|
5301
|
+
private tryGetGuestTenantId;
|
|
5210
5302
|
private handleAuthClientCallback;
|
|
5211
5303
|
private handleAuthClientErrorCallback;
|
|
5212
5304
|
private ensureAuthority;
|
|
@@ -5492,6 +5584,26 @@ declare module "apps/reach-app/src/app/common/GoToAdminConsentButton" {
|
|
|
5492
5584
|
}
|
|
5493
5585
|
export const GoToAdminConsentButton: React.FC<Props>;
|
|
5494
5586
|
}
|
|
5587
|
+
declare module "apps/reach-app/src/app/admin/groups/accountUtils" {
|
|
5588
|
+
import { IntlShape } from 'react-intl';
|
|
5589
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
5590
|
+
import { GroupUser } from "libs/reach/util/common/src/index";
|
|
5591
|
+
import { Group, GroupRule } from "libs/reach/util/common/src/index";
|
|
5592
|
+
export const systemAccountGroupIds: {
|
|
5593
|
+
everyone: string;
|
|
5594
|
+
directoryUsers: string;
|
|
5595
|
+
nonDirectoryUsers: string;
|
|
5596
|
+
allGroups: string[];
|
|
5597
|
+
};
|
|
5598
|
+
export function getDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5599
|
+
export function getNonDirectoryUsersGroup(intl: IntlShape): Account;
|
|
5600
|
+
export const getSystemAccountGroups: (useEveryoneGroup: boolean, intl: IntlShape) => Account[];
|
|
5601
|
+
export function extractSystemGroups(group: Group, useEveryoneGroup: boolean, intl: IntlShape): Generator<GroupUser, void, unknown>;
|
|
5602
|
+
export function createRuleFromAddedAccounts(currentRule: GroupRule, users: Account[]): Partial<GroupRule> | null;
|
|
5603
|
+
export function createRuleFromRemovedAccount(currentRule: GroupRule, account: GroupUser): Partial<GroupRule> | null;
|
|
5604
|
+
export const isAdGroup: (account: Account) => boolean;
|
|
5605
|
+
export const isUser: (account: Account) => boolean;
|
|
5606
|
+
}
|
|
5495
5607
|
declare module "apps/reach-app/src/app/admin/audience/AudienceSettingsDialog" {
|
|
5496
5608
|
import { FC } from 'react';
|
|
5497
5609
|
import { Audience } from "libs/reach/util/common/src/index";
|
|
@@ -5866,12 +5978,11 @@ declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
|
5866
5978
|
}>;
|
|
5867
5979
|
}
|
|
5868
5980
|
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
5869
|
-
import
|
|
5981
|
+
import { FC, ReactNode } from 'react';
|
|
5982
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
5870
5983
|
import './SidebarItem.scss';
|
|
5871
5984
|
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
5872
5985
|
import { LocationDescriptor } from 'history';
|
|
5873
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
5874
|
-
import { ReactNode } from 'react';
|
|
5875
5986
|
interface CommonSidebarItemProps {
|
|
5876
5987
|
title?: any;
|
|
5877
5988
|
titleResource?: string;
|
|
@@ -5904,13 +6015,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5904
6015
|
secondaryIconRoute?: LocationDescriptor;
|
|
5905
6016
|
isHoverable?: boolean;
|
|
5906
6017
|
}
|
|
5907
|
-
export const SidebarItem:
|
|
6018
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
5908
6019
|
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
5909
|
-
route:
|
|
6020
|
+
route: LocationDescriptor;
|
|
5910
6021
|
exact?: boolean;
|
|
5911
6022
|
linkClassName?: string;
|
|
5912
6023
|
}
|
|
5913
|
-
export const NavLinkSidebarItem:
|
|
6024
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
5914
6025
|
}
|
|
5915
6026
|
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
5916
6027
|
import { WrappedComponentProps } from 'react-intl';
|
|
@@ -6003,24 +6114,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupListPage" {
|
|
|
6003
6114
|
import { FC } from 'react';
|
|
6004
6115
|
export const GroupListPage: FC;
|
|
6005
6116
|
}
|
|
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
6117
|
declare module "apps/reach-app/src/app/admin/groups/UserRolePicker" {
|
|
6025
6118
|
import { FC } from 'react';
|
|
6026
6119
|
import { Account } from "libs/reach/util/common/src/index";
|
|
@@ -6265,6 +6358,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6265
6358
|
private static vimeoRegex;
|
|
6266
6359
|
private static microsoftStreamRegex;
|
|
6267
6360
|
private static vimeoDirectLinkRegex;
|
|
6361
|
+
private static vimeoRedirectLinkRegex;
|
|
6268
6362
|
private static kalturaRegex;
|
|
6269
6363
|
readonly source: VideoSource | null;
|
|
6270
6364
|
readonly id: string | null;
|
|
@@ -6272,9 +6366,11 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
|
6272
6366
|
readonly videoProperties: any;
|
|
6273
6367
|
readonly thumbnailUrl: string;
|
|
6274
6368
|
constructor(url: string);
|
|
6275
|
-
isValid(): boolean;
|
|
6369
|
+
isValid(features?: any): boolean;
|
|
6276
6370
|
}
|
|
6371
|
+
export function getVideoSources(features: any): any[];
|
|
6277
6372
|
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6373
|
+
export function getAllVideoSources(features: any): any[];
|
|
6278
6374
|
}
|
|
6279
6375
|
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6280
6376
|
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
@@ -6351,12 +6447,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
|
|
|
6351
6447
|
contacts?: string[];
|
|
6352
6448
|
}
|
|
6353
6449
|
}
|
|
6450
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6451
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6452
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6453
|
+
channels?: string[];
|
|
6454
|
+
}
|
|
6455
|
+
}
|
|
6354
6456
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6355
6457
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6356
6458
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
6357
6459
|
import { EventsStartDateFilterDefinition } from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
|
|
6358
6460
|
import { EventContactsFilterDefinition } from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
|
|
6359
|
-
|
|
6461
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6462
|
+
export interface EventFilterDefinition extends PublishableItemFilterDefinition, EventContactsFilterDefinition, EventsStartDateFilterDefinition, ChannelsFilterDefinition {
|
|
6360
6463
|
excludePastEvents?: boolean;
|
|
6361
6464
|
pastEventsOnly?: boolean;
|
|
6362
6465
|
}
|
|
@@ -6367,6 +6470,13 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6367
6470
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6368
6471
|
export const eventsLatestViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6369
6472
|
}
|
|
6473
|
+
declare module "libs/reach/feature/content/src/filter/utils" {
|
|
6474
|
+
export function getCommaSeparatedChannelsString(channels: string[]): {
|
|
6475
|
+
channels?: undefined;
|
|
6476
|
+
} | {
|
|
6477
|
+
channels: string;
|
|
6478
|
+
};
|
|
6479
|
+
}
|
|
6370
6480
|
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6371
6481
|
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6372
6482
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
@@ -6383,12 +6493,6 @@ declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
|
6383
6493
|
author?: string;
|
|
6384
6494
|
}
|
|
6385
6495
|
}
|
|
6386
|
-
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6387
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6388
|
-
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6389
|
-
channels?: string;
|
|
6390
|
-
}
|
|
6391
|
-
}
|
|
6392
6496
|
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
6393
6497
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6394
6498
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
@@ -6404,6 +6508,7 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6404
6508
|
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
6405
6509
|
groupId?: string;
|
|
6406
6510
|
bookmarksOnly?: boolean;
|
|
6511
|
+
unreadOnly?: boolean;
|
|
6407
6512
|
}
|
|
6408
6513
|
}
|
|
6409
6514
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
@@ -6619,7 +6724,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
6619
6724
|
private getVideoElement;
|
|
6620
6725
|
private getNotSupportedElement;
|
|
6621
6726
|
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
6622
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "
|
|
6727
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
6623
6728
|
}
|
|
6624
6729
|
}
|
|
6625
6730
|
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
@@ -6701,6 +6806,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
6701
6806
|
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
6702
6807
|
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
6703
6808
|
export class NewsService {
|
|
6809
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6704
6810
|
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6705
6811
|
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
6706
6812
|
static getContentLanguages(contents: {
|
|
@@ -6808,12 +6914,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
6808
6914
|
}
|
|
6809
6915
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
6810
6916
|
import { FC } from 'react';
|
|
6811
|
-
import { BannerInfo } from "libs/reach/util/common/src/index";
|
|
6812
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6917
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6813
6918
|
interface Props {
|
|
6814
6919
|
itemId: string;
|
|
6815
6920
|
bannerInfo: BannerInfo;
|
|
6816
|
-
|
|
6921
|
+
useEditorRoutes?: boolean;
|
|
6817
6922
|
width: number;
|
|
6818
6923
|
resourceType: ItemResourceTypes;
|
|
6819
6924
|
token?: string;
|
|
@@ -7244,7 +7349,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7244
7349
|
updateSelectedLanguage: (lang: string) => unknown;
|
|
7245
7350
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7246
7351
|
handleLanguageChange: (language: string) => unknown;
|
|
7247
|
-
|
|
7352
|
+
isEditorPreview?: boolean;
|
|
7248
7353
|
}
|
|
7249
7354
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7250
7355
|
}
|
|
@@ -7796,34 +7901,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
7796
7901
|
}>;
|
|
7797
7902
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
7798
7903
|
}
|
|
7799
|
-
declare module "libs/reach/feature/content/src/
|
|
7800
|
-
import { FC
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
className?: string;
|
|
7904
|
+
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
7905
|
+
import { FC } from 'react';
|
|
7906
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
7907
|
+
export const DetailViewContextProvider: FC<{
|
|
7908
|
+
itemId: string;
|
|
7909
|
+
type?: ItemResourceTypes;
|
|
7910
|
+
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
7911
|
+
isEditorPreview?: boolean;
|
|
7808
7912
|
}>;
|
|
7809
7913
|
}
|
|
7810
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7811
|
-
import {
|
|
7812
|
-
export
|
|
7914
|
+
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
7915
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7916
|
+
export interface EmbeddedObjectPreviewData {
|
|
7917
|
+
itemId: string;
|
|
7918
|
+
type: string;
|
|
7919
|
+
subscriptionIdentifier: string;
|
|
7920
|
+
}
|
|
7921
|
+
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
7813
7922
|
}
|
|
7814
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7815
|
-
import {
|
|
7816
|
-
export const
|
|
7923
|
+
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
7924
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7925
|
+
export const InlineImageMapper: HtmlComponentMapper;
|
|
7817
7926
|
}
|
|
7818
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7819
|
-
import {
|
|
7820
|
-
export
|
|
7927
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
7928
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7929
|
+
export interface ContactDetails {
|
|
7930
|
+
id: string;
|
|
7931
|
+
upn?: string;
|
|
7932
|
+
tenantId?: string;
|
|
7933
|
+
properties?: {
|
|
7934
|
+
[key: string]: {
|
|
7935
|
+
value: string;
|
|
7936
|
+
shouldAutoLoad?: boolean;
|
|
7937
|
+
};
|
|
7938
|
+
};
|
|
7939
|
+
}
|
|
7940
|
+
export const InlineContactMapper: HtmlComponentMapper;
|
|
7821
7941
|
}
|
|
7822
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7823
|
-
import { FC
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7942
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
|
|
7943
|
+
import { FC } from 'react';
|
|
7944
|
+
import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
7945
|
+
export const InlineContactViewer: FC<{
|
|
7946
|
+
contact: ContactDetails;
|
|
7827
7947
|
}>;
|
|
7828
7948
|
}
|
|
7829
7949
|
declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
|
|
@@ -7849,6 +7969,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
|
|
|
7849
7969
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7850
7970
|
export const InlineQuoteMapper: HtmlComponentMapper;
|
|
7851
7971
|
}
|
|
7972
|
+
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
7973
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7974
|
+
export const InlineVideoMapper: HtmlComponentMapper;
|
|
7975
|
+
}
|
|
7976
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
7977
|
+
import { FC } from 'react';
|
|
7978
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
7979
|
+
export const InlinePageListViewer: FC<{
|
|
7980
|
+
items: PageItem[];
|
|
7981
|
+
baseRoute: string;
|
|
7982
|
+
filterBaseUrl?: string;
|
|
7983
|
+
isInitialLoading?: boolean;
|
|
7984
|
+
}>;
|
|
7985
|
+
}
|
|
7986
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
7987
|
+
import { FC } from 'react';
|
|
7988
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
7989
|
+
export interface ListPagingProps {
|
|
7990
|
+
getNextPage: () => unknown;
|
|
7991
|
+
getPrevPage: () => unknown;
|
|
7992
|
+
getFirstPage: () => unknown;
|
|
7993
|
+
isLoadingNextPage: boolean;
|
|
7994
|
+
isInitialLoading: boolean;
|
|
7995
|
+
isFirstPage: boolean;
|
|
7996
|
+
hideNextButton: boolean;
|
|
7997
|
+
}
|
|
7998
|
+
export const InlinePageListWithPaging: FC<{
|
|
7999
|
+
pages: PageItem[];
|
|
8000
|
+
baseRoute: string;
|
|
8001
|
+
pagingProps?: ListPagingProps;
|
|
8002
|
+
filterBaseUrl?: string;
|
|
8003
|
+
}>;
|
|
8004
|
+
}
|
|
8005
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8006
|
+
import { DependencyList } from 'react';
|
|
8007
|
+
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8008
|
+
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8009
|
+
showPages: boolean;
|
|
8010
|
+
showDocuments: boolean;
|
|
8011
|
+
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8012
|
+
pageItems: any[];
|
|
8013
|
+
pagingProps: {
|
|
8014
|
+
hideNextButton: boolean;
|
|
8015
|
+
isInitialLoading: boolean;
|
|
8016
|
+
isLoadingNextPage: boolean;
|
|
8017
|
+
error: any;
|
|
8018
|
+
getFirstPage: () => void;
|
|
8019
|
+
getPrevPage: () => void;
|
|
8020
|
+
getNextPage: () => Promise<void>;
|
|
8021
|
+
isFirstPage: boolean;
|
|
8022
|
+
isLastPage: boolean;
|
|
8023
|
+
isEmpty: boolean;
|
|
8024
|
+
};
|
|
8025
|
+
};
|
|
8026
|
+
}
|
|
8027
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8028
|
+
import { FC } from 'react';
|
|
8029
|
+
export const InlinePageListSkeleton: FC<{
|
|
8030
|
+
isDataLoaded: boolean;
|
|
8031
|
+
pageSize?: number;
|
|
8032
|
+
}>;
|
|
8033
|
+
}
|
|
7852
8034
|
declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
|
|
7853
8035
|
export interface CodeDetails {
|
|
7854
8036
|
id: string;
|
|
@@ -7870,21 +8052,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
|
|
|
7870
8052
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7871
8053
|
export const InlineCodeMapper: HtmlComponentMapper;
|
|
7872
8054
|
}
|
|
7873
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
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
|
-
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
8055
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
7888
8056
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7889
8057
|
import { CSSProperties } from 'react';
|
|
7890
8058
|
export interface CellStyle {
|
|
@@ -7924,162 +8092,17 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
|
7924
8092
|
export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
|
|
7925
8093
|
export const InlineTable: HtmlComponentMapper;
|
|
7926
8094
|
}
|
|
7927
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7928
|
-
import {
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
7932
|
-
}>;
|
|
7933
|
-
}
|
|
7934
|
-
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
7935
|
-
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7936
|
-
export interface ContactDetails {
|
|
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;
|
|
7948
|
-
}
|
|
7949
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
7950
|
-
import { FC } from 'react';
|
|
7951
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
7952
|
-
export const InlinePageListViewer: FC<{
|
|
7953
|
-
items: PageItem[];
|
|
7954
|
-
baseRoute: string;
|
|
7955
|
-
filterBaseUrl?: string;
|
|
7956
|
-
isInitialLoading?: boolean;
|
|
7957
|
-
}>;
|
|
7958
|
-
}
|
|
7959
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
7960
|
-
import { FC } from 'react';
|
|
7961
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
7962
|
-
export interface ListPagingProps {
|
|
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;
|
|
7976
|
-
}>;
|
|
7977
|
-
}
|
|
7978
|
-
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
7979
|
-
import { PageType } from "libs/reach/util/common/src/index";
|
|
7980
|
-
export function useLoadPublishedItemsByKeywords(keywords: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
|
|
7981
|
-
}
|
|
7982
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
7983
|
-
import { FC } from 'react';
|
|
7984
|
-
export const InlinePageListSkeleton: FC<{
|
|
7985
|
-
isDataLoaded: boolean;
|
|
7986
|
-
pageSize?: number;
|
|
7987
|
-
}>;
|
|
7988
|
-
}
|
|
7989
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
7990
|
-
import { FC } from 'react';
|
|
7991
|
-
export const InlinePageListByKeywords: FC<{
|
|
7992
|
-
keywords: string;
|
|
7993
|
-
showDocuments?: boolean;
|
|
7994
|
-
showPages?: boolean;
|
|
7995
|
-
}>;
|
|
7996
|
-
}
|
|
7997
|
-
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
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" {
|
|
8002
|
-
import { FC } from 'react';
|
|
8003
|
-
export const InlinePageListByPageId: FC<{
|
|
8004
|
-
pageId: string;
|
|
8005
|
-
showDocuments: boolean;
|
|
8006
|
-
showPages: boolean;
|
|
8007
|
-
}>;
|
|
8008
|
-
}
|
|
8009
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8010
|
-
import { DependencyList } from 'react';
|
|
8011
|
-
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
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
|
-
};
|
|
8030
|
-
}
|
|
8031
|
-
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
8032
|
-
import { FC } from 'react';
|
|
8033
|
-
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8034
|
-
export const InlinePageListByCurrentPage: FC<{
|
|
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
|
-
}>;
|
|
8095
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
8096
|
+
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8097
|
+
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
8098
|
+
format: TableFormat;
|
|
8099
|
+
}, never>;
|
|
8078
8100
|
}
|
|
8079
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8080
|
-
import { FC } from 'react';
|
|
8081
|
-
export const
|
|
8101
|
+
declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
8102
|
+
import { FC, ReactNode } from 'react';
|
|
8103
|
+
export const ItemBodyWrapper: FC<{
|
|
8082
8104
|
className?: string;
|
|
8105
|
+
children?: ReactNode;
|
|
8083
8106
|
}>;
|
|
8084
8107
|
}
|
|
8085
8108
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
@@ -8096,9 +8119,11 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8096
8119
|
allowFilterByChannels?: boolean;
|
|
8097
8120
|
}>;
|
|
8098
8121
|
}
|
|
8099
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/
|
|
8122
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
8100
8123
|
import { FC } from 'react';
|
|
8101
|
-
export const
|
|
8124
|
+
export const EventDetailViewDatesInfo: FC<{
|
|
8125
|
+
className?: string;
|
|
8126
|
+
}>;
|
|
8102
8127
|
}
|
|
8103
8128
|
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8104
8129
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
@@ -8257,6 +8282,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8257
8282
|
import { FC } from 'react';
|
|
8258
8283
|
export const EventDetailViewRegistration: FC;
|
|
8259
8284
|
}
|
|
8285
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8286
|
+
import { FC } from 'react';
|
|
8287
|
+
export const EventDetailViewCancelInformation: FC;
|
|
8288
|
+
}
|
|
8260
8289
|
declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
8261
8290
|
import { FC } from 'react';
|
|
8262
8291
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
@@ -8512,178 +8541,54 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
|
|
|
8512
8541
|
eventItem: EventItem;
|
|
8513
8542
|
}>;
|
|
8514
8543
|
}
|
|
8515
|
-
declare module "libs/reach/feature/content/src/
|
|
8516
|
-
import {
|
|
8517
|
-
|
|
8518
|
-
|
|
8519
|
-
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
}
|
|
8523
|
-
|
|
8524
|
-
|
|
8525
|
-
|
|
8526
|
-
|
|
8527
|
-
|
|
8528
|
-
checked: boolean;
|
|
8529
|
-
}>;
|
|
8544
|
+
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8545
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8546
|
+
interface DateInfoProps {
|
|
8547
|
+
item: Partial<PublishableItem>;
|
|
8548
|
+
dateMode: DateMode;
|
|
8549
|
+
expiryDate?: string;
|
|
8550
|
+
className?: string;
|
|
8551
|
+
}
|
|
8552
|
+
export enum DateMode {
|
|
8553
|
+
Published = 0,
|
|
8554
|
+
Modified = 1
|
|
8555
|
+
}
|
|
8556
|
+
export const DateInfo: React.FC<DateInfoProps>;
|
|
8530
8557
|
}
|
|
8531
|
-
declare module "libs/reach/feature/content/src/
|
|
8532
|
-
import {
|
|
8533
|
-
import {
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8558
|
+
declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
8559
|
+
import { SchedulableItemChannel } from "libs/reach/util/common/src/index";
|
|
8560
|
+
import { DateMode } from "libs/reach/feature/content/src/news/DateInfo";
|
|
8561
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
8562
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8563
|
+
export const getAuthor: (item: Partial<PublishableItem>) => Account;
|
|
8564
|
+
export const ItemMetaInfo: React.FC<{
|
|
8565
|
+
item: Partial<PublishableItem>;
|
|
8538
8566
|
className?: string;
|
|
8567
|
+
expiryDate?: string;
|
|
8568
|
+
channels?: SchedulableItemChannel[];
|
|
8569
|
+
showChannels?: boolean;
|
|
8570
|
+
dateMode: DateMode;
|
|
8571
|
+
readOnly?: boolean;
|
|
8572
|
+
hideAvatar?: boolean;
|
|
8573
|
+
hideDisplayName?: boolean;
|
|
8574
|
+
language?: string;
|
|
8575
|
+
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8576
|
+
clickableAvatar?: boolean;
|
|
8539
8577
|
}>;
|
|
8540
8578
|
}
|
|
8541
|
-
declare module "libs/reach/feature/content/src/common/detail/
|
|
8542
|
-
import { FC } from 'react';
|
|
8543
|
-
export const DetailViewConfirmations: FC;
|
|
8544
|
-
}
|
|
8545
|
-
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
8579
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo" {
|
|
8546
8580
|
import { FC } from 'react';
|
|
8547
|
-
export const
|
|
8548
|
-
isReadOnly?: boolean;
|
|
8549
|
-
}>;
|
|
8581
|
+
export const PageDetailViewMetaInfo: FC;
|
|
8550
8582
|
}
|
|
8551
|
-
declare module "libs/reach/feature/content/src/common/detail/
|
|
8583
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8552
8584
|
import { FC } from 'react';
|
|
8553
|
-
export const
|
|
8585
|
+
export const PageDetailViewFeedbackSection: FC<{
|
|
8554
8586
|
hideLikes?: boolean;
|
|
8555
8587
|
hideComments?: boolean;
|
|
8556
8588
|
hideProfileUrl?: boolean;
|
|
8557
8589
|
disableLoginForPublicUser?: boolean;
|
|
8558
8590
|
}>;
|
|
8559
8591
|
}
|
|
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
|
-
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8602
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8603
|
-
interface DateInfoProps {
|
|
8604
|
-
item: Partial<PublishableItem>;
|
|
8605
|
-
dateMode: DateMode;
|
|
8606
|
-
expiryDate?: string;
|
|
8607
|
-
className?: string;
|
|
8608
|
-
}
|
|
8609
|
-
export enum DateMode {
|
|
8610
|
-
Published = 0,
|
|
8611
|
-
Modified = 1
|
|
8612
|
-
}
|
|
8613
|
-
export const DateInfo: React.FC<DateInfoProps>;
|
|
8614
|
-
}
|
|
8615
|
-
declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
8616
|
-
import { SchedulableItemChannel } from "libs/reach/util/common/src/index";
|
|
8617
|
-
import { DateMode } from "libs/reach/feature/content/src/news/DateInfo";
|
|
8618
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8619
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8620
|
-
export const getAuthor: (item: Partial<PublishableItem>) => Account;
|
|
8621
|
-
export const ItemMetaInfo: React.FC<{
|
|
8622
|
-
item: Partial<PublishableItem>;
|
|
8623
|
-
className?: string;
|
|
8624
|
-
expiryDate?: string;
|
|
8625
|
-
channels?: SchedulableItemChannel[];
|
|
8626
|
-
showChannels?: boolean;
|
|
8627
|
-
dateMode: DateMode;
|
|
8628
|
-
readOnly?: boolean;
|
|
8629
|
-
hideAvatar?: boolean;
|
|
8630
|
-
hideDisplayName?: boolean;
|
|
8631
|
-
language?: string;
|
|
8632
|
-
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8633
|
-
clickableAvatar?: boolean;
|
|
8634
|
-
}>;
|
|
8635
|
-
}
|
|
8636
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo" {
|
|
8637
|
-
import { FC } from 'react';
|
|
8638
|
-
export const PageDetailViewMetaInfo: FC;
|
|
8639
|
-
}
|
|
8640
|
-
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
8641
|
-
import { FC } from 'react';
|
|
8642
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8643
|
-
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
8644
|
-
export const DetailViewPageDocumentDownload: FC;
|
|
8645
|
-
export const PageDocumentDownloadButton: FC<{
|
|
8646
|
-
item: PageItem;
|
|
8647
|
-
content: PublishableItemContent;
|
|
8648
|
-
basePath?: string;
|
|
8649
|
-
}>;
|
|
8650
|
-
}
|
|
8651
|
-
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8652
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8653
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8654
|
-
interface Props {
|
|
8655
|
-
id: string;
|
|
8656
|
-
item: PublishableItem;
|
|
8657
|
-
itemResourceType: ItemResourceTypes;
|
|
8658
|
-
}
|
|
8659
|
-
export const CardBanner: React.FC<Props>;
|
|
8660
|
-
}
|
|
8661
|
-
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8662
|
-
import { FC, ReactNode } from 'react';
|
|
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
8592
|
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
8688
8593
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8689
8594
|
import * as H from 'history';
|
|
@@ -8790,6 +8695,104 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8790
8695
|
import { FC } from 'react';
|
|
8791
8696
|
export const PageDetailViewTableOfContentsButton: FC;
|
|
8792
8697
|
}
|
|
8698
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
8699
|
+
import { PageType } from "libs/reach/util/common/src/index";
|
|
8700
|
+
export function useLoadPublishedItemsByKeywords(keywords: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<import("@livetiles/reach/util/common").PaginatedList<import("@livetiles/reach/util/common").PageItem>>;
|
|
8701
|
+
}
|
|
8702
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
8703
|
+
import { FC } from 'react';
|
|
8704
|
+
export const InlinePageListByKeywords: FC<{
|
|
8705
|
+
keywords: string;
|
|
8706
|
+
showDocuments?: boolean;
|
|
8707
|
+
showPages?: boolean;
|
|
8708
|
+
}>;
|
|
8709
|
+
}
|
|
8710
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
8711
|
+
import { PageType } from "libs/reach/util/common/src/index";
|
|
8712
|
+
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>>;
|
|
8713
|
+
}
|
|
8714
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
8715
|
+
import { FC } from 'react';
|
|
8716
|
+
export const InlinePageListByPageId: FC<{
|
|
8717
|
+
pageId: string;
|
|
8718
|
+
showDocuments: boolean;
|
|
8719
|
+
showPages: boolean;
|
|
8720
|
+
}>;
|
|
8721
|
+
}
|
|
8722
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
8723
|
+
import { FC } from 'react';
|
|
8724
|
+
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8725
|
+
export const InlinePageListByCurrentPage: FC<{
|
|
8726
|
+
blockProps?: PageListDetails;
|
|
8727
|
+
}>;
|
|
8728
|
+
}
|
|
8729
|
+
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
8730
|
+
import { FC } from 'react';
|
|
8731
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8732
|
+
export interface PageListDetails {
|
|
8733
|
+
id?: string;
|
|
8734
|
+
showChildren?: boolean;
|
|
8735
|
+
showDocuments?: boolean;
|
|
8736
|
+
showPages?: boolean;
|
|
8737
|
+
pageId?: string;
|
|
8738
|
+
keywords?: string;
|
|
8739
|
+
}
|
|
8740
|
+
export const InlinePageList: FC<{
|
|
8741
|
+
blockProps?: PageListDetails;
|
|
8742
|
+
}>;
|
|
8743
|
+
export const InlinePageListMapper: HtmlComponentMapper;
|
|
8744
|
+
}
|
|
8745
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
8746
|
+
import { FC } from 'react';
|
|
8747
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8748
|
+
export const PageBreadcrumb: FC<{
|
|
8749
|
+
page: PageItem;
|
|
8750
|
+
target?: string;
|
|
8751
|
+
language?: string;
|
|
8752
|
+
hideCurrentPageNode?: boolean;
|
|
8753
|
+
className?: string;
|
|
8754
|
+
}>;
|
|
8755
|
+
}
|
|
8756
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
8757
|
+
import { FC } from 'react';
|
|
8758
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8759
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
8760
|
+
export const DetailViewPageDocumentDownload: FC;
|
|
8761
|
+
export const PageDocumentDownloadButton: FC<{
|
|
8762
|
+
item: PageItem;
|
|
8763
|
+
content: PublishableItemContent;
|
|
8764
|
+
basePath?: string;
|
|
8765
|
+
}>;
|
|
8766
|
+
}
|
|
8767
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8768
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8769
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8770
|
+
interface Props {
|
|
8771
|
+
id: string;
|
|
8772
|
+
item: PublishableItem;
|
|
8773
|
+
itemResourceType: ItemResourceTypes;
|
|
8774
|
+
}
|
|
8775
|
+
export const CardBanner: React.FC<Props>;
|
|
8776
|
+
}
|
|
8777
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8778
|
+
import { FC, ReactNode } from 'react';
|
|
8779
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8780
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8781
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8782
|
+
interface CardProps {
|
|
8783
|
+
item: PublishableItem;
|
|
8784
|
+
itemResourceType: ItemResourceTypes;
|
|
8785
|
+
additionalMetadata?: ReactNode;
|
|
8786
|
+
highlight?: boolean;
|
|
8787
|
+
className?: string;
|
|
8788
|
+
}
|
|
8789
|
+
export const Card: FC<CardProps>;
|
|
8790
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
8791
|
+
item: TItem;
|
|
8792
|
+
language: string;
|
|
8793
|
+
}
|
|
8794
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8795
|
+
}
|
|
8793
8796
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
8794
8797
|
import { FC } from 'react';
|
|
8795
8798
|
interface LanguageSelectorProps {
|
|
@@ -8811,229 +8814,191 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8811
8814
|
className?: string;
|
|
8812
8815
|
}>;
|
|
8813
8816
|
}
|
|
8817
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
|
|
8818
|
+
import { FC } from 'react';
|
|
8819
|
+
export const DetailViewBanner: FC;
|
|
8820
|
+
}
|
|
8821
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
8822
|
+
import { FC } from 'react';
|
|
8823
|
+
export const DetailViewIntro: FC;
|
|
8824
|
+
}
|
|
8825
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
8826
|
+
import { FC } from 'react';
|
|
8827
|
+
export const DetailMainSection: FC;
|
|
8828
|
+
}
|
|
8829
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
8830
|
+
import { FC, ReactNode } from 'react';
|
|
8831
|
+
export const GutterMarkerIcon: FC<{
|
|
8832
|
+
iconName: string;
|
|
8833
|
+
children: ReactNode;
|
|
8834
|
+
isActive: boolean;
|
|
8835
|
+
color: string;
|
|
8836
|
+
tooltipResourceKey?: string;
|
|
8837
|
+
className?: string;
|
|
8838
|
+
}>;
|
|
8839
|
+
}
|
|
8840
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
8841
|
+
import { FC } from 'react';
|
|
8842
|
+
export const DetailViewTitle: FC;
|
|
8843
|
+
}
|
|
8814
8844
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
|
|
8815
8845
|
import { FC } from 'react';
|
|
8816
8846
|
export const NewsDetailViewMetaInfo: FC;
|
|
8817
8847
|
}
|
|
8848
|
+
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
8849
|
+
import { FC } from 'react';
|
|
8850
|
+
export const RichTextViewer: FC<{
|
|
8851
|
+
html: string;
|
|
8852
|
+
}>;
|
|
8853
|
+
}
|
|
8854
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
8855
|
+
import { FC } from 'react';
|
|
8856
|
+
export const DetailViewBody: FC;
|
|
8857
|
+
}
|
|
8858
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
8859
|
+
import { FC } from 'react';
|
|
8860
|
+
export const DetailViewKeywords: FC<{
|
|
8861
|
+
filterBaseUrl: string;
|
|
8862
|
+
}>;
|
|
8863
|
+
}
|
|
8864
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
8865
|
+
import { FC } from 'react';
|
|
8866
|
+
export const ConfirmationBox: FC<{
|
|
8867
|
+
disabled?: boolean;
|
|
8868
|
+
onChange?: (value: boolean) => void;
|
|
8869
|
+
checked: boolean;
|
|
8870
|
+
}>;
|
|
8871
|
+
}
|
|
8872
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
8873
|
+
import { FC } from 'react';
|
|
8874
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8875
|
+
export const ConfirmationSection: FC<{
|
|
8876
|
+
item?: NewsItem;
|
|
8877
|
+
showDescription: boolean;
|
|
8878
|
+
readOnly?: boolean;
|
|
8879
|
+
className?: string;
|
|
8880
|
+
}>;
|
|
8881
|
+
}
|
|
8882
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
8883
|
+
import { FC } from 'react';
|
|
8884
|
+
export const DetailViewConfirmations: FC;
|
|
8885
|
+
}
|
|
8886
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
8887
|
+
import { FC } from 'react';
|
|
8888
|
+
export const DetailViewPageViewTracker: FC;
|
|
8889
|
+
}
|
|
8890
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
8891
|
+
import { FC } from 'react';
|
|
8892
|
+
export const FeedbackButtonBookmark: FC<{
|
|
8893
|
+
isReadOnly?: boolean;
|
|
8894
|
+
}>;
|
|
8895
|
+
}
|
|
8896
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
8897
|
+
import { FC } from 'react';
|
|
8898
|
+
export const NewsDetailViewFeedbackSection: FC<{
|
|
8899
|
+
hideLikes?: boolean;
|
|
8900
|
+
hideComments?: boolean;
|
|
8901
|
+
hideProfileUrl?: boolean;
|
|
8902
|
+
disableLoginForPublicUser?: boolean;
|
|
8903
|
+
}>;
|
|
8904
|
+
}
|
|
8905
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
8906
|
+
import { FC, ReactNode } from 'react';
|
|
8907
|
+
export const DetailViewNavigation: FC<{
|
|
8908
|
+
children?: ReactNode;
|
|
8909
|
+
callout?: ReactNode;
|
|
8910
|
+
}>;
|
|
8911
|
+
}
|
|
8912
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
8913
|
+
import { FC } from 'react';
|
|
8914
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8915
|
+
export const DetailViewBodyExternalContent: FC<{
|
|
8916
|
+
itemType: ItemResourceTypes;
|
|
8917
|
+
}>;
|
|
8918
|
+
}
|
|
8919
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
8920
|
+
import { FC } from 'react';
|
|
8921
|
+
export const DetailViewHeadline: FC;
|
|
8922
|
+
}
|
|
8818
8923
|
declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
8819
8924
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
8820
8925
|
export const StateIcon: React.FC<{
|
|
8821
8926
|
status: WorkflowStatus;
|
|
8822
8927
|
isActive?: boolean;
|
|
8823
|
-
width?: number;
|
|
8824
|
-
activeColor?: string;
|
|
8825
|
-
}>;
|
|
8826
|
-
}
|
|
8827
|
-
declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
8828
|
-
import { ItemResourceTypes, PaginatedList, TaskSummary } from "libs/reach/util/common/src/index";
|
|
8829
|
-
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
8830
|
-
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
8831
|
-
export function useCommonEditorApi(): {
|
|
8832
|
-
list: <T>(type: ItemResourceTypes, filter?: NewsFilterDefinition, token?: string, sortDefinition?: SortFieldsDefinitionBuilder<string>) => Promise<PaginatedList<T>>;
|
|
8833
|
-
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
8834
|
-
};
|
|
8835
|
-
}
|
|
8836
|
-
declare module "libs/reach/feature/content/src/common/index" {
|
|
8837
|
-
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
8838
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
8839
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8840
|
-
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
|
-
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";
|
|
8928
|
+
width?: number;
|
|
8929
|
+
activeColor?: string;
|
|
8930
|
+
}>;
|
|
8931
|
+
}
|
|
8932
|
+
declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
8933
|
+
import { ItemResourceTypes, PaginatedList, TaskSummary } from "libs/reach/util/common/src/index";
|
|
8934
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
8935
|
+
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
8936
|
+
export function useCommonEditorApi(): {
|
|
8937
|
+
list: <T>(type: ItemResourceTypes, filter?: NewsFilterDefinition, token?: string, sortDefinition?: SortFieldsDefinitionBuilder<string>) => Promise<PaginatedList<T>>;
|
|
8938
|
+
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
8939
|
+
};
|
|
8940
|
+
}
|
|
8941
|
+
declare module "libs/reach/feature/content/src/common/index" {
|
|
8942
|
+
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
8872
8943
|
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8873
|
-
export * from "libs/reach/feature/content/src/common/
|
|
8874
|
-
export * from "libs/reach/feature/content/src/common/detail/
|
|
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";
|
|
8944
|
+
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
8945
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
8895
8946
|
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
8896
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8897
8947
|
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
8898
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8899
8948
|
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
8900
8949
|
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
8950
|
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
8951
|
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
8952
|
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
8953
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
8921
8954
|
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
8922
8955
|
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
8956
|
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
8927
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8928
8957
|
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
8958
|
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
8959
|
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
|
-
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
8960
|
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
8938
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8939
8961
|
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8940
8962
|
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8941
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8942
8963
|
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
8943
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8944
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8945
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8946
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
8947
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8948
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8949
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8950
8964
|
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8951
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8952
8965
|
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
8966
|
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
8956
8967
|
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
8957
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8958
8968
|
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8959
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8960
8969
|
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
8970
|
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
8971
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8967
8972
|
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
8973
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
8972
8974
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
8973
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8974
8975
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8975
8976
|
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
8977
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
8980
8978
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
8981
8979
|
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8982
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8983
8980
|
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8984
8981
|
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8985
8982
|
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
8983
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8992
8984
|
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
8985
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8997
8986
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8998
8987
|
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
8988
|
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
8989
|
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
8990
|
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
8991
|
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9013
8992
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9014
8993
|
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9015
8994
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9016
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9017
8995
|
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
8996
|
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9026
8997
|
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
8998
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9032
8999
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9033
9000
|
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9034
9001
|
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
9002
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9038
9003
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9039
9004
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
@@ -9050,7 +9015,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9050
9015
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9051
9016
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9052
9017
|
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9053
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9054
9018
|
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9055
9019
|
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9056
9020
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
@@ -9081,6 +9045,19 @@ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
|
9081
9045
|
isFilterActive?: boolean;
|
|
9082
9046
|
}
|
|
9083
9047
|
}
|
|
9048
|
+
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
9049
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9050
|
+
export enum ItemType {
|
|
9051
|
+
None = 0,
|
|
9052
|
+
News = 1,
|
|
9053
|
+
Post = 2,
|
|
9054
|
+
Page = 4,
|
|
9055
|
+
Event = 8
|
|
9056
|
+
}
|
|
9057
|
+
export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
|
|
9058
|
+
itemType?: ItemType;
|
|
9059
|
+
}
|
|
9060
|
+
}
|
|
9084
9061
|
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
9085
9062
|
import { FC } from 'react';
|
|
9086
9063
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
@@ -9129,7 +9106,9 @@ declare module "libs/reach/feature/content/src/filter/index" {
|
|
|
9129
9106
|
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
9130
9107
|
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
9131
9108
|
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
9109
|
+
export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
|
|
9132
9110
|
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
9111
|
+
export * from "libs/reach/feature/content/src/filter/utils";
|
|
9133
9112
|
}
|
|
9134
9113
|
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
9135
9114
|
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
@@ -9205,26 +9184,6 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
9205
9184
|
*/
|
|
9206
9185
|
export const Textarea: FC<TextareaProps>;
|
|
9207
9186
|
}
|
|
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
9187
|
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9229
9188
|
import { FC } from 'react';
|
|
9230
9189
|
interface Props {
|
|
@@ -9249,6 +9208,27 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
|
9249
9208
|
}
|
|
9250
9209
|
export const InsertImagesButton: FC<Props>;
|
|
9251
9210
|
}
|
|
9211
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9212
|
+
import { FC } from 'react';
|
|
9213
|
+
interface DateTimePickerProps {
|
|
9214
|
+
date: string;
|
|
9215
|
+
maxDate?: string;
|
|
9216
|
+
minDate?: string;
|
|
9217
|
+
dateValidationResourceKey?: string;
|
|
9218
|
+
timeValidationResourceKey?: string;
|
|
9219
|
+
readOnly?: boolean;
|
|
9220
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
9221
|
+
noDateResourceKey: string;
|
|
9222
|
+
selectDateResourceKey: string;
|
|
9223
|
+
dateOnly?: boolean;
|
|
9224
|
+
initialPickerDate?: string;
|
|
9225
|
+
label?: string;
|
|
9226
|
+
isRequired?: boolean;
|
|
9227
|
+
className?: string;
|
|
9228
|
+
}
|
|
9229
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9230
|
+
export default DateTimePicker;
|
|
9231
|
+
}
|
|
9252
9232
|
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
9253
9233
|
import moment, { Moment } from 'moment';
|
|
9254
9234
|
export enum DateRange {
|
|
@@ -9295,33 +9275,17 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
|
9295
9275
|
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
9296
9276
|
}
|
|
9297
9277
|
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
9278
|
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
9279
|
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9309
9280
|
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
9310
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9311
9281
|
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
9312
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9313
9282
|
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
9314
9283
|
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
9315
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9316
9284
|
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9317
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9318
9285
|
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9319
9286
|
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
9287
|
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
9323
9288
|
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
9324
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9325
9289
|
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9326
9290
|
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9327
9291
|
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
@@ -9401,6 +9365,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9401
9365
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9402
9366
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9403
9367
|
}
|
|
9368
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9369
|
+
import { FC } from 'react';
|
|
9370
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9371
|
+
export const SearchHighlighter: FC<{
|
|
9372
|
+
highlight: SearchHighlight;
|
|
9373
|
+
}>;
|
|
9374
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9375
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9376
|
+
}
|
|
9404
9377
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9405
9378
|
import { FC } from 'react';
|
|
9406
9379
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9429,11 +9402,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9429
9402
|
}
|
|
9430
9403
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9431
9404
|
import { FC } from 'react';
|
|
9432
|
-
import {
|
|
9405
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9433
9406
|
export const PageListItemBody: FC<{
|
|
9434
|
-
|
|
9435
|
-
[key: string]: PublishableItemContent;
|
|
9436
|
-
};
|
|
9407
|
+
page: PageItem;
|
|
9437
9408
|
search?: string;
|
|
9438
9409
|
}>;
|
|
9439
9410
|
}
|
|
@@ -9499,7 +9470,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9499
9470
|
import { FC } from 'react';
|
|
9500
9471
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9501
9472
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9502
|
-
export
|
|
9473
|
+
export interface PostCreatorProps {
|
|
9503
9474
|
groupId: string;
|
|
9504
9475
|
disabled: boolean;
|
|
9505
9476
|
disableDragAndDrop?: boolean;
|
|
@@ -9510,7 +9481,9 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9510
9481
|
defaultKeywords?: Keyword[];
|
|
9511
9482
|
mandatoryKeywords?: Keyword[];
|
|
9512
9483
|
};
|
|
9513
|
-
|
|
9484
|
+
disableAutoFocus?: boolean;
|
|
9485
|
+
}
|
|
9486
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9514
9487
|
}
|
|
9515
9488
|
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9516
9489
|
import { FC } from 'react';
|
|
@@ -9520,6 +9493,7 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
|
9520
9493
|
interface Props {
|
|
9521
9494
|
className?: string;
|
|
9522
9495
|
post: Post;
|
|
9496
|
+
initialPageSize?: number;
|
|
9523
9497
|
comments?: PaginatedList<Comment>;
|
|
9524
9498
|
autoFocusReplyField?: boolean;
|
|
9525
9499
|
onReplyAdded: () => void;
|
|
@@ -9570,6 +9544,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
|
9570
9544
|
threadId?: string;
|
|
9571
9545
|
onCustomPostDelete?: () => void;
|
|
9572
9546
|
comments?: PaginatedList<Comment>;
|
|
9547
|
+
initialCommentsPageSize?: number;
|
|
9573
9548
|
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9574
9549
|
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9575
9550
|
onThreadCommentDelete?: () => void;
|
|
@@ -9629,13 +9604,111 @@ declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling"
|
|
|
9629
9604
|
onAfterDelete?: (id: string) => unknown;
|
|
9630
9605
|
}>;
|
|
9631
9606
|
}
|
|
9632
|
-
declare module "libs/reach/feature/content/src/stream/
|
|
9633
|
-
|
|
9607
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
9608
|
+
import { BaseAttachment, Comment, EventItem, GraphQLAttachmentType, Keyword, NewsItem, PageItem, PageNavigationNode, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9609
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9610
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9611
|
+
enum StreamItemTypes {
|
|
9612
|
+
Post = "POST",
|
|
9613
|
+
News = "NEWS",
|
|
9614
|
+
Event = "EVENT",
|
|
9615
|
+
Page = "PAGE"
|
|
9616
|
+
}
|
|
9617
|
+
export enum StreamConversationScope {
|
|
9618
|
+
Public = "PUBLIC",
|
|
9619
|
+
Editor = "EDITOR",
|
|
9620
|
+
Posts = "POSTS"
|
|
9621
|
+
}
|
|
9622
|
+
export interface PostStreamItem extends Post {
|
|
9623
|
+
type: StreamItemTypes.Post;
|
|
9624
|
+
isUnread: boolean;
|
|
9625
|
+
keywordsList?: Keyword[];
|
|
9626
|
+
groupIds?: string[];
|
|
9627
|
+
postAttachments?: StreamAttachment[];
|
|
9628
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9629
|
+
hasMoreUnreadComments: boolean;
|
|
9630
|
+
}
|
|
9631
|
+
export interface StreamPostComment extends Comment {
|
|
9632
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9633
|
+
streamConversationScope?: StreamConversationScope;
|
|
9634
|
+
}
|
|
9635
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
9636
|
+
type: GraphQLAttachmentType;
|
|
9637
|
+
}
|
|
9638
|
+
export interface NewsStreamItem extends NewsItem {
|
|
9639
|
+
type: StreamItemTypes.News;
|
|
9640
|
+
contentsList: StreamPublishableItemContents[];
|
|
9641
|
+
channelsList: string[];
|
|
9642
|
+
isUnread: boolean;
|
|
9643
|
+
keywordsList?: Keyword[];
|
|
9644
|
+
}
|
|
9645
|
+
export interface EventStreamItem extends EventItem {
|
|
9646
|
+
type: StreamItemTypes.Event;
|
|
9647
|
+
contentsList: StreamPublishableItemContents[];
|
|
9648
|
+
channelsList: string[];
|
|
9649
|
+
isUnread: boolean;
|
|
9650
|
+
keywordsList?: Keyword[];
|
|
9651
|
+
userResponseType?: StreamEventResponse;
|
|
9652
|
+
}
|
|
9653
|
+
export interface PageStreamItem extends PageItem {
|
|
9654
|
+
type: StreamItemTypes.Page;
|
|
9655
|
+
contentsList: StreamPublishableItemContents[];
|
|
9656
|
+
channelsList: string[];
|
|
9657
|
+
isUnread: boolean;
|
|
9658
|
+
keywordsList?: Keyword[];
|
|
9659
|
+
streamPageType?: string;
|
|
9660
|
+
path?: (PageNavigationNode & {
|
|
9661
|
+
parentId?: string;
|
|
9662
|
+
})[];
|
|
9663
|
+
}
|
|
9664
|
+
interface StreamPublishableItemContents {
|
|
9665
|
+
language: string;
|
|
9666
|
+
title: string;
|
|
9667
|
+
intro?: string;
|
|
9668
|
+
headline?: string;
|
|
9669
|
+
}
|
|
9670
|
+
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9671
|
+
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9672
|
+
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
9673
|
+
export function isEvent(item: StreamItem): item is EventStreamItem;
|
|
9674
|
+
export function isPage(item: StreamItem): item is PageStreamItem;
|
|
9634
9675
|
}
|
|
9635
|
-
declare module "libs/reach/feature/content/src/
|
|
9676
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
9677
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
9678
|
+
import { DocumentNode } from '@apollo/client';
|
|
9679
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
9680
|
+
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
9681
|
+
export enum StreamEventResponse {
|
|
9682
|
+
NotSet = "NOTSET",
|
|
9683
|
+
Registered = "REGISTERED",
|
|
9684
|
+
Declined = "DECLINED"
|
|
9685
|
+
}
|
|
9686
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
9687
|
+
}
|
|
9688
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
9689
|
+
items: StreamItem[];
|
|
9690
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
9691
|
+
loadMore: () => Promise<void>;
|
|
9692
|
+
pageInfo: {
|
|
9693
|
+
errors?: any;
|
|
9694
|
+
hasNextPage: boolean;
|
|
9695
|
+
skip: number;
|
|
9696
|
+
};
|
|
9697
|
+
refresh: () => Promise<void>;
|
|
9698
|
+
};
|
|
9699
|
+
export const getStreamQuery: () => DocumentNode;
|
|
9700
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
9701
|
+
export const CHANNELS_OR_CONDITION: (channels: string[]) => string;
|
|
9702
|
+
export const KEYWORDS_OR_CONDITION: (keywords: string[]) => string;
|
|
9703
|
+
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => DocumentNode;
|
|
9704
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
9705
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
9706
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
9707
|
+
}
|
|
9708
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
9636
9709
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9637
9710
|
import { DependencyList } from 'react';
|
|
9638
|
-
export function
|
|
9711
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
9639
9712
|
}
|
|
9640
9713
|
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
9641
9714
|
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -9653,7 +9726,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
9653
9726
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
9654
9727
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
9655
9728
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
9656
|
-
export * from "libs/reach/feature/content/src/posts/
|
|
9729
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
9657
9730
|
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
9658
9731
|
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
9659
9732
|
export * from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9673,7 +9746,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
|
9673
9746
|
onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
|
|
9674
9747
|
onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
|
|
9675
9748
|
className?: string;
|
|
9676
|
-
useLargeAvatar?: boolean;
|
|
9677
9749
|
useExternalLink?: boolean;
|
|
9678
9750
|
}
|
|
9679
9751
|
export const EditorListItem: FC<Props>;
|
|
@@ -9718,12 +9790,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
9718
9790
|
}
|
|
9719
9791
|
}
|
|
9720
9792
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
9721
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9793
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9722
9794
|
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
9795
|
import { Observable } from 'rxjs';
|
|
9728
9796
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
9729
9797
|
export function useEditorApi(): {
|
|
@@ -9743,6 +9811,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
|
9743
9811
|
keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
|
|
9744
9812
|
saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
|
|
9745
9813
|
updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
|
|
9814
|
+
translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
|
|
9746
9815
|
};
|
|
9747
9816
|
}
|
|
9748
9817
|
declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
@@ -9766,6 +9835,51 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
9766
9835
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
9767
9836
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
9768
9837
|
}
|
|
9838
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
9839
|
+
import { FC } from 'react';
|
|
9840
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
9841
|
+
export const StreamPostItemCard: FC<{
|
|
9842
|
+
post: PostStreamItem;
|
|
9843
|
+
onPostDelete: (id: string) => unknown;
|
|
9844
|
+
}>;
|
|
9845
|
+
}
|
|
9846
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
9847
|
+
import { FC } from 'react';
|
|
9848
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
9849
|
+
export const StreamNewsItemCard: FC<{
|
|
9850
|
+
news: NewsStreamItem;
|
|
9851
|
+
}>;
|
|
9852
|
+
}
|
|
9853
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
9854
|
+
import { FC } from 'react';
|
|
9855
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
9856
|
+
export const StreamEventItemCard: FC<{
|
|
9857
|
+
event: EventStreamItem;
|
|
9858
|
+
}>;
|
|
9859
|
+
}
|
|
9860
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
9861
|
+
import { FC } from 'react';
|
|
9862
|
+
export const GlobalSearchButton: FC;
|
|
9863
|
+
}
|
|
9864
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
9865
|
+
import { FC } from 'react';
|
|
9866
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
9867
|
+
export type StreamQueryResult = {
|
|
9868
|
+
items: StreamItem[];
|
|
9869
|
+
};
|
|
9870
|
+
export const StreamList: FC;
|
|
9871
|
+
}
|
|
9872
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
9873
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
9874
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
9875
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9876
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
9877
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
9878
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
9879
|
+
}
|
|
9880
|
+
declare module "libs/reach/feature/content/src/search/index" {
|
|
9881
|
+
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
9882
|
+
}
|
|
9769
9883
|
declare module "libs/reach/feature/content/src/index" {
|
|
9770
9884
|
export * from "libs/reach/feature/content/src/comments/index";
|
|
9771
9885
|
export * from "libs/reach/feature/content/src/common/index";
|
|
@@ -9778,6 +9892,8 @@ declare module "libs/reach/feature/content/src/index" {
|
|
|
9778
9892
|
export * from "libs/reach/feature/content/src/posts/index";
|
|
9779
9893
|
export * from "libs/reach/feature/content/src/editor/index";
|
|
9780
9894
|
export * from "libs/reach/feature/content/src/public-user/index";
|
|
9895
|
+
export * from "libs/reach/feature/content/src/stream/index";
|
|
9896
|
+
export * from "libs/reach/feature/content/src/search/index";
|
|
9781
9897
|
}
|
|
9782
9898
|
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
9783
9899
|
import { FC } from 'react';
|
|
@@ -9842,18 +9958,6 @@ declare module "apps/reach-app/src/app/admin/users/self-registration/SelfRegistr
|
|
|
9842
9958
|
import { FC } from 'react';
|
|
9843
9959
|
export const SelfRegistrationSettingsPage: FC;
|
|
9844
9960
|
}
|
|
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
9961
|
declare module "apps/reach-app/src/app/AppLoader" {
|
|
9858
9962
|
import { FC } from 'react';
|
|
9859
9963
|
export const AppLoader: FC;
|
|
@@ -9899,21 +10003,20 @@ declare module "apps/reach-app/src/app/teams/TeamsContext" {
|
|
|
9899
10003
|
}>;
|
|
9900
10004
|
export const TeamsContextProvider: FC;
|
|
9901
10005
|
}
|
|
9902
|
-
declare module "apps/reach-app/src/app/
|
|
9903
|
-
export enum
|
|
9904
|
-
Authenticated = 0,
|
|
9905
|
-
UnAuthenticated = 1
|
|
9906
|
-
}
|
|
9907
|
-
export enum IntercomInitialState {
|
|
10006
|
+
declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
10007
|
+
export enum ZendeskInitialState {
|
|
9908
10008
|
Minimized = 0,
|
|
9909
10009
|
MobileHidden = 1
|
|
9910
10010
|
}
|
|
9911
|
-
export function
|
|
9912
|
-
export
|
|
9913
|
-
|
|
10011
|
+
export function shutdownZendesk(): void;
|
|
10012
|
+
export function useZendeskWithSubscription(): {
|
|
10013
|
+
showZendeskChat: () => void;
|
|
9914
10014
|
toggleIcon: (show: boolean) => void;
|
|
9915
|
-
}
|
|
9916
|
-
export function
|
|
10015
|
+
};
|
|
10016
|
+
export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
|
|
10017
|
+
showZendeskChat: () => void;
|
|
10018
|
+
toggleIcon: (show: boolean) => void;
|
|
10019
|
+
};
|
|
9917
10020
|
}
|
|
9918
10021
|
declare module "apps/reach-app/src/app/admin/terms-and-conditions/TermsAndConditionsPage" {
|
|
9919
10022
|
import { FC } from 'react';
|
|
@@ -9955,7 +10058,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
|
|
|
9955
10058
|
import { FC } from 'react';
|
|
9956
10059
|
export const AdminActionItem: FC<{
|
|
9957
10060
|
submenuContents: JSX.Element;
|
|
9958
|
-
onClick
|
|
10061
|
+
onClick?: () => unknown;
|
|
9959
10062
|
title?: string;
|
|
9960
10063
|
}>;
|
|
9961
10064
|
const AdminRoutes: FC;
|
|
@@ -9969,7 +10072,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
|
|
|
9969
10072
|
import { FC } from 'react';
|
|
9970
10073
|
export const ChatMenuNode: FC<{
|
|
9971
10074
|
title: string;
|
|
9972
|
-
onClick
|
|
10075
|
+
onClick?: () => void;
|
|
9973
10076
|
}>;
|
|
9974
10077
|
}
|
|
9975
10078
|
declare module "apps/reach-app/src/app/chrome/Sidebar" {
|
|
@@ -9996,20 +10099,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
|
|
|
9996
10099
|
className?: string;
|
|
9997
10100
|
}>;
|
|
9998
10101
|
}
|
|
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
10102
|
declare module "apps/reach-app/src/AppLoaderContextProvider" {
|
|
10014
10103
|
import { FC, ReactNode } from 'react';
|
|
10015
10104
|
export const AppLoaderContext: import("react").Context<{
|