@livetiles/reach-plugin-types 0.4.42 → 0.4.43
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 +1038 -830
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -216,11 +216,27 @@ declare module "libs/shared/util/environment/src/MsalConfiguration" {
|
|
|
216
216
|
extraScopes: string[];
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
+
declare module "libs/shared/util/environment/src/AnalyticsConfig" {
|
|
220
|
+
export interface DashboardConfig {
|
|
221
|
+
name: string;
|
|
222
|
+
title: string;
|
|
223
|
+
id: number;
|
|
224
|
+
params?: string;
|
|
225
|
+
}
|
|
226
|
+
export interface AnalyticsConfig {
|
|
227
|
+
hostName: string;
|
|
228
|
+
regions?: {
|
|
229
|
+
[key: string]: string;
|
|
230
|
+
};
|
|
231
|
+
dashboards: DashboardConfig[];
|
|
232
|
+
}
|
|
233
|
+
}
|
|
219
234
|
declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
220
235
|
import { ZendeskConfig } from "libs/shared/util/environment/src/ZendeskConfig";
|
|
221
236
|
import { AuthenticationType } from "libs/shared/util/authentication/src/index";
|
|
222
237
|
import { KeycloakConfiguration } from "libs/shared/util/environment/src/KeycloakConfiguration";
|
|
223
238
|
import { MsalConfiguration } from "libs/shared/util/environment/src/MsalConfiguration";
|
|
239
|
+
import { AnalyticsConfig } from "libs/shared/util/environment/src/AnalyticsConfig";
|
|
224
240
|
export enum ConfigType {
|
|
225
241
|
Local = "local",
|
|
226
242
|
Dev = "dev",
|
|
@@ -266,9 +282,12 @@ declare module "libs/shared/util/environment/src/AppConfiguration" {
|
|
|
266
282
|
oneSignal?: {
|
|
267
283
|
appId: string;
|
|
268
284
|
};
|
|
285
|
+
analytics: AnalyticsConfig;
|
|
269
286
|
}
|
|
270
287
|
}
|
|
271
288
|
declare module "libs/shared/util/environment/src/ClientConfig" {
|
|
289
|
+
import { AnalyticsConfig } from "libs/shared/util/environment/src/AnalyticsConfig";
|
|
290
|
+
import { ConfigType } from "libs/shared/util/environment/src/AppConfiguration";
|
|
272
291
|
export interface ClientConfig {
|
|
273
292
|
maxFileSizeInMb: number;
|
|
274
293
|
unsplash: {
|
|
@@ -286,9 +305,12 @@ declare module "libs/shared/util/environment/src/ClientConfig" {
|
|
|
286
305
|
giphy: {
|
|
287
306
|
apiKey: string;
|
|
288
307
|
};
|
|
308
|
+
analytics: AnalyticsConfig;
|
|
309
|
+
configType: ConfigType;
|
|
289
310
|
}
|
|
290
311
|
}
|
|
291
312
|
declare module "libs/shared/util/environment/src/EnvironmentConfig" {
|
|
313
|
+
import { DeviceInfo } from '@capacitor/device';
|
|
292
314
|
export interface EnvironmentConfig {
|
|
293
315
|
isCustomerBuild: boolean;
|
|
294
316
|
isProduction: boolean;
|
|
@@ -308,11 +330,6 @@ declare module "libs/shared/util/environment/src/EnvironmentConfig" {
|
|
|
308
330
|
envName: string;
|
|
309
331
|
mobileTeamsHost?: string;
|
|
310
332
|
}
|
|
311
|
-
type OperatingSystem = 'ios' | 'android' | 'windows' | 'mac' | 'unknown';
|
|
312
|
-
interface DeviceInfo {
|
|
313
|
-
platform: 'ios' | 'android' | 'web';
|
|
314
|
-
operatingSystem: OperatingSystem;
|
|
315
|
-
}
|
|
316
333
|
}
|
|
317
334
|
declare module "libs/shared/util/environment/src/environment" {
|
|
318
335
|
import { AppConfiguration } from "libs/shared/util/environment/src/AppConfiguration";
|
|
@@ -2688,6 +2705,237 @@ declare module "libs/reach/util/common/src/AccessDeniedIntercept" {
|
|
|
2688
2705
|
export function accessDeniedIntercept(error: any): Promise<boolean>;
|
|
2689
2706
|
export function genericAccessDeniedIntercept(error: any): Promise<boolean>;
|
|
2690
2707
|
}
|
|
2708
|
+
declare module "libs/reach/util/common/src/Variables" {
|
|
2709
|
+
export const maxContentWidth = 985;
|
|
2710
|
+
export const adminMaxWidth = 600;
|
|
2711
|
+
export const spacingXxs = 3;
|
|
2712
|
+
export const spacingXs = 6;
|
|
2713
|
+
export const spacingS = 10;
|
|
2714
|
+
export const spacingM = 20;
|
|
2715
|
+
export const spacingL = 30;
|
|
2716
|
+
export const spacingX = 40;
|
|
2717
|
+
export const spacingXl = 60;
|
|
2718
|
+
export const minScreenSize: {
|
|
2719
|
+
small: number;
|
|
2720
|
+
medium: number;
|
|
2721
|
+
large: number;
|
|
2722
|
+
xLarge: number;
|
|
2723
|
+
xxLarge: number;
|
|
2724
|
+
xxxLarge: number;
|
|
2725
|
+
};
|
|
2726
|
+
export const maxScreenSize: {
|
|
2727
|
+
small: number;
|
|
2728
|
+
medium: number;
|
|
2729
|
+
large: number;
|
|
2730
|
+
xLarge: number;
|
|
2731
|
+
xxLarge: number;
|
|
2732
|
+
};
|
|
2733
|
+
export const sidebarWidth = 285;
|
|
2734
|
+
export const sidebarWidthRight = 320;
|
|
2735
|
+
export const sidebarItemHeight = 50;
|
|
2736
|
+
export const headerHeight = 50;
|
|
2737
|
+
export const headerSecondaryHeight = 50;
|
|
2738
|
+
export const notificationHeight = 50;
|
|
2739
|
+
export const mainContentPanelWidth = 300;
|
|
2740
|
+
export const mainContentPanelMinScreenSize = 1740;
|
|
2741
|
+
export const fontSizeLarger = 40;
|
|
2742
|
+
export const fontSizeLarge = 25;
|
|
2743
|
+
export const fontSizeMedium = 18;
|
|
2744
|
+
export const fontSizeNormal = 16;
|
|
2745
|
+
export const fontSizeSmall = 14;
|
|
2746
|
+
export const fontSizeSmaller = 12;
|
|
2747
|
+
export const socialIconSize = 26;
|
|
2748
|
+
export const lineHeight = 23;
|
|
2749
|
+
export const smallScreenLoginHeight = 40;
|
|
2750
|
+
export const bannerAspectRatio: number;
|
|
2751
|
+
export const bannerWidth = 980;
|
|
2752
|
+
export const bannerHeight = 420;
|
|
2753
|
+
export const HighlightBubbleSize = 12;
|
|
2754
|
+
export const StatusBubbleSize = 10;
|
|
2755
|
+
export const shadowColor = "rgba(0, 0, 0, 0.2)";
|
|
2756
|
+
export const diffPreviousVersionColour = "rgb(221, 221, 221)";
|
|
2757
|
+
export const diffActiveVersionColour = "rgb(206, 255, 188)";
|
|
2758
|
+
export const dialogSpacing = 24;
|
|
2759
|
+
export const detailViewSectionPadding = 20;
|
|
2760
|
+
export const detailViewSectionPaddingLarge = 60;
|
|
2761
|
+
export const postsSectionPadding = 20;
|
|
2762
|
+
export const attachmentRoundedCornerSize = 10;
|
|
2763
|
+
export const videoAttachmentRoundedCornerSize = 20;
|
|
2764
|
+
export const inlinePageBannerRoundedCornerSize = 5;
|
|
2765
|
+
export const feedbackButtonHeight = 32;
|
|
2766
|
+
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
2767
|
+
export const mainContentContainerId = "lt-reach-main-content";
|
|
2768
|
+
export const mainModalContentContainerId = "lt-reach-main-modal-content";
|
|
2769
|
+
export const statusColors: {
|
|
2770
|
+
draft: string;
|
|
2771
|
+
ready: string;
|
|
2772
|
+
rejected: string;
|
|
2773
|
+
};
|
|
2774
|
+
export const cardWidthS = 260;
|
|
2775
|
+
export const cardWidthM = 354;
|
|
2776
|
+
export const cardWidthL = 314;
|
|
2777
|
+
export const cardWidthXL = 423;
|
|
2778
|
+
export const managePagesRowWidth = 300;
|
|
2779
|
+
export const managePagesRowHeight = 40;
|
|
2780
|
+
export const mobilePreviewWidth = 414;
|
|
2781
|
+
}
|
|
2782
|
+
declare module "libs/reach/util/common/src/common-utils" {
|
|
2783
|
+
import { BaseSubscription, LogoInfo, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2784
|
+
import { IntlShape } from 'react-intl';
|
|
2785
|
+
export function getMainScrollableContainer(): HTMLElement;
|
|
2786
|
+
export enum LinkType {
|
|
2787
|
+
Internal = "internal",
|
|
2788
|
+
External = "external",
|
|
2789
|
+
Download = "download"
|
|
2790
|
+
}
|
|
2791
|
+
export const uuidRegex = "[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}";
|
|
2792
|
+
export const DefaultSubscriptionName = "LiveTiles Reach";
|
|
2793
|
+
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
2794
|
+
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
2795
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
2796
|
+
logoInfo: LogoInfo;
|
|
2797
|
+
subscriptionName: string;
|
|
2798
|
+
};
|
|
2799
|
+
}
|
|
2800
|
+
declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
|
|
2801
|
+
export enum AnalyticsInteractionEvents {
|
|
2802
|
+
embeddedVideo = "embedded-video",
|
|
2803
|
+
embeddedAudio = "embedded-audio",
|
|
2804
|
+
languageChange = "language-change",
|
|
2805
|
+
eventRegistration = "event-registration",
|
|
2806
|
+
eventSeriesRegistration = "event-series-registration",
|
|
2807
|
+
translateContent = "translate-content",
|
|
2808
|
+
downloadFile = "download-file",
|
|
2809
|
+
embeddedIframe = "embedded-iframe",
|
|
2810
|
+
externalLink = "external-link",
|
|
2811
|
+
follow = "follow",
|
|
2812
|
+
bookmark = "bookmark"
|
|
2813
|
+
}
|
|
2814
|
+
export enum AnalyticsActions {
|
|
2815
|
+
click = "click",
|
|
2816
|
+
navigate = "navigate",
|
|
2817
|
+
view = "view",
|
|
2818
|
+
search = "search"
|
|
2819
|
+
}
|
|
2820
|
+
export enum AnalyticsModuleType {
|
|
2821
|
+
Admin = "admin",
|
|
2822
|
+
Chat = "chat",
|
|
2823
|
+
Comments = "comments",
|
|
2824
|
+
Events = "events",
|
|
2825
|
+
Search = "search",
|
|
2826
|
+
News = "news",
|
|
2827
|
+
Pages = "pages",
|
|
2828
|
+
People = "people",
|
|
2829
|
+
Posts = "posts",
|
|
2830
|
+
Stream = "stream",
|
|
2831
|
+
User = "user"
|
|
2832
|
+
}
|
|
2833
|
+
export enum AnalyticsModuleSubtype {
|
|
2834
|
+
AllChats = "allChats",
|
|
2835
|
+
AllNews = "allNews",
|
|
2836
|
+
AllPosts = "allPosts",
|
|
2837
|
+
Bookmarks = "bookmarks",
|
|
2838
|
+
Channel = "channel",
|
|
2839
|
+
Channels = "channels",
|
|
2840
|
+
ChatConversation = "conversation",
|
|
2841
|
+
Customization = "customization",
|
|
2842
|
+
DetailView = "detailView",
|
|
2843
|
+
DirectoryConfig = "directoryConfiguration",
|
|
2844
|
+
Group = "group",
|
|
2845
|
+
Groups = "groups",
|
|
2846
|
+
Keywords = "keywords",
|
|
2847
|
+
Languages = "languages",
|
|
2848
|
+
MyNews = "myNews",
|
|
2849
|
+
Owners = "owners",
|
|
2850
|
+
Preview = "preview",
|
|
2851
|
+
RootPages = "rootPages",
|
|
2852
|
+
Search = "search",
|
|
2853
|
+
SelfRegistration = "selfRegistration",
|
|
2854
|
+
TargetAudience = "targetAudience",
|
|
2855
|
+
UpcomingEvents = "upcoming",
|
|
2856
|
+
BookedEvents = "booked",
|
|
2857
|
+
PastEvents = "past",
|
|
2858
|
+
Users = "users",
|
|
2859
|
+
WebHooks = "webHooks",
|
|
2860
|
+
Editor = "editor"
|
|
2861
|
+
}
|
|
2862
|
+
}
|
|
2863
|
+
declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
|
|
2864
|
+
export function useLinkInteraction(): void;
|
|
2865
|
+
}
|
|
2866
|
+
declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
|
|
2867
|
+
export function useIframeInteraction(): void;
|
|
2868
|
+
}
|
|
2869
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider" {
|
|
2870
|
+
import { FC } from 'react';
|
|
2871
|
+
import { EventModule } from '@livetiles/analytics';
|
|
2872
|
+
export const AnalyticsModuleContext: import("react").Context<EventModule>;
|
|
2873
|
+
export const AnalyticsModuleContextProvider: FC<{
|
|
2874
|
+
module: EventModule;
|
|
2875
|
+
}>;
|
|
2876
|
+
}
|
|
2877
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
|
|
2878
|
+
import { Dispatch, FC, SetStateAction } from 'react';
|
|
2879
|
+
import { Activity, Analytics, EventModule, InteractionProperties, EventSearch } from '@livetiles/analytics';
|
|
2880
|
+
export interface SearchAnalytics {
|
|
2881
|
+
data: EventSearch[];
|
|
2882
|
+
onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
|
|
2883
|
+
onItemRead: (itemId: string) => void;
|
|
2884
|
+
}
|
|
2885
|
+
export interface ModuleAnalytics {
|
|
2886
|
+
module: EventModule;
|
|
2887
|
+
setModule: Dispatch<SetStateAction<EventModule>>;
|
|
2888
|
+
}
|
|
2889
|
+
interface ActivityAnalytics {
|
|
2890
|
+
trackActivity: (scrollContainer?: HTMLElement, moduleOverride?: EventModule) => Activity | undefined;
|
|
2891
|
+
sendActivity: () => void;
|
|
2892
|
+
}
|
|
2893
|
+
export type ReachAnalytics = Analytics & ModuleAnalytics & SearchAnalytics & ActivityAnalytics;
|
|
2894
|
+
export const AnalyticsContext: import("react").Context<ReachAnalytics>;
|
|
2895
|
+
export function useAnalyticsContext(): {
|
|
2896
|
+
interaction: (payload: Omit<InteractionProperties, 'module'>) => Promise<void>;
|
|
2897
|
+
trackActivity: (scrollContainer?: HTMLElement) => Activity;
|
|
2898
|
+
getUser: () => import("@segment/analytics-next").User;
|
|
2899
|
+
identify: (userId: string, traits?: Record<string, unknown>) => Promise<void>;
|
|
2900
|
+
activity: (payload: import("@livetiles/analytics").ActivityProperties) => Activity;
|
|
2901
|
+
module: EventModule;
|
|
2902
|
+
setModule: Dispatch<SetStateAction<EventModule>>;
|
|
2903
|
+
data: EventSearch[];
|
|
2904
|
+
onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
|
|
2905
|
+
onItemRead: (itemId: string) => void;
|
|
2906
|
+
sendActivity: () => void;
|
|
2907
|
+
};
|
|
2908
|
+
export const AnalyticsLibraryContextProvider: FC<{
|
|
2909
|
+
appName?: string;
|
|
2910
|
+
}>;
|
|
2911
|
+
export const AnalyticsContextProvider: FC;
|
|
2912
|
+
}
|
|
2913
|
+
declare module "libs/reach/util/common/src/PagingService" {
|
|
2914
|
+
import { Observable } from 'rxjs';
|
|
2915
|
+
export const onPageScroll: Observable<number>;
|
|
2916
|
+
export function handlePageScroll(availableScrollSpace: number): void;
|
|
2917
|
+
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
2918
|
+
export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
|
|
2919
|
+
}
|
|
2920
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
|
|
2921
|
+
import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
2922
|
+
export function useAnalyticsViewTrackWithPagination(startTracking: boolean, items: BaseItem[], itemResourceType: ItemResourceTypes): void;
|
|
2923
|
+
export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
|
|
2924
|
+
}
|
|
2925
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
|
|
2926
|
+
export function useAnalyticsActivityTrack(scrollContainer: HTMLElement): void;
|
|
2927
|
+
}
|
|
2928
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
|
|
2929
|
+
export function useAnalyticsNavigateTrack(): void;
|
|
2930
|
+
}
|
|
2931
|
+
declare module "libs/reach/util/common/src/analytics/index" {
|
|
2932
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2933
|
+
export * from "libs/reach/util/common/src/analytics/analyticsUtils";
|
|
2934
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
|
|
2935
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
|
|
2936
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
|
|
2937
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider";
|
|
2938
|
+
}
|
|
2691
2939
|
declare module "libs/reach/util/common/src/user/useManageCurrentUserApi" {
|
|
2692
2940
|
import { CurrentUser, GroupNotificationSettings, NotificationTypeSettings, UserContact } from "libs/reach/util/common/src/user/User";
|
|
2693
2941
|
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
@@ -3271,78 +3519,6 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
3271
3519
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
3272
3520
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
3273
3521
|
}
|
|
3274
|
-
declare module "libs/reach/util/common/src/Variables" {
|
|
3275
|
-
export const maxContentWidth = 985;
|
|
3276
|
-
export const adminMaxWidth = 600;
|
|
3277
|
-
export const spacingXxs = 3;
|
|
3278
|
-
export const spacingXs = 6;
|
|
3279
|
-
export const spacingS = 10;
|
|
3280
|
-
export const spacingM = 20;
|
|
3281
|
-
export const spacingL = 30;
|
|
3282
|
-
export const spacingX = 40;
|
|
3283
|
-
export const spacingXl = 60;
|
|
3284
|
-
export const minScreenSize: {
|
|
3285
|
-
small: number;
|
|
3286
|
-
medium: number;
|
|
3287
|
-
large: number;
|
|
3288
|
-
xLarge: number;
|
|
3289
|
-
xxLarge: number;
|
|
3290
|
-
xxxLarge: number;
|
|
3291
|
-
};
|
|
3292
|
-
export const maxScreenSize: {
|
|
3293
|
-
small: number;
|
|
3294
|
-
medium: number;
|
|
3295
|
-
large: number;
|
|
3296
|
-
xLarge: number;
|
|
3297
|
-
xxLarge: number;
|
|
3298
|
-
};
|
|
3299
|
-
export const sidebarWidth = 285;
|
|
3300
|
-
export const sidebarWidthRight = 320;
|
|
3301
|
-
export const sidebarItemHeight = 50;
|
|
3302
|
-
export const headerHeight = 50;
|
|
3303
|
-
export const headerSecondaryHeight = 50;
|
|
3304
|
-
export const notificationHeight = 50;
|
|
3305
|
-
export const mainContentPanelWidth = 300;
|
|
3306
|
-
export const mainContentPanelMinScreenSize = 1740;
|
|
3307
|
-
export const fontSizeLarger = 40;
|
|
3308
|
-
export const fontSizeLarge = 25;
|
|
3309
|
-
export const fontSizeMedium = 18;
|
|
3310
|
-
export const fontSizeNormal = 16;
|
|
3311
|
-
export const fontSizeSmall = 14;
|
|
3312
|
-
export const fontSizeSmaller = 12;
|
|
3313
|
-
export const socialIconSize = 26;
|
|
3314
|
-
export const lineHeight = 23;
|
|
3315
|
-
export const smallScreenLoginHeight = 40;
|
|
3316
|
-
export const bannerAspectRatio: number;
|
|
3317
|
-
export const bannerWidth = 980;
|
|
3318
|
-
export const bannerHeight = 420;
|
|
3319
|
-
export const HighlightBubbleSize = 12;
|
|
3320
|
-
export const StatusBubbleSize = 10;
|
|
3321
|
-
export const shadowColor = "rgba(0, 0, 0, 0.2)";
|
|
3322
|
-
export const diffPreviousVersionColour = "rgb(221, 221, 221)";
|
|
3323
|
-
export const diffActiveVersionColour = "rgb(206, 255, 188)";
|
|
3324
|
-
export const dialogSpacing = 24;
|
|
3325
|
-
export const detailViewSectionPadding = 20;
|
|
3326
|
-
export const detailViewSectionPaddingLarge = 60;
|
|
3327
|
-
export const postsSectionPadding = 20;
|
|
3328
|
-
export const attachmentRoundedCornerSize = 10;
|
|
3329
|
-
export const videoAttachmentRoundedCornerSize = 20;
|
|
3330
|
-
export const inlinePageBannerRoundedCornerSize = 5;
|
|
3331
|
-
export const feedbackButtonHeight = 32;
|
|
3332
|
-
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
3333
|
-
export const statusColors: {
|
|
3334
|
-
draft: string;
|
|
3335
|
-
ready: string;
|
|
3336
|
-
rejected: string;
|
|
3337
|
-
};
|
|
3338
|
-
export const cardWidthS = 260;
|
|
3339
|
-
export const cardWidthM = 354;
|
|
3340
|
-
export const cardWidthL = 314;
|
|
3341
|
-
export const cardWidthXL = 423;
|
|
3342
|
-
export const managePagesRowWidth = 300;
|
|
3343
|
-
export const managePagesRowHeight = 40;
|
|
3344
|
-
export const mobilePreviewWidth = 414;
|
|
3345
|
-
}
|
|
3346
3522
|
declare module "libs/reach/util/common/src/plugins/Plugin" {
|
|
3347
3523
|
import { FC } from 'react';
|
|
3348
3524
|
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
@@ -3483,13 +3659,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
|
3483
3659
|
}
|
|
3484
3660
|
export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
|
|
3485
3661
|
}
|
|
3486
|
-
declare module "libs/reach/util/common/src/PagingService" {
|
|
3487
|
-
import { Observable } from 'rxjs';
|
|
3488
|
-
export const onPageScroll: Observable<number>;
|
|
3489
|
-
export function handlePageScroll(availableScrollSpace: number): void;
|
|
3490
|
-
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
3491
|
-
export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
|
|
3492
|
-
}
|
|
3493
3662
|
declare module "libs/reach/util/common/src/keyword-utils" {
|
|
3494
3663
|
import { Keyword } from "libs/reach/util/common/src/content/KeywordGroup";
|
|
3495
3664
|
import { SchedulableItem } from "libs/reach/util/common/src/content/NewsItem";
|
|
@@ -3581,6 +3750,8 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3581
3750
|
export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
|
|
3582
3751
|
export * from "libs/reach/util/common/src/AccessDeniedIntercept";
|
|
3583
3752
|
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3753
|
+
export * from "libs/reach/util/common/src/analytics/index";
|
|
3754
|
+
export * from "libs/reach/util/common/src/common-utils";
|
|
3584
3755
|
}
|
|
3585
3756
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3586
3757
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -3769,6 +3940,7 @@ declare module "libs/reach/ui/common/src/common/AudioFile" {
|
|
|
3769
3940
|
export const AudioFile: FC<{
|
|
3770
3941
|
fileName: string;
|
|
3771
3942
|
url: string;
|
|
3943
|
+
onPlay?: (url: string) => void;
|
|
3772
3944
|
}>;
|
|
3773
3945
|
export function isAudioFile(fileName: string): boolean;
|
|
3774
3946
|
}
|
|
@@ -3792,37 +3964,6 @@ declare module "libs/reach/ui/common/src/common/buttons/ActionButton" {
|
|
|
3792
3964
|
color?: string;
|
|
3793
3965
|
}, never>;
|
|
3794
3966
|
}
|
|
3795
|
-
declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
3796
|
-
export const smallScreenSpacing = 10;
|
|
3797
|
-
export const smallMaxContentWidth: number;
|
|
3798
|
-
export const mediumMaxContentWidth: number;
|
|
3799
|
-
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3800
|
-
}
|
|
3801
|
-
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3802
|
-
import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3803
|
-
import { IntlShape } from 'react-intl';
|
|
3804
|
-
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3805
|
-
export function isValidUrl(url: string): boolean;
|
|
3806
|
-
export function getGoogleMapsSearchLink(name: string): string;
|
|
3807
|
-
export function tryGetInternalLink(url: string, appUrls: string[]): string;
|
|
3808
|
-
export function getExternalContentUrl(item: PublishableItem, language: string): string;
|
|
3809
|
-
export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
|
|
3810
|
-
export const DefaultSubscriptionName = "LiveTiles Reach";
|
|
3811
|
-
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3812
|
-
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3813
|
-
export const uuidRegex = "[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}";
|
|
3814
|
-
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3815
|
-
logoInfo: LogoInfo;
|
|
3816
|
-
subscriptionName: string;
|
|
3817
|
-
};
|
|
3818
|
-
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3819
|
-
export function delay(delayInMs: number): Promise<unknown>;
|
|
3820
|
-
export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3821
|
-
defaultWidth?: number;
|
|
3822
|
-
showPlaceholder?: boolean;
|
|
3823
|
-
}, never>;
|
|
3824
|
-
export function encodeChannelName(channelName: string): string;
|
|
3825
|
-
}
|
|
3826
3967
|
declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
3827
3968
|
import { FC } from 'react';
|
|
3828
3969
|
import { SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
@@ -3986,6 +4127,7 @@ declare module "libs/reach/ui/common/src/common/VideoFile" {
|
|
|
3986
4127
|
export const VideoFile: FC<{
|
|
3987
4128
|
fileName: string;
|
|
3988
4129
|
url: string;
|
|
4130
|
+
onPlay?: (url: string) => void;
|
|
3989
4131
|
}>;
|
|
3990
4132
|
export function isVideoFile(fileName: string): boolean;
|
|
3991
4133
|
}
|
|
@@ -4010,24 +4152,28 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
4010
4152
|
export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
|
|
4011
4153
|
export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
|
|
4012
4154
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
4013
|
-
export function getMainScrollableContainer(): HTMLElement;
|
|
4014
4155
|
}
|
|
4015
4156
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
4157
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
4016
4158
|
export function useFileAccessTokenApi(): {
|
|
4017
4159
|
exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
|
|
4018
4160
|
getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
|
|
4019
|
-
createDownloadClickHandler: (target: string, getUrl: () => Promise<string
|
|
4161
|
+
createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, itemResourceType?: ItemResourceTypes | string, parentId?: string) => () => Promise<void>;
|
|
4020
4162
|
};
|
|
4021
4163
|
}
|
|
4022
4164
|
declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
4023
4165
|
import { FC } from 'react';
|
|
4024
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
4166
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
4025
4167
|
export const FileAttachmentList: FC<{
|
|
4026
4168
|
files: Attachment[];
|
|
4027
4169
|
onDeleteClick?: (file: Attachment) => void;
|
|
4028
4170
|
getFileUrl?: (attachmentId: string, token?: string) => string;
|
|
4171
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
4172
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
4029
4173
|
fileAccessToken?: string;
|
|
4030
4174
|
disabled?: boolean;
|
|
4175
|
+
parentId?: string;
|
|
4176
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
4031
4177
|
className?: string;
|
|
4032
4178
|
}>;
|
|
4033
4179
|
}
|
|
@@ -4327,6 +4473,28 @@ declare module "libs/reach/ui/common/src/common/UserUtility" {
|
|
|
4327
4473
|
import { IntlShape } from 'react-intl';
|
|
4328
4474
|
export function getGroupName(group: UserGroup, user: CurrentUser, intl: IntlShape): string;
|
|
4329
4475
|
}
|
|
4476
|
+
declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
4477
|
+
export const smallScreenSpacing = 10;
|
|
4478
|
+
export const smallMaxContentWidth: number;
|
|
4479
|
+
export const mediumMaxContentWidth: number;
|
|
4480
|
+
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4481
|
+
}
|
|
4482
|
+
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
4483
|
+
import { CurrentUser, PublishableItem } from "libs/reach/util/common/src/index";
|
|
4484
|
+
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
4485
|
+
export function isValidUrl(url: string): boolean;
|
|
4486
|
+
export function getGoogleMapsSearchLink(name: string): string;
|
|
4487
|
+
export function tryGetInternalLink(url: string, appUrls: string[]): string;
|
|
4488
|
+
export function getExternalContentUrl(item: PublishableItem, language: string): string;
|
|
4489
|
+
export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
|
|
4490
|
+
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
4491
|
+
export function delay(delayInMs: number): Promise<unknown>;
|
|
4492
|
+
export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4493
|
+
defaultWidth?: number;
|
|
4494
|
+
showPlaceholder?: boolean;
|
|
4495
|
+
}, never>;
|
|
4496
|
+
export function encodeChannelName(channelName: string): string;
|
|
4497
|
+
}
|
|
4330
4498
|
declare module "libs/reach/ui/common/src/common/VerificationStatusIcon" {
|
|
4331
4499
|
import { FC, ReactNode } from 'react';
|
|
4332
4500
|
import { PrimitiveType } from 'intl-messageformat';
|
|
@@ -4350,12 +4518,15 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
|
|
|
4350
4518
|
}
|
|
4351
4519
|
declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
|
|
4352
4520
|
import { FC } from 'react';
|
|
4521
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
4353
4522
|
export const AutoTranslateButton: FC<{
|
|
4354
4523
|
contentLanguageCode: string;
|
|
4355
4524
|
originalContent: string;
|
|
4356
4525
|
content: string;
|
|
4357
4526
|
onTranslate: (preferredContentLanguageCode: string) => Promise<string>;
|
|
4358
4527
|
onContentChange: (content: string) => void;
|
|
4528
|
+
itemType: ItemResourceTypes;
|
|
4529
|
+
itemId: string;
|
|
4359
4530
|
tooltipResourceKey?: string;
|
|
4360
4531
|
showLabel?: boolean;
|
|
4361
4532
|
}>;
|
|
@@ -5309,9 +5480,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
|
|
|
5309
5480
|
}
|
|
5310
5481
|
declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
5311
5482
|
import { FC, ReactNode } from 'react';
|
|
5312
|
-
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5313
5483
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
5314
5484
|
import './BasicPage.scss';
|
|
5485
|
+
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5315
5486
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
5316
5487
|
type HeaderToolbarObjectTypeHack = {
|
|
5317
5488
|
toolbarElement: JSX.Element;
|
|
@@ -7289,11 +7460,48 @@ declare module "libs/reach/feature/content/src/posts/utils" {
|
|
|
7289
7460
|
export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
|
|
7290
7461
|
export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
|
|
7291
7462
|
}
|
|
7292
|
-
declare module "libs/reach/feature/content/src/
|
|
7293
|
-
import {
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
|
|
7463
|
+
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7464
|
+
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7465
|
+
export default interface FeedbackSummary {
|
|
7466
|
+
records: FeedbackItem[];
|
|
7467
|
+
}
|
|
7468
|
+
export enum FeedbackItemType {
|
|
7469
|
+
comment = "comment",
|
|
7470
|
+
like = "like",
|
|
7471
|
+
confirm = "confirm",
|
|
7472
|
+
poll = "poll",
|
|
7473
|
+
eventRegistration = "eventRegistration"
|
|
7474
|
+
}
|
|
7475
|
+
export interface FeedbackItem {
|
|
7476
|
+
type: FeedbackItemType;
|
|
7477
|
+
timestamp: string;
|
|
7478
|
+
}
|
|
7479
|
+
export interface PollFeedbackItem extends FeedbackItem {
|
|
7480
|
+
type: FeedbackItemType.poll;
|
|
7481
|
+
answers: PollQuestionAnswer[];
|
|
7482
|
+
}
|
|
7483
|
+
}
|
|
7484
|
+
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7485
|
+
import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7486
|
+
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7487
|
+
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7488
|
+
export const feedbackCache: {
|
|
7489
|
+
[newsId: string]: Promise<FeedbackSummary>;
|
|
7490
|
+
};
|
|
7491
|
+
export function useFeedbackApi(): {
|
|
7492
|
+
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7493
|
+
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7494
|
+
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7495
|
+
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7496
|
+
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7497
|
+
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
7498
|
+
};
|
|
7499
|
+
}
|
|
7500
|
+
declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
7501
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7502
|
+
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7503
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7504
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
7297
7505
|
import { Post, PostFilterDefinition } from "libs/reach/feature/content/src/posts/utils";
|
|
7298
7506
|
export function usePostsApi(): {
|
|
7299
7507
|
createPost: (post: Partial<Post>) => Promise<Post>;
|
|
@@ -7315,7 +7523,7 @@ declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectVal
|
|
|
7315
7523
|
}
|
|
7316
7524
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
7317
7525
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
7318
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7526
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7319
7527
|
export interface ClientAttachment extends Attachment {
|
|
7320
7528
|
file?: File;
|
|
7321
7529
|
}
|
|
@@ -7331,6 +7539,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
7331
7539
|
placeHolderStringResourceKey?: string;
|
|
7332
7540
|
disableAddGif?: boolean;
|
|
7333
7541
|
disableAddFiles?: boolean;
|
|
7542
|
+
parentId?: string;
|
|
7543
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
7334
7544
|
};
|
|
7335
7545
|
export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
|
|
7336
7546
|
attachments: Attachment[];
|
|
@@ -7343,6 +7553,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
7343
7553
|
placeHolderStringResourceKey?: string;
|
|
7344
7554
|
disableAddGif?: boolean;
|
|
7345
7555
|
disableAddFiles?: boolean;
|
|
7556
|
+
parentId?: string;
|
|
7557
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
7346
7558
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7347
7559
|
}
|
|
7348
7560
|
declare module "libs/reach/feature/content/src/comments/utils" {
|
|
@@ -7690,27 +7902,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7690
7902
|
}
|
|
7691
7903
|
export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
|
|
7692
7904
|
}
|
|
7693
|
-
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7694
|
-
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7695
|
-
export default interface FeedbackSummary {
|
|
7696
|
-
records: FeedbackItem[];
|
|
7697
|
-
}
|
|
7698
|
-
export enum FeedbackItemType {
|
|
7699
|
-
comment = "comment",
|
|
7700
|
-
like = "like",
|
|
7701
|
-
confirm = "confirm",
|
|
7702
|
-
poll = "poll",
|
|
7703
|
-
eventRegistration = "eventRegistration"
|
|
7704
|
-
}
|
|
7705
|
-
export interface FeedbackItem {
|
|
7706
|
-
type: FeedbackItemType;
|
|
7707
|
-
timestamp: string;
|
|
7708
|
-
}
|
|
7709
|
-
export interface PollFeedbackItem extends FeedbackItem {
|
|
7710
|
-
type: FeedbackItemType.poll;
|
|
7711
|
-
answers: PollQuestionAnswer[];
|
|
7712
|
-
}
|
|
7713
|
-
}
|
|
7714
7905
|
declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
|
|
7715
7906
|
import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7716
7907
|
import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
|
|
@@ -7729,6 +7920,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7729
7920
|
import { PrimaryButton } from 'office-ui-fabric-react';
|
|
7730
7921
|
export const EventRegistrationButton: FC<{
|
|
7731
7922
|
isRegistered: boolean;
|
|
7923
|
+
eventId: string;
|
|
7732
7924
|
disabled?: boolean;
|
|
7733
7925
|
className?: string;
|
|
7734
7926
|
onClick?: () => void;
|
|
@@ -7812,25 +8004,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7812
8004
|
onDismiss: () => unknown;
|
|
7813
8005
|
}>;
|
|
7814
8006
|
}
|
|
7815
|
-
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7816
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7817
|
-
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7818
|
-
import { PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7819
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7820
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
7821
|
-
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7822
|
-
export const feedbackCache: {
|
|
7823
|
-
[newsId: string]: Promise<FeedbackSummary>;
|
|
7824
|
-
};
|
|
7825
|
-
export function useFeedbackApi(): {
|
|
7826
|
-
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7827
|
-
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7828
|
-
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7829
|
-
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7830
|
-
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7831
|
-
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
7832
|
-
};
|
|
7833
|
-
}
|
|
7834
8007
|
declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
|
|
7835
8008
|
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7836
8009
|
import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
|
|
@@ -8377,7 +8550,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
|
|
|
8377
8550
|
}
|
|
8378
8551
|
declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
8379
8552
|
import { FC } from 'react';
|
|
8380
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8553
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8381
8554
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
8382
8555
|
interface Props {
|
|
8383
8556
|
className?: string;
|
|
@@ -8387,6 +8560,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
|
8387
8560
|
previewTheme?: CommentInputTheme;
|
|
8388
8561
|
disableVideoPreview?: boolean;
|
|
8389
8562
|
disableEmbeddedObjectPreview?: boolean;
|
|
8563
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8564
|
+
parentId?: string;
|
|
8390
8565
|
}
|
|
8391
8566
|
export const AttachmentList: FC<Props>;
|
|
8392
8567
|
}
|
|
@@ -8403,6 +8578,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
8403
8578
|
placeHolderStringResourceKey?: string;
|
|
8404
8579
|
disableAddGif?: boolean;
|
|
8405
8580
|
disableAddFiles?: boolean;
|
|
8581
|
+
parentId?: string;
|
|
8582
|
+
itemResourceType?: string;
|
|
8406
8583
|
} & {
|
|
8407
8584
|
disableVideoPreview?: boolean;
|
|
8408
8585
|
disableEmbeddedObjectPreview?: boolean;
|
|
@@ -8472,7 +8649,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
|
|
|
8472
8649
|
}
|
|
8473
8650
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
8474
8651
|
import { FC } from 'react';
|
|
8475
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8652
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8476
8653
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8477
8654
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8478
8655
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
@@ -8504,6 +8681,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
8504
8681
|
};
|
|
8505
8682
|
disableBoxShadow?: boolean;
|
|
8506
8683
|
ariaLabel?: string;
|
|
8684
|
+
parentId?: string;
|
|
8685
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8507
8686
|
}
|
|
8508
8687
|
interface Props extends BaseProps {
|
|
8509
8688
|
allowAttachments?: boolean;
|
|
@@ -8567,14 +8746,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
|
|
|
8567
8746
|
}
|
|
8568
8747
|
export const InlineGalleryMapper: HtmlComponentMapper;
|
|
8569
8748
|
}
|
|
8570
|
-
declare module "libs/reach/feature/content/src/posts/LegacyPostPhotoGallery" {
|
|
8571
|
-
import { FC } from 'react';
|
|
8572
|
-
import { ImageDetails } from "libs/reach/util/common/src/index";
|
|
8573
|
-
export const LegacyPostPhotoGallery: FC<{
|
|
8574
|
-
images: ImageDetails[];
|
|
8575
|
-
imageUrlResolver: (imageId: string, width?: number, height?: number) => string;
|
|
8576
|
-
}>;
|
|
8577
|
-
}
|
|
8578
8749
|
declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
8579
8750
|
import { FC } from 'react';
|
|
8580
8751
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
@@ -8582,12 +8753,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
|
8582
8753
|
item: ItemWithAttachments;
|
|
8583
8754
|
basePath: string;
|
|
8584
8755
|
imagesGridBackgroundColor?: string;
|
|
8756
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
8757
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
8585
8758
|
className?: string;
|
|
8586
8759
|
}>;
|
|
8587
8760
|
}
|
|
8588
8761
|
declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
8589
8762
|
import { FC } from 'react';
|
|
8590
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8763
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8591
8764
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8592
8765
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8593
8766
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -8603,6 +8776,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
8603
8776
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
8604
8777
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8605
8778
|
ariaLabel?: string;
|
|
8779
|
+
parentId?: string;
|
|
8780
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8606
8781
|
}
|
|
8607
8782
|
interface Props extends BaseProps {
|
|
8608
8783
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -9041,6 +9216,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
|
|
|
9041
9216
|
isLastPage: boolean;
|
|
9042
9217
|
unreadOnly?: boolean;
|
|
9043
9218
|
filter?: NewsFilterDefinition;
|
|
9219
|
+
activeChannel?: string;
|
|
9044
9220
|
}>;
|
|
9045
9221
|
}
|
|
9046
9222
|
declare module "libs/reach/feature/content/src/news/useTranslateApi" {
|
|
@@ -9809,9 +9985,10 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
|
|
|
9809
9985
|
}
|
|
9810
9986
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
|
|
9811
9987
|
import { FC } from 'react';
|
|
9812
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9988
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9813
9989
|
export const ConfirmationStatisticsExport: FC<{
|
|
9814
9990
|
item: PublishableItem;
|
|
9991
|
+
resourceType: ItemResourceTypes;
|
|
9815
9992
|
isReadOnly?: boolean;
|
|
9816
9993
|
}>;
|
|
9817
9994
|
}
|
|
@@ -10103,630 +10280,255 @@ declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
|
10103
10280
|
}
|
|
10104
10281
|
export function useClickOutside<T extends HTMLElement>({ onInsideClick, onOutsideClick, }: IClickHandles): import("react").MutableRefObject<T>;
|
|
10105
10282
|
}
|
|
10106
|
-
declare module "libs/reach/feature/content/src/
|
|
10107
|
-
import {
|
|
10108
|
-
|
|
10109
|
-
|
|
10110
|
-
icon?: ReactNode;
|
|
10111
|
-
iconName?: string;
|
|
10112
|
-
color?: string;
|
|
10113
|
-
onClick?: () => any;
|
|
10114
|
-
route?: LocationDescriptor;
|
|
10115
|
-
iconTooltipResourceKey: string;
|
|
10116
|
-
iconTooltipResourceValues?: any;
|
|
10283
|
+
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10284
|
+
import { FC } from 'react';
|
|
10285
|
+
export const GroupNotificationsSettings: FC<{
|
|
10286
|
+
groupId: string;
|
|
10117
10287
|
className?: string;
|
|
10118
10288
|
}>;
|
|
10119
10289
|
}
|
|
10120
|
-
declare module "libs/reach/feature/content/src/
|
|
10121
|
-
import { FC
|
|
10122
|
-
import {
|
|
10123
|
-
import {
|
|
10124
|
-
|
|
10125
|
-
|
|
10126
|
-
|
|
10127
|
-
|
|
10128
|
-
|
|
10129
|
-
|
|
10130
|
-
|
|
10131
|
-
|
|
10132
|
-
|
|
10133
|
-
|
|
10134
|
-
|
|
10135
|
-
|
|
10136
|
-
|
|
10137
|
-
|
|
10138
|
-
onContentClick?: () => void;
|
|
10139
|
-
contentRoute?: LocationDescriptor;
|
|
10140
|
-
badgeInfo?: number | boolean;
|
|
10141
|
-
title?: string;
|
|
10290
|
+
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10291
|
+
import { FC } from 'react';
|
|
10292
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10293
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10294
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10295
|
+
export interface PostCreatorProps {
|
|
10296
|
+
groupId: string;
|
|
10297
|
+
disabled?: boolean;
|
|
10298
|
+
disableDragAndDrop?: boolean;
|
|
10299
|
+
onBeforeSave?: (post: Post) => void;
|
|
10300
|
+
onSaved: (post: Post) => void;
|
|
10301
|
+
keywordSettings?: {
|
|
10302
|
+
availableKeywords?: Keyword[];
|
|
10303
|
+
defaultKeywords?: Keyword[];
|
|
10304
|
+
mandatoryKeywords?: Keyword[];
|
|
10305
|
+
};
|
|
10306
|
+
disableAutoFocus?: boolean;
|
|
10307
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
10142
10308
|
className?: string;
|
|
10143
10309
|
}
|
|
10144
|
-
export const
|
|
10310
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
10145
10311
|
}
|
|
10146
|
-
declare module "libs/reach/feature/content/src/
|
|
10312
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
10147
10313
|
import { FC } from 'react';
|
|
10148
|
-
import {
|
|
10149
|
-
|
|
10150
|
-
|
|
10151
|
-
|
|
10152
|
-
}
|
|
10153
|
-
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
10154
|
-
import { FC, ReactNode } from 'react';
|
|
10155
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
10156
|
-
import { LocationDescriptor } from 'history';
|
|
10157
|
-
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
10158
|
-
interface CommonSidebarItemProps {
|
|
10159
|
-
title?: string | JSX.Element;
|
|
10160
|
-
titleResource?: string;
|
|
10161
|
-
icon?: ReactNode;
|
|
10162
|
-
iconName?: string;
|
|
10163
|
-
iconTooltipResourceKey?: string;
|
|
10164
|
-
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
10165
|
-
secondaryIconName?: string;
|
|
10166
|
-
secondaryIconTooltipResourceKey?: string;
|
|
10167
|
-
iconColor?: string;
|
|
10168
|
-
reverse?: boolean;
|
|
10169
|
-
notHighlightable?: boolean;
|
|
10170
|
-
onClick?: () => void;
|
|
10314
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10315
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
10316
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10317
|
+
interface Props {
|
|
10171
10318
|
className?: string;
|
|
10172
|
-
|
|
10173
|
-
|
|
10174
|
-
|
|
10175
|
-
|
|
10176
|
-
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
|
|
10180
|
-
|
|
10181
|
-
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
10182
|
-
contentRoute?: LocationDescriptor;
|
|
10183
|
-
onIconClick?: () => void;
|
|
10184
|
-
iconRoute?: LocationDescriptor;
|
|
10185
|
-
onSecondaryIconClick?: () => void;
|
|
10186
|
-
secondaryIconRoute?: LocationDescriptor;
|
|
10187
|
-
isHoverable?: boolean;
|
|
10188
|
-
}
|
|
10189
|
-
export const SidebarItem: FC<SidebarItemProps>;
|
|
10190
|
-
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
10191
|
-
route: LocationDescriptor;
|
|
10192
|
-
exact?: boolean;
|
|
10193
|
-
linkClassName?: string;
|
|
10319
|
+
post: Post;
|
|
10320
|
+
initialPageSize?: number;
|
|
10321
|
+
comments?: PaginatedList<Comment>;
|
|
10322
|
+
autoFocusReplyField?: boolean;
|
|
10323
|
+
showReplyBox?: boolean;
|
|
10324
|
+
onReplyAdded: () => void;
|
|
10325
|
+
onReplyDeleted: () => void;
|
|
10326
|
+
trimContent?: boolean;
|
|
10327
|
+
enableModalRouting?: boolean;
|
|
10194
10328
|
}
|
|
10195
|
-
export const
|
|
10329
|
+
export const PostReplies: FC<Props>;
|
|
10196
10330
|
}
|
|
10197
|
-
declare module "libs/reach/feature/content/src/
|
|
10331
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
10198
10332
|
import { FC } from 'react';
|
|
10199
|
-
|
|
10200
|
-
|
|
10201
|
-
|
|
10333
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10334
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10335
|
+
export const PostEditor: FC<{
|
|
10202
10336
|
className?: string;
|
|
10337
|
+
post: Post;
|
|
10338
|
+
onCancel: () => void;
|
|
10339
|
+
onBeforeSave: (post: Post) => void;
|
|
10340
|
+
onSaved: (post: Post) => void;
|
|
10341
|
+
keywordSettings?: {
|
|
10342
|
+
availableKeywords?: Keyword[];
|
|
10343
|
+
defaultKeywords?: Keyword[];
|
|
10344
|
+
mandatoryKeywords?: Keyword[];
|
|
10345
|
+
};
|
|
10203
10346
|
}>;
|
|
10204
10347
|
}
|
|
10205
|
-
declare module "libs/reach/feature/content/src/
|
|
10348
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
10206
10349
|
import { FC } from 'react';
|
|
10207
|
-
export const
|
|
10208
|
-
|
|
10209
|
-
|
|
10350
|
+
export const PostFollowButton: FC<{
|
|
10351
|
+
itemId: string;
|
|
10352
|
+
isFollowing: boolean;
|
|
10353
|
+
}>;
|
|
10354
|
+
}
|
|
10355
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
10356
|
+
import { FC } from 'react';
|
|
10357
|
+
import { NavLink } from 'react-router-dom';
|
|
10358
|
+
export const PostGroup: FC<{
|
|
10359
|
+
groupId: string;
|
|
10360
|
+
target?: string;
|
|
10210
10361
|
className?: string;
|
|
10211
10362
|
}>;
|
|
10363
|
+
export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
10212
10364
|
}
|
|
10213
|
-
declare module "libs/reach/feature/content/src/
|
|
10365
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
10214
10366
|
import { FC } from 'react';
|
|
10215
|
-
import {
|
|
10216
|
-
import {
|
|
10367
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10368
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10217
10369
|
interface Props {
|
|
10218
|
-
|
|
10219
|
-
|
|
10220
|
-
mandatoryChannelIds?: string[];
|
|
10221
|
-
availableChannels?: Channel[];
|
|
10222
|
-
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
10370
|
+
post: Post;
|
|
10371
|
+
targetUrl?: string;
|
|
10223
10372
|
className?: string;
|
|
10224
|
-
|
|
10225
|
-
|
|
10226
|
-
|
|
10227
|
-
|
|
10228
|
-
|
|
10229
|
-
|
|
10230
|
-
|
|
10231
|
-
|
|
10373
|
+
threadId?: string;
|
|
10374
|
+
onCustomPostDelete?: () => void;
|
|
10375
|
+
comments?: PaginatedList<Comment>;
|
|
10376
|
+
initialCommentsPageSize?: number;
|
|
10377
|
+
onThreadCommentDelete?: () => void;
|
|
10378
|
+
onThreadReply?: (threadId: string) => void;
|
|
10379
|
+
keywordSettings?: {
|
|
10380
|
+
availableKeywords?: Keyword[];
|
|
10381
|
+
defaultKeywords?: Keyword[];
|
|
10382
|
+
mandatoryKeywords?: Keyword[];
|
|
10383
|
+
};
|
|
10384
|
+
showGroup?: boolean;
|
|
10385
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
10386
|
+
onAfterDelete?: (id: string) => unknown;
|
|
10387
|
+
onItemClick?: (postId: string) => unknown;
|
|
10388
|
+
openTargetInNewWindow?: boolean;
|
|
10389
|
+
trimContent?: boolean;
|
|
10390
|
+
postGroupTargetUrl?: string;
|
|
10391
|
+
onKeywordClick?: (keywordId: string) => void;
|
|
10392
|
+
baseTargetUrl?: string;
|
|
10232
10393
|
}
|
|
10233
|
-
export const
|
|
10394
|
+
export const PostDisplay: FC<Props>;
|
|
10395
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
10234
10396
|
}
|
|
10235
|
-
declare module "libs/reach/feature/content/src/
|
|
10236
|
-
|
|
10237
|
-
|
|
10238
|
-
export
|
|
10239
|
-
|
|
10240
|
-
|
|
10241
|
-
|
|
10242
|
-
|
|
10243
|
-
|
|
10244
|
-
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
10245
|
-
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
10246
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
10247
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
10248
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
10249
|
-
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
10250
|
-
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
10251
|
-
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
10252
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
10253
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
10254
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
10255
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
10256
|
-
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
10257
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
10258
|
-
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
10259
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
10260
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
10261
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
10262
|
-
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
10263
|
-
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
10264
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
10265
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
10266
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
10267
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
10268
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
10269
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
10270
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
10271
|
-
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
10272
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
10273
|
-
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
10274
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
|
|
10275
|
-
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
10276
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
10277
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
10278
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
10279
|
-
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
10280
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
10281
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
10282
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
10283
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
10284
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
10285
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
10286
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
10287
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
10288
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
10289
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
10290
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
10291
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
10292
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
10293
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
10294
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
10295
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
10296
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
10297
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
10298
|
-
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
10299
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
10300
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
10301
|
-
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
10302
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
10303
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
10304
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
10305
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
10306
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
10307
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
10308
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
10309
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
10310
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
10311
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
10312
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
10313
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
10314
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
10315
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
10316
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
10317
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
10318
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
10319
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
10320
|
-
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
10321
|
-
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
10322
|
-
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
10323
|
-
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
10324
|
-
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
10325
|
-
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
10326
|
-
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
10327
|
-
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
10328
|
-
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
10329
|
-
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
10330
|
-
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
10331
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
10332
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
10333
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
10334
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
10335
|
-
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
10336
|
-
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
10337
|
-
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
10338
|
-
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
10397
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10398
|
+
import { FC } from 'react';
|
|
10399
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10400
|
+
export const PostGroupsPicker: FC<{
|
|
10401
|
+
groups: UserGroup[];
|
|
10402
|
+
selectedGroupId: string;
|
|
10403
|
+
onGroupSelected?: (groupId: string) => unknown;
|
|
10404
|
+
className?: string;
|
|
10405
|
+
}>;
|
|
10339
10406
|
}
|
|
10340
|
-
declare module "libs/reach/feature/content/src/
|
|
10407
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
10341
10408
|
import { FC } from 'react';
|
|
10342
|
-
|
|
10343
|
-
|
|
10344
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
10345
|
-
interface Props {
|
|
10346
|
-
type?: ItemResourceTypes;
|
|
10347
|
-
baseAttachmentPath?: string;
|
|
10348
|
-
message: Comment;
|
|
10349
|
-
showDelete?: boolean;
|
|
10350
|
-
showAutoTranslate?: boolean;
|
|
10351
|
-
showEdit?: boolean;
|
|
10352
|
-
onDelete?: (comment: Comment) => void;
|
|
10353
|
-
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
10354
|
-
scope: ConversationScope;
|
|
10355
|
-
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
10356
|
-
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
10357
|
-
highlight?: boolean;
|
|
10358
|
-
hasUnreadReplies?: boolean;
|
|
10359
|
-
onReplyIconClick?: () => void;
|
|
10360
|
-
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
10361
|
-
replyCount?: number;
|
|
10362
|
-
readOnly?: boolean;
|
|
10363
|
-
trimContent?: boolean;
|
|
10364
|
-
enableModalRouting?: boolean;
|
|
10409
|
+
export const PostGroupSelector: FC<{
|
|
10410
|
+
onPostGroupClick?: (groupId: string) => void;
|
|
10365
10411
|
className?: string;
|
|
10412
|
+
}>;
|
|
10413
|
+
}
|
|
10414
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10415
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10416
|
+
import { DocumentNode } from '@apollo/client';
|
|
10417
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10418
|
+
import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
10419
|
+
export enum StreamEventResponse {
|
|
10420
|
+
NotSet = "NOTSET",
|
|
10421
|
+
Registered = "REGISTERED",
|
|
10422
|
+
Declined = "DECLINED"
|
|
10366
10423
|
}
|
|
10367
|
-
export
|
|
10424
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10425
|
+
}
|
|
10426
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10427
|
+
items: StreamItem[];
|
|
10428
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10429
|
+
loadMore: () => Promise<void>;
|
|
10430
|
+
pageInfo: {
|
|
10431
|
+
errors?: any;
|
|
10432
|
+
hasNextPage: boolean;
|
|
10433
|
+
skip: number;
|
|
10434
|
+
};
|
|
10435
|
+
refresh: () => Promise<void>;
|
|
10436
|
+
isLoadingFirstPage: boolean;
|
|
10437
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
10438
|
+
};
|
|
10439
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10440
|
+
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10441
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10442
|
+
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
10443
|
+
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
10444
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10445
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10446
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10447
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10448
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10449
|
+
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
10450
|
+
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
10451
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
10452
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10453
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10454
|
+
export const POST_ITEM_FIELDS: DocumentNode;
|
|
10368
10455
|
}
|
|
10369
|
-
declare module "libs/reach/feature/content/src/
|
|
10370
|
-
|
|
10371
|
-
|
|
10372
|
-
export
|
|
10373
|
-
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
10374
|
-
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
10375
|
-
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
10376
|
-
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
10377
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
10378
|
-
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
10379
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
10380
|
-
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
10381
|
-
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
10382
|
-
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
10383
|
-
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
10456
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
10457
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10458
|
+
import { DependencyList } from 'react';
|
|
10459
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
10384
10460
|
}
|
|
10385
|
-
declare module "libs/reach/feature/content/src/
|
|
10386
|
-
|
|
10387
|
-
export
|
|
10388
|
-
|
|
10389
|
-
|
|
10461
|
+
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
10462
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10463
|
+
export function usePostKeywordSettings(): (group: UserGroup) => {
|
|
10464
|
+
availableKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10465
|
+
defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10466
|
+
mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10467
|
+
};
|
|
10390
10468
|
}
|
|
10391
|
-
declare module "libs/reach/feature/content/src/
|
|
10392
|
-
|
|
10393
|
-
|
|
10394
|
-
|
|
10395
|
-
|
|
10396
|
-
|
|
10397
|
-
|
|
10398
|
-
|
|
10399
|
-
|
|
10400
|
-
|
|
10401
|
-
|
|
10402
|
-
}
|
|
10403
|
-
export const KeywordDialog: FC<Props>;
|
|
10404
|
-
export const StatefulKeywordPicker: FC<{
|
|
10405
|
-
preSelectedKeywords: Keyword[];
|
|
10406
|
-
availableKeywords?: Keyword[];
|
|
10407
|
-
mandatoryKeywordIds?: string[];
|
|
10408
|
-
showSelectionToggle?: boolean;
|
|
10409
|
-
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
10410
|
-
}>;
|
|
10469
|
+
declare module "libs/reach/feature/content/src/posts/index" {
|
|
10470
|
+
export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
|
|
10471
|
+
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
10472
|
+
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
10473
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
|
|
10474
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
10475
|
+
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
10476
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
10477
|
+
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
10478
|
+
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
10479
|
+
export * from "libs/reach/feature/content/src/posts/utils";
|
|
10411
10480
|
}
|
|
10412
|
-
declare module "libs/reach/feature/content/src/
|
|
10413
|
-
import {
|
|
10414
|
-
|
|
10415
|
-
|
|
10416
|
-
|
|
10417
|
-
|
|
10418
|
-
|
|
10419
|
-
|
|
10420
|
-
|
|
10421
|
-
disabled?: boolean;
|
|
10422
|
-
noDebouncing?: boolean;
|
|
10423
|
-
value?: string;
|
|
10424
|
-
onIconClick?: () => void;
|
|
10425
|
-
onEnter?: () => void;
|
|
10426
|
-
icon?: string;
|
|
10427
|
-
disableNewLines?: boolean;
|
|
10428
|
-
autoFocus?: boolean;
|
|
10429
|
-
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
10430
|
-
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
10431
|
-
inputType?: string;
|
|
10481
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10482
|
+
import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, CurrentUser, EventCancelInformation, EventItem, EventResponse, GraphQLAttachmentType, ItemResourceTypes, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10483
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10484
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10485
|
+
enum StreamItemTypes {
|
|
10486
|
+
Post = "POST",
|
|
10487
|
+
News = "NEWS",
|
|
10488
|
+
Event = "EVENT",
|
|
10489
|
+
Page = "PAGE"
|
|
10432
10490
|
}
|
|
10433
|
-
|
|
10434
|
-
|
|
10435
|
-
|
|
10436
|
-
|
|
10437
|
-
export const Textarea: FC<TextareaProps>;
|
|
10438
|
-
}
|
|
10439
|
-
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
10440
|
-
import { FC } from 'react';
|
|
10441
|
-
interface Props {
|
|
10442
|
-
onInsert: (files: File[]) => void;
|
|
10443
|
-
accept?: string;
|
|
10444
|
-
captionKey?: string;
|
|
10445
|
-
captionIconName?: string;
|
|
10446
|
-
descriptionKey?: string;
|
|
10447
|
-
descriptionIconName?: string;
|
|
10448
|
-
singleMode?: boolean;
|
|
10491
|
+
export enum StreamConversationScope {
|
|
10492
|
+
Public = "PUBLIC",
|
|
10493
|
+
Editor = "EDITOR",
|
|
10494
|
+
Posts = "POSTS"
|
|
10449
10495
|
}
|
|
10450
|
-
export
|
|
10451
|
-
|
|
10452
|
-
|
|
10453
|
-
|
|
10454
|
-
|
|
10455
|
-
|
|
10456
|
-
|
|
10457
|
-
|
|
10458
|
-
onInsert: (files: File[]) => void;
|
|
10459
|
-
accept?: string;
|
|
10460
|
-
captionKey?: string;
|
|
10461
|
-
descriptionKey?: string;
|
|
10496
|
+
export interface PostStreamItem extends Post {
|
|
10497
|
+
type: StreamItemTypes.Post;
|
|
10498
|
+
isUnread: boolean;
|
|
10499
|
+
keywordsList?: Keyword[];
|
|
10500
|
+
groupIds?: string[];
|
|
10501
|
+
postAttachments?: StreamAttachment[];
|
|
10502
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10503
|
+
hasMoreUnreadComments: boolean;
|
|
10462
10504
|
}
|
|
10463
|
-
export
|
|
10464
|
-
|
|
10465
|
-
|
|
10466
|
-
import { FC } from 'react';
|
|
10467
|
-
interface DateTimePickerProps {
|
|
10468
|
-
date: string;
|
|
10469
|
-
maxDate?: string;
|
|
10470
|
-
minDate?: string;
|
|
10471
|
-
dateValidationResourceKey?: string;
|
|
10472
|
-
timeValidationResourceKey?: string;
|
|
10473
|
-
readOnly?: boolean;
|
|
10474
|
-
onChanged: (date: string, isValid: boolean) => void;
|
|
10475
|
-
noDateResourceKey: string;
|
|
10476
|
-
selectDateResourceKey: string;
|
|
10477
|
-
dateOnly?: boolean;
|
|
10478
|
-
initialPickerDate?: string;
|
|
10479
|
-
label?: string;
|
|
10480
|
-
isRequired?: boolean;
|
|
10481
|
-
className?: string;
|
|
10505
|
+
export interface StreamPostComment extends Comment {
|
|
10506
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10507
|
+
streamConversationScope?: StreamConversationScope;
|
|
10482
10508
|
}
|
|
10483
|
-
export
|
|
10484
|
-
|
|
10485
|
-
}
|
|
10486
|
-
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
10487
|
-
import moment, { Moment } from 'moment';
|
|
10488
|
-
export enum DateRange {
|
|
10489
|
-
TwoYears = 0,
|
|
10490
|
-
OneYear = 1,
|
|
10491
|
-
SixMonths = 2,
|
|
10492
|
-
TwoMonths = 3,
|
|
10493
|
-
OneMonth = 4,
|
|
10494
|
-
SevenDays = 5,
|
|
10495
|
-
YesterDay = 6,
|
|
10496
|
-
Today = 7
|
|
10509
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
10510
|
+
type: GraphQLAttachmentType;
|
|
10497
10511
|
}
|
|
10498
|
-
export
|
|
10499
|
-
|
|
10500
|
-
|
|
10501
|
-
|
|
10502
|
-
|
|
10503
|
-
|
|
10504
|
-
|
|
10505
|
-
export const DateRangeSlider: FC<{
|
|
10506
|
-
value?: DateRange;
|
|
10507
|
-
onChange: (range: DateRange) => unknown;
|
|
10508
|
-
}>;
|
|
10509
|
-
}
|
|
10510
|
-
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
10511
|
-
import { FC } from 'react';
|
|
10512
|
-
import { WrappedComponentProps } from 'react-intl';
|
|
10513
|
-
import { SelectionMode } from 'office-ui-fabric-react';
|
|
10514
|
-
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
10515
|
-
interface PeoplePickerDialogProps {
|
|
10516
|
-
defaultSelectedItems: Account[];
|
|
10517
|
-
onChange: (items: Account[]) => void;
|
|
10518
|
-
onDismiss: () => void;
|
|
10519
|
-
titleResource: string;
|
|
10520
|
-
intl?: WrappedComponentProps;
|
|
10521
|
-
selectionMode?: SelectionMode;
|
|
10522
|
-
allowMailItems?: boolean;
|
|
10523
|
-
accountType: AccountType;
|
|
10524
|
-
showDialog: boolean;
|
|
10525
|
-
allowEmptyValue: boolean;
|
|
10526
|
-
includePendingInvitationUsers?: boolean;
|
|
10527
|
-
placeholderStringResourceKey?: string;
|
|
10528
|
-
inputAriaLabelResourceKey: string;
|
|
10512
|
+
export interface NewsStreamItem extends NewsItem {
|
|
10513
|
+
type: StreamItemTypes.News;
|
|
10514
|
+
contentsList: StreamPublishableItemContents[];
|
|
10515
|
+
channelsList: string[];
|
|
10516
|
+
isUnread: boolean;
|
|
10517
|
+
keywordsList?: Keyword[];
|
|
10518
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10529
10519
|
}
|
|
10530
|
-
export
|
|
10531
|
-
|
|
10532
|
-
|
|
10533
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
10534
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
10535
|
-
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
10536
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
10537
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
10538
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
10539
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
10540
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
10541
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
10542
|
-
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
10543
|
-
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
10544
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
10545
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
10546
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
10547
|
-
}
|
|
10548
|
-
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10549
|
-
import { FC } from 'react';
|
|
10550
|
-
export const GroupNotificationsSettings: FC<{
|
|
10551
|
-
groupId: string;
|
|
10552
|
-
className?: string;
|
|
10553
|
-
}>;
|
|
10554
|
-
}
|
|
10555
|
-
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10556
|
-
import { FC } from 'react';
|
|
10557
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10558
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10559
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10560
|
-
export interface PostCreatorProps {
|
|
10561
|
-
groupId: string;
|
|
10562
|
-
disabled?: boolean;
|
|
10563
|
-
disableDragAndDrop?: boolean;
|
|
10564
|
-
onBeforeSave?: (post: Post) => void;
|
|
10565
|
-
onSaved: (post: Post) => void;
|
|
10566
|
-
keywordSettings?: {
|
|
10567
|
-
availableKeywords?: Keyword[];
|
|
10568
|
-
defaultKeywords?: Keyword[];
|
|
10569
|
-
mandatoryKeywords?: Keyword[];
|
|
10570
|
-
};
|
|
10571
|
-
disableAutoFocus?: boolean;
|
|
10572
|
-
attachmentPreviewTheme?: CommentInputTheme;
|
|
10573
|
-
className?: string;
|
|
10520
|
+
export enum StreamKnownNewsState {
|
|
10521
|
+
Unconfirmed = "UNCONFIRMED",
|
|
10522
|
+
Alert = "ALERT"
|
|
10574
10523
|
}
|
|
10575
|
-
export
|
|
10576
|
-
|
|
10577
|
-
|
|
10578
|
-
|
|
10579
|
-
|
|
10580
|
-
|
|
10581
|
-
|
|
10582
|
-
|
|
10583
|
-
className?: string;
|
|
10584
|
-
post: Post;
|
|
10585
|
-
initialPageSize?: number;
|
|
10586
|
-
comments?: PaginatedList<Comment>;
|
|
10587
|
-
autoFocusReplyField?: boolean;
|
|
10588
|
-
showReplyBox?: boolean;
|
|
10589
|
-
onReplyAdded: () => void;
|
|
10590
|
-
onReplyDeleted: () => void;
|
|
10591
|
-
trimContent?: boolean;
|
|
10592
|
-
enableModalRouting?: boolean;
|
|
10593
|
-
}
|
|
10594
|
-
export const PostReplies: FC<Props>;
|
|
10595
|
-
}
|
|
10596
|
-
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
10597
|
-
import { FC } from 'react';
|
|
10598
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10599
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10600
|
-
export const PostEditor: FC<{
|
|
10601
|
-
className?: string;
|
|
10602
|
-
post: Post;
|
|
10603
|
-
onCancel: () => void;
|
|
10604
|
-
onBeforeSave: (post: Post) => void;
|
|
10605
|
-
onSaved: (post: Post) => void;
|
|
10606
|
-
keywordSettings?: {
|
|
10607
|
-
availableKeywords?: Keyword[];
|
|
10608
|
-
defaultKeywords?: Keyword[];
|
|
10609
|
-
mandatoryKeywords?: Keyword[];
|
|
10610
|
-
};
|
|
10611
|
-
}>;
|
|
10612
|
-
}
|
|
10613
|
-
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
10614
|
-
import { FC } from 'react';
|
|
10615
|
-
export const PostFollowButton: FC<{
|
|
10616
|
-
itemId: string;
|
|
10617
|
-
isFollowing: boolean;
|
|
10618
|
-
}>;
|
|
10619
|
-
}
|
|
10620
|
-
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
10621
|
-
import { FC } from 'react';
|
|
10622
|
-
import { NavLink } from 'react-router-dom';
|
|
10623
|
-
export const PostGroup: FC<{
|
|
10624
|
-
groupId: string;
|
|
10625
|
-
target?: string;
|
|
10626
|
-
className?: string;
|
|
10627
|
-
}>;
|
|
10628
|
-
export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
10629
|
-
}
|
|
10630
|
-
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
10631
|
-
import { FC } from 'react';
|
|
10632
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10633
|
-
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10634
|
-
interface Props {
|
|
10635
|
-
post: Post;
|
|
10636
|
-
targetUrl?: string;
|
|
10637
|
-
className?: string;
|
|
10638
|
-
threadId?: string;
|
|
10639
|
-
onCustomPostDelete?: () => void;
|
|
10640
|
-
comments?: PaginatedList<Comment>;
|
|
10641
|
-
initialCommentsPageSize?: number;
|
|
10642
|
-
onThreadCommentDelete?: () => void;
|
|
10643
|
-
onThreadReply?: (threadId: string) => void;
|
|
10644
|
-
keywordSettings?: {
|
|
10645
|
-
availableKeywords?: Keyword[];
|
|
10646
|
-
defaultKeywords?: Keyword[];
|
|
10647
|
-
mandatoryKeywords?: Keyword[];
|
|
10648
|
-
};
|
|
10649
|
-
showGroup?: boolean;
|
|
10650
|
-
onBeforeDelete?: (id: string) => unknown;
|
|
10651
|
-
onAfterDelete?: (id: string) => unknown;
|
|
10652
|
-
onItemClick?: (postId: string) => unknown;
|
|
10653
|
-
openTargetInNewWindow?: boolean;
|
|
10654
|
-
trimContent?: boolean;
|
|
10655
|
-
postGroupTargetUrl?: string;
|
|
10656
|
-
onKeywordClick?: (keywordId: string) => void;
|
|
10657
|
-
baseTargetUrl?: string;
|
|
10658
|
-
}
|
|
10659
|
-
export const PostDisplay: FC<Props>;
|
|
10660
|
-
export const PostDisplayWithModalRouting: FC<Props>;
|
|
10661
|
-
}
|
|
10662
|
-
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10663
|
-
import { FC } from 'react';
|
|
10664
|
-
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10665
|
-
export const PostGroupsPicker: FC<{
|
|
10666
|
-
groups: UserGroup[];
|
|
10667
|
-
selectedGroupId: string;
|
|
10668
|
-
onGroupSelected?: (groupId: string) => unknown;
|
|
10669
|
-
className?: string;
|
|
10670
|
-
}>;
|
|
10671
|
-
}
|
|
10672
|
-
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
10673
|
-
import { FC } from 'react';
|
|
10674
|
-
export const PostGroupSelector: FC<{
|
|
10675
|
-
onPostGroupClick?: (groupId: string) => void;
|
|
10676
|
-
className?: string;
|
|
10677
|
-
}>;
|
|
10678
|
-
}
|
|
10679
|
-
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10680
|
-
import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, CurrentUser, EventCancelInformation, EventItem, EventResponse, GraphQLAttachmentType, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10681
|
-
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10682
|
-
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10683
|
-
enum StreamItemTypes {
|
|
10684
|
-
Post = "POST",
|
|
10685
|
-
News = "NEWS",
|
|
10686
|
-
Event = "EVENT",
|
|
10687
|
-
Page = "PAGE"
|
|
10688
|
-
}
|
|
10689
|
-
export enum StreamConversationScope {
|
|
10690
|
-
Public = "PUBLIC",
|
|
10691
|
-
Editor = "EDITOR",
|
|
10692
|
-
Posts = "POSTS"
|
|
10693
|
-
}
|
|
10694
|
-
export interface PostStreamItem extends Post {
|
|
10695
|
-
type: StreamItemTypes.Post;
|
|
10696
|
-
isUnread: boolean;
|
|
10697
|
-
keywordsList?: Keyword[];
|
|
10698
|
-
groupIds?: string[];
|
|
10699
|
-
postAttachments?: StreamAttachment[];
|
|
10700
|
-
postComments?: PaginatedList<StreamPostComment>;
|
|
10701
|
-
hasMoreUnreadComments: boolean;
|
|
10702
|
-
}
|
|
10703
|
-
export interface StreamPostComment extends Comment {
|
|
10704
|
-
postCommentAttachments?: StreamAttachment[];
|
|
10705
|
-
streamConversationScope?: StreamConversationScope;
|
|
10706
|
-
}
|
|
10707
|
-
export interface StreamAttachment extends BaseAttachment {
|
|
10708
|
-
type: GraphQLAttachmentType;
|
|
10709
|
-
}
|
|
10710
|
-
export interface NewsStreamItem extends NewsItem {
|
|
10711
|
-
type: StreamItemTypes.News;
|
|
10712
|
-
contentsList: StreamPublishableItemContents[];
|
|
10713
|
-
channelsList: string[];
|
|
10714
|
-
isUnread: boolean;
|
|
10715
|
-
keywordsList?: Keyword[];
|
|
10716
|
-
knownNewsState?: StreamKnownNewsState[];
|
|
10717
|
-
}
|
|
10718
|
-
export enum StreamKnownNewsState {
|
|
10719
|
-
Unconfirmed = "UNCONFIRMED",
|
|
10720
|
-
Alert = "ALERT"
|
|
10721
|
-
}
|
|
10722
|
-
export interface EventStreamItem extends EventItem {
|
|
10723
|
-
type: StreamItemTypes.Event;
|
|
10724
|
-
contentsList: StreamPublishableItemContents[];
|
|
10725
|
-
channelsList: string[];
|
|
10726
|
-
isUnread: boolean;
|
|
10727
|
-
keywordsList?: Keyword[];
|
|
10728
|
-
userResponseType?: StreamEventResponse;
|
|
10729
|
-
eventCancelInformation?: StreamEventCancelInformation;
|
|
10524
|
+
export interface EventStreamItem extends EventItem {
|
|
10525
|
+
type: StreamItemTypes.Event;
|
|
10526
|
+
contentsList: StreamPublishableItemContents[];
|
|
10527
|
+
channelsList: string[];
|
|
10528
|
+
isUnread: boolean;
|
|
10529
|
+
keywordsList?: Keyword[];
|
|
10530
|
+
userResponseType?: StreamEventResponse;
|
|
10531
|
+
eventCancelInformation?: StreamEventCancelInformation;
|
|
10730
10532
|
}
|
|
10731
10533
|
export interface PageStreamItem extends PageItem {
|
|
10732
10534
|
type: StreamItemTypes.Page;
|
|
@@ -11503,73 +11305,455 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11503
11305
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11504
11306
|
})[];
|
|
11505
11307
|
export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
|
|
11308
|
+
export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
|
|
11309
|
+
}
|
|
11310
|
+
declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
|
|
11311
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
11312
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11313
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
11314
|
+
export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, itemType?: ItemResourceTypes): void;
|
|
11315
|
+
export function useClearSearchSessionOnLeave(): void;
|
|
11316
|
+
}
|
|
11317
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
|
|
11318
|
+
import { LocationDescriptor } from 'history';
|
|
11319
|
+
import { FC, ReactNode } from 'react';
|
|
11320
|
+
export const SidebarIcon: FC<{
|
|
11321
|
+
icon?: ReactNode;
|
|
11322
|
+
iconName?: string;
|
|
11323
|
+
color?: string;
|
|
11324
|
+
onClick?: () => any;
|
|
11325
|
+
route?: LocationDescriptor;
|
|
11326
|
+
iconTooltipResourceKey: string;
|
|
11327
|
+
iconTooltipResourceValues?: any;
|
|
11328
|
+
className?: string;
|
|
11329
|
+
}>;
|
|
11330
|
+
}
|
|
11331
|
+
declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
|
|
11332
|
+
import { FC, ReactNode } from 'react';
|
|
11333
|
+
import { LocationDescriptor } from 'history';
|
|
11334
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11335
|
+
export interface BaseSidebarItemProps {
|
|
11336
|
+
children?: any;
|
|
11337
|
+
icon?: ReactNode;
|
|
11338
|
+
iconName?: string;
|
|
11339
|
+
iconTooltipResourceKey?: string;
|
|
11340
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11341
|
+
secondaryIconName?: string;
|
|
11342
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11343
|
+
reverse?: boolean;
|
|
11344
|
+
onIconClick?: () => void;
|
|
11345
|
+
iconRoute?: LocationDescriptor;
|
|
11346
|
+
iconColor?: string;
|
|
11347
|
+
onSecondaryIconClick?: () => void;
|
|
11348
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11349
|
+
onContentClick?: () => void;
|
|
11350
|
+
contentRoute?: LocationDescriptor;
|
|
11351
|
+
badgeInfo?: number | boolean;
|
|
11352
|
+
title?: string;
|
|
11353
|
+
className?: string;
|
|
11354
|
+
}
|
|
11355
|
+
export const BaseSidebarItem: FC<BaseSidebarItemProps>;
|
|
11356
|
+
}
|
|
11357
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
|
|
11358
|
+
import { FC } from 'react';
|
|
11359
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11360
|
+
export const SidebarItemSection: FC<{
|
|
11361
|
+
styleDefinition?: ColorStyleDefinition;
|
|
11362
|
+
}>;
|
|
11363
|
+
}
|
|
11364
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
11365
|
+
import { FC, ReactNode } from 'react';
|
|
11366
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11367
|
+
import { LocationDescriptor } from 'history';
|
|
11368
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11369
|
+
interface CommonSidebarItemProps {
|
|
11370
|
+
title?: string | JSX.Element;
|
|
11371
|
+
titleResource?: string;
|
|
11372
|
+
icon?: ReactNode;
|
|
11373
|
+
iconName?: string;
|
|
11374
|
+
iconTooltipResourceKey?: string;
|
|
11375
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11376
|
+
secondaryIconName?: string;
|
|
11377
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11378
|
+
iconColor?: string;
|
|
11379
|
+
reverse?: boolean;
|
|
11380
|
+
notHighlightable?: boolean;
|
|
11381
|
+
onClick?: () => void;
|
|
11382
|
+
className?: string;
|
|
11383
|
+
isActive?: boolean;
|
|
11384
|
+
activeClassName?: string;
|
|
11385
|
+
readOnly?: boolean;
|
|
11386
|
+
submenu?: JSX.Element;
|
|
11387
|
+
submenuClassName?: string;
|
|
11388
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
11389
|
+
badgeInfo?: number | boolean;
|
|
11390
|
+
domIdentifier?: string;
|
|
11391
|
+
}
|
|
11392
|
+
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
11393
|
+
contentRoute?: LocationDescriptor;
|
|
11394
|
+
onIconClick?: () => void;
|
|
11395
|
+
iconRoute?: LocationDescriptor;
|
|
11396
|
+
onSecondaryIconClick?: () => void;
|
|
11397
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11398
|
+
isHoverable?: boolean;
|
|
11399
|
+
}
|
|
11400
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
11401
|
+
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
11402
|
+
route: LocationDescriptor;
|
|
11403
|
+
exact?: boolean;
|
|
11404
|
+
linkClassName?: string;
|
|
11405
|
+
}
|
|
11406
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
11407
|
+
}
|
|
11408
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
11409
|
+
import { FC } from 'react';
|
|
11410
|
+
export const SidebarGroup: FC<{
|
|
11411
|
+
titleResource?: string;
|
|
11412
|
+
borderColor?: string;
|
|
11413
|
+
className?: string;
|
|
11414
|
+
}>;
|
|
11415
|
+
}
|
|
11416
|
+
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
11417
|
+
import { FC } from 'react';
|
|
11418
|
+
export const ContentWithShowMoreButton: FC<{
|
|
11419
|
+
domIdentifier: string;
|
|
11420
|
+
trimContent?: boolean;
|
|
11421
|
+
className?: string;
|
|
11422
|
+
}>;
|
|
11423
|
+
}
|
|
11424
|
+
declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
|
|
11425
|
+
import { FC } from 'react';
|
|
11426
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
11427
|
+
import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
11428
|
+
interface Props {
|
|
11429
|
+
selectedChannelNames?: string[];
|
|
11430
|
+
selectedChannelIds?: string[];
|
|
11431
|
+
mandatoryChannelIds?: string[];
|
|
11432
|
+
availableChannels?: Channel[];
|
|
11433
|
+
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
11434
|
+
className?: string;
|
|
11435
|
+
showOnlyUserChannels?: boolean;
|
|
11436
|
+
showSelectionToggle?: boolean;
|
|
11437
|
+
placeholder?: string;
|
|
11438
|
+
inlineControls?: boolean;
|
|
11439
|
+
required?: boolean;
|
|
11440
|
+
id?: string;
|
|
11441
|
+
showLogicalOperatorOptions?: boolean;
|
|
11442
|
+
selectedLogicalOperator?: LogicalOperator;
|
|
11443
|
+
}
|
|
11444
|
+
export const ChannelSelector: FC<Props>;
|
|
11445
|
+
}
|
|
11446
|
+
declare module "libs/reach/feature/content/src/common/index" {
|
|
11447
|
+
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
11448
|
+
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
11449
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
|
|
11450
|
+
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
11451
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
11452
|
+
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
11453
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
11454
|
+
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
11455
|
+
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
11456
|
+
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
11457
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
11458
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
11459
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
11460
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
11461
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
11462
|
+
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
11463
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
11464
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
11465
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
11466
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
11467
|
+
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
11468
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
11469
|
+
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
11470
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
11471
|
+
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
11472
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
11473
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
11474
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
11475
|
+
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
11476
|
+
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
11477
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
11478
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
11479
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
11480
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
11481
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
11482
|
+
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
11483
|
+
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
11484
|
+
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
11485
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
|
|
11486
|
+
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
11487
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
11488
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
11489
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
11490
|
+
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
11491
|
+
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
11492
|
+
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
11493
|
+
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
11494
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
11495
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
11496
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
11497
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
11498
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
11499
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
11500
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
11501
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
11502
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
11503
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
11504
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
11505
|
+
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
11506
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
11507
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
11508
|
+
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
11509
|
+
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
11510
|
+
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
11511
|
+
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
11512
|
+
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
11513
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
11514
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
11515
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
11516
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
11517
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
11518
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
11519
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
11520
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
11521
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
11522
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
11523
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
11524
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
11525
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
11526
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
11527
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
11528
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
11529
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
11530
|
+
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
11531
|
+
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
11532
|
+
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
11533
|
+
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
11534
|
+
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
11535
|
+
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
11536
|
+
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
11537
|
+
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
11538
|
+
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
11539
|
+
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
11540
|
+
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
|
|
11541
|
+
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
11542
|
+
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
11543
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
11544
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
11545
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
11546
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
11547
|
+
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
11548
|
+
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
11549
|
+
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
11550
|
+
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
11551
|
+
}
|
|
11552
|
+
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
11553
|
+
import { FC } from 'react';
|
|
11554
|
+
import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11555
|
+
interface Props {
|
|
11556
|
+
type?: ItemResourceTypes;
|
|
11557
|
+
baseAttachmentPath?: string;
|
|
11558
|
+
message: Comment;
|
|
11559
|
+
showDelete?: boolean;
|
|
11560
|
+
showAutoTranslate?: boolean;
|
|
11561
|
+
showEdit?: boolean;
|
|
11562
|
+
onDelete?: (comment: Comment) => void;
|
|
11563
|
+
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
11564
|
+
scope: ConversationScope;
|
|
11565
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
11566
|
+
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
11567
|
+
highlight?: boolean;
|
|
11568
|
+
hasUnreadReplies?: boolean;
|
|
11569
|
+
onReplyIconClick?: () => void;
|
|
11570
|
+
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
11571
|
+
replyCount?: number;
|
|
11572
|
+
readOnly?: boolean;
|
|
11573
|
+
trimContent?: boolean;
|
|
11574
|
+
enableModalRouting?: boolean;
|
|
11575
|
+
className?: string;
|
|
11576
|
+
}
|
|
11577
|
+
export const CommentDisplay: FC<Props>;
|
|
11578
|
+
}
|
|
11579
|
+
declare module "libs/reach/feature/content/src/comments/index" {
|
|
11580
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11581
|
+
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
11582
|
+
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
11583
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11584
|
+
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
11585
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11586
|
+
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
11587
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11588
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
11589
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11590
|
+
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
11591
|
+
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
11592
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
11593
|
+
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
11506
11594
|
}
|
|
11507
|
-
declare module "libs/reach/feature/content/src/
|
|
11508
|
-
|
|
11509
|
-
|
|
11510
|
-
|
|
11511
|
-
|
|
11512
|
-
|
|
11513
|
-
|
|
11514
|
-
|
|
11515
|
-
|
|
11595
|
+
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
11596
|
+
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
11597
|
+
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
11598
|
+
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
11599
|
+
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
11600
|
+
}
|
|
11601
|
+
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
11602
|
+
import { FC, ReactNode } from 'react';
|
|
11603
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
11604
|
+
interface Props {
|
|
11605
|
+
isOpen: boolean;
|
|
11606
|
+
preSelectedKeywords: Keyword[];
|
|
11607
|
+
onSave: (keywords: Keyword[]) => void;
|
|
11608
|
+
titleResource: string;
|
|
11609
|
+
onDismiss: () => void;
|
|
11610
|
+
availableKeywords?: Keyword[];
|
|
11611
|
+
mandatoryKeywordIds?: string[];
|
|
11516
11612
|
}
|
|
11517
|
-
export
|
|
11613
|
+
export const KeywordDialog: FC<Props>;
|
|
11614
|
+
export const StatefulKeywordPicker: FC<{
|
|
11615
|
+
preSelectedKeywords: Keyword[];
|
|
11616
|
+
availableKeywords?: Keyword[];
|
|
11617
|
+
mandatoryKeywordIds?: string[];
|
|
11618
|
+
showSelectionToggle?: boolean;
|
|
11619
|
+
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
11620
|
+
}>;
|
|
11621
|
+
}
|
|
11622
|
+
declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
11623
|
+
import { FC, MutableRefObject } from 'react';
|
|
11624
|
+
export interface TextareaProps {
|
|
11625
|
+
rows?: number;
|
|
11626
|
+
placeholder?: string;
|
|
11627
|
+
readOnly?: boolean;
|
|
11628
|
+
onChange: (value: string) => void;
|
|
11629
|
+
className?: string;
|
|
11630
|
+
defaultValue?: string;
|
|
11631
|
+
disabled?: boolean;
|
|
11632
|
+
noDebouncing?: boolean;
|
|
11633
|
+
value?: string;
|
|
11634
|
+
onIconClick?: () => void;
|
|
11635
|
+
onEnter?: () => void;
|
|
11636
|
+
icon?: string;
|
|
11637
|
+
disableNewLines?: boolean;
|
|
11638
|
+
autoFocus?: boolean;
|
|
11639
|
+
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
11640
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
11641
|
+
inputType?: string;
|
|
11518
11642
|
}
|
|
11519
|
-
|
|
11520
|
-
|
|
11521
|
-
|
|
11522
|
-
|
|
11523
|
-
|
|
11524
|
-
errors?: any;
|
|
11525
|
-
hasNextPage: boolean;
|
|
11526
|
-
skip: number;
|
|
11527
|
-
};
|
|
11528
|
-
refresh: () => Promise<void>;
|
|
11529
|
-
isLoadingFirstPage: boolean;
|
|
11530
|
-
refetchItem: (itemId: string) => Promise<void>;
|
|
11531
|
-
};
|
|
11532
|
-
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11533
|
-
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11534
|
-
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11535
|
-
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
11536
|
-
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
11537
|
-
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
11538
|
-
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
11539
|
-
export const OWNER_CONDITION: (owner: string) => string;
|
|
11540
|
-
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
11541
|
-
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
11542
|
-
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
11543
|
-
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
11544
|
-
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
11545
|
-
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
11546
|
-
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
11547
|
-
export const POST_ITEM_FIELDS: DocumentNode;
|
|
11643
|
+
/**
|
|
11644
|
+
* Textarea that expands vertically to fit content.
|
|
11645
|
+
* If maxLength is given, also displays a count of remaining characters when focused
|
|
11646
|
+
*/
|
|
11647
|
+
export const Textarea: FC<TextareaProps>;
|
|
11548
11648
|
}
|
|
11549
|
-
declare module "libs/reach/feature/content/src/
|
|
11550
|
-
import {
|
|
11551
|
-
|
|
11552
|
-
|
|
11649
|
+
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
11650
|
+
import { FC } from 'react';
|
|
11651
|
+
interface Props {
|
|
11652
|
+
onInsert: (files: File[]) => void;
|
|
11653
|
+
accept?: string;
|
|
11654
|
+
captionKey?: string;
|
|
11655
|
+
captionIconName?: string;
|
|
11656
|
+
descriptionKey?: string;
|
|
11657
|
+
descriptionIconName?: string;
|
|
11658
|
+
singleMode?: boolean;
|
|
11659
|
+
}
|
|
11660
|
+
export const InsertFilesButton: FC<Props>;
|
|
11661
|
+
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11662
|
+
isActive?: boolean;
|
|
11663
|
+
}, never>;
|
|
11553
11664
|
}
|
|
11554
|
-
declare module "libs/reach/feature/content/src/
|
|
11555
|
-
import {
|
|
11556
|
-
|
|
11557
|
-
|
|
11558
|
-
|
|
11559
|
-
|
|
11560
|
-
|
|
11665
|
+
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
11666
|
+
import { FC } from 'react';
|
|
11667
|
+
interface Props {
|
|
11668
|
+
onInsert: (files: File[]) => void;
|
|
11669
|
+
accept?: string;
|
|
11670
|
+
captionKey?: string;
|
|
11671
|
+
descriptionKey?: string;
|
|
11672
|
+
}
|
|
11673
|
+
export const InsertImagesButton: FC<Props>;
|
|
11561
11674
|
}
|
|
11562
|
-
declare module "libs/reach/feature/content/src/
|
|
11563
|
-
|
|
11564
|
-
|
|
11565
|
-
|
|
11566
|
-
|
|
11567
|
-
|
|
11568
|
-
|
|
11569
|
-
|
|
11570
|
-
|
|
11571
|
-
|
|
11572
|
-
|
|
11675
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
11676
|
+
import { FC } from 'react';
|
|
11677
|
+
interface DateTimePickerProps {
|
|
11678
|
+
date: string;
|
|
11679
|
+
maxDate?: string;
|
|
11680
|
+
minDate?: string;
|
|
11681
|
+
dateValidationResourceKey?: string;
|
|
11682
|
+
timeValidationResourceKey?: string;
|
|
11683
|
+
readOnly?: boolean;
|
|
11684
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
11685
|
+
noDateResourceKey: string;
|
|
11686
|
+
selectDateResourceKey: string;
|
|
11687
|
+
dateOnly?: boolean;
|
|
11688
|
+
initialPickerDate?: string;
|
|
11689
|
+
label?: string;
|
|
11690
|
+
isRequired?: boolean;
|
|
11691
|
+
className?: string;
|
|
11692
|
+
}
|
|
11693
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
11694
|
+
export default DateTimePicker;
|
|
11695
|
+
}
|
|
11696
|
+
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
11697
|
+
import moment, { Moment } from 'moment';
|
|
11698
|
+
export enum DateRange {
|
|
11699
|
+
TwoYears = 0,
|
|
11700
|
+
OneYear = 1,
|
|
11701
|
+
SixMonths = 2,
|
|
11702
|
+
TwoMonths = 3,
|
|
11703
|
+
OneMonth = 4,
|
|
11704
|
+
SevenDays = 5,
|
|
11705
|
+
YesterDay = 6,
|
|
11706
|
+
Today = 7
|
|
11707
|
+
}
|
|
11708
|
+
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
11709
|
+
export function dateToDateRange(date: string | moment.Moment): number;
|
|
11710
|
+
export function dateRangeToDate(range: DateRange): Moment;
|
|
11711
|
+
}
|
|
11712
|
+
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
11713
|
+
import { FC } from 'react';
|
|
11714
|
+
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
11715
|
+
export const DateRangeSlider: FC<{
|
|
11716
|
+
value?: DateRange;
|
|
11717
|
+
onChange: (range: DateRange) => unknown;
|
|
11718
|
+
}>;
|
|
11719
|
+
}
|
|
11720
|
+
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
11721
|
+
import { FC } from 'react';
|
|
11722
|
+
import { WrappedComponentProps } from 'react-intl';
|
|
11723
|
+
import { SelectionMode } from 'office-ui-fabric-react';
|
|
11724
|
+
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
11725
|
+
interface PeoplePickerDialogProps {
|
|
11726
|
+
defaultSelectedItems: Account[];
|
|
11727
|
+
onChange: (items: Account[]) => void;
|
|
11728
|
+
onDismiss: () => void;
|
|
11729
|
+
titleResource: string;
|
|
11730
|
+
intl?: WrappedComponentProps;
|
|
11731
|
+
selectionMode?: SelectionMode;
|
|
11732
|
+
allowMailItems?: boolean;
|
|
11733
|
+
accountType: AccountType;
|
|
11734
|
+
showDialog: boolean;
|
|
11735
|
+
allowEmptyValue: boolean;
|
|
11736
|
+
includePendingInvitationUsers?: boolean;
|
|
11737
|
+
placeholderStringResourceKey?: string;
|
|
11738
|
+
inputAriaLabelResourceKey: string;
|
|
11739
|
+
}
|
|
11740
|
+
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
11741
|
+
}
|
|
11742
|
+
declare module "libs/reach/feature/content/src/forms/index" {
|
|
11743
|
+
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
11744
|
+
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
11745
|
+
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
11746
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
11747
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
11748
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
11749
|
+
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
11750
|
+
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
11751
|
+
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
11752
|
+
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
11753
|
+
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
11754
|
+
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
11755
|
+
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
11756
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
11573
11757
|
}
|
|
11574
11758
|
declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
11575
11759
|
import { FC, ReactNode } from 'react';
|
|
@@ -11719,6 +11903,12 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
|
11719
11903
|
event: EventStreamItem;
|
|
11720
11904
|
}>;
|
|
11721
11905
|
}
|
|
11906
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11907
|
+
import { FC } from 'react';
|
|
11908
|
+
export const GlobalSearchButton: FC<{
|
|
11909
|
+
className?: string;
|
|
11910
|
+
}>;
|
|
11911
|
+
}
|
|
11722
11912
|
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11723
11913
|
import { FC, ReactNode } from 'react';
|
|
11724
11914
|
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
@@ -11786,12 +11976,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
|
|
|
11786
11976
|
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
11787
11977
|
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
11788
11978
|
}
|
|
11789
|
-
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11790
|
-
import { FC } from 'react';
|
|
11791
|
-
export const GlobalSearchButton: FC<{
|
|
11792
|
-
className?: string;
|
|
11793
|
-
}>;
|
|
11794
|
-
}
|
|
11795
11979
|
declare module "libs/reach/feature/content/src/search/index" {
|
|
11796
11980
|
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11797
11981
|
}
|
|
@@ -12233,6 +12417,30 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
|
|
|
12233
12417
|
}) => string;
|
|
12234
12418
|
};
|
|
12235
12419
|
}
|
|
12420
|
+
declare module "apps/reach-app/src/app/analytics/useSessionStorage" {
|
|
12421
|
+
import { Dispatch } from 'react';
|
|
12422
|
+
export const useSessionStorage: (key: string, defaultValue?: string) => [string, Dispatch<string>];
|
|
12423
|
+
}
|
|
12424
|
+
declare module "apps/reach-app/src/app/analytics/DashboardPage" {
|
|
12425
|
+
import { FC } from 'react';
|
|
12426
|
+
export interface Dashboard {
|
|
12427
|
+
name: string;
|
|
12428
|
+
title: string;
|
|
12429
|
+
url: string;
|
|
12430
|
+
}
|
|
12431
|
+
export const DashboardPage: FC<{
|
|
12432
|
+
dashboard: Dashboard;
|
|
12433
|
+
}>;
|
|
12434
|
+
}
|
|
12435
|
+
declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
|
|
12436
|
+
import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
|
|
12437
|
+
export function useDashboards(): Dashboard[];
|
|
12438
|
+
export function hasDashboards(): boolean;
|
|
12439
|
+
}
|
|
12440
|
+
declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
|
|
12441
|
+
import { FC } from 'react';
|
|
12442
|
+
export const AnalyticsSidebarMenu: FC;
|
|
12443
|
+
}
|
|
12236
12444
|
declare module "apps/reach-app/src/app/chrome/PageMenu" {
|
|
12237
12445
|
import { FC } from 'react';
|
|
12238
12446
|
interface Props {
|