@livetiles/reach-plugin-types 0.4.85 → 0.4.87
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 +424 -380
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2297,6 +2297,11 @@ declare module "libs/reach/util/common/src/user/useCurrentUserApi" {
|
|
|
2297
2297
|
deleteCurrentUserAvatar: () => Promise<unknown>;
|
|
2298
2298
|
};
|
|
2299
2299
|
}
|
|
2300
|
+
declare module "libs/reach/util/common/src/user/useCachedCurrentUserApi" {
|
|
2301
|
+
export function useCachedCurrentUserApi(): {
|
|
2302
|
+
getCurrentUser: (subscriptionId: string) => Promise<import("libs/reach/util/common/src/user").CurrentUser>;
|
|
2303
|
+
};
|
|
2304
|
+
}
|
|
2300
2305
|
declare module "libs/reach/util/common/src/content/Attachment" {
|
|
2301
2306
|
export enum AttachmentType {
|
|
2302
2307
|
Image = 0,
|
|
@@ -2919,18 +2924,6 @@ declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
|
|
|
2919
2924
|
}>;
|
|
2920
2925
|
export const AnalyticsContextProvider: FC;
|
|
2921
2926
|
}
|
|
2922
|
-
declare module "libs/reach/util/common/src/PagingService" {
|
|
2923
|
-
import { Observable } from 'rxjs';
|
|
2924
|
-
export const onPageScroll: Observable<number>;
|
|
2925
|
-
export function handlePageScroll(availableScrollSpace: number): void;
|
|
2926
|
-
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
2927
|
-
export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
|
|
2928
|
-
}
|
|
2929
|
-
declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
|
|
2930
|
-
import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
2931
|
-
export function useAnalyticsViewTrackWithPagination(startTracking: boolean, items: BaseItem[], itemResourceType: ItemResourceTypes): void;
|
|
2932
|
-
export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
|
|
2933
|
-
}
|
|
2934
2927
|
declare module "libs/reach/util/common/src/useModalRouting" {
|
|
2935
2928
|
export interface ModalRouting {
|
|
2936
2929
|
isActive: boolean;
|
|
@@ -2961,11 +2954,7 @@ declare module "libs/reach/util/common/src/useModalRouting" {
|
|
|
2961
2954
|
};
|
|
2962
2955
|
}
|
|
2963
2956
|
declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
|
|
2964
|
-
|
|
2965
|
-
export function useAnalyticsActivityTrack(scrollContainer?: HTMLElement): {
|
|
2966
|
-
trackActivity: () => Activity;
|
|
2967
|
-
sendActivity: () => void;
|
|
2968
|
-
};
|
|
2957
|
+
export function useAnalyticsActivityTrack(shouldGetMainScrollableContainer?: boolean): void;
|
|
2969
2958
|
}
|
|
2970
2959
|
declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
|
|
2971
2960
|
export function useAnalyticsNavigateTrack(): void;
|
|
@@ -2973,7 +2962,6 @@ declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack"
|
|
|
2973
2962
|
declare module "libs/reach/util/common/src/analytics/index" {
|
|
2974
2963
|
export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2975
2964
|
export * from "libs/reach/util/common/src/analytics/analyticsUtils";
|
|
2976
|
-
export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
|
|
2977
2965
|
export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
|
|
2978
2966
|
export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
|
|
2979
2967
|
export * from "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider";
|
|
@@ -3164,13 +3152,6 @@ declare module "libs/reach/util/common/src/user/useSubscriptionWebAppUrl" {
|
|
|
3164
3152
|
export function useSubscriptionWebAppUrl(): string;
|
|
3165
3153
|
export function useSubscriptionWebAppUrls(): string[];
|
|
3166
3154
|
}
|
|
3167
|
-
declare module "libs/reach/util/common/src/user/useChannelsApi" {
|
|
3168
|
-
import { Channel } from "libs/reach/util/common/src/user/Channel";
|
|
3169
|
-
export function useChannelsApi(): {
|
|
3170
|
-
getChannels: () => Promise<Channel[]>;
|
|
3171
|
-
getChannelsByItemId: (id: string, route?: string) => Promise<Channel[]>;
|
|
3172
|
-
};
|
|
3173
|
-
}
|
|
3174
3155
|
declare module "libs/reach/util/common/src/user/index" {
|
|
3175
3156
|
export * from "libs/reach/util/common/src/user/features/FeatureSet";
|
|
3176
3157
|
export * from "libs/reach/util/common/src/user/features/WithFeatures";
|
|
@@ -3189,6 +3170,7 @@ declare module "libs/reach/util/common/src/user/index" {
|
|
|
3189
3170
|
export * from "libs/reach/util/common/src/user/useAccountApi";
|
|
3190
3171
|
export * from "libs/reach/util/common/src/user/useCurrentUser";
|
|
3191
3172
|
export * from "libs/reach/util/common/src/user/useCurrentUserApi";
|
|
3173
|
+
export * from "libs/reach/util/common/src/user/useCachedCurrentUserApi";
|
|
3192
3174
|
export * from "libs/reach/util/common/src/user/useManageCurrentUserApi";
|
|
3193
3175
|
export * from "libs/reach/util/common/src/user/useUserAdminApi";
|
|
3194
3176
|
export * from "libs/reach/util/common/src/user/CurrentUserDetailContextProvider";
|
|
@@ -3196,7 +3178,6 @@ declare module "libs/reach/util/common/src/user/index" {
|
|
|
3196
3178
|
export * from "libs/reach/util/common/src/user/useSubscriptionHandlePathBuilder";
|
|
3197
3179
|
export * from "libs/reach/util/common/src/user/CurrentUserContext";
|
|
3198
3180
|
export * from "libs/reach/util/common/src/user/useSubscriptionWebAppUrl";
|
|
3199
|
-
export * from "libs/reach/util/common/src/user/useChannelsApi";
|
|
3200
3181
|
export * from "libs/reach/util/common/src/user/LanguageUtils";
|
|
3201
3182
|
export * from "libs/reach/util/common/src/user/content-languages-util";
|
|
3202
3183
|
}
|
|
@@ -3618,6 +3599,32 @@ declare module "libs/reach/util/common/src/notification/index" {
|
|
|
3618
3599
|
export * from "libs/reach/util/common/src/notification/NotificationContext";
|
|
3619
3600
|
export * from "libs/reach/util/common/src/notification/ToastNotificationHost";
|
|
3620
3601
|
}
|
|
3602
|
+
declare module "libs/reach/util/common/src/keywords/useCachedKeywordsApi" {
|
|
3603
|
+
export function useCachedKeywordsApi(): {
|
|
3604
|
+
getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<import("@livetiles/reach/util/common").Keyword[]>;
|
|
3605
|
+
getSelectedGroups: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").KeywordGroup[]>;
|
|
3606
|
+
};
|
|
3607
|
+
}
|
|
3608
|
+
declare module "libs/reach/util/common/src/keywords/index" {
|
|
3609
|
+
export * from "libs/reach/util/common/src/keywords/useCachedKeywordsApi";
|
|
3610
|
+
export * from "libs/reach/util/common/src/keywords/useKeywordsApi";
|
|
3611
|
+
}
|
|
3612
|
+
declare module "libs/reach/util/common/src/channels/useChannelsApi" {
|
|
3613
|
+
import { Channel } from "libs/reach/util/common/src/user/Channel";
|
|
3614
|
+
export function useChannelsApi(): {
|
|
3615
|
+
getChannels: () => Promise<Channel[]>;
|
|
3616
|
+
getChannelsByItemId: (id: string, route?: string) => Promise<Channel[]>;
|
|
3617
|
+
};
|
|
3618
|
+
}
|
|
3619
|
+
declare module "libs/reach/util/common/src/channels/useCachedChannelsApi" {
|
|
3620
|
+
export function useCachedChannelsApi(): {
|
|
3621
|
+
getChannels: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").Channel[]>;
|
|
3622
|
+
};
|
|
3623
|
+
}
|
|
3624
|
+
declare module "libs/reach/util/common/src/channels/index" {
|
|
3625
|
+
export * from "libs/reach/util/common/src/channels/useCachedChannelsApi";
|
|
3626
|
+
export * from "libs/reach/util/common/src/channels/useChannelsApi";
|
|
3627
|
+
}
|
|
3621
3628
|
declare module "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider" {
|
|
3622
3629
|
import { FC, ReactNode } from 'react';
|
|
3623
3630
|
export const EnforcedSubscriptionContextProvider: FC<{
|
|
@@ -3644,10 +3651,11 @@ declare module "libs/reach/util/common/src/subscription/SubscriptionContext" {
|
|
|
3644
3651
|
refreshSubscription: () => void;
|
|
3645
3652
|
}>;
|
|
3646
3653
|
export const LazySubscriptionContextProvider: FC;
|
|
3654
|
+
export const LazyCachedSubscriptionContextProvider: FC;
|
|
3647
3655
|
export const LazySubscriptionContextProviderBase: FC<{
|
|
3648
|
-
getChannels: () => Promise<Channel[]>;
|
|
3649
|
-
getAllKeywords: (force?: boolean) => Promise<Keyword[]>;
|
|
3650
|
-
getSelectedGroups: () => Promise<KeywordGroup[]>;
|
|
3656
|
+
getChannels: (subscriptionId: string) => Promise<Channel[]>;
|
|
3657
|
+
getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<Keyword[]>;
|
|
3658
|
+
getSelectedGroups: (subscriptionId: string) => Promise<KeywordGroup[]>;
|
|
3651
3659
|
}>;
|
|
3652
3660
|
}
|
|
3653
3661
|
declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
|
|
@@ -3706,6 +3714,13 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
|
3706
3714
|
}
|
|
3707
3715
|
export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
|
|
3708
3716
|
}
|
|
3717
|
+
declare module "libs/reach/util/common/src/PagingService" {
|
|
3718
|
+
import { Observable } from 'rxjs';
|
|
3719
|
+
export const onPageScroll: Observable<number>;
|
|
3720
|
+
export function handlePageScroll(availableScrollSpace: number): void;
|
|
3721
|
+
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
3722
|
+
export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
|
|
3723
|
+
}
|
|
3709
3724
|
declare module "libs/reach/util/common/src/keyword-utils" {
|
|
3710
3725
|
import { Keyword } from "libs/reach/util/common/src/content/KeywordGroup";
|
|
3711
3726
|
import { SchedulableItem } from "libs/reach/util/common/src/content/NewsItem";
|
|
@@ -3739,6 +3754,10 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
|
|
|
3739
3754
|
static create(): GenericAccessDeniedTriggerAction;
|
|
3740
3755
|
}
|
|
3741
3756
|
}
|
|
3757
|
+
declare module "libs/reach/util/common/src/ReachQueryClient" {
|
|
3758
|
+
import { QueryClient } from '@tanstack/react-query';
|
|
3759
|
+
export const ReachQueryClient: QueryClient;
|
|
3760
|
+
}
|
|
3742
3761
|
declare module "libs/reach/util/common/src/index" {
|
|
3743
3762
|
export { initializeIcons } from 'office-ui-fabric-react';
|
|
3744
3763
|
export * from "libs/reach/util/common/src/FocusStyles";
|
|
@@ -3755,7 +3774,8 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3755
3774
|
export * from "libs/reach/util/common/src/content/index";
|
|
3756
3775
|
export * from "libs/reach/util/common/src/notification/index";
|
|
3757
3776
|
export * from "libs/reach/util/common/src/Variables";
|
|
3758
|
-
export * from "libs/reach/util/common/src/keywords/
|
|
3777
|
+
export * from "libs/reach/util/common/src/keywords/index";
|
|
3778
|
+
export * from "libs/reach/util/common/src/channels/index";
|
|
3759
3779
|
export * from "libs/reach/util/common/src/subscription/index";
|
|
3760
3780
|
export * from "libs/reach/util/common/src/AppTrigger";
|
|
3761
3781
|
export * from "libs/reach/util/common/src/BackbuttonListenerUtil";
|
|
@@ -3770,6 +3790,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3770
3790
|
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3771
3791
|
export * from "libs/reach/util/common/src/analytics/index";
|
|
3772
3792
|
export * from "libs/reach/util/common/src/common-utils";
|
|
3793
|
+
export * from "libs/reach/util/common/src/ReachQueryClient";
|
|
3773
3794
|
}
|
|
3774
3795
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3775
3796
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -4173,11 +4194,10 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
4173
4194
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
4174
4195
|
}
|
|
4175
4196
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
4176
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
4177
4197
|
export function useFileAccessTokenApi(): {
|
|
4178
4198
|
exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
|
|
4179
4199
|
getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
|
|
4180
|
-
createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string,
|
|
4200
|
+
createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, parentId?: string) => () => Promise<void>;
|
|
4181
4201
|
};
|
|
4182
4202
|
}
|
|
4183
4203
|
declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
@@ -7720,6 +7740,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
|
7720
7740
|
videoInfo: VideoInfo;
|
|
7721
7741
|
autoplay?: boolean;
|
|
7722
7742
|
width?: string;
|
|
7743
|
+
parentId?: string;
|
|
7723
7744
|
className?: string;
|
|
7724
7745
|
}>;
|
|
7725
7746
|
}
|
|
@@ -7745,6 +7766,7 @@ declare module "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailVi
|
|
|
7745
7766
|
export const VideoWithThumbnailView: FC<{
|
|
7746
7767
|
videoInfo: VideoInfo;
|
|
7747
7768
|
videoThumbnailUrl: string;
|
|
7769
|
+
parentId: string;
|
|
7748
7770
|
className?: string;
|
|
7749
7771
|
}>;
|
|
7750
7772
|
}
|
|
@@ -7753,6 +7775,7 @@ declare module "libs/reach/feature/content/src/posts/VideoList" {
|
|
|
7753
7775
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7754
7776
|
export const VideoList: FC<{
|
|
7755
7777
|
attachments: Attachment[];
|
|
7778
|
+
parentId?: string;
|
|
7756
7779
|
onDeleteClick?: (video: Attachment) => void;
|
|
7757
7780
|
className?: string;
|
|
7758
7781
|
}>;
|
|
@@ -7868,77 +7891,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7868
7891
|
onChannelClick?: (channel: string) => unknown;
|
|
7869
7892
|
}>;
|
|
7870
7893
|
}
|
|
7871
|
-
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
7872
|
-
import { FC } from 'react';
|
|
7873
|
-
interface BannerImageProps {
|
|
7874
|
-
children?: any;
|
|
7875
|
-
className?: string;
|
|
7876
|
-
imageUrl: string;
|
|
7877
|
-
openImageUrl?: string;
|
|
7878
|
-
altText?: string;
|
|
7879
|
-
}
|
|
7880
|
-
export const BannerImage: FC<BannerImageProps>;
|
|
7881
|
-
}
|
|
7882
|
-
declare module "libs/reach/feature/content/src/common/banner/ImageDetail" {
|
|
7883
|
-
import { Observable } from 'rxjs';
|
|
7884
|
-
export type ImageVariant = 'original' | 'default';
|
|
7885
|
-
export interface ImageCreate {
|
|
7886
|
-
itemId: string;
|
|
7887
|
-
variant: ImageVariant;
|
|
7888
|
-
identifier: string;
|
|
7889
|
-
image: File;
|
|
7890
|
-
}
|
|
7891
|
-
export interface ImageMetaInfo {
|
|
7892
|
-
itemId: string;
|
|
7893
|
-
identifier: string;
|
|
7894
|
-
originalIdentifier?: string;
|
|
7895
|
-
extension: string;
|
|
7896
|
-
mimeType: string;
|
|
7897
|
-
}
|
|
7898
|
-
export interface ImageSaveEvent {
|
|
7899
|
-
(newImage: File, id: string, variant: ImageVariant): Observable<ImageMetaInfo>;
|
|
7900
|
-
}
|
|
7901
|
-
}
|
|
7902
|
-
declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi" {
|
|
7903
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7904
|
-
import { ImageCreate, ImageMetaInfo } from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
7905
|
-
export function useImageEditorApi(): {
|
|
7906
|
-
getImageInfo: (itemId: string, identifier: string, resourceType: ItemResourceTypes) => Promise<ImageMetaInfo>;
|
|
7907
|
-
getImageEditorUrl: (itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes) => Promise<string>;
|
|
7908
|
-
getOriginalImageEditorUrlWithToken: (token: string, itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes) => string;
|
|
7909
|
-
getImageEditorUrlWithToken: (token: string, itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes, width?: number, height?: number) => string;
|
|
7910
|
-
uploadImage: (subscriptionId: string, resourceType: ItemResourceTypes, newImage: ImageCreate) => Promise<ImageMetaInfo>;
|
|
7911
|
-
};
|
|
7912
|
-
}
|
|
7913
|
-
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
7914
|
-
import { FC } from 'react';
|
|
7915
|
-
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7916
|
-
interface Props {
|
|
7917
|
-
itemId: string;
|
|
7918
|
-
bannerInfo: BannerInfo;
|
|
7919
|
-
useEditorRoutes?: boolean;
|
|
7920
|
-
width: number;
|
|
7921
|
-
resourceType: ItemResourceTypes;
|
|
7922
|
-
token?: string;
|
|
7923
|
-
canOpenImage?: boolean;
|
|
7924
|
-
onPlayButtonClick?: () => unknown;
|
|
7925
|
-
height?: number;
|
|
7926
|
-
hidePlayerIfActive?: boolean;
|
|
7927
|
-
className?: string;
|
|
7928
|
-
documentIconName?: string;
|
|
7929
|
-
}
|
|
7930
|
-
export const PublishableItemBanner: FC<Props>;
|
|
7931
|
-
}
|
|
7932
|
-
declare module "libs/reach/feature/content/src/events/list/EventCardBanner" {
|
|
7933
|
-
import { FC } from 'react';
|
|
7934
|
-
import { EventItem } from "libs/reach/util/common/src/index";
|
|
7935
|
-
export const EventCardBanner: FC<{
|
|
7936
|
-
item: EventItem;
|
|
7937
|
-
bannerWidth: number;
|
|
7938
|
-
bannerHostDefaultWidth?: number;
|
|
7939
|
-
showPlaceholder?: boolean;
|
|
7940
|
-
}>;
|
|
7941
|
-
}
|
|
7942
7894
|
declare module "libs/reach/feature/content/src/feedback/FeedbackCountButton" {
|
|
7943
7895
|
import { FC } from 'react';
|
|
7944
7896
|
interface CountButtonProps {
|
|
@@ -8211,28 +8163,6 @@ declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModa
|
|
|
8211
8163
|
className?: string;
|
|
8212
8164
|
}>;
|
|
8213
8165
|
}
|
|
8214
|
-
declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
8215
|
-
import { FC } from 'react';
|
|
8216
|
-
import { EventItem } from "libs/reach/util/common/src/index";
|
|
8217
|
-
interface StyleDefinition {
|
|
8218
|
-
backgroundColor?: string;
|
|
8219
|
-
noShadow?: boolean;
|
|
8220
|
-
channelsBackgroundColor?: string;
|
|
8221
|
-
bannerHostWidth?: number;
|
|
8222
|
-
showPlaceholderIfNoBannerInfo?: boolean;
|
|
8223
|
-
}
|
|
8224
|
-
export const EventCard: FC<{
|
|
8225
|
-
item: EventItem;
|
|
8226
|
-
language: string;
|
|
8227
|
-
targetUrl?: string;
|
|
8228
|
-
styleDefinition?: StyleDefinition;
|
|
8229
|
-
allowFilterByChannels?: boolean;
|
|
8230
|
-
showFeedbackButtons?: boolean;
|
|
8231
|
-
readOnly?: boolean;
|
|
8232
|
-
enableModalRouting?: boolean;
|
|
8233
|
-
className?: string;
|
|
8234
|
-
}>;
|
|
8235
|
-
}
|
|
8236
8166
|
declare module "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles" {
|
|
8237
8167
|
export const FileListHost: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
|
|
8238
8168
|
export const FileListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {
|
|
@@ -8430,67 +8360,6 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
8430
8360
|
icon?: string;
|
|
8431
8361
|
}>;
|
|
8432
8362
|
}
|
|
8433
|
-
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
8434
|
-
import { IBreadcrumbItem } from 'office-ui-fabric-react';
|
|
8435
|
-
import { MessageDescriptor } from 'react-intl';
|
|
8436
|
-
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8437
|
-
export function getBreadcrumbsItems(page: PageItem, target: string, handleOnClick: (e: React.MouseEvent<any>, item: IBreadcrumbItem) => unknown, getTitle: (page: PageItem | PageNavigationNode) => string, formatMessage: (descriptor: MessageDescriptor, values?: Record<string, any>) => string, hideCurrentPageNode?: boolean, hideHomeNode?: boolean): {
|
|
8438
|
-
breadcrumbItems: IBreadcrumbItem[];
|
|
8439
|
-
ancestors: {
|
|
8440
|
-
title: string;
|
|
8441
|
-
id: string;
|
|
8442
|
-
}[];
|
|
8443
|
-
parentNode: {
|
|
8444
|
-
title: string;
|
|
8445
|
-
id: string;
|
|
8446
|
-
};
|
|
8447
|
-
};
|
|
8448
|
-
}
|
|
8449
|
-
declare module "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb" {
|
|
8450
|
-
import { FC } from 'react';
|
|
8451
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8452
|
-
export const ListItemBreadcrumb: FC<{
|
|
8453
|
-
page: PageItem;
|
|
8454
|
-
language?: string;
|
|
8455
|
-
className?: string;
|
|
8456
|
-
}>;
|
|
8457
|
-
}
|
|
8458
|
-
declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
8459
|
-
import { FC, ReactNode } from 'react';
|
|
8460
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8461
|
-
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/index";
|
|
8462
|
-
interface StyleDefinition {
|
|
8463
|
-
backgroundColor?: string;
|
|
8464
|
-
bannerDefaultWidth: number;
|
|
8465
|
-
bannerFontSize?: number;
|
|
8466
|
-
applyRoundedCorners?: boolean;
|
|
8467
|
-
height?: number;
|
|
8468
|
-
titleFontSize?: number;
|
|
8469
|
-
titleMargin?: string;
|
|
8470
|
-
contentPadding?: string;
|
|
8471
|
-
}
|
|
8472
|
-
interface Props {
|
|
8473
|
-
item: PageItem;
|
|
8474
|
-
baseRoute: string;
|
|
8475
|
-
targetUrl?: string;
|
|
8476
|
-
layoutMode?: ItemTileLayoutMode;
|
|
8477
|
-
filterBaseUrl?: string;
|
|
8478
|
-
styleDefinition?: StyleDefinition;
|
|
8479
|
-
readOnly?: boolean;
|
|
8480
|
-
additionalMetadata?: ReactNode;
|
|
8481
|
-
buttons?: ReactNode;
|
|
8482
|
-
additionalContent?: ReactNode;
|
|
8483
|
-
showBannerPlaceholder?: boolean;
|
|
8484
|
-
showBreadcrumb?: boolean;
|
|
8485
|
-
showIntro?: boolean;
|
|
8486
|
-
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
8487
|
-
onKeywordClick?: (keyword: string) => unknown;
|
|
8488
|
-
openTargetInNewWindow?: boolean;
|
|
8489
|
-
enableModalRouting?: boolean;
|
|
8490
|
-
className?: string;
|
|
8491
|
-
}
|
|
8492
|
-
export const PageItemTile: FC<Props>;
|
|
8493
|
-
}
|
|
8494
8363
|
declare module "libs/reach/feature/content/src/common/ContentUtils" {
|
|
8495
8364
|
import { EventItem, ImageDetails, NewsItem } from "libs/reach/util/common/src/index";
|
|
8496
8365
|
import { IntlShape } from 'react-intl';
|
|
@@ -8517,7 +8386,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
8517
8386
|
backgroundColor?: string;
|
|
8518
8387
|
noShadow?: boolean;
|
|
8519
8388
|
channelsBackgroundColor?: string;
|
|
8520
|
-
|
|
8389
|
+
bannerContainerDefaultWidth?: number;
|
|
8521
8390
|
showChannelsToTheRight?: boolean;
|
|
8522
8391
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
8523
8392
|
}
|
|
@@ -8533,6 +8402,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
8533
8402
|
styleDefinition?: StyleDefinition;
|
|
8534
8403
|
readOnly?: boolean;
|
|
8535
8404
|
enableModalRouting?: boolean;
|
|
8405
|
+
showBanner?: boolean;
|
|
8406
|
+
showBannerAlwaysOnTheLeft?: boolean;
|
|
8536
8407
|
className?: string;
|
|
8537
8408
|
}
|
|
8538
8409
|
export const PublishableItemTileWrapper: FC<Props>;
|
|
@@ -8558,7 +8429,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
8558
8429
|
backgroundColor?: string;
|
|
8559
8430
|
noShadow?: boolean;
|
|
8560
8431
|
channelsBackgroundColor?: string;
|
|
8561
|
-
|
|
8432
|
+
bannerContainerDefaultWidth?: number;
|
|
8562
8433
|
showChannelsToTheRight?: boolean;
|
|
8563
8434
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
8564
8435
|
}
|
|
@@ -8578,64 +8449,228 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
8578
8449
|
readOnly?: boolean;
|
|
8579
8450
|
enableModalRouting?: boolean;
|
|
8580
8451
|
highlight?: boolean;
|
|
8452
|
+
showBanner?: boolean;
|
|
8453
|
+
showBannerAlwaysOnTheLeft?: boolean;
|
|
8581
8454
|
className?: string;
|
|
8582
8455
|
}
|
|
8583
8456
|
export const NewsItemTile: FC<Props>;
|
|
8584
8457
|
}
|
|
8585
|
-
declare module "libs/reach/feature/content/src/
|
|
8586
|
-
import { FC, MouseEvent } from 'react';
|
|
8587
|
-
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8588
|
-
export const DocumentDownloadButton: FC<{
|
|
8589
|
-
page: PageItem | PageNavigationNode;
|
|
8590
|
-
basePath?: string;
|
|
8591
|
-
onClick?: (e: MouseEvent<unknown>) => void;
|
|
8592
|
-
className?: string;
|
|
8593
|
-
}>;
|
|
8594
|
-
}
|
|
8595
|
-
declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile" {
|
|
8596
|
-
import { FC, ReactNode } from 'react';
|
|
8597
|
-
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
8598
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
8599
|
-
export const EmbeddedObjectTile: FC<{
|
|
8600
|
-
id: string;
|
|
8601
|
-
type: AttachmentType;
|
|
8602
|
-
readOnly?: boolean;
|
|
8603
|
-
previewTheme?: CommentInputTheme;
|
|
8604
|
-
buttons?: ReactNode;
|
|
8605
|
-
groupIds?: string[];
|
|
8606
|
-
enableModalRouting?: boolean;
|
|
8607
|
-
className?: string;
|
|
8608
|
-
}>;
|
|
8609
|
-
export const EmbeddedObjectAccessDeniedTile: FC<{
|
|
8610
|
-
backgroundColor?: string;
|
|
8611
|
-
buttons?: ReactNode;
|
|
8612
|
-
className?: string;
|
|
8613
|
-
}>;
|
|
8614
|
-
}
|
|
8615
|
-
declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
|
|
8616
|
-
import { FC } from 'react';
|
|
8617
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8618
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
8619
|
-
export const EmbeddedObjectList: FC<{
|
|
8620
|
-
attachments: Attachment[];
|
|
8621
|
-
onDeleteClick?: (attachment: Attachment) => void;
|
|
8622
|
-
previewTheme?: CommentInputTheme;
|
|
8623
|
-
enableModalRouting?: boolean;
|
|
8624
|
-
className?: string;
|
|
8625
|
-
}>;
|
|
8626
|
-
}
|
|
8627
|
-
declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
|
|
8458
|
+
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
8628
8459
|
import { FC } from 'react';
|
|
8629
|
-
|
|
8630
|
-
|
|
8631
|
-
images: Attachment[];
|
|
8632
|
-
onDeleteClick?: (image: Attachment) => void;
|
|
8633
|
-
disabled?: boolean;
|
|
8634
|
-
imageBackgroundColor?: string;
|
|
8460
|
+
interface BannerImageProps {
|
|
8461
|
+
children?: any;
|
|
8635
8462
|
className?: string;
|
|
8636
|
-
|
|
8463
|
+
imageUrl: string;
|
|
8464
|
+
openImageUrl?: string;
|
|
8465
|
+
altText?: string;
|
|
8466
|
+
}
|
|
8467
|
+
export const BannerImage: FC<BannerImageProps>;
|
|
8637
8468
|
}
|
|
8638
|
-
declare module "libs/reach/feature/content/src/
|
|
8469
|
+
declare module "libs/reach/feature/content/src/common/banner/ImageDetail" {
|
|
8470
|
+
import { Observable } from 'rxjs';
|
|
8471
|
+
export type ImageVariant = 'original' | 'default';
|
|
8472
|
+
export interface ImageCreate {
|
|
8473
|
+
itemId: string;
|
|
8474
|
+
variant: ImageVariant;
|
|
8475
|
+
identifier: string;
|
|
8476
|
+
image: File;
|
|
8477
|
+
}
|
|
8478
|
+
export interface ImageMetaInfo {
|
|
8479
|
+
itemId: string;
|
|
8480
|
+
identifier: string;
|
|
8481
|
+
originalIdentifier?: string;
|
|
8482
|
+
extension: string;
|
|
8483
|
+
mimeType: string;
|
|
8484
|
+
}
|
|
8485
|
+
export interface ImageSaveEvent {
|
|
8486
|
+
(newImage: File, id: string, variant: ImageVariant): Observable<ImageMetaInfo>;
|
|
8487
|
+
}
|
|
8488
|
+
}
|
|
8489
|
+
declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi" {
|
|
8490
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8491
|
+
import { ImageCreate, ImageMetaInfo } from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
8492
|
+
export function useImageEditorApi(): {
|
|
8493
|
+
getImageInfo: (itemId: string, identifier: string, resourceType: ItemResourceTypes) => Promise<ImageMetaInfo>;
|
|
8494
|
+
getImageEditorUrl: (itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes) => Promise<string>;
|
|
8495
|
+
getOriginalImageEditorUrlWithToken: (token: string, itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes) => string;
|
|
8496
|
+
getImageEditorUrlWithToken: (token: string, itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes, width?: number, height?: number) => string;
|
|
8497
|
+
uploadImage: (subscriptionId: string, resourceType: ItemResourceTypes, newImage: ImageCreate) => Promise<ImageMetaInfo>;
|
|
8498
|
+
};
|
|
8499
|
+
}
|
|
8500
|
+
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
8501
|
+
import { FC } from 'react';
|
|
8502
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8503
|
+
interface Props {
|
|
8504
|
+
itemId: string;
|
|
8505
|
+
bannerInfo: BannerInfo;
|
|
8506
|
+
useEditorRoutes?: boolean;
|
|
8507
|
+
width: number;
|
|
8508
|
+
resourceType: ItemResourceTypes;
|
|
8509
|
+
token?: string;
|
|
8510
|
+
canOpenImage?: boolean;
|
|
8511
|
+
onPlayButtonClick?: () => unknown;
|
|
8512
|
+
height?: number;
|
|
8513
|
+
hidePlayerIfActive?: boolean;
|
|
8514
|
+
className?: string;
|
|
8515
|
+
documentIconName?: string;
|
|
8516
|
+
}
|
|
8517
|
+
export const PublishableItemBanner: FC<Props>;
|
|
8518
|
+
}
|
|
8519
|
+
declare module "libs/reach/feature/content/src/common/hooks/useResizeObserver" {
|
|
8520
|
+
export function useResizeObserver<T extends HTMLElement>(callback: (target: T, entry: ResizeObserverEntry) => void): import("react").MutableRefObject<T>;
|
|
8521
|
+
}
|
|
8522
|
+
declare module "libs/reach/feature/content/src/common/banner/AdaptiveBanner" {
|
|
8523
|
+
import { FC } from 'react';
|
|
8524
|
+
import { ItemResourceTypes, SchedulableItem } from "libs/reach/util/common/src/index";
|
|
8525
|
+
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8526
|
+
export const AdaptiveBanner: FC<{
|
|
8527
|
+
item: SchedulableItem;
|
|
8528
|
+
token: string;
|
|
8529
|
+
resourceType: ItemResourceTypes;
|
|
8530
|
+
layoutMode?: ItemTileLayoutMode;
|
|
8531
|
+
bannerContainerDefaultWidth?: number;
|
|
8532
|
+
showPlaceholderIfNoBannerInfo?: boolean;
|
|
8533
|
+
documentIconName?: string;
|
|
8534
|
+
}>;
|
|
8535
|
+
}
|
|
8536
|
+
declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
8537
|
+
import { FC } from 'react';
|
|
8538
|
+
import { EventItem } from "libs/reach/util/common/src/index";
|
|
8539
|
+
interface StyleDefinition {
|
|
8540
|
+
backgroundColor?: string;
|
|
8541
|
+
noShadow?: boolean;
|
|
8542
|
+
channelsBackgroundColor?: string;
|
|
8543
|
+
bannerHostWidth?: number;
|
|
8544
|
+
showPlaceholderIfNoBannerInfo?: boolean;
|
|
8545
|
+
}
|
|
8546
|
+
export const EventCard: FC<{
|
|
8547
|
+
item: EventItem;
|
|
8548
|
+
language: string;
|
|
8549
|
+
targetUrl?: string;
|
|
8550
|
+
styleDefinition?: StyleDefinition;
|
|
8551
|
+
allowFilterByChannels?: boolean;
|
|
8552
|
+
showFeedbackButtons?: boolean;
|
|
8553
|
+
readOnly?: boolean;
|
|
8554
|
+
enableModalRouting?: boolean;
|
|
8555
|
+
className?: string;
|
|
8556
|
+
}>;
|
|
8557
|
+
}
|
|
8558
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
8559
|
+
import { IBreadcrumbItem } from 'office-ui-fabric-react';
|
|
8560
|
+
import { MessageDescriptor } from 'react-intl';
|
|
8561
|
+
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8562
|
+
export function getBreadcrumbsItems(page: PageItem, target: string, handleOnClick: (e: React.MouseEvent<any>, item: IBreadcrumbItem) => unknown, getTitle: (page: PageItem | PageNavigationNode) => string, formatMessage: (descriptor: MessageDescriptor, values?: Record<string, any>) => string, hideCurrentPageNode?: boolean, hideHomeNode?: boolean): {
|
|
8563
|
+
breadcrumbItems: IBreadcrumbItem[];
|
|
8564
|
+
ancestors: {
|
|
8565
|
+
title: string;
|
|
8566
|
+
id: string;
|
|
8567
|
+
}[];
|
|
8568
|
+
parentNode: {
|
|
8569
|
+
title: string;
|
|
8570
|
+
id: string;
|
|
8571
|
+
};
|
|
8572
|
+
};
|
|
8573
|
+
}
|
|
8574
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb" {
|
|
8575
|
+
import { FC } from 'react';
|
|
8576
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8577
|
+
export const ListItemBreadcrumb: FC<{
|
|
8578
|
+
page: PageItem;
|
|
8579
|
+
language?: string;
|
|
8580
|
+
className?: string;
|
|
8581
|
+
}>;
|
|
8582
|
+
}
|
|
8583
|
+
declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
8584
|
+
import { FC, ReactNode } from 'react';
|
|
8585
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8586
|
+
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/index";
|
|
8587
|
+
interface StyleDefinition {
|
|
8588
|
+
backgroundColor?: string;
|
|
8589
|
+
bannerContainerDefaultWidth: number;
|
|
8590
|
+
bannerFontSize?: number;
|
|
8591
|
+
applyRoundedCorners?: boolean;
|
|
8592
|
+
height?: number;
|
|
8593
|
+
titleFontSize?: number;
|
|
8594
|
+
titleMargin?: string;
|
|
8595
|
+
contentPadding?: string;
|
|
8596
|
+
}
|
|
8597
|
+
interface Props {
|
|
8598
|
+
item: PageItem;
|
|
8599
|
+
baseRoute: string;
|
|
8600
|
+
targetUrl?: string;
|
|
8601
|
+
layoutMode?: ItemTileLayoutMode;
|
|
8602
|
+
filterBaseUrl?: string;
|
|
8603
|
+
styleDefinition?: StyleDefinition;
|
|
8604
|
+
readOnly?: boolean;
|
|
8605
|
+
additionalMetadata?: ReactNode;
|
|
8606
|
+
buttons?: ReactNode;
|
|
8607
|
+
additionalContent?: ReactNode;
|
|
8608
|
+
showBannerPlaceholder?: boolean;
|
|
8609
|
+
showBreadcrumb?: boolean;
|
|
8610
|
+
showIntro?: boolean;
|
|
8611
|
+
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
8612
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
8613
|
+
openTargetInNewWindow?: boolean;
|
|
8614
|
+
enableModalRouting?: boolean;
|
|
8615
|
+
showBanner?: boolean;
|
|
8616
|
+
className?: string;
|
|
8617
|
+
}
|
|
8618
|
+
export const PageItemTile: FC<Props>;
|
|
8619
|
+
}
|
|
8620
|
+
declare module "libs/reach/feature/content/src/pages/DocumentDownloadButton" {
|
|
8621
|
+
import { FC, MouseEvent } from 'react';
|
|
8622
|
+
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8623
|
+
export const DocumentDownloadButton: FC<{
|
|
8624
|
+
page: PageItem | PageNavigationNode;
|
|
8625
|
+
basePath?: string;
|
|
8626
|
+
onClick?: (e: MouseEvent<unknown>) => void;
|
|
8627
|
+
className?: string;
|
|
8628
|
+
}>;
|
|
8629
|
+
}
|
|
8630
|
+
declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile" {
|
|
8631
|
+
import { FC, ReactNode } from 'react';
|
|
8632
|
+
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
8633
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
8634
|
+
export const EmbeddedObjectTile: FC<{
|
|
8635
|
+
id: string;
|
|
8636
|
+
type: AttachmentType;
|
|
8637
|
+
readOnly?: boolean;
|
|
8638
|
+
previewTheme?: CommentInputTheme;
|
|
8639
|
+
buttons?: ReactNode;
|
|
8640
|
+
groupIds?: string[];
|
|
8641
|
+
enableModalRouting?: boolean;
|
|
8642
|
+
className?: string;
|
|
8643
|
+
}>;
|
|
8644
|
+
export const EmbeddedObjectAccessDeniedTile: FC<{
|
|
8645
|
+
backgroundColor?: string;
|
|
8646
|
+
buttons?: ReactNode;
|
|
8647
|
+
className?: string;
|
|
8648
|
+
}>;
|
|
8649
|
+
}
|
|
8650
|
+
declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
|
|
8651
|
+
import { FC } from 'react';
|
|
8652
|
+
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8653
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
8654
|
+
export const EmbeddedObjectList: FC<{
|
|
8655
|
+
attachments: Attachment[];
|
|
8656
|
+
onDeleteClick?: (attachment: Attachment) => void;
|
|
8657
|
+
previewTheme?: CommentInputTheme;
|
|
8658
|
+
enableModalRouting?: boolean;
|
|
8659
|
+
className?: string;
|
|
8660
|
+
}>;
|
|
8661
|
+
}
|
|
8662
|
+
declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
|
|
8663
|
+
import { FC } from 'react';
|
|
8664
|
+
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8665
|
+
export const ImageAttachmentList: FC<{
|
|
8666
|
+
images: Attachment[];
|
|
8667
|
+
onDeleteClick?: (image: Attachment) => void;
|
|
8668
|
+
disabled?: boolean;
|
|
8669
|
+
imageBackgroundColor?: string;
|
|
8670
|
+
className?: string;
|
|
8671
|
+
}>;
|
|
8672
|
+
}
|
|
8673
|
+
declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
8639
8674
|
import { FC } from 'react';
|
|
8640
8675
|
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8641
8676
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
@@ -9340,7 +9375,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
|
|
|
9340
9375
|
backgroundColor?: string;
|
|
9341
9376
|
noShadow?: boolean;
|
|
9342
9377
|
channelsBackgroundColor?: string;
|
|
9343
|
-
|
|
9378
|
+
bannerContainerDefaultWidth?: number;
|
|
9344
9379
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
9345
9380
|
}
|
|
9346
9381
|
interface Props {
|
|
@@ -9352,6 +9387,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
|
|
|
9352
9387
|
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
9353
9388
|
onChannelClick?: (channel: string) => unknown;
|
|
9354
9389
|
styleDefinition?: StyleDefinition;
|
|
9390
|
+
showBanner?: boolean;
|
|
9391
|
+
showBannerAlwaysOnTheLeft?: boolean;
|
|
9355
9392
|
className?: string;
|
|
9356
9393
|
}
|
|
9357
9394
|
export const EventItemTile: FC<Props>;
|
|
@@ -9603,6 +9640,13 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginVie
|
|
|
9603
9640
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9604
9641
|
export const InlineObjectPluginMapper: HtmlComponentMapper;
|
|
9605
9642
|
}
|
|
9643
|
+
declare module "libs/reach/feature/content/src/common/banner/index" {
|
|
9644
|
+
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
9645
|
+
export * from "libs/reach/feature/content/src/common/banner/AdaptiveBanner";
|
|
9646
|
+
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
9647
|
+
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9648
|
+
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
9649
|
+
}
|
|
9606
9650
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
9607
9651
|
import { FC } from 'react';
|
|
9608
9652
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -10067,10 +10111,9 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
|
|
|
10067
10111
|
}
|
|
10068
10112
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
|
|
10069
10113
|
import { FC } from 'react';
|
|
10070
|
-
import {
|
|
10114
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
10071
10115
|
export const ConfirmationStatisticsExport: FC<{
|
|
10072
10116
|
item: PublishableItem;
|
|
10073
|
-
resourceType: ItemResourceTypes;
|
|
10074
10117
|
isReadOnly?: boolean;
|
|
10075
10118
|
}>;
|
|
10076
10119
|
}
|
|
@@ -10175,20 +10218,6 @@ declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPag
|
|
|
10175
10218
|
basePath?: string;
|
|
10176
10219
|
}>;
|
|
10177
10220
|
}
|
|
10178
|
-
declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
10179
|
-
import { FC } from 'react';
|
|
10180
|
-
import { ItemResourceTypes, SchedulableItem } from "libs/reach/util/common/src/index";
|
|
10181
|
-
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/index";
|
|
10182
|
-
export const Banner: FC<{
|
|
10183
|
-
item: SchedulableItem;
|
|
10184
|
-
token: string;
|
|
10185
|
-
resourceType: ItemResourceTypes;
|
|
10186
|
-
layoutMode?: ItemTileLayoutMode;
|
|
10187
|
-
bannerDefaultWidth?: number;
|
|
10188
|
-
showPlaceholderIfNoBannerInfo?: boolean;
|
|
10189
|
-
documentIconName?: string;
|
|
10190
|
-
}>;
|
|
10191
|
-
}
|
|
10192
10221
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
10193
10222
|
import { FC } from 'react';
|
|
10194
10223
|
interface LanguageSelectorProps {
|
|
@@ -10320,22 +10349,6 @@ declare module "libs/reach/feature/content/src/common/StateIcon" {
|
|
|
10320
10349
|
activeColor?: string;
|
|
10321
10350
|
}>;
|
|
10322
10351
|
}
|
|
10323
|
-
declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi" {
|
|
10324
|
-
import { ItemResourceTypes, PaginatedList, TaskSummary } from "libs/reach/util/common/src/index";
|
|
10325
|
-
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
10326
|
-
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
10327
|
-
export function useCommonEditorApi(): {
|
|
10328
|
-
list: <T>(type: ItemResourceTypes, filter?: NewsFilterDefinition, token?: string, sortDefinition?: SortFieldsDefinitionBuilder<string>) => Promise<PaginatedList<T>>;
|
|
10329
|
-
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
10330
|
-
};
|
|
10331
|
-
}
|
|
10332
|
-
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
10333
|
-
interface IClickHandles {
|
|
10334
|
-
onInsideClick: () => void;
|
|
10335
|
-
onOutsideClick: () => void;
|
|
10336
|
-
}
|
|
10337
|
-
export function useClickOutside<T extends HTMLElement>(componentInstanceId: string, { onInsideClick, onOutsideClick }: IClickHandles): import("react").MutableRefObject<T>;
|
|
10338
|
-
}
|
|
10339
10352
|
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10340
10353
|
import { FC } from 'react';
|
|
10341
10354
|
export const GroupNotificationsSettings: FC<{
|
|
@@ -10401,6 +10414,14 @@ declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
|
10401
10414
|
};
|
|
10402
10415
|
}>;
|
|
10403
10416
|
}
|
|
10417
|
+
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
10418
|
+
import { FC } from 'react';
|
|
10419
|
+
export const ContentWithShowMoreButton: FC<{
|
|
10420
|
+
domIdentifier: string;
|
|
10421
|
+
trimContent?: boolean;
|
|
10422
|
+
className?: string;
|
|
10423
|
+
}>;
|
|
10424
|
+
}
|
|
10404
10425
|
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
10405
10426
|
import { FC } from 'react';
|
|
10406
10427
|
export const PostFollowButton: FC<{
|
|
@@ -10538,7 +10559,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10538
10559
|
import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, EventCancelInformation, EventItem, EventResponse, GraphQLAttachmentType, ItemResourceTypes, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10539
10560
|
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10540
10561
|
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10541
|
-
enum StreamItemTypes {
|
|
10562
|
+
export enum StreamItemTypes {
|
|
10542
10563
|
Post = "POST",
|
|
10543
10564
|
News = "NEWS",
|
|
10544
10565
|
Event = "EVENT",
|
|
@@ -11367,6 +11388,134 @@ declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTr
|
|
|
11367
11388
|
export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, itemType?: ItemResourceTypes): void;
|
|
11368
11389
|
export function useClearSearchSessionOnLeave(): void;
|
|
11369
11390
|
}
|
|
11391
|
+
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
11392
|
+
import { FC } from 'react';
|
|
11393
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11394
|
+
export const StreamPostItemCard: FC<{
|
|
11395
|
+
post: PostStreamItem;
|
|
11396
|
+
onPostDelete: (id: string) => unknown;
|
|
11397
|
+
}>;
|
|
11398
|
+
}
|
|
11399
|
+
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
11400
|
+
import { FC } from 'react';
|
|
11401
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11402
|
+
export const StreamNewsItemCard: FC<{
|
|
11403
|
+
news: NewsStreamItem;
|
|
11404
|
+
}>;
|
|
11405
|
+
}
|
|
11406
|
+
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
11407
|
+
import { FC } from 'react';
|
|
11408
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11409
|
+
export const StreamEventItemCard: FC<{
|
|
11410
|
+
event: EventStreamItem;
|
|
11411
|
+
}>;
|
|
11412
|
+
}
|
|
11413
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11414
|
+
import { FC } from 'react';
|
|
11415
|
+
export const GlobalSearchButton: FC<{
|
|
11416
|
+
className?: string;
|
|
11417
|
+
}>;
|
|
11418
|
+
}
|
|
11419
|
+
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11420
|
+
import { FC, ReactNode } from 'react';
|
|
11421
|
+
export const StreamList: FC<{
|
|
11422
|
+
emptySearchResultButton?: ReactNode;
|
|
11423
|
+
}>;
|
|
11424
|
+
}
|
|
11425
|
+
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
11426
|
+
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
11427
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
11428
|
+
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11429
|
+
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string, includeAllItems?: boolean): ItemLoader<NewsStreamItem, number>;
|
|
11430
|
+
}
|
|
11431
|
+
declare module "libs/reach/feature/content/src/stream/useEventsStreamDataLoader" {
|
|
11432
|
+
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11433
|
+
import { EventView, ItemLoader } from "libs/reach/ui/common/src/index";
|
|
11434
|
+
import { EventFilterDefinition } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
11435
|
+
export function useEventsStreamDataLoader(filter?: EventFilterDefinition, searchText?: string, view?: EventView): ItemLoader<EventStreamItem, number>;
|
|
11436
|
+
export function getEventsFilterByView(filter: EventFilterDefinition, view: EventView): EventFilterDefinition;
|
|
11437
|
+
export const CONTACTS_CONDITION: (contacts: string[]) => string;
|
|
11438
|
+
}
|
|
11439
|
+
declare module "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead" {
|
|
11440
|
+
import { StreamFilterDefinition } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11441
|
+
import { ItemTypeFilterFlag } from "libs/reach/feature/content/src/filter/index";
|
|
11442
|
+
export interface onMarkAsReadHandlers {
|
|
11443
|
+
onStarted?: () => unknown;
|
|
11444
|
+
onFinished?: () => unknown;
|
|
11445
|
+
}
|
|
11446
|
+
export function useMarkStreamItemsAsRead(itemTypes: ItemTypeFilterFlag, filter?: StreamFilterDefinition, searchText?: string, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
11447
|
+
}
|
|
11448
|
+
declare module "libs/reach/feature/content/src/stream/PostStreamFilterDefinition" {
|
|
11449
|
+
import { AuthorFilterDefinition, BeforePublishingDateFilterDefinition, PostFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
11450
|
+
export interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
11451
|
+
}
|
|
11452
|
+
}
|
|
11453
|
+
declare module "libs/reach/feature/content/src/stream/usePostsStreamDataLoader" {
|
|
11454
|
+
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11455
|
+
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
11456
|
+
import { PostStreamFilterDefinition } from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
11457
|
+
export function usePostsStreamDataLoader(groupId?: string, filter?: PostStreamFilterDefinition, searchText?: string): ItemLoader<PostStreamItem, number>;
|
|
11458
|
+
export const POSTS_QUERY: (whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11459
|
+
}
|
|
11460
|
+
declare module "libs/reach/feature/content/src/stream/usePagesStreamDataLoader" {
|
|
11461
|
+
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
11462
|
+
import { PageStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11463
|
+
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
|
|
11464
|
+
export function usePagesStreamDataLoader(filter?: PageFilterDefinition, searchText?: string): ItemLoader<PageStreamItem, number>;
|
|
11465
|
+
}
|
|
11466
|
+
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11467
|
+
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
11468
|
+
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11469
|
+
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11470
|
+
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
11471
|
+
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
11472
|
+
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
11473
|
+
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
11474
|
+
export * from "libs/reach/feature/content/src/stream/useEventsStreamDataLoader";
|
|
11475
|
+
export * from "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead";
|
|
11476
|
+
export * from "libs/reach/feature/content/src/stream/usePostsStreamDataLoader";
|
|
11477
|
+
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
11478
|
+
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
11479
|
+
}
|
|
11480
|
+
declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsViewTrack" {
|
|
11481
|
+
import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11482
|
+
export function useAnalyticsViewTrackWithPagination(startTracking: boolean, items: BaseItem[], itemResourceType: ItemResourceTypes): void;
|
|
11483
|
+
export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
|
|
11484
|
+
}
|
|
11485
|
+
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
11486
|
+
interface IClickHandles {
|
|
11487
|
+
onInsideClick: () => void;
|
|
11488
|
+
onOutsideClick: () => void;
|
|
11489
|
+
}
|
|
11490
|
+
export function useClickOutside<T extends HTMLElement>(componentInstanceId: string, { onInsideClick, onOutsideClick }: IClickHandles): import("react").MutableRefObject<T>;
|
|
11491
|
+
}
|
|
11492
|
+
declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi" {
|
|
11493
|
+
import { ItemResourceTypes, PaginatedList, TaskSummary } from "libs/reach/util/common/src/index";
|
|
11494
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
11495
|
+
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
11496
|
+
export function useCommonEditorApi(): {
|
|
11497
|
+
list: <T>(type: ItemResourceTypes, filter?: NewsFilterDefinition, token?: string, sortDefinition?: SortFieldsDefinitionBuilder<string>) => Promise<PaginatedList<T>>;
|
|
11498
|
+
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
11499
|
+
};
|
|
11500
|
+
}
|
|
11501
|
+
declare module "libs/reach/feature/content/src/common/hooks/useContainerDimensions" {
|
|
11502
|
+
export interface Size {
|
|
11503
|
+
width: number;
|
|
11504
|
+
height: number;
|
|
11505
|
+
}
|
|
11506
|
+
export function useContainerDimensions(): [Size, any];
|
|
11507
|
+
}
|
|
11508
|
+
declare module "libs/reach/feature/content/src/common/hooks/index" {
|
|
11509
|
+
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
|
|
11510
|
+
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsViewTrack";
|
|
11511
|
+
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
11512
|
+
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
11513
|
+
export * from "libs/reach/feature/content/src/common/hooks/useContainerDimensions";
|
|
11514
|
+
export * from "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectValidator";
|
|
11515
|
+
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
11516
|
+
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
11517
|
+
export * from "libs/reach/feature/content/src/common/hooks/useResizeObserver";
|
|
11518
|
+
}
|
|
11370
11519
|
declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
|
|
11371
11520
|
import { LocationDescriptor } from 'history';
|
|
11372
11521
|
import { FC, ReactNode } from 'react';
|
|
@@ -11466,14 +11615,6 @@ declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
|
11466
11615
|
className?: string;
|
|
11467
11616
|
}>;
|
|
11468
11617
|
}
|
|
11469
|
-
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
11470
|
-
import { FC } from 'react';
|
|
11471
|
-
export const ContentWithShowMoreButton: FC<{
|
|
11472
|
-
domIdentifier: string;
|
|
11473
|
-
trimContent?: boolean;
|
|
11474
|
-
className?: string;
|
|
11475
|
-
}>;
|
|
11476
|
-
}
|
|
11477
11618
|
declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
|
|
11478
11619
|
import { FC } from 'react';
|
|
11479
11620
|
import { Channel } from "libs/reach/util/common/src/index";
|
|
@@ -11540,9 +11681,7 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
11540
11681
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
11541
11682
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
11542
11683
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
11543
|
-
export * from "libs/reach/feature/content/src/common/banner/
|
|
11544
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
11545
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
11684
|
+
export * from "libs/reach/feature/content/src/common/banner/index";
|
|
11546
11685
|
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
11547
11686
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
11548
11687
|
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
@@ -11558,8 +11697,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
11558
11697
|
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
11559
11698
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
11560
11699
|
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
11561
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
11562
|
-
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
11563
11700
|
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
11564
11701
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
11565
11702
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
@@ -11586,11 +11723,7 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
11586
11723
|
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
11587
11724
|
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
11588
11725
|
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
11589
|
-
export * from "libs/reach/feature/content/src/common/hooks/
|
|
11590
|
-
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
11591
|
-
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
11592
|
-
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
11593
|
-
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
|
|
11726
|
+
export * from "libs/reach/feature/content/src/common/hooks/index";
|
|
11594
11727
|
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
11595
11728
|
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
11596
11729
|
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
@@ -11928,95 +12061,6 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
11928
12061
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
11929
12062
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
11930
12063
|
}
|
|
11931
|
-
declare module "libs/reach/feature/content/src/stream/StreamPostItemCard" {
|
|
11932
|
-
import { FC } from 'react';
|
|
11933
|
-
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11934
|
-
export const StreamPostItemCard: FC<{
|
|
11935
|
-
post: PostStreamItem;
|
|
11936
|
-
onPostDelete: (id: string) => unknown;
|
|
11937
|
-
}>;
|
|
11938
|
-
}
|
|
11939
|
-
declare module "libs/reach/feature/content/src/stream/StreamNewsItemCard" {
|
|
11940
|
-
import { FC } from 'react';
|
|
11941
|
-
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11942
|
-
export const StreamNewsItemCard: FC<{
|
|
11943
|
-
news: NewsStreamItem;
|
|
11944
|
-
}>;
|
|
11945
|
-
}
|
|
11946
|
-
declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
11947
|
-
import { FC } from 'react';
|
|
11948
|
-
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11949
|
-
export const StreamEventItemCard: FC<{
|
|
11950
|
-
event: EventStreamItem;
|
|
11951
|
-
}>;
|
|
11952
|
-
}
|
|
11953
|
-
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11954
|
-
import { FC } from 'react';
|
|
11955
|
-
export const GlobalSearchButton: FC<{
|
|
11956
|
-
className?: string;
|
|
11957
|
-
}>;
|
|
11958
|
-
}
|
|
11959
|
-
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11960
|
-
import { FC, ReactNode } from 'react';
|
|
11961
|
-
export const StreamList: FC<{
|
|
11962
|
-
emptySearchResultButton?: ReactNode;
|
|
11963
|
-
}>;
|
|
11964
|
-
}
|
|
11965
|
-
declare module "libs/reach/feature/content/src/stream/useNewsStreamDataLoader" {
|
|
11966
|
-
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
11967
|
-
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
11968
|
-
import { NewsStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11969
|
-
export function useNewsStreamDataLoader(filter?: NewsFilterDefinition, searchText?: string, includeAllItems?: boolean): ItemLoader<NewsStreamItem, number>;
|
|
11970
|
-
}
|
|
11971
|
-
declare module "libs/reach/feature/content/src/stream/useEventsStreamDataLoader" {
|
|
11972
|
-
import { EventStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11973
|
-
import { EventView, ItemLoader } from "libs/reach/ui/common/src/index";
|
|
11974
|
-
import { EventFilterDefinition } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
11975
|
-
export function useEventsStreamDataLoader(filter?: EventFilterDefinition, searchText?: string, view?: EventView): ItemLoader<EventStreamItem, number>;
|
|
11976
|
-
export function getEventsFilterByView(filter: EventFilterDefinition, view: EventView): EventFilterDefinition;
|
|
11977
|
-
export const CONTACTS_CONDITION: (contacts: string[]) => string;
|
|
11978
|
-
}
|
|
11979
|
-
declare module "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead" {
|
|
11980
|
-
import { StreamFilterDefinition } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11981
|
-
import { ItemTypeFilterFlag } from "libs/reach/feature/content/src/filter/index";
|
|
11982
|
-
export interface onMarkAsReadHandlers {
|
|
11983
|
-
onStarted?: () => unknown;
|
|
11984
|
-
onFinished?: () => unknown;
|
|
11985
|
-
}
|
|
11986
|
-
export function useMarkStreamItemsAsRead(itemTypes: ItemTypeFilterFlag, filter?: StreamFilterDefinition, searchText?: string, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
11987
|
-
}
|
|
11988
|
-
declare module "libs/reach/feature/content/src/stream/PostStreamFilterDefinition" {
|
|
11989
|
-
import { AuthorFilterDefinition, BeforePublishingDateFilterDefinition, PostFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
11990
|
-
export interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
11991
|
-
}
|
|
11992
|
-
}
|
|
11993
|
-
declare module "libs/reach/feature/content/src/stream/usePostsStreamDataLoader" {
|
|
11994
|
-
import { PostStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11995
|
-
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
11996
|
-
import { PostStreamFilterDefinition } from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
11997
|
-
export function usePostsStreamDataLoader(groupId?: string, filter?: PostStreamFilterDefinition, searchText?: string): ItemLoader<PostStreamItem, number>;
|
|
11998
|
-
export const POSTS_QUERY: (whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11999
|
-
}
|
|
12000
|
-
declare module "libs/reach/feature/content/src/stream/usePagesStreamDataLoader" {
|
|
12001
|
-
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
12002
|
-
import { PageStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
12003
|
-
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
|
|
12004
|
-
export function usePagesStreamDataLoader(filter?: PageFilterDefinition, searchText?: string): ItemLoader<PageStreamItem, number>;
|
|
12005
|
-
}
|
|
12006
|
-
declare module "libs/reach/feature/content/src/stream/index" {
|
|
12007
|
-
export * from "libs/reach/feature/content/src/stream/StreamList";
|
|
12008
|
-
export * from "libs/reach/feature/content/src/stream/streamUtils";
|
|
12009
|
-
export * from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
12010
|
-
export * from "libs/reach/feature/content/src/stream/StreamEventItemCard";
|
|
12011
|
-
export * from "libs/reach/feature/content/src/stream/StreamNewsItemCard";
|
|
12012
|
-
export * from "libs/reach/feature/content/src/stream/StreamPostItemCard";
|
|
12013
|
-
export * from "libs/reach/feature/content/src/stream/useNewsStreamDataLoader";
|
|
12014
|
-
export * from "libs/reach/feature/content/src/stream/useEventsStreamDataLoader";
|
|
12015
|
-
export * from "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead";
|
|
12016
|
-
export * from "libs/reach/feature/content/src/stream/usePostsStreamDataLoader";
|
|
12017
|
-
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
12018
|
-
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
12019
|
-
}
|
|
12020
12064
|
declare module "libs/reach/feature/content/src/search/index" {
|
|
12021
12065
|
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
12022
12066
|
}
|