@livetiles/reach-plugin-types 0.4.0-preview.25 → 0.4.0-preview.253
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 +786 -687
- 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";
|
|
@@ -6304,7 +6400,7 @@ declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
|
6304
6400
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
6305
6401
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6306
6402
|
export interface KeywordsFilterDefinition extends IndexableFilterDefinition {
|
|
6307
|
-
keywords?: string;
|
|
6403
|
+
keywords?: string[];
|
|
6308
6404
|
}
|
|
6309
6405
|
}
|
|
6310
6406
|
declare module "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition" {
|
|
@@ -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,18 @@ 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
|
+
export function getCommaSeparatedKeywordsString(keywords: string[]): {
|
|
6480
|
+
keywords?: undefined;
|
|
6481
|
+
} | {
|
|
6482
|
+
keywords: string;
|
|
6483
|
+
};
|
|
6484
|
+
}
|
|
6370
6485
|
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
6371
6486
|
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
6372
6487
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
@@ -6383,12 +6498,6 @@ declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
|
6383
6498
|
author?: string;
|
|
6384
6499
|
}
|
|
6385
6500
|
}
|
|
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
6501
|
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
6393
6502
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6394
6503
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
@@ -6404,6 +6513,7 @@ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
|
6404
6513
|
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
6405
6514
|
groupId?: string;
|
|
6406
6515
|
bookmarksOnly?: boolean;
|
|
6516
|
+
unreadOnly?: boolean;
|
|
6407
6517
|
}
|
|
6408
6518
|
}
|
|
6409
6519
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
@@ -6619,7 +6729,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerato
|
|
|
6619
6729
|
private getVideoElement;
|
|
6620
6730
|
private getNotSupportedElement;
|
|
6621
6731
|
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
6622
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "
|
|
6732
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
6623
6733
|
}
|
|
6624
6734
|
}
|
|
6625
6735
|
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
@@ -6701,6 +6811,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
6701
6811
|
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
6702
6812
|
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
6703
6813
|
export class NewsService {
|
|
6814
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6704
6815
|
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
6705
6816
|
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
6706
6817
|
static getContentLanguages(contents: {
|
|
@@ -6808,12 +6919,11 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
6808
6919
|
}
|
|
6809
6920
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
6810
6921
|
import { FC } from 'react';
|
|
6811
|
-
import { BannerInfo } from "libs/reach/util/common/src/index";
|
|
6812
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6922
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6813
6923
|
interface Props {
|
|
6814
6924
|
itemId: string;
|
|
6815
6925
|
bannerInfo: BannerInfo;
|
|
6816
|
-
|
|
6926
|
+
useEditorRoutes?: boolean;
|
|
6817
6927
|
width: number;
|
|
6818
6928
|
resourceType: ItemResourceTypes;
|
|
6819
6929
|
token?: string;
|
|
@@ -7244,7 +7354,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7244
7354
|
updateSelectedLanguage: (lang: string) => unknown;
|
|
7245
7355
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7246
7356
|
handleLanguageChange: (language: string) => unknown;
|
|
7247
|
-
|
|
7357
|
+
isEditorPreview?: boolean;
|
|
7248
7358
|
}
|
|
7249
7359
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7250
7360
|
}
|
|
@@ -7796,34 +7906,49 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
7796
7906
|
}>;
|
|
7797
7907
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
7798
7908
|
}
|
|
7799
|
-
declare module "libs/reach/feature/content/src/
|
|
7800
|
-
import { FC
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
className?: string;
|
|
7909
|
+
declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
|
|
7910
|
+
import { FC } from 'react';
|
|
7911
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
7912
|
+
export const DetailViewContextProvider: FC<{
|
|
7913
|
+
itemId: string;
|
|
7914
|
+
type?: ItemResourceTypes;
|
|
7915
|
+
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
7916
|
+
isEditorPreview?: boolean;
|
|
7808
7917
|
}>;
|
|
7809
7918
|
}
|
|
7810
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7811
|
-
import {
|
|
7812
|
-
export
|
|
7919
|
+
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
7920
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7921
|
+
export interface EmbeddedObjectPreviewData {
|
|
7922
|
+
itemId: string;
|
|
7923
|
+
type: string;
|
|
7924
|
+
subscriptionIdentifier: string;
|
|
7925
|
+
}
|
|
7926
|
+
export const InlineUrlPreviewMapper: HtmlComponentMapper;
|
|
7813
7927
|
}
|
|
7814
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7815
|
-
import {
|
|
7816
|
-
export const
|
|
7928
|
+
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
7929
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7930
|
+
export const InlineImageMapper: HtmlComponentMapper;
|
|
7817
7931
|
}
|
|
7818
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7819
|
-
import {
|
|
7820
|
-
export
|
|
7932
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
7933
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7934
|
+
export interface ContactDetails {
|
|
7935
|
+
id: string;
|
|
7936
|
+
upn?: string;
|
|
7937
|
+
tenantId?: string;
|
|
7938
|
+
properties?: {
|
|
7939
|
+
[key: string]: {
|
|
7940
|
+
value: string;
|
|
7941
|
+
shouldAutoLoad?: boolean;
|
|
7942
|
+
};
|
|
7943
|
+
};
|
|
7944
|
+
}
|
|
7945
|
+
export const InlineContactMapper: HtmlComponentMapper;
|
|
7821
7946
|
}
|
|
7822
|
-
declare module "libs/reach/feature/content/src/common/body/
|
|
7823
|
-
import { FC
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7947
|
+
declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
|
|
7948
|
+
import { FC } from 'react';
|
|
7949
|
+
import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
7950
|
+
export const InlineContactViewer: FC<{
|
|
7951
|
+
contact: ContactDetails;
|
|
7827
7952
|
}>;
|
|
7828
7953
|
}
|
|
7829
7954
|
declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
|
|
@@ -7849,6 +7974,68 @@ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
|
|
|
7849
7974
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7850
7975
|
export const InlineQuoteMapper: HtmlComponentMapper;
|
|
7851
7976
|
}
|
|
7977
|
+
declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
|
|
7978
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7979
|
+
export const InlineVideoMapper: HtmlComponentMapper;
|
|
7980
|
+
}
|
|
7981
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
|
|
7982
|
+
import { FC } from 'react';
|
|
7983
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
7984
|
+
export const InlinePageListViewer: FC<{
|
|
7985
|
+
items: PageItem[];
|
|
7986
|
+
baseRoute: string;
|
|
7987
|
+
filterBaseUrl?: string;
|
|
7988
|
+
isInitialLoading?: boolean;
|
|
7989
|
+
}>;
|
|
7990
|
+
}
|
|
7991
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
|
|
7992
|
+
import { FC } from 'react';
|
|
7993
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
7994
|
+
export interface ListPagingProps {
|
|
7995
|
+
getNextPage: () => unknown;
|
|
7996
|
+
getPrevPage: () => unknown;
|
|
7997
|
+
getFirstPage: () => unknown;
|
|
7998
|
+
isLoadingNextPage: boolean;
|
|
7999
|
+
isInitialLoading: boolean;
|
|
8000
|
+
isFirstPage: boolean;
|
|
8001
|
+
hideNextButton: boolean;
|
|
8002
|
+
}
|
|
8003
|
+
export const InlinePageListWithPaging: FC<{
|
|
8004
|
+
pages: PageItem[];
|
|
8005
|
+
baseRoute: string;
|
|
8006
|
+
pagingProps?: ListPagingProps;
|
|
8007
|
+
filterBaseUrl?: string;
|
|
8008
|
+
}>;
|
|
8009
|
+
}
|
|
8010
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
8011
|
+
import { DependencyList } from 'react';
|
|
8012
|
+
import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
|
|
8013
|
+
export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
|
|
8014
|
+
showPages: boolean;
|
|
8015
|
+
showDocuments: boolean;
|
|
8016
|
+
}, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
|
|
8017
|
+
pageItems: any[];
|
|
8018
|
+
pagingProps: {
|
|
8019
|
+
hideNextButton: boolean;
|
|
8020
|
+
isInitialLoading: boolean;
|
|
8021
|
+
isLoadingNextPage: boolean;
|
|
8022
|
+
error: any;
|
|
8023
|
+
getFirstPage: () => void;
|
|
8024
|
+
getPrevPage: () => void;
|
|
8025
|
+
getNextPage: () => Promise<void>;
|
|
8026
|
+
isFirstPage: boolean;
|
|
8027
|
+
isLastPage: boolean;
|
|
8028
|
+
isEmpty: boolean;
|
|
8029
|
+
};
|
|
8030
|
+
};
|
|
8031
|
+
}
|
|
8032
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
|
|
8033
|
+
import { FC } from 'react';
|
|
8034
|
+
export const InlinePageListSkeleton: FC<{
|
|
8035
|
+
isDataLoaded: boolean;
|
|
8036
|
+
pageSize?: number;
|
|
8037
|
+
}>;
|
|
8038
|
+
}
|
|
7852
8039
|
declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
|
|
7853
8040
|
export interface CodeDetails {
|
|
7854
8041
|
id: string;
|
|
@@ -7870,21 +8057,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
|
|
|
7870
8057
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7871
8058
|
export const InlineCodeMapper: HtmlComponentMapper;
|
|
7872
8059
|
}
|
|
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" {
|
|
8060
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
7888
8061
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
7889
8062
|
import { CSSProperties } from 'react';
|
|
7890
8063
|
export interface CellStyle {
|
|
@@ -7924,162 +8097,17 @@ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
|
|
|
7924
8097
|
export function getLinkCellStyle(url: string, fontColor: string): CSSProperties;
|
|
7925
8098
|
export const InlineTable: HtmlComponentMapper;
|
|
7926
8099
|
}
|
|
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
|
-
}>;
|
|
8100
|
+
declare module "libs/reach/feature/content/src/common/body/InlineTableStyles" {
|
|
8101
|
+
import { TableFormat } from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8102
|
+
export const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
|
|
8103
|
+
format: TableFormat;
|
|
8104
|
+
}, never>;
|
|
8078
8105
|
}
|
|
8079
|
-
declare module "libs/reach/feature/content/src/common/
|
|
8080
|
-
import { FC } from 'react';
|
|
8081
|
-
export const
|
|
8106
|
+
declare module "libs/reach/feature/content/src/common/body/ItemBodyWrapper" {
|
|
8107
|
+
import { FC, ReactNode } from 'react';
|
|
8108
|
+
export const ItemBodyWrapper: FC<{
|
|
8082
8109
|
className?: string;
|
|
8110
|
+
children?: ReactNode;
|
|
8083
8111
|
}>;
|
|
8084
8112
|
}
|
|
8085
8113
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
@@ -8096,9 +8124,11 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8096
8124
|
allowFilterByChannels?: boolean;
|
|
8097
8125
|
}>;
|
|
8098
8126
|
}
|
|
8099
|
-
declare module "libs/reach/feature/content/src/common/detail/events/controls/
|
|
8127
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
8100
8128
|
import { FC } from 'react';
|
|
8101
|
-
export const
|
|
8129
|
+
export const EventDetailViewDatesInfo: FC<{
|
|
8130
|
+
className?: string;
|
|
8131
|
+
}>;
|
|
8102
8132
|
}
|
|
8103
8133
|
declare module "libs/reach/feature/content/src/feedback/PollUserContext" {
|
|
8104
8134
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
@@ -8257,6 +8287,10 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8257
8287
|
import { FC } from 'react';
|
|
8258
8288
|
export const EventDetailViewRegistration: FC;
|
|
8259
8289
|
}
|
|
8290
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation" {
|
|
8291
|
+
import { FC } from 'react';
|
|
8292
|
+
export const EventDetailViewCancelInformation: FC;
|
|
8293
|
+
}
|
|
8260
8294
|
declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
8261
8295
|
import { FC } from 'react';
|
|
8262
8296
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
@@ -8512,178 +8546,54 @@ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailV
|
|
|
8512
8546
|
eventItem: EventItem;
|
|
8513
8547
|
}>;
|
|
8514
8548
|
}
|
|
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
|
-
}>;
|
|
8549
|
+
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8550
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8551
|
+
interface DateInfoProps {
|
|
8552
|
+
item: Partial<PublishableItem>;
|
|
8553
|
+
dateMode: DateMode;
|
|
8554
|
+
expiryDate?: string;
|
|
8555
|
+
className?: string;
|
|
8556
|
+
}
|
|
8557
|
+
export enum DateMode {
|
|
8558
|
+
Published = 0,
|
|
8559
|
+
Modified = 1
|
|
8560
|
+
}
|
|
8561
|
+
export const DateInfo: React.FC<DateInfoProps>;
|
|
8530
8562
|
}
|
|
8531
|
-
declare module "libs/reach/feature/content/src/
|
|
8532
|
-
import {
|
|
8533
|
-
import {
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8563
|
+
declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
8564
|
+
import { SchedulableItemChannel } from "libs/reach/util/common/src/index";
|
|
8565
|
+
import { DateMode } from "libs/reach/feature/content/src/news/DateInfo";
|
|
8566
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
8567
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8568
|
+
export const getAuthor: (item: Partial<PublishableItem>) => Account;
|
|
8569
|
+
export const ItemMetaInfo: React.FC<{
|
|
8570
|
+
item: Partial<PublishableItem>;
|
|
8538
8571
|
className?: string;
|
|
8572
|
+
expiryDate?: string;
|
|
8573
|
+
channels?: SchedulableItemChannel[];
|
|
8574
|
+
showChannels?: boolean;
|
|
8575
|
+
dateMode: DateMode;
|
|
8576
|
+
readOnly?: boolean;
|
|
8577
|
+
hideAvatar?: boolean;
|
|
8578
|
+
hideDisplayName?: boolean;
|
|
8579
|
+
language?: string;
|
|
8580
|
+
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8581
|
+
clickableAvatar?: boolean;
|
|
8539
8582
|
}>;
|
|
8540
8583
|
}
|
|
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" {
|
|
8584
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo" {
|
|
8546
8585
|
import { FC } from 'react';
|
|
8547
|
-
export const
|
|
8548
|
-
isReadOnly?: boolean;
|
|
8549
|
-
}>;
|
|
8586
|
+
export const PageDetailViewMetaInfo: FC;
|
|
8550
8587
|
}
|
|
8551
|
-
declare module "libs/reach/feature/content/src/common/detail/
|
|
8588
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
8552
8589
|
import { FC } from 'react';
|
|
8553
|
-
export const
|
|
8590
|
+
export const PageDetailViewFeedbackSection: FC<{
|
|
8554
8591
|
hideLikes?: boolean;
|
|
8555
8592
|
hideComments?: boolean;
|
|
8556
8593
|
hideProfileUrl?: boolean;
|
|
8557
8594
|
disableLoginForPublicUser?: boolean;
|
|
8558
8595
|
}>;
|
|
8559
8596
|
}
|
|
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
8597
|
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
8688
8598
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8689
8599
|
import * as H from 'history';
|
|
@@ -8790,6 +8700,104 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
8790
8700
|
import { FC } from 'react';
|
|
8791
8701
|
export const PageDetailViewTableOfContentsButton: FC;
|
|
8792
8702
|
}
|
|
8703
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
8704
|
+
import { PageType } from "libs/reach/util/common/src/index";
|
|
8705
|
+
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>>;
|
|
8706
|
+
}
|
|
8707
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
8708
|
+
import { FC } from 'react';
|
|
8709
|
+
export const InlinePageListByKeywords: FC<{
|
|
8710
|
+
keywords: string[];
|
|
8711
|
+
showDocuments?: boolean;
|
|
8712
|
+
showPages?: boolean;
|
|
8713
|
+
}>;
|
|
8714
|
+
}
|
|
8715
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
8716
|
+
import { PageType } from "libs/reach/util/common/src/index";
|
|
8717
|
+
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>>;
|
|
8718
|
+
}
|
|
8719
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
8720
|
+
import { FC } from 'react';
|
|
8721
|
+
export const InlinePageListByPageId: FC<{
|
|
8722
|
+
pageId: string;
|
|
8723
|
+
showDocuments: boolean;
|
|
8724
|
+
showPages: boolean;
|
|
8725
|
+
}>;
|
|
8726
|
+
}
|
|
8727
|
+
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByCurrentPage" {
|
|
8728
|
+
import { FC } from 'react';
|
|
8729
|
+
import { PageListDetails } from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
8730
|
+
export const InlinePageListByCurrentPage: FC<{
|
|
8731
|
+
blockProps?: PageListDetails;
|
|
8732
|
+
}>;
|
|
8733
|
+
}
|
|
8734
|
+
declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
8735
|
+
import { FC } from 'react';
|
|
8736
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8737
|
+
export interface PageListDetails {
|
|
8738
|
+
id?: string;
|
|
8739
|
+
showChildren?: boolean;
|
|
8740
|
+
showDocuments?: boolean;
|
|
8741
|
+
showPages?: boolean;
|
|
8742
|
+
pageId?: string;
|
|
8743
|
+
keywords?: string;
|
|
8744
|
+
}
|
|
8745
|
+
export const InlinePageList: FC<{
|
|
8746
|
+
blockProps?: PageListDetails;
|
|
8747
|
+
}>;
|
|
8748
|
+
export const InlinePageListMapper: HtmlComponentMapper;
|
|
8749
|
+
}
|
|
8750
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
8751
|
+
import { FC } from 'react';
|
|
8752
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8753
|
+
export const PageBreadcrumb: FC<{
|
|
8754
|
+
page: PageItem;
|
|
8755
|
+
target?: string;
|
|
8756
|
+
language?: string;
|
|
8757
|
+
hideCurrentPageNode?: boolean;
|
|
8758
|
+
className?: string;
|
|
8759
|
+
}>;
|
|
8760
|
+
}
|
|
8761
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
8762
|
+
import { FC } from 'react';
|
|
8763
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8764
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
8765
|
+
export const DetailViewPageDocumentDownload: FC;
|
|
8766
|
+
export const PageDocumentDownloadButton: FC<{
|
|
8767
|
+
item: PageItem;
|
|
8768
|
+
content: PublishableItemContent;
|
|
8769
|
+
basePath?: string;
|
|
8770
|
+
}>;
|
|
8771
|
+
}
|
|
8772
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8773
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8774
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8775
|
+
interface Props {
|
|
8776
|
+
id: string;
|
|
8777
|
+
item: PublishableItem;
|
|
8778
|
+
itemResourceType: ItemResourceTypes;
|
|
8779
|
+
}
|
|
8780
|
+
export const CardBanner: React.FC<Props>;
|
|
8781
|
+
}
|
|
8782
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8783
|
+
import { FC, ReactNode } from 'react';
|
|
8784
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8785
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8786
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8787
|
+
interface CardProps {
|
|
8788
|
+
item: PublishableItem;
|
|
8789
|
+
itemResourceType: ItemResourceTypes;
|
|
8790
|
+
additionalMetadata?: ReactNode;
|
|
8791
|
+
highlight?: boolean;
|
|
8792
|
+
className?: string;
|
|
8793
|
+
}
|
|
8794
|
+
export const Card: FC<CardProps>;
|
|
8795
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
8796
|
+
item: TItem;
|
|
8797
|
+
language: string;
|
|
8798
|
+
}
|
|
8799
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8800
|
+
}
|
|
8793
8801
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
8794
8802
|
import { FC } from 'react';
|
|
8795
8803
|
interface LanguageSelectorProps {
|
|
@@ -8811,229 +8819,191 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8811
8819
|
className?: string;
|
|
8812
8820
|
}>;
|
|
8813
8821
|
}
|
|
8822
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
|
|
8823
|
+
import { FC } from 'react';
|
|
8824
|
+
export const DetailViewBanner: FC;
|
|
8825
|
+
}
|
|
8826
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
8827
|
+
import { FC } from 'react';
|
|
8828
|
+
export const DetailViewIntro: FC;
|
|
8829
|
+
}
|
|
8830
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
8831
|
+
import { FC } from 'react';
|
|
8832
|
+
export const DetailMainSection: FC;
|
|
8833
|
+
}
|
|
8834
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
8835
|
+
import { FC, ReactNode } from 'react';
|
|
8836
|
+
export const GutterMarkerIcon: FC<{
|
|
8837
|
+
iconName: string;
|
|
8838
|
+
children: ReactNode;
|
|
8839
|
+
isActive: boolean;
|
|
8840
|
+
color: string;
|
|
8841
|
+
tooltipResourceKey?: string;
|
|
8842
|
+
className?: string;
|
|
8843
|
+
}>;
|
|
8844
|
+
}
|
|
8845
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
8846
|
+
import { FC } from 'react';
|
|
8847
|
+
export const DetailViewTitle: FC;
|
|
8848
|
+
}
|
|
8814
8849
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo" {
|
|
8815
8850
|
import { FC } from 'react';
|
|
8816
8851
|
export const NewsDetailViewMetaInfo: FC;
|
|
8817
8852
|
}
|
|
8853
|
+
declare module "libs/reach/feature/content/src/common/body/RichTextViewer" {
|
|
8854
|
+
import { FC } from 'react';
|
|
8855
|
+
export const RichTextViewer: FC<{
|
|
8856
|
+
html: string;
|
|
8857
|
+
}>;
|
|
8858
|
+
}
|
|
8859
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBody" {
|
|
8860
|
+
import { FC } from 'react';
|
|
8861
|
+
export const DetailViewBody: FC;
|
|
8862
|
+
}
|
|
8863
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords" {
|
|
8864
|
+
import { FC } from 'react';
|
|
8865
|
+
export const DetailViewKeywords: FC<{
|
|
8866
|
+
filterBaseUrl: string;
|
|
8867
|
+
}>;
|
|
8868
|
+
}
|
|
8869
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
8870
|
+
import { FC } from 'react';
|
|
8871
|
+
export const ConfirmationBox: FC<{
|
|
8872
|
+
disabled?: boolean;
|
|
8873
|
+
onChange?: (value: boolean) => void;
|
|
8874
|
+
checked: boolean;
|
|
8875
|
+
}>;
|
|
8876
|
+
}
|
|
8877
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
8878
|
+
import { FC } from 'react';
|
|
8879
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8880
|
+
export const ConfirmationSection: FC<{
|
|
8881
|
+
item?: NewsItem;
|
|
8882
|
+
showDescription: boolean;
|
|
8883
|
+
readOnly?: boolean;
|
|
8884
|
+
className?: string;
|
|
8885
|
+
}>;
|
|
8886
|
+
}
|
|
8887
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
8888
|
+
import { FC } from 'react';
|
|
8889
|
+
export const DetailViewConfirmations: FC;
|
|
8890
|
+
}
|
|
8891
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
8892
|
+
import { FC } from 'react';
|
|
8893
|
+
export const DetailViewPageViewTracker: FC;
|
|
8894
|
+
}
|
|
8895
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBookmark" {
|
|
8896
|
+
import { FC } from 'react';
|
|
8897
|
+
export const FeedbackButtonBookmark: FC<{
|
|
8898
|
+
isReadOnly?: boolean;
|
|
8899
|
+
}>;
|
|
8900
|
+
}
|
|
8901
|
+
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
8902
|
+
import { FC } from 'react';
|
|
8903
|
+
export const NewsDetailViewFeedbackSection: FC<{
|
|
8904
|
+
hideLikes?: boolean;
|
|
8905
|
+
hideComments?: boolean;
|
|
8906
|
+
hideProfileUrl?: boolean;
|
|
8907
|
+
disableLoginForPublicUser?: boolean;
|
|
8908
|
+
}>;
|
|
8909
|
+
}
|
|
8910
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
8911
|
+
import { FC, ReactNode } from 'react';
|
|
8912
|
+
export const DetailViewNavigation: FC<{
|
|
8913
|
+
children?: ReactNode;
|
|
8914
|
+
callout?: ReactNode;
|
|
8915
|
+
}>;
|
|
8916
|
+
}
|
|
8917
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
8918
|
+
import { FC } from 'react';
|
|
8919
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8920
|
+
export const DetailViewBodyExternalContent: FC<{
|
|
8921
|
+
itemType: ItemResourceTypes;
|
|
8922
|
+
}>;
|
|
8923
|
+
}
|
|
8924
|
+
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline" {
|
|
8925
|
+
import { FC } from 'react';
|
|
8926
|
+
export const DetailViewHeadline: FC;
|
|
8927
|
+
}
|
|
8818
8928
|
declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
8819
8929
|
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
8820
8930
|
export const StateIcon: React.FC<{
|
|
8821
8931
|
status: WorkflowStatus;
|
|
8822
8932
|
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";
|
|
8933
|
+
width?: number;
|
|
8934
|
+
activeColor?: string;
|
|
8935
|
+
}>;
|
|
8936
|
+
}
|
|
8937
|
+
declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
|
|
8938
|
+
import { ItemResourceTypes, PaginatedList, TaskSummary } from "libs/reach/util/common/src/index";
|
|
8939
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
8940
|
+
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
8941
|
+
export function useCommonEditorApi(): {
|
|
8942
|
+
list: <T>(type: ItemResourceTypes, filter?: NewsFilterDefinition, token?: string, sortDefinition?: SortFieldsDefinitionBuilder<string>) => Promise<PaginatedList<T>>;
|
|
8943
|
+
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
8944
|
+
};
|
|
8945
|
+
}
|
|
8946
|
+
declare module "libs/reach/feature/content/src/common/index" {
|
|
8947
|
+
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
8872
8948
|
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";
|
|
8949
|
+
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
8950
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
8895
8951
|
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
8896
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8897
8952
|
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
8898
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8899
8953
|
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
8900
8954
|
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
8955
|
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
8956
|
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
8957
|
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
8958
|
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
8921
8959
|
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
8922
8960
|
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
8961
|
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
8927
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8928
8962
|
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
8963
|
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
8964
|
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
8965
|
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
8938
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8939
8966
|
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
8940
8967
|
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
8941
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
8942
8968
|
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
8969
|
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
8951
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8952
8970
|
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
8971
|
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
8956
8972
|
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
8957
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
8958
8973
|
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
8959
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
8960
8974
|
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
8975
|
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
8976
|
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
8967
8977
|
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
8978
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
8972
8979
|
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
8973
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8974
8980
|
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
8975
8981
|
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
8982
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
8980
8983
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
8981
8984
|
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
8982
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
8983
8985
|
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8984
8986
|
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
8985
8987
|
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
8988
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
8992
8989
|
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
8990
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
8997
8991
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
8998
8992
|
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
8993
|
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
8994
|
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
8995
|
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
8996
|
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
9013
8997
|
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
9014
8998
|
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
9015
8999
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9016
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
9017
9000
|
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
9001
|
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9026
9002
|
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
9003
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9032
9004
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
9033
9005
|
export * from "libs/reach/feature/content/src/common/useExternalContentHandler";
|
|
9034
9006
|
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
9007
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
9038
9008
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
9039
9009
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
@@ -9050,7 +9020,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9050
9020
|
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
9051
9021
|
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
9052
9022
|
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
9053
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9054
9023
|
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
9055
9024
|
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
9056
9025
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
@@ -9081,6 +9050,19 @@ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
|
9081
9050
|
isFilterActive?: boolean;
|
|
9082
9051
|
}
|
|
9083
9052
|
}
|
|
9053
|
+
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
9054
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
9055
|
+
export enum ItemType {
|
|
9056
|
+
None = 0,
|
|
9057
|
+
News = 1,
|
|
9058
|
+
Post = 2,
|
|
9059
|
+
Page = 4,
|
|
9060
|
+
Event = 8
|
|
9061
|
+
}
|
|
9062
|
+
export interface ItemTypeFilterDefinition extends IndexableFilterDefinition {
|
|
9063
|
+
itemType?: ItemType;
|
|
9064
|
+
}
|
|
9065
|
+
}
|
|
9084
9066
|
declare module "libs/reach/feature/content/src/filter/useFilter" {
|
|
9085
9067
|
import { FC } from 'react';
|
|
9086
9068
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
@@ -9129,7 +9111,9 @@ declare module "libs/reach/feature/content/src/filter/index" {
|
|
|
9129
9111
|
export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
9130
9112
|
export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
9131
9113
|
export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
9114
|
+
export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
|
|
9132
9115
|
export * from "libs/reach/feature/content/src/filter/useFilter";
|
|
9116
|
+
export * from "libs/reach/feature/content/src/filter/utils";
|
|
9133
9117
|
}
|
|
9134
9118
|
declare module "libs/reach/feature/content/src/forms/keyword-picker/KeywordPickerGroup" {
|
|
9135
9119
|
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/index";
|
|
@@ -9205,26 +9189,6 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
9205
9189
|
*/
|
|
9206
9190
|
export const Textarea: FC<TextareaProps>;
|
|
9207
9191
|
}
|
|
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
9192
|
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
9229
9193
|
import { FC } from 'react';
|
|
9230
9194
|
interface Props {
|
|
@@ -9249,6 +9213,27 @@ declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
|
9249
9213
|
}
|
|
9250
9214
|
export const InsertImagesButton: FC<Props>;
|
|
9251
9215
|
}
|
|
9216
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
9217
|
+
import { FC } from 'react';
|
|
9218
|
+
interface DateTimePickerProps {
|
|
9219
|
+
date: string;
|
|
9220
|
+
maxDate?: string;
|
|
9221
|
+
minDate?: string;
|
|
9222
|
+
dateValidationResourceKey?: string;
|
|
9223
|
+
timeValidationResourceKey?: string;
|
|
9224
|
+
readOnly?: boolean;
|
|
9225
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
9226
|
+
noDateResourceKey: string;
|
|
9227
|
+
selectDateResourceKey: string;
|
|
9228
|
+
dateOnly?: boolean;
|
|
9229
|
+
initialPickerDate?: string;
|
|
9230
|
+
label?: string;
|
|
9231
|
+
isRequired?: boolean;
|
|
9232
|
+
className?: string;
|
|
9233
|
+
}
|
|
9234
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
9235
|
+
export default DateTimePicker;
|
|
9236
|
+
}
|
|
9252
9237
|
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
9253
9238
|
import moment, { Moment } from 'moment';
|
|
9254
9239
|
export enum DateRange {
|
|
@@ -9295,33 +9280,17 @@ declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
|
9295
9280
|
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
9296
9281
|
}
|
|
9297
9282
|
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
9283
|
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
9284
|
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
9309
9285
|
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
9310
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9311
9286
|
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
9312
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9313
9287
|
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
9314
9288
|
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
9315
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
9316
9289
|
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
9317
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9318
9290
|
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
9319
9291
|
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
9292
|
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
9323
9293
|
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
9324
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9325
9294
|
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
9326
9295
|
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9327
9296
|
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
@@ -9401,6 +9370,15 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
9401
9370
|
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9402
9371
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9403
9372
|
}
|
|
9373
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
9374
|
+
import { FC } from 'react';
|
|
9375
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
9376
|
+
export const SearchHighlighter: FC<{
|
|
9377
|
+
highlight: SearchHighlight;
|
|
9378
|
+
}>;
|
|
9379
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
9380
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
9381
|
+
}
|
|
9404
9382
|
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
9405
9383
|
import { FC } from 'react';
|
|
9406
9384
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9429,11 +9407,9 @@ declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
|
9429
9407
|
}
|
|
9430
9408
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
9431
9409
|
import { FC } from 'react';
|
|
9432
|
-
import {
|
|
9410
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9433
9411
|
export const PageListItemBody: FC<{
|
|
9434
|
-
|
|
9435
|
-
[key: string]: PublishableItemContent;
|
|
9436
|
-
};
|
|
9412
|
+
page: PageItem;
|
|
9437
9413
|
search?: string;
|
|
9438
9414
|
}>;
|
|
9439
9415
|
}
|
|
@@ -9499,7 +9475,7 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9499
9475
|
import { FC } from 'react';
|
|
9500
9476
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9501
9477
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
9502
|
-
export
|
|
9478
|
+
export interface PostCreatorProps {
|
|
9503
9479
|
groupId: string;
|
|
9504
9480
|
disabled: boolean;
|
|
9505
9481
|
disableDragAndDrop?: boolean;
|
|
@@ -9510,7 +9486,9 @@ declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
|
9510
9486
|
defaultKeywords?: Keyword[];
|
|
9511
9487
|
mandatoryKeywords?: Keyword[];
|
|
9512
9488
|
};
|
|
9513
|
-
|
|
9489
|
+
disableAutoFocus?: boolean;
|
|
9490
|
+
}
|
|
9491
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
9514
9492
|
}
|
|
9515
9493
|
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
9516
9494
|
import { FC } from 'react';
|
|
@@ -9520,6 +9498,7 @@ declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
|
9520
9498
|
interface Props {
|
|
9521
9499
|
className?: string;
|
|
9522
9500
|
post: Post;
|
|
9501
|
+
initialPageSize?: number;
|
|
9523
9502
|
comments?: PaginatedList<Comment>;
|
|
9524
9503
|
autoFocusReplyField?: boolean;
|
|
9525
9504
|
onReplyAdded: () => void;
|
|
@@ -9570,6 +9549,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
|
9570
9549
|
threadId?: string;
|
|
9571
9550
|
onCustomPostDelete?: () => void;
|
|
9572
9551
|
comments?: PaginatedList<Comment>;
|
|
9552
|
+
initialCommentsPageSize?: number;
|
|
9573
9553
|
onEditActiveChange?: (isEditMode: boolean) => void;
|
|
9574
9554
|
onShowCommentsChange?: (showComments: boolean) => void;
|
|
9575
9555
|
onThreadCommentDelete?: () => void;
|
|
@@ -9629,13 +9609,116 @@ declare module "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling"
|
|
|
9629
9609
|
onAfterDelete?: (id: string) => unknown;
|
|
9630
9610
|
}>;
|
|
9631
9611
|
}
|
|
9632
|
-
declare module "libs/reach/feature/content/src/stream/
|
|
9633
|
-
|
|
9612
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
9613
|
+
import { BaseAttachment, Comment, EventItem, GraphQLAttachmentType, Keyword, NewsItem, PageItem, PageNavigationNode, PaginatedList } from "libs/reach/util/common/src/index";
|
|
9614
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
9615
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9616
|
+
enum StreamItemTypes {
|
|
9617
|
+
Post = "POST",
|
|
9618
|
+
News = "NEWS",
|
|
9619
|
+
Event = "EVENT",
|
|
9620
|
+
Page = "PAGE"
|
|
9621
|
+
}
|
|
9622
|
+
export enum StreamConversationScope {
|
|
9623
|
+
Public = "PUBLIC",
|
|
9624
|
+
Editor = "EDITOR",
|
|
9625
|
+
Posts = "POSTS"
|
|
9626
|
+
}
|
|
9627
|
+
export interface PostStreamItem extends Post {
|
|
9628
|
+
type: StreamItemTypes.Post;
|
|
9629
|
+
isUnread: boolean;
|
|
9630
|
+
keywordsList?: Keyword[];
|
|
9631
|
+
groupIds?: string[];
|
|
9632
|
+
postAttachments?: StreamAttachment[];
|
|
9633
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
9634
|
+
hasMoreUnreadComments: boolean;
|
|
9635
|
+
}
|
|
9636
|
+
export interface StreamPostComment extends Comment {
|
|
9637
|
+
postCommentAttachments?: StreamAttachment[];
|
|
9638
|
+
streamConversationScope?: StreamConversationScope;
|
|
9639
|
+
}
|
|
9640
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
9641
|
+
type: GraphQLAttachmentType;
|
|
9642
|
+
}
|
|
9643
|
+
export interface NewsStreamItem extends NewsItem {
|
|
9644
|
+
type: StreamItemTypes.News;
|
|
9645
|
+
contentsList: StreamPublishableItemContents[];
|
|
9646
|
+
channelsList: string[];
|
|
9647
|
+
isUnread: boolean;
|
|
9648
|
+
keywordsList?: Keyword[];
|
|
9649
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
9650
|
+
}
|
|
9651
|
+
export enum StreamKnownNewsState {
|
|
9652
|
+
Unconfirmed = "UNCONFIRMED",
|
|
9653
|
+
Alert = "ALERT"
|
|
9654
|
+
}
|
|
9655
|
+
export interface EventStreamItem extends EventItem {
|
|
9656
|
+
type: StreamItemTypes.Event;
|
|
9657
|
+
contentsList: StreamPublishableItemContents[];
|
|
9658
|
+
channelsList: string[];
|
|
9659
|
+
isUnread: boolean;
|
|
9660
|
+
keywordsList?: Keyword[];
|
|
9661
|
+
userResponseType?: StreamEventResponse;
|
|
9662
|
+
}
|
|
9663
|
+
export interface PageStreamItem extends PageItem {
|
|
9664
|
+
type: StreamItemTypes.Page;
|
|
9665
|
+
contentsList: StreamPublishableItemContents[];
|
|
9666
|
+
channelsList: string[];
|
|
9667
|
+
isUnread: boolean;
|
|
9668
|
+
keywordsList?: Keyword[];
|
|
9669
|
+
streamPageType?: string;
|
|
9670
|
+
path?: (PageNavigationNode & {
|
|
9671
|
+
parentId?: string;
|
|
9672
|
+
})[];
|
|
9673
|
+
}
|
|
9674
|
+
interface StreamPublishableItemContents {
|
|
9675
|
+
language: string;
|
|
9676
|
+
title: string;
|
|
9677
|
+
intro?: string;
|
|
9678
|
+
headline?: string;
|
|
9679
|
+
}
|
|
9680
|
+
export type StreamItem = PostStreamItem | NewsStreamItem | EventStreamItem | PageStreamItem;
|
|
9681
|
+
export function isPost(item: StreamItem): item is PostStreamItem;
|
|
9682
|
+
export function isNews(item: StreamItem): item is NewsStreamItem;
|
|
9683
|
+
export function isEvent(item: StreamItem): item is EventStreamItem;
|
|
9684
|
+
export function isPage(item: StreamItem): item is PageStreamItem;
|
|
9634
9685
|
}
|
|
9635
|
-
declare module "libs/reach/feature/content/src/
|
|
9686
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
9687
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
9688
|
+
import { DocumentNode } from '@apollo/client';
|
|
9689
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
9690
|
+
import { BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, ItemTypeFilterDefinition, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
9691
|
+
export enum StreamEventResponse {
|
|
9692
|
+
NotSet = "NOTSET",
|
|
9693
|
+
Registered = "REGISTERED",
|
|
9694
|
+
Declined = "DECLINED"
|
|
9695
|
+
}
|
|
9696
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
9697
|
+
}
|
|
9698
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
9699
|
+
items: StreamItem[];
|
|
9700
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
9701
|
+
loadMore: () => Promise<void>;
|
|
9702
|
+
pageInfo: {
|
|
9703
|
+
errors?: any;
|
|
9704
|
+
hasNextPage: boolean;
|
|
9705
|
+
skip: number;
|
|
9706
|
+
};
|
|
9707
|
+
refresh: () => Promise<void>;
|
|
9708
|
+
};
|
|
9709
|
+
export const getStreamQuery: () => DocumentNode;
|
|
9710
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
9711
|
+
export const CHANNELS_OR_CONDITION: (channels: string[]) => string;
|
|
9712
|
+
export const KEYWORDS_OR_CONDITION: (keywords: string[]) => string;
|
|
9713
|
+
export const NEWS_QUERY: (includeAllItems: boolean, whereConditions?: string) => DocumentNode;
|
|
9714
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string) => DocumentNode;
|
|
9715
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
9716
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
9717
|
+
}
|
|
9718
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
9636
9719
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
9637
9720
|
import { DependencyList } from 'react';
|
|
9638
|
-
export function
|
|
9721
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
9639
9722
|
}
|
|
9640
9723
|
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
9641
9724
|
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -9653,7 +9736,7 @@ declare module "libs/reach/feature/content/src/posts/index" {
|
|
|
9653
9736
|
export * from "libs/reach/feature/content/src/posts/PostListItem";
|
|
9654
9737
|
export * from "libs/reach/feature/content/src/posts/PostWithSelfThreadHandling";
|
|
9655
9738
|
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
9656
|
-
export * from "libs/reach/feature/content/src/posts/
|
|
9739
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
9657
9740
|
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
9658
9741
|
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
9659
9742
|
export * from "libs/reach/feature/content/src/posts/utils";
|
|
@@ -9673,7 +9756,6 @@ declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
|
9673
9756
|
onClick?: (event: React.MouseEvent<unknown>, ref: React.RefObject<Element>, item: PublishableItem, title: string) => unknown;
|
|
9674
9757
|
onRenderContent: (item: PublishableItem, title: string, isSelected?: boolean) => ReactNode;
|
|
9675
9758
|
className?: string;
|
|
9676
|
-
useLargeAvatar?: boolean;
|
|
9677
9759
|
useExternalLink?: boolean;
|
|
9678
9760
|
}
|
|
9679
9761
|
export const EditorListItem: FC<Props>;
|
|
@@ -9718,12 +9800,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
9718
9800
|
}
|
|
9719
9801
|
}
|
|
9720
9802
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
9721
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9803
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9722
9804
|
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
9805
|
import { Observable } from 'rxjs';
|
|
9728
9806
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
9729
9807
|
export function useEditorApi(): {
|
|
@@ -9743,6 +9821,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
|
9743
9821
|
keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
|
|
9744
9822
|
saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
|
|
9745
9823
|
updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
|
|
9824
|
+
translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
|
|
9746
9825
|
};
|
|
9747
9826
|
}
|
|
9748
9827
|
declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
@@ -9766,6 +9845,51 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
9766
9845
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
9767
9846
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
9768
9847
|
}
|
|
9848
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
9849
|
+
import { FC } from 'react';
|
|
9850
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
9851
|
+
export const StreamPostItemCard: FC<{
|
|
9852
|
+
post: PostStreamItem;
|
|
9853
|
+
onPostDelete: (id: string) => unknown;
|
|
9854
|
+
}>;
|
|
9855
|
+
}
|
|
9856
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
9857
|
+
import { FC } from 'react';
|
|
9858
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
9859
|
+
export const StreamNewsItemCard: FC<{
|
|
9860
|
+
news: NewsStreamItem;
|
|
9861
|
+
}>;
|
|
9862
|
+
}
|
|
9863
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
9864
|
+
import { FC } from 'react';
|
|
9865
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
9866
|
+
export const StreamEventItemCard: FC<{
|
|
9867
|
+
event: EventStreamItem;
|
|
9868
|
+
}>;
|
|
9869
|
+
}
|
|
9870
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
9871
|
+
import { FC } from 'react';
|
|
9872
|
+
export const GlobalSearchButton: FC;
|
|
9873
|
+
}
|
|
9874
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
9875
|
+
import { FC } from 'react';
|
|
9876
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
9877
|
+
export type StreamQueryResult = {
|
|
9878
|
+
items: StreamItem[];
|
|
9879
|
+
};
|
|
9880
|
+
export const StreamList: FC;
|
|
9881
|
+
}
|
|
9882
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
9883
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
9884
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
9885
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
9886
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
9887
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
9888
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
9889
|
+
}
|
|
9890
|
+
declare module "libs/reach/feature/content/src/search/index" {
|
|
9891
|
+
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
9892
|
+
}
|
|
9769
9893
|
declare module "libs/reach/feature/content/src/index" {
|
|
9770
9894
|
export * from "libs/reach/feature/content/src/comments/index";
|
|
9771
9895
|
export * from "libs/reach/feature/content/src/common/index";
|
|
@@ -9778,6 +9902,8 @@ declare module "libs/reach/feature/content/src/index" {
|
|
|
9778
9902
|
export * from "libs/reach/feature/content/src/posts/index";
|
|
9779
9903
|
export * from "libs/reach/feature/content/src/editor/index";
|
|
9780
9904
|
export * from "libs/reach/feature/content/src/public-user/index";
|
|
9905
|
+
export * from "libs/reach/feature/content/src/stream/index";
|
|
9906
|
+
export * from "libs/reach/feature/content/src/search/index";
|
|
9781
9907
|
}
|
|
9782
9908
|
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
9783
9909
|
import { FC } from 'react';
|
|
@@ -9842,18 +9968,6 @@ declare module "apps/reach-app/src/app/admin/users/self-registration/SelfRegistr
|
|
|
9842
9968
|
import { FC } from 'react';
|
|
9843
9969
|
export const SelfRegistrationSettingsPage: FC;
|
|
9844
9970
|
}
|
|
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
9971
|
declare module "apps/reach-app/src/app/AppLoader" {
|
|
9858
9972
|
import { FC } from 'react';
|
|
9859
9973
|
export const AppLoader: FC;
|
|
@@ -9899,21 +10013,20 @@ declare module "apps/reach-app/src/app/teams/TeamsContext" {
|
|
|
9899
10013
|
}>;
|
|
9900
10014
|
export const TeamsContextProvider: FC;
|
|
9901
10015
|
}
|
|
9902
|
-
declare module "apps/reach-app/src/app/
|
|
9903
|
-
export enum
|
|
9904
|
-
Authenticated = 0,
|
|
9905
|
-
UnAuthenticated = 1
|
|
9906
|
-
}
|
|
9907
|
-
export enum IntercomInitialState {
|
|
10016
|
+
declare module "apps/reach-app/src/app/Zendesk/useZendesk" {
|
|
10017
|
+
export enum ZendeskInitialState {
|
|
9908
10018
|
Minimized = 0,
|
|
9909
10019
|
MobileHidden = 1
|
|
9910
10020
|
}
|
|
9911
|
-
export function
|
|
9912
|
-
export
|
|
9913
|
-
|
|
10021
|
+
export function shutdownZendesk(): void;
|
|
10022
|
+
export function useZendeskWithSubscription(): {
|
|
10023
|
+
showZendeskChat: () => void;
|
|
9914
10024
|
toggleIcon: (show: boolean) => void;
|
|
9915
|
-
}
|
|
9916
|
-
export function
|
|
10025
|
+
};
|
|
10026
|
+
export function useZendesk(showZendesk?: boolean, initialState?: ZendeskInitialState): {
|
|
10027
|
+
showZendeskChat: () => void;
|
|
10028
|
+
toggleIcon: (show: boolean) => void;
|
|
10029
|
+
};
|
|
9917
10030
|
}
|
|
9918
10031
|
declare module "apps/reach-app/src/app/admin/terms-and-conditions/TermsAndConditionsPage" {
|
|
9919
10032
|
import { FC } from 'react';
|
|
@@ -9955,7 +10068,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
|
|
|
9955
10068
|
import { FC } from 'react';
|
|
9956
10069
|
export const AdminActionItem: FC<{
|
|
9957
10070
|
submenuContents: JSX.Element;
|
|
9958
|
-
onClick
|
|
10071
|
+
onClick?: () => unknown;
|
|
9959
10072
|
title?: string;
|
|
9960
10073
|
}>;
|
|
9961
10074
|
const AdminRoutes: FC;
|
|
@@ -9969,7 +10082,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
|
|
|
9969
10082
|
import { FC } from 'react';
|
|
9970
10083
|
export const ChatMenuNode: FC<{
|
|
9971
10084
|
title: string;
|
|
9972
|
-
onClick
|
|
10085
|
+
onClick?: () => void;
|
|
9973
10086
|
}>;
|
|
9974
10087
|
}
|
|
9975
10088
|
declare module "apps/reach-app/src/app/chrome/Sidebar" {
|
|
@@ -9996,20 +10109,6 @@ declare module "apps/reach-app/src/app/chrome/SidebarGroup" {
|
|
|
9996
10109
|
className?: string;
|
|
9997
10110
|
}>;
|
|
9998
10111
|
}
|
|
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
10112
|
declare module "apps/reach-app/src/AppLoaderContextProvider" {
|
|
10014
10113
|
import { FC, ReactNode } from 'react';
|
|
10015
10114
|
export const AppLoaderContext: import("react").Context<{
|