@livetiles/reach-plugin-types 0.5.0-preview.37 → 0.5.0-preview.371
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 +1910 -1468
- 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;
|
|
@@ -306,11 +328,7 @@ declare module "libs/shared/util/environment/src/EnvironmentConfig" {
|
|
|
306
328
|
buildId: string;
|
|
307
329
|
useAzureAdFunctionality: boolean;
|
|
308
330
|
envName: string;
|
|
309
|
-
|
|
310
|
-
type OperatingSystem = 'ios' | 'android' | 'windows' | 'mac' | 'unknown';
|
|
311
|
-
interface DeviceInfo {
|
|
312
|
-
platform: 'ios' | 'android' | 'web';
|
|
313
|
-
operatingSystem: OperatingSystem;
|
|
331
|
+
mobileTeamsHost?: string;
|
|
314
332
|
}
|
|
315
333
|
}
|
|
316
334
|
declare module "libs/shared/util/environment/src/environment" {
|
|
@@ -1425,6 +1443,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1425
1443
|
customDomain?: string;
|
|
1426
1444
|
allowSelfRegistration?: boolean;
|
|
1427
1445
|
brandFolderConfig?: BrandFolderConfig;
|
|
1446
|
+
hideSubscriptionName?: boolean;
|
|
1428
1447
|
}
|
|
1429
1448
|
export interface BrandFolderConfig {
|
|
1430
1449
|
sections?: string[];
|
|
@@ -1501,9 +1520,21 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1501
1520
|
subscriptionId: string;
|
|
1502
1521
|
subscriptionName: string;
|
|
1503
1522
|
}
|
|
1504
|
-
export
|
|
1505
|
-
|
|
1506
|
-
|
|
1523
|
+
export enum ExtensionArea {
|
|
1524
|
+
global = "Global",
|
|
1525
|
+
page = "Page",
|
|
1526
|
+
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
1527
|
+
eventDetailViewSection = "EventDetailViewSection",
|
|
1528
|
+
itemEditor = "ItemEditor",
|
|
1529
|
+
newsEditorFeedbackSection = "NewsEditorFeedbackSection",
|
|
1530
|
+
newsOverviewCardSection = "NewsOverviewCardSection"
|
|
1531
|
+
}
|
|
1532
|
+
export type InlinePlugin = {
|
|
1533
|
+
area: ExtensionArea.itemEditor;
|
|
1534
|
+
objectButton: PluginObjectButton;
|
|
1535
|
+
};
|
|
1536
|
+
export type PagePlugin = {
|
|
1537
|
+
area: ExtensionArea.page;
|
|
1507
1538
|
route: string;
|
|
1508
1539
|
navigationNode?: {
|
|
1509
1540
|
componentName?: string;
|
|
@@ -1513,7 +1544,20 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1513
1544
|
[key: string]: string;
|
|
1514
1545
|
};
|
|
1515
1546
|
};
|
|
1516
|
-
}
|
|
1547
|
+
};
|
|
1548
|
+
export type PluginExtension = {
|
|
1549
|
+
area: ExtensionArea;
|
|
1550
|
+
componentName: string;
|
|
1551
|
+
} & (InlinePlugin | PagePlugin);
|
|
1552
|
+
export type PluginObjectButton = {
|
|
1553
|
+
buttonLabel: {
|
|
1554
|
+
defaultLabel: string;
|
|
1555
|
+
translations?: {
|
|
1556
|
+
[key: string]: string;
|
|
1557
|
+
};
|
|
1558
|
+
};
|
|
1559
|
+
iconName: string;
|
|
1560
|
+
};
|
|
1517
1561
|
export interface PluginNotificationDefinitions {
|
|
1518
1562
|
key: string;
|
|
1519
1563
|
title: string;
|
|
@@ -1617,6 +1661,8 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1617
1661
|
pluginNotifications: {
|
|
1618
1662
|
[key: string]: NotificationType;
|
|
1619
1663
|
};
|
|
1664
|
+
newsEditor: NotificationType;
|
|
1665
|
+
eventEditor: NotificationType;
|
|
1620
1666
|
}
|
|
1621
1667
|
export interface RequestUser extends BasicUserInformation {
|
|
1622
1668
|
tenantId: string;
|
|
@@ -1652,6 +1698,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1652
1698
|
termsAndConditionsApprovedHash: string;
|
|
1653
1699
|
isPublicUser?: boolean;
|
|
1654
1700
|
hasUnreadChats?: boolean;
|
|
1701
|
+
publicSubscriptionIds?: string[];
|
|
1655
1702
|
}
|
|
1656
1703
|
export interface GroupUser extends UserSummary {
|
|
1657
1704
|
role: {
|
|
@@ -1717,6 +1764,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1717
1764
|
user: UserSummary;
|
|
1718
1765
|
type: SubscriptionJoinResultType;
|
|
1719
1766
|
message?: string;
|
|
1767
|
+
isSuccess?: boolean;
|
|
1720
1768
|
}
|
|
1721
1769
|
export interface UserActivationResult {
|
|
1722
1770
|
type: UserActivationResultType;
|
|
@@ -1943,11 +1991,6 @@ declare module "libs/reach/util/common/src/content/NewsItem" {
|
|
|
1943
1991
|
knownState: KnownNewsState;
|
|
1944
1992
|
hasNewComments?: boolean;
|
|
1945
1993
|
isLiked?: boolean;
|
|
1946
|
-
shareToken?: ShareToken;
|
|
1947
|
-
}
|
|
1948
|
-
export interface ShareToken {
|
|
1949
|
-
published?: string;
|
|
1950
|
-
preview?: string;
|
|
1951
1994
|
}
|
|
1952
1995
|
export interface NewsItemAlertOptions {
|
|
1953
1996
|
duration?: string;
|
|
@@ -2135,6 +2178,13 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
2135
2178
|
useExternalContent?: boolean;
|
|
2136
2179
|
isDemoContent?: boolean;
|
|
2137
2180
|
}
|
|
2181
|
+
export interface ShareablePublishableItem extends PublishableItem {
|
|
2182
|
+
shareToken: ShareToken;
|
|
2183
|
+
}
|
|
2184
|
+
export interface ShareToken {
|
|
2185
|
+
published?: string;
|
|
2186
|
+
preview?: string;
|
|
2187
|
+
}
|
|
2138
2188
|
export interface PublishableItemVersion extends PublishableItem {
|
|
2139
2189
|
itemId: string;
|
|
2140
2190
|
versionModificationDate: string;
|
|
@@ -2158,6 +2208,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
2158
2208
|
}
|
|
2159
2209
|
}
|
|
2160
2210
|
declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
2211
|
+
import { Api } from 'restful.js';
|
|
2161
2212
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
2162
2213
|
export class ClientFactoryInstance {
|
|
2163
2214
|
private env;
|
|
@@ -2168,7 +2219,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
|
2168
2219
|
constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
|
|
2169
2220
|
url: string;
|
|
2170
2221
|
}) => Promise<unknown>);
|
|
2171
|
-
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) =>
|
|
2222
|
+
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
|
|
2172
2223
|
private createApiInternal;
|
|
2173
2224
|
private addRequestTimeLogger;
|
|
2174
2225
|
createApiUrl: (url: string, query?: {
|
|
@@ -2261,6 +2312,11 @@ declare module "libs/reach/util/common/src/user/useCurrentUserApi" {
|
|
|
2261
2312
|
deleteCurrentUserAvatar: () => Promise<unknown>;
|
|
2262
2313
|
};
|
|
2263
2314
|
}
|
|
2315
|
+
declare module "libs/reach/util/common/src/user/useCachedCurrentUserApi" {
|
|
2316
|
+
export function useCachedCurrentUserApi(): {
|
|
2317
|
+
getCurrentUser: (subscriptionId: string) => Promise<import("libs/reach/util/common/src/user").CurrentUser>;
|
|
2318
|
+
};
|
|
2319
|
+
}
|
|
2264
2320
|
declare module "libs/reach/util/common/src/content/Attachment" {
|
|
2265
2321
|
export enum AttachmentType {
|
|
2266
2322
|
Image = 0,
|
|
@@ -2486,12 +2542,16 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2486
2542
|
isUnlinked?: boolean;
|
|
2487
2543
|
pageType?: PageType;
|
|
2488
2544
|
firstChildId?: string;
|
|
2545
|
+
isGroupInheritanceBroken?: boolean;
|
|
2489
2546
|
}
|
|
2490
2547
|
export interface ContentsSummary {
|
|
2491
2548
|
[lang: string]: TitleContent & {
|
|
2492
2549
|
fileInfo?: DocumentFileInfo;
|
|
2493
2550
|
};
|
|
2494
2551
|
}
|
|
2552
|
+
export interface GroupInheritanceUpdateRequest {
|
|
2553
|
+
breakGroupInheritance: boolean;
|
|
2554
|
+
}
|
|
2495
2555
|
export interface PageNavigationNode {
|
|
2496
2556
|
id: string;
|
|
2497
2557
|
contents?: ContentsSummary;
|
|
@@ -2507,6 +2567,7 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2507
2567
|
hasAnyPageChild?: boolean;
|
|
2508
2568
|
pageType?: PageType;
|
|
2509
2569
|
useExternalContent?: boolean;
|
|
2570
|
+
isGroupInheritanceBroken?: boolean;
|
|
2510
2571
|
isSearchMatch?: boolean;
|
|
2511
2572
|
topLevelFolderName?: string;
|
|
2512
2573
|
uploadToken?: string;
|
|
@@ -2675,6 +2736,237 @@ declare module "libs/reach/util/common/src/AccessDeniedIntercept" {
|
|
|
2675
2736
|
export function accessDeniedIntercept(error: any): Promise<boolean>;
|
|
2676
2737
|
export function genericAccessDeniedIntercept(error: any): Promise<boolean>;
|
|
2677
2738
|
}
|
|
2739
|
+
declare module "libs/reach/util/common/src/Variables" {
|
|
2740
|
+
export const maxContentWidth = 985;
|
|
2741
|
+
export const adminMaxWidth = 600;
|
|
2742
|
+
export const spacingXxs = 3;
|
|
2743
|
+
export const spacingXs = 6;
|
|
2744
|
+
export const spacingS = 10;
|
|
2745
|
+
export const spacingM = 20;
|
|
2746
|
+
export const spacingL = 30;
|
|
2747
|
+
export const spacingX = 40;
|
|
2748
|
+
export const spacingXl = 60;
|
|
2749
|
+
export const minScreenSize: {
|
|
2750
|
+
small: number;
|
|
2751
|
+
medium: number;
|
|
2752
|
+
large: number;
|
|
2753
|
+
xLarge: number;
|
|
2754
|
+
xxLarge: number;
|
|
2755
|
+
xxxLarge: number;
|
|
2756
|
+
};
|
|
2757
|
+
export const maxScreenSize: {
|
|
2758
|
+
small: number;
|
|
2759
|
+
medium: number;
|
|
2760
|
+
large: number;
|
|
2761
|
+
xLarge: number;
|
|
2762
|
+
xxLarge: number;
|
|
2763
|
+
};
|
|
2764
|
+
export const sidebarWidth = 285;
|
|
2765
|
+
export const sidebarWidthRight = 320;
|
|
2766
|
+
export const sidebarItemHeight = 50;
|
|
2767
|
+
export const headerHeight = 50;
|
|
2768
|
+
export const headerSecondaryHeight = 50;
|
|
2769
|
+
export const notificationHeight = 50;
|
|
2770
|
+
export const mainContentPanelWidth = 300;
|
|
2771
|
+
export const mainContentPanelMinScreenSize = 1740;
|
|
2772
|
+
export const fontSizeLarger = 40;
|
|
2773
|
+
export const fontSizeLarge = 25;
|
|
2774
|
+
export const fontSizeMedium = 18;
|
|
2775
|
+
export const fontSizeNormal = 16;
|
|
2776
|
+
export const fontSizeSmall = 14;
|
|
2777
|
+
export const fontSizeSmaller = 12;
|
|
2778
|
+
export const socialIconSize = 26;
|
|
2779
|
+
export const lineHeight = 23;
|
|
2780
|
+
export const smallScreenLoginHeight = 40;
|
|
2781
|
+
export const bannerAspectRatio: number;
|
|
2782
|
+
export const bannerWidth = 980;
|
|
2783
|
+
export const bannerHeight = 420;
|
|
2784
|
+
export const HighlightBubbleSize = 12;
|
|
2785
|
+
export const StatusBubbleSize = 10;
|
|
2786
|
+
export const shadowColor = "rgba(0, 0, 0, 0.2)";
|
|
2787
|
+
export const diffPreviousVersionColour = "rgb(221, 221, 221)";
|
|
2788
|
+
export const diffActiveVersionColour = "rgb(206, 255, 188)";
|
|
2789
|
+
export const dialogSpacing = 24;
|
|
2790
|
+
export const detailViewSectionPadding = 20;
|
|
2791
|
+
export const detailViewSectionPaddingLarge = 60;
|
|
2792
|
+
export const postsSectionPadding = 20;
|
|
2793
|
+
export const attachmentRoundedCornerSize = 10;
|
|
2794
|
+
export const videoAttachmentRoundedCornerSize = 20;
|
|
2795
|
+
export const inlinePageBannerRoundedCornerSize = 5;
|
|
2796
|
+
export const feedbackButtonHeight = 32;
|
|
2797
|
+
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
2798
|
+
export const mainContentContainerId = "lt-reach-main-content";
|
|
2799
|
+
export const mainModalContentContainerId = "lt-reach-main-modal-content";
|
|
2800
|
+
export const statusColors: {
|
|
2801
|
+
draft: string;
|
|
2802
|
+
ready: string;
|
|
2803
|
+
rejected: string;
|
|
2804
|
+
};
|
|
2805
|
+
export const cardWidthS = 260;
|
|
2806
|
+
export const cardWidthM = 354;
|
|
2807
|
+
export const cardWidthL = 314;
|
|
2808
|
+
export const cardWidthXL = 423;
|
|
2809
|
+
export const managePagesRowWidth = 300;
|
|
2810
|
+
export const managePagesRowHeight = 40;
|
|
2811
|
+
export const mobilePreviewWidth = 414;
|
|
2812
|
+
}
|
|
2813
|
+
declare module "libs/reach/util/common/src/common-utils" {
|
|
2814
|
+
import { BaseSubscription, LogoInfo, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2815
|
+
import { IntlShape } from 'react-intl';
|
|
2816
|
+
export function getMainScrollableContainer(): HTMLElement;
|
|
2817
|
+
export enum LinkType {
|
|
2818
|
+
Internal = "internal",
|
|
2819
|
+
External = "external",
|
|
2820
|
+
Download = "download"
|
|
2821
|
+
}
|
|
2822
|
+
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}";
|
|
2823
|
+
export const DefaultSubscriptionName = "LiveTiles Reach";
|
|
2824
|
+
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
2825
|
+
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
2826
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
2827
|
+
logoInfo: LogoInfo;
|
|
2828
|
+
subscriptionName: string;
|
|
2829
|
+
};
|
|
2830
|
+
}
|
|
2831
|
+
declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
|
|
2832
|
+
export enum AnalyticsInteractionEvents {
|
|
2833
|
+
embeddedVideo = "embedded-video",
|
|
2834
|
+
embeddedAudio = "embedded-audio",
|
|
2835
|
+
languageChange = "language-change",
|
|
2836
|
+
eventRegistration = "event-registration",
|
|
2837
|
+
eventSeriesRegistration = "event-series-registration",
|
|
2838
|
+
translateContent = "translate-content",
|
|
2839
|
+
downloadFile = "download-file",
|
|
2840
|
+
embeddedIframe = "embedded-iframe",
|
|
2841
|
+
externalLink = "external-link",
|
|
2842
|
+
follow = "follow",
|
|
2843
|
+
bookmark = "bookmark"
|
|
2844
|
+
}
|
|
2845
|
+
export enum AnalyticsActions {
|
|
2846
|
+
click = "click",
|
|
2847
|
+
navigate = "navigate",
|
|
2848
|
+
view = "view",
|
|
2849
|
+
search = "search"
|
|
2850
|
+
}
|
|
2851
|
+
export enum AnalyticsModuleType {
|
|
2852
|
+
Admin = "admin",
|
|
2853
|
+
Chat = "chat",
|
|
2854
|
+
Comments = "comments",
|
|
2855
|
+
Events = "events",
|
|
2856
|
+
Search = "search",
|
|
2857
|
+
News = "news",
|
|
2858
|
+
Pages = "pages",
|
|
2859
|
+
People = "people",
|
|
2860
|
+
Posts = "posts",
|
|
2861
|
+
Stream = "stream",
|
|
2862
|
+
User = "user"
|
|
2863
|
+
}
|
|
2864
|
+
export enum AnalyticsModuleSubtype {
|
|
2865
|
+
AllChats = "allChats",
|
|
2866
|
+
AllNews = "allNews",
|
|
2867
|
+
AllPosts = "allPosts",
|
|
2868
|
+
Bookmarks = "bookmarks",
|
|
2869
|
+
Channel = "channel",
|
|
2870
|
+
Channels = "channels",
|
|
2871
|
+
ChatConversation = "conversation",
|
|
2872
|
+
Customization = "customization",
|
|
2873
|
+
DetailView = "detailView",
|
|
2874
|
+
DirectoryConfig = "directoryConfiguration",
|
|
2875
|
+
Group = "group",
|
|
2876
|
+
Groups = "groups",
|
|
2877
|
+
Keywords = "keywords",
|
|
2878
|
+
Languages = "languages",
|
|
2879
|
+
MyNews = "myNews",
|
|
2880
|
+
Owners = "owners",
|
|
2881
|
+
Preview = "preview",
|
|
2882
|
+
RootPages = "rootPages",
|
|
2883
|
+
Search = "search",
|
|
2884
|
+
SelfRegistration = "selfRegistration",
|
|
2885
|
+
TargetAudience = "targetAudience",
|
|
2886
|
+
UpcomingEvents = "upcoming",
|
|
2887
|
+
BookedEvents = "booked",
|
|
2888
|
+
PastEvents = "past",
|
|
2889
|
+
Users = "users",
|
|
2890
|
+
WebHooks = "webHooks",
|
|
2891
|
+
Editor = "editor"
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
|
|
2895
|
+
export function useLinkInteraction(): void;
|
|
2896
|
+
}
|
|
2897
|
+
declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
|
|
2898
|
+
export function useIframeInteraction(): void;
|
|
2899
|
+
}
|
|
2900
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider" {
|
|
2901
|
+
import { FC } from 'react';
|
|
2902
|
+
import { EventModule } from '@livetiles/analytics';
|
|
2903
|
+
export const AnalyticsModuleContext: import("react").Context<EventModule>;
|
|
2904
|
+
export const AnalyticsModuleContextProvider: FC<{
|
|
2905
|
+
module: EventModule;
|
|
2906
|
+
}>;
|
|
2907
|
+
}
|
|
2908
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
|
|
2909
|
+
import { Dispatch, FC, SetStateAction } from 'react';
|
|
2910
|
+
import { Activity, Analytics, EventModule, InteractionProperties, EventSearch } from '@livetiles/analytics';
|
|
2911
|
+
export interface SearchAnalytics {
|
|
2912
|
+
data: EventSearch[];
|
|
2913
|
+
onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
|
|
2914
|
+
onItemRead: (itemId: string) => void;
|
|
2915
|
+
}
|
|
2916
|
+
export interface ModuleAnalytics {
|
|
2917
|
+
module: EventModule;
|
|
2918
|
+
setModule: Dispatch<SetStateAction<EventModule>>;
|
|
2919
|
+
}
|
|
2920
|
+
interface ActivityAnalytics {
|
|
2921
|
+
trackActivity: (scrollContainer?: HTMLElement, moduleOverride?: EventModule) => Activity | undefined;
|
|
2922
|
+
sendActivity: () => void;
|
|
2923
|
+
}
|
|
2924
|
+
export type ReachAnalytics = Analytics & ModuleAnalytics & SearchAnalytics & ActivityAnalytics;
|
|
2925
|
+
export const AnalyticsContext: import("react").Context<ReachAnalytics>;
|
|
2926
|
+
export function useAnalyticsContext(): {
|
|
2927
|
+
interaction: (payload: Omit<InteractionProperties, 'module'>) => Promise<void>;
|
|
2928
|
+
trackActivity: (scrollContainer?: HTMLElement) => Activity;
|
|
2929
|
+
getUser: () => import("@segment/analytics-next").User;
|
|
2930
|
+
identify: (userId: string, traits?: Record<string, unknown>) => void;
|
|
2931
|
+
activity: (payload: import("@livetiles/analytics").ActivityProperties) => Activity;
|
|
2932
|
+
module: EventModule;
|
|
2933
|
+
setModule: Dispatch<SetStateAction<EventModule>>;
|
|
2934
|
+
data: EventSearch[];
|
|
2935
|
+
onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
|
|
2936
|
+
onItemRead: (itemId: string) => void;
|
|
2937
|
+
sendActivity: () => void;
|
|
2938
|
+
};
|
|
2939
|
+
export const AnalyticsLibraryContextProvider: FC<{
|
|
2940
|
+
appName?: string;
|
|
2941
|
+
}>;
|
|
2942
|
+
export const AnalyticsContextProvider: FC;
|
|
2943
|
+
}
|
|
2944
|
+
declare module "libs/reach/util/common/src/PagingService" {
|
|
2945
|
+
import { Observable } from 'rxjs';
|
|
2946
|
+
export const onPageScroll: Observable<number>;
|
|
2947
|
+
export function handlePageScroll(availableScrollSpace: number): void;
|
|
2948
|
+
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
2949
|
+
export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
|
|
2950
|
+
}
|
|
2951
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
|
|
2952
|
+
import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
2953
|
+
export function useAnalyticsViewTrackWithPagination(startTracking: boolean, items: BaseItem[], itemResourceType: ItemResourceTypes): void;
|
|
2954
|
+
export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
|
|
2955
|
+
}
|
|
2956
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
|
|
2957
|
+
export function useAnalyticsActivityTrack(scrollContainer: HTMLElement): void;
|
|
2958
|
+
}
|
|
2959
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
|
|
2960
|
+
export function useAnalyticsNavigateTrack(): void;
|
|
2961
|
+
}
|
|
2962
|
+
declare module "libs/reach/util/common/src/analytics/index" {
|
|
2963
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2964
|
+
export * from "libs/reach/util/common/src/analytics/analyticsUtils";
|
|
2965
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
|
|
2966
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
|
|
2967
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
|
|
2968
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider";
|
|
2969
|
+
}
|
|
2678
2970
|
declare module "libs/reach/util/common/src/user/useManageCurrentUserApi" {
|
|
2679
2971
|
import { CurrentUser, GroupNotificationSettings, NotificationTypeSettings, UserContact } from "libs/reach/util/common/src/user/User";
|
|
2680
2972
|
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
@@ -2748,6 +3040,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2748
3040
|
updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
|
|
2749
3041
|
deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
|
|
2750
3042
|
importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
|
|
3043
|
+
refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
|
|
3044
|
+
requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
|
|
2751
3045
|
};
|
|
2752
3046
|
}
|
|
2753
3047
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
@@ -2773,6 +3067,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2773
3067
|
customDomain?: string;
|
|
2774
3068
|
allowSelfRegistration?: boolean;
|
|
2775
3069
|
brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
|
|
3070
|
+
hideSubscriptionName?: boolean;
|
|
2776
3071
|
id: string;
|
|
2777
3072
|
subscriptionName: string;
|
|
2778
3073
|
subscriptionHandle?: string;
|
|
@@ -2816,6 +3111,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2816
3111
|
termsAndConditionsApprovedHash: string;
|
|
2817
3112
|
isPublicUser?: boolean;
|
|
2818
3113
|
hasUnreadChats?: boolean;
|
|
3114
|
+
publicSubscriptionIds?: string[];
|
|
2819
3115
|
id?: string;
|
|
2820
3116
|
type?: import("@livetiles/reach/util/common").AccountType;
|
|
2821
3117
|
tenantId?: string;
|
|
@@ -2857,13 +3153,6 @@ declare module "libs/reach/util/common/src/user/useSubscriptionWebAppUrl" {
|
|
|
2857
3153
|
export function useSubscriptionWebAppUrl(): string;
|
|
2858
3154
|
export function useSubscriptionWebAppUrls(): string[];
|
|
2859
3155
|
}
|
|
2860
|
-
declare module "libs/reach/util/common/src/user/useChannelsApi" {
|
|
2861
|
-
import { Channel } from "libs/reach/util/common/src/user/Channel";
|
|
2862
|
-
export function useChannelsApi(): {
|
|
2863
|
-
getChannels: () => Promise<Channel[]>;
|
|
2864
|
-
getChannelsByItemId: (id: string, route?: string) => Promise<Channel[]>;
|
|
2865
|
-
};
|
|
2866
|
-
}
|
|
2867
3156
|
declare module "libs/reach/util/common/src/user/index" {
|
|
2868
3157
|
export * from "libs/reach/util/common/src/user/features/FeatureSet";
|
|
2869
3158
|
export * from "libs/reach/util/common/src/user/features/WithFeatures";
|
|
@@ -2882,6 +3171,7 @@ declare module "libs/reach/util/common/src/user/index" {
|
|
|
2882
3171
|
export * from "libs/reach/util/common/src/user/useAccountApi";
|
|
2883
3172
|
export * from "libs/reach/util/common/src/user/useCurrentUser";
|
|
2884
3173
|
export * from "libs/reach/util/common/src/user/useCurrentUserApi";
|
|
3174
|
+
export * from "libs/reach/util/common/src/user/useCachedCurrentUserApi";
|
|
2885
3175
|
export * from "libs/reach/util/common/src/user/useManageCurrentUserApi";
|
|
2886
3176
|
export * from "libs/reach/util/common/src/user/useUserAdminApi";
|
|
2887
3177
|
export * from "libs/reach/util/common/src/user/CurrentUserDetailContextProvider";
|
|
@@ -2889,7 +3179,6 @@ declare module "libs/reach/util/common/src/user/index" {
|
|
|
2889
3179
|
export * from "libs/reach/util/common/src/user/useSubscriptionHandlePathBuilder";
|
|
2890
3180
|
export * from "libs/reach/util/common/src/user/CurrentUserContext";
|
|
2891
3181
|
export * from "libs/reach/util/common/src/user/useSubscriptionWebAppUrl";
|
|
2892
|
-
export * from "libs/reach/util/common/src/user/useChannelsApi";
|
|
2893
3182
|
export * from "libs/reach/util/common/src/user/LanguageUtils";
|
|
2894
3183
|
export * from "libs/reach/util/common/src/user/content-languages-util";
|
|
2895
3184
|
}
|
|
@@ -2938,7 +3227,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
|
|
|
2938
3227
|
getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
|
|
2939
3228
|
saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
|
|
2940
3229
|
saveFile: (pluginId: string, file: File) => Promise<Response>;
|
|
2941
|
-
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<
|
|
3230
|
+
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
|
|
2942
3231
|
linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
|
|
2943
3232
|
unlinkPlugin: (pluginId: string) => Promise<any>;
|
|
2944
3233
|
};
|
|
@@ -3044,17 +3333,15 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
3044
3333
|
}
|
|
3045
3334
|
}
|
|
3046
3335
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
3047
|
-
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
3336
|
+
import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
3048
3337
|
import { PageNavigationNodeProps } from "libs/reach/util/common/src/Models";
|
|
3049
|
-
export enum ExtensionArea {
|
|
3050
|
-
global = "Global",
|
|
3051
|
-
page = "Page",
|
|
3052
|
-
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
3053
|
-
eventDetailViewSection = "EventDetailViewSection"
|
|
3054
|
-
}
|
|
3055
3338
|
export interface PluginNavigationNodeProps {
|
|
3056
3339
|
navigationNodeProps?: PageNavigationNodeProps;
|
|
3057
3340
|
}
|
|
3341
|
+
export type EmbeddedPluginProps = PluginProps & {
|
|
3342
|
+
isEditMode?: boolean;
|
|
3343
|
+
componentInstanceId: string;
|
|
3344
|
+
};
|
|
3058
3345
|
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
3059
3346
|
type DevPlugin = {
|
|
3060
3347
|
pluginId: string;
|
|
@@ -3108,22 +3395,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
|
3108
3395
|
}
|
|
3109
3396
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
3110
3397
|
import { FC } from 'react';
|
|
3111
|
-
import { ExtensionArea } from "libs/reach/util/common/src/
|
|
3398
|
+
import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
|
|
3112
3399
|
export const Plugins: FC<{
|
|
3113
3400
|
area: ExtensionArea;
|
|
3114
3401
|
} & any>;
|
|
3115
3402
|
}
|
|
3116
|
-
declare module "libs/reach/util/common/src/plugins/index" {
|
|
3117
|
-
export * from "libs/reach/util/common/src/plugins/PluginContext";
|
|
3118
|
-
export * from "libs/reach/util/common/src/plugins/PluginWrapper";
|
|
3119
|
-
export * from "libs/reach/util/common/src/plugins/Plugins";
|
|
3120
|
-
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
3121
|
-
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
3122
|
-
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3123
|
-
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
3124
|
-
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
3125
|
-
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
3126
|
-
}
|
|
3127
3403
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
3128
3404
|
export class Color {
|
|
3129
3405
|
private r;
|
|
@@ -3268,77 +3544,24 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
3268
3544
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
3269
3545
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
3270
3546
|
}
|
|
3271
|
-
declare module "libs/reach/util/common/src/
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
export const
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
export
|
|
3280
|
-
export
|
|
3281
|
-
export
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
export const maxScreenSize: {
|
|
3290
|
-
small: number;
|
|
3291
|
-
medium: number;
|
|
3292
|
-
large: number;
|
|
3293
|
-
xLarge: number;
|
|
3294
|
-
xxLarge: number;
|
|
3295
|
-
};
|
|
3296
|
-
export const sidebarWidth = 285;
|
|
3297
|
-
export const sidebarWidthRight = 320;
|
|
3298
|
-
export const sidebarItemHeight = 50;
|
|
3299
|
-
export const headerHeight = 50;
|
|
3300
|
-
export const headerSecondaryHeight = 50;
|
|
3301
|
-
export const notificationHeight = 50;
|
|
3302
|
-
export const mainContentPanelWidth = 300;
|
|
3303
|
-
export const mainContentPanelMinScreenSize = 1740;
|
|
3304
|
-
export const fontSizeLarger = 40;
|
|
3305
|
-
export const fontSizeLarge = 25;
|
|
3306
|
-
export const fontSizeMedium = 18;
|
|
3307
|
-
export const fontSizeNormal = 16;
|
|
3308
|
-
export const fontSizeSmall = 14;
|
|
3309
|
-
export const fontSizeSmaller = 12;
|
|
3310
|
-
export const socialIconSize = 26;
|
|
3311
|
-
export const lineHeight = 23;
|
|
3312
|
-
export const smallScreenLoginHeight = 40;
|
|
3313
|
-
export const bannerAspectRatio: number;
|
|
3314
|
-
export const bannerWidth = 980;
|
|
3315
|
-
export const bannerHeight = 420;
|
|
3316
|
-
export const HighlightBubbleSize = 12;
|
|
3317
|
-
export const StatusBubbleSize = 10;
|
|
3318
|
-
export const shadowColor = "rgba(0, 0, 0, 0.2)";
|
|
3319
|
-
export const diffPreviousVersionColour = "rgb(221, 221, 221)";
|
|
3320
|
-
export const diffActiveVersionColour = "rgb(206, 255, 188)";
|
|
3321
|
-
export const dialogSpacing = 24;
|
|
3322
|
-
export const detailViewSectionPadding = 20;
|
|
3323
|
-
export const detailViewSectionPaddingLarge = 60;
|
|
3324
|
-
export const postsSectionPadding = 20;
|
|
3325
|
-
export const attachmentRoundedCornerSize = 10;
|
|
3326
|
-
export const videoAttachmentRoundedCornerSize = 20;
|
|
3327
|
-
export const inlinePageBannerRoundedCornerSize = 5;
|
|
3328
|
-
export const feedbackButtonHeight = 32;
|
|
3329
|
-
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
3330
|
-
export const statusColors: {
|
|
3331
|
-
draft: string;
|
|
3332
|
-
ready: string;
|
|
3333
|
-
rejected: string;
|
|
3334
|
-
};
|
|
3335
|
-
export const cardWidthS = 260;
|
|
3336
|
-
export const cardWidthM = 354;
|
|
3337
|
-
export const cardWidthL = 314;
|
|
3338
|
-
export const cardWidthXL = 423;
|
|
3339
|
-
export const managePagesRowWidth = 300;
|
|
3340
|
-
export const managePagesRowHeight = 40;
|
|
3341
|
-
export const mobilePreviewWidth = 414;
|
|
3547
|
+
declare module "libs/reach/util/common/src/plugins/Plugin" {
|
|
3548
|
+
import { FC } from 'react';
|
|
3549
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3550
|
+
export const Plugin: FC<PluginProps & {
|
|
3551
|
+
showDetailedErrorMessage?: boolean;
|
|
3552
|
+
} & any>;
|
|
3553
|
+
}
|
|
3554
|
+
declare module "libs/reach/util/common/src/plugins/index" {
|
|
3555
|
+
export * from "libs/reach/util/common/src/plugins/PluginContext";
|
|
3556
|
+
export * from "libs/reach/util/common/src/plugins/PluginWrapper";
|
|
3557
|
+
export * from "libs/reach/util/common/src/plugins/Plugins";
|
|
3558
|
+
export * from "libs/reach/util/common/src/plugins/Plugin";
|
|
3559
|
+
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
3560
|
+
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
3561
|
+
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3562
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
3563
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
3564
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
3342
3565
|
}
|
|
3343
3566
|
declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
3344
3567
|
import { FC, ReactNode } from 'react';
|
|
@@ -3377,13 +3600,39 @@ declare module "libs/reach/util/common/src/notification/index" {
|
|
|
3377
3600
|
export * from "libs/reach/util/common/src/notification/NotificationContext";
|
|
3378
3601
|
export * from "libs/reach/util/common/src/notification/ToastNotificationHost";
|
|
3379
3602
|
}
|
|
3380
|
-
declare module "libs/reach/util/common/src/
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
}
|
|
3603
|
+
declare module "libs/reach/util/common/src/keywords/useCachedKeywordsApi" {
|
|
3604
|
+
export function useCachedKeywordsApi(): {
|
|
3605
|
+
getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<import("@livetiles/reach/util/common").Keyword[]>;
|
|
3606
|
+
getSelectedGroups: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").KeywordGroup[]>;
|
|
3607
|
+
};
|
|
3385
3608
|
}
|
|
3386
|
-
declare module "libs/reach/util/common/src/
|
|
3609
|
+
declare module "libs/reach/util/common/src/keywords/index" {
|
|
3610
|
+
export * from "libs/reach/util/common/src/keywords/useCachedKeywordsApi";
|
|
3611
|
+
export * from "libs/reach/util/common/src/keywords/useKeywordsApi";
|
|
3612
|
+
}
|
|
3613
|
+
declare module "libs/reach/util/common/src/channels/useChannelsApi" {
|
|
3614
|
+
import { Channel } from "libs/reach/util/common/src/user/Channel";
|
|
3615
|
+
export function useChannelsApi(): {
|
|
3616
|
+
getChannels: () => Promise<Channel[]>;
|
|
3617
|
+
getChannelsByItemId: (id: string, route?: string) => Promise<Channel[]>;
|
|
3618
|
+
};
|
|
3619
|
+
}
|
|
3620
|
+
declare module "libs/reach/util/common/src/channels/useCachedChannelsApi" {
|
|
3621
|
+
export function useCachedChannelsApi(): {
|
|
3622
|
+
getChannels: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").Channel[]>;
|
|
3623
|
+
};
|
|
3624
|
+
}
|
|
3625
|
+
declare module "libs/reach/util/common/src/channels/index" {
|
|
3626
|
+
export * from "libs/reach/util/common/src/channels/useCachedChannelsApi";
|
|
3627
|
+
export * from "libs/reach/util/common/src/channels/useChannelsApi";
|
|
3628
|
+
}
|
|
3629
|
+
declare module "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider" {
|
|
3630
|
+
import { FC, ReactNode } from 'react';
|
|
3631
|
+
export const EnforcedSubscriptionContextProvider: FC<{
|
|
3632
|
+
loadingIndicator?: ReactNode;
|
|
3633
|
+
}>;
|
|
3634
|
+
}
|
|
3635
|
+
declare module "libs/reach/util/common/src/subscription/SubscriptionContext" {
|
|
3387
3636
|
import { FC } from 'react';
|
|
3388
3637
|
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/content/KeywordGroup";
|
|
3389
3638
|
import { Channel } from "libs/reach/util/common/src/user/Channel";
|
|
@@ -3403,10 +3652,11 @@ declare module "libs/reach/util/common/src/subscription/SubscriptionContext" {
|
|
|
3403
3652
|
refreshSubscription: () => void;
|
|
3404
3653
|
}>;
|
|
3405
3654
|
export const LazySubscriptionContextProvider: FC;
|
|
3655
|
+
export const LazyCachedSubscriptionContextProvider: FC;
|
|
3406
3656
|
export const LazySubscriptionContextProviderBase: FC<{
|
|
3407
|
-
getChannels: () => Promise<Channel[]>;
|
|
3408
|
-
getAllKeywords: (force?: boolean) => Promise<Keyword[]>;
|
|
3409
|
-
getSelectedGroups: () => Promise<KeywordGroup[]>;
|
|
3657
|
+
getChannels: (subscriptionId: string) => Promise<Channel[]>;
|
|
3658
|
+
getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<Keyword[]>;
|
|
3659
|
+
getSelectedGroups: (subscriptionId: string) => Promise<KeywordGroup[]>;
|
|
3410
3660
|
}>;
|
|
3411
3661
|
}
|
|
3412
3662
|
declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
|
|
@@ -3416,10 +3666,14 @@ declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
|
|
|
3416
3666
|
getTermsAndConditions: () => Promise<TermsAndConditions>;
|
|
3417
3667
|
};
|
|
3418
3668
|
}
|
|
3669
|
+
declare module "libs/reach/util/common/src/subscription/useLazySubscriptionContext" {
|
|
3670
|
+
export function useLazySubscriptionContext(): import("@livetiles/reach/util/common").LazySubscriptionContextType;
|
|
3671
|
+
}
|
|
3419
3672
|
declare module "libs/reach/util/common/src/subscription/index" {
|
|
3420
3673
|
export * from "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider";
|
|
3421
3674
|
export * from "libs/reach/util/common/src/subscription/SubscriptionContext";
|
|
3422
3675
|
export * from "libs/reach/util/common/src/subscription/useSubscriptionApi";
|
|
3676
|
+
export * from "libs/reach/util/common/src/subscription/useLazySubscriptionContext";
|
|
3423
3677
|
}
|
|
3424
3678
|
declare module "libs/reach/util/common/src/AppTrigger" {
|
|
3425
3679
|
import { DependencyList } from 'react';
|
|
@@ -3442,6 +3696,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
|
|
|
3442
3696
|
width?: number;
|
|
3443
3697
|
height?: number;
|
|
3444
3698
|
}
|
|
3699
|
+
export interface ImageWithAlignment extends ImageDetails {
|
|
3700
|
+
imageAlignment?: ImageAlignment;
|
|
3701
|
+
}
|
|
3702
|
+
export enum ImageAlignment {
|
|
3703
|
+
Default = "default",
|
|
3704
|
+
Left = "left",
|
|
3705
|
+
Right = "right",
|
|
3706
|
+
Center = "center"
|
|
3707
|
+
}
|
|
3445
3708
|
}
|
|
3446
3709
|
declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
3447
3710
|
export interface MainPanelContextType {
|
|
@@ -3452,13 +3715,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
|
3452
3715
|
}
|
|
3453
3716
|
export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
|
|
3454
3717
|
}
|
|
3455
|
-
declare module "libs/reach/util/common/src/PagingService" {
|
|
3456
|
-
import { Observable } from 'rxjs';
|
|
3457
|
-
export const onPageScroll: Observable<number>;
|
|
3458
|
-
export function handlePageScroll(availableScrollSpace: number): void;
|
|
3459
|
-
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
3460
|
-
export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
|
|
3461
|
-
}
|
|
3462
3718
|
declare module "libs/reach/util/common/src/keyword-utils" {
|
|
3463
3719
|
import { Keyword } from "libs/reach/util/common/src/content/KeywordGroup";
|
|
3464
3720
|
import { SchedulableItem } from "libs/reach/util/common/src/content/NewsItem";
|
|
@@ -3521,6 +3777,10 @@ declare module "libs/reach/util/common/src/useModalRouting" {
|
|
|
3521
3777
|
};
|
|
3522
3778
|
};
|
|
3523
3779
|
}
|
|
3780
|
+
declare module "libs/reach/util/common/src/ReachQueryClient" {
|
|
3781
|
+
import { QueryClient } from '@tanstack/react-query';
|
|
3782
|
+
export const ReachQueryClient: QueryClient;
|
|
3783
|
+
}
|
|
3524
3784
|
declare module "libs/reach/util/common/src/index" {
|
|
3525
3785
|
export { initializeIcons } from 'office-ui-fabric-react';
|
|
3526
3786
|
export * from "libs/reach/util/common/src/FocusStyles";
|
|
@@ -3537,7 +3797,8 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3537
3797
|
export * from "libs/reach/util/common/src/content/index";
|
|
3538
3798
|
export * from "libs/reach/util/common/src/notification/index";
|
|
3539
3799
|
export * from "libs/reach/util/common/src/Variables";
|
|
3540
|
-
export * from "libs/reach/util/common/src/keywords/
|
|
3800
|
+
export * from "libs/reach/util/common/src/keywords/index";
|
|
3801
|
+
export * from "libs/reach/util/common/src/channels/index";
|
|
3541
3802
|
export * from "libs/reach/util/common/src/subscription/index";
|
|
3542
3803
|
export * from "libs/reach/util/common/src/AppTrigger";
|
|
3543
3804
|
export * from "libs/reach/util/common/src/BackbuttonListenerUtil";
|
|
@@ -3550,6 +3811,9 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3550
3811
|
export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
|
|
3551
3812
|
export * from "libs/reach/util/common/src/AccessDeniedIntercept";
|
|
3552
3813
|
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3814
|
+
export * from "libs/reach/util/common/src/analytics/index";
|
|
3815
|
+
export * from "libs/reach/util/common/src/common-utils";
|
|
3816
|
+
export * from "libs/reach/util/common/src/ReachQueryClient";
|
|
3553
3817
|
}
|
|
3554
3818
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3555
3819
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -3606,7 +3870,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
|
|
|
3606
3870
|
text?: string | JSX.Element;
|
|
3607
3871
|
resourceKey?: string;
|
|
3608
3872
|
values?: {
|
|
3609
|
-
[key: string]: string | number | boolean | Date;
|
|
3873
|
+
[key: string]: string | number | boolean | Date | any;
|
|
3610
3874
|
};
|
|
3611
3875
|
width?: number;
|
|
3612
3876
|
onClick?: () => unknown;
|
|
@@ -3686,7 +3950,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3686
3950
|
export const PeoplePicker: FC<Props>;
|
|
3687
3951
|
}
|
|
3688
3952
|
declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
3689
|
-
import { Account, AccountType, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, useAccountApi, useCurrentUser, useNotificationContext, usePluginDeviceStore, usePluginSettings, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, useTheme } from "libs/reach/util/common/src/index";
|
|
3953
|
+
import { Account, AccountType, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, useAccountApi, useCurrentUser, useNotificationContext, usePluginDeviceStore, usePluginSettings, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, useTheme, EmbeddedPluginProps } from "libs/reach/util/common/src/index";
|
|
3690
3954
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3691
3955
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3692
3956
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3703,7 +3967,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3703
3967
|
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3704
3968
|
*/
|
|
3705
3969
|
usePluginDeviceStore as usePluginStorage, usePluginDeviceStore, usePluginSubscriptionStore, usePluginSubscriptionStoreValue, usePluginUserStore, usePluginUserStoreValue, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, useSubscriptionWebAppUrl, };
|
|
3706
|
-
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, };
|
|
3970
|
+
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
|
|
3707
3971
|
}
|
|
3708
3972
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3709
3973
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3719,6 +3983,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3719
3983
|
export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
|
|
3720
3984
|
export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
|
|
3721
3985
|
}
|
|
3986
|
+
declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
|
|
3987
|
+
export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
3988
|
+
}
|
|
3722
3989
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3723
3990
|
import { FC } from 'react';
|
|
3724
3991
|
export const NotificationBar: FC;
|
|
@@ -3735,6 +4002,7 @@ declare module "libs/reach/ui/common/src/common/AudioFile" {
|
|
|
3735
4002
|
export const AudioFile: FC<{
|
|
3736
4003
|
fileName: string;
|
|
3737
4004
|
url: string;
|
|
4005
|
+
onPlay?: (url: string) => void;
|
|
3738
4006
|
}>;
|
|
3739
4007
|
export function isAudioFile(fileName: string): boolean;
|
|
3740
4008
|
}
|
|
@@ -3758,37 +4026,6 @@ declare module "libs/reach/ui/common/src/common/buttons/ActionButton" {
|
|
|
3758
4026
|
color?: string;
|
|
3759
4027
|
}, never>;
|
|
3760
4028
|
}
|
|
3761
|
-
declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
3762
|
-
export const smallScreenSpacing = 10;
|
|
3763
|
-
export const smallMaxContentWidth: number;
|
|
3764
|
-
export const mediumMaxContentWidth: number;
|
|
3765
|
-
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3766
|
-
}
|
|
3767
|
-
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3768
|
-
import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3769
|
-
import { IntlShape } from 'react-intl';
|
|
3770
|
-
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3771
|
-
export function isValidUrl(url: string): boolean;
|
|
3772
|
-
export function getGoogleMapsSearchLink(name: string): string;
|
|
3773
|
-
export function tryGetInternalLink(url: string, appUrls: string[]): string;
|
|
3774
|
-
export function getExternalContentUrl(item: PublishableItem, language: string): string;
|
|
3775
|
-
export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
|
|
3776
|
-
export const DefaultSubscriptionName = "LiveTiles Reach";
|
|
3777
|
-
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3778
|
-
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3779
|
-
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}";
|
|
3780
|
-
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3781
|
-
logoInfo: LogoInfo;
|
|
3782
|
-
subscriptionName: string;
|
|
3783
|
-
};
|
|
3784
|
-
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3785
|
-
export function delay(delayInMs: number): Promise<unknown>;
|
|
3786
|
-
export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3787
|
-
defaultWidth?: number;
|
|
3788
|
-
showPlaceholder?: boolean;
|
|
3789
|
-
}, never>;
|
|
3790
|
-
export function encodeChannelName(channelName: string): string;
|
|
3791
|
-
}
|
|
3792
4029
|
declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
3793
4030
|
import { FC } from 'react';
|
|
3794
4031
|
import { SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
@@ -3831,6 +4068,7 @@ declare module "libs/reach/ui/common/src/common/ConfirmDialog" {
|
|
|
3831
4068
|
infoResourceValues?: any;
|
|
3832
4069
|
onConfirm?: () => unknown;
|
|
3833
4070
|
onClose?: () => unknown;
|
|
4071
|
+
width?: number;
|
|
3834
4072
|
}>;
|
|
3835
4073
|
}
|
|
3836
4074
|
declare module "libs/reach/ui/common/src/common/ConfirmResetDialog" {
|
|
@@ -3866,7 +4104,7 @@ declare module "libs/reach/ui/common/src/common/DateTime" {
|
|
|
3866
4104
|
export const isSameDay: (value: moment.MomentInput) => boolean;
|
|
3867
4105
|
export const DateTime: FC<Props>;
|
|
3868
4106
|
export const DateTimeRange: FC<{
|
|
3869
|
-
startDate
|
|
4107
|
+
startDate?: string;
|
|
3870
4108
|
endDate?: string;
|
|
3871
4109
|
className?: string;
|
|
3872
4110
|
}>;
|
|
@@ -3952,6 +4190,7 @@ declare module "libs/reach/ui/common/src/common/VideoFile" {
|
|
|
3952
4190
|
export const VideoFile: FC<{
|
|
3953
4191
|
fileName: string;
|
|
3954
4192
|
url: string;
|
|
4193
|
+
onPlay?: (url: string) => void;
|
|
3955
4194
|
}>;
|
|
3956
4195
|
export function isVideoFile(fileName: string): boolean;
|
|
3957
4196
|
}
|
|
@@ -3974,25 +4213,30 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
3974
4213
|
}[]>;
|
|
3975
4214
|
export function getFileIcon(filename: string): string;
|
|
3976
4215
|
export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
|
|
4216
|
+
export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
|
|
3977
4217
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
3978
|
-
export function getMainScrollableContainer(): HTMLElement;
|
|
3979
4218
|
}
|
|
3980
4219
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
4220
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3981
4221
|
export function useFileAccessTokenApi(): {
|
|
3982
4222
|
exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
|
|
3983
4223
|
getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
|
|
3984
|
-
createDownloadClickHandler: (target: string, getUrl: () => Promise<string
|
|
4224
|
+
createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, itemResourceType?: ItemResourceTypes | string, parentId?: string) => () => Promise<void>;
|
|
3985
4225
|
};
|
|
3986
4226
|
}
|
|
3987
4227
|
declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
3988
4228
|
import { FC } from 'react';
|
|
3989
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
4229
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3990
4230
|
export const FileAttachmentList: FC<{
|
|
3991
4231
|
files: Attachment[];
|
|
3992
4232
|
onDeleteClick?: (file: Attachment) => void;
|
|
3993
4233
|
getFileUrl?: (attachmentId: string, token?: string) => string;
|
|
4234
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
4235
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
3994
4236
|
fileAccessToken?: string;
|
|
3995
4237
|
disabled?: boolean;
|
|
4238
|
+
parentId?: string;
|
|
4239
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
3996
4240
|
className?: string;
|
|
3997
4241
|
}>;
|
|
3998
4242
|
}
|
|
@@ -4292,6 +4536,28 @@ declare module "libs/reach/ui/common/src/common/UserUtility" {
|
|
|
4292
4536
|
import { IntlShape } from 'react-intl';
|
|
4293
4537
|
export function getGroupName(group: UserGroup, user: CurrentUser, intl: IntlShape): string;
|
|
4294
4538
|
}
|
|
4539
|
+
declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
4540
|
+
export const smallScreenSpacing = 10;
|
|
4541
|
+
export const smallMaxContentWidth: number;
|
|
4542
|
+
export const mediumMaxContentWidth: number;
|
|
4543
|
+
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4544
|
+
}
|
|
4545
|
+
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
4546
|
+
import { CurrentUser, PublishableItem } from "libs/reach/util/common/src/index";
|
|
4547
|
+
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
4548
|
+
export function isValidUrl(url: string): boolean;
|
|
4549
|
+
export function getGoogleMapsSearchLink(name: string): string;
|
|
4550
|
+
export function tryGetInternalLink(url: string, appUrls: string[]): string;
|
|
4551
|
+
export function getExternalContentUrl(item: PublishableItem, language: string): string;
|
|
4552
|
+
export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
|
|
4553
|
+
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
4554
|
+
export function delay(delayInMs: number): Promise<unknown>;
|
|
4555
|
+
export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4556
|
+
defaultWidth?: number;
|
|
4557
|
+
showPlaceholder?: boolean;
|
|
4558
|
+
}, never>;
|
|
4559
|
+
export function encodeChannelName(channelName: string): string;
|
|
4560
|
+
}
|
|
4295
4561
|
declare module "libs/reach/ui/common/src/common/VerificationStatusIcon" {
|
|
4296
4562
|
import { FC, ReactNode } from 'react';
|
|
4297
4563
|
import { PrimitiveType } from 'intl-messageformat';
|
|
@@ -4315,12 +4581,15 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
|
|
|
4315
4581
|
}
|
|
4316
4582
|
declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
|
|
4317
4583
|
import { FC } from 'react';
|
|
4584
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
4318
4585
|
export const AutoTranslateButton: FC<{
|
|
4319
4586
|
contentLanguageCode: string;
|
|
4320
4587
|
originalContent: string;
|
|
4321
4588
|
content: string;
|
|
4322
4589
|
onTranslate: (preferredContentLanguageCode: string) => Promise<string>;
|
|
4323
4590
|
onContentChange: (content: string) => void;
|
|
4591
|
+
itemType: ItemResourceTypes;
|
|
4592
|
+
itemId: string;
|
|
4324
4593
|
tooltipResourceKey?: string;
|
|
4325
4594
|
showLabel?: boolean;
|
|
4326
4595
|
}>;
|
|
@@ -4604,6 +4873,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
|
|
|
4604
4873
|
className?: string;
|
|
4605
4874
|
}>;
|
|
4606
4875
|
}
|
|
4876
|
+
declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
|
|
4877
|
+
export const useIsMounted: () => () => boolean;
|
|
4878
|
+
}
|
|
4607
4879
|
declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
|
|
4608
4880
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4609
4881
|
import { DependencyList, SetStateAction } from 'react';
|
|
@@ -4908,8 +5180,9 @@ declare module "libs/reach/ui/common/src/common/user/Avatar" {
|
|
|
4908
5180
|
export interface Props extends IPersonaProps {
|
|
4909
5181
|
upn: string;
|
|
4910
5182
|
tenantId?: string;
|
|
4911
|
-
className?: string;
|
|
4912
5183
|
displayName?: string;
|
|
5184
|
+
forceShowSecondaryText?: boolean;
|
|
5185
|
+
className?: string;
|
|
4913
5186
|
}
|
|
4914
5187
|
export class UserAvatarUpdateTriggerAction implements AppTriggerAction {
|
|
4915
5188
|
static type: string;
|
|
@@ -5084,6 +5357,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
5084
5357
|
export * from "libs/reach/ui/common/src/common/grid/Grid";
|
|
5085
5358
|
export * from "libs/reach/ui/common/src/common/hooks/usePagination";
|
|
5086
5359
|
export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
|
|
5360
|
+
export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
|
|
5087
5361
|
export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
|
|
5088
5362
|
export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
|
|
5089
5363
|
export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
|
|
@@ -5116,6 +5390,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
5116
5390
|
export * from "libs/reach/ui/common/src/common/error-states/index";
|
|
5117
5391
|
export * from "libs/reach/ui/common/src/common/MenuItemBadge";
|
|
5118
5392
|
export * from "libs/reach/ui/common/src/common/editor-svg/index";
|
|
5393
|
+
export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
|
|
5119
5394
|
}
|
|
5120
5395
|
declare module "libs/reach/ui/common/src/error/PageAlert" {
|
|
5121
5396
|
import { ReactNode } from 'react';
|
|
@@ -5167,16 +5442,17 @@ declare module "libs/reach/ui/common/src/index" {
|
|
|
5167
5442
|
export * from "libs/reach/ui/common/src/ColorEditor";
|
|
5168
5443
|
}
|
|
5169
5444
|
declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
5170
|
-
import { FC } from 'react';
|
|
5445
|
+
import { FC, DependencyList } from 'react';
|
|
5171
5446
|
export interface Props {
|
|
5172
5447
|
navigateTo: string;
|
|
5448
|
+
onBeforeClose?: () => void;
|
|
5173
5449
|
onClose?: () => void;
|
|
5174
5450
|
tooltipResourceKey?: string;
|
|
5175
5451
|
useGoBack?: boolean;
|
|
5176
5452
|
className?: string;
|
|
5177
5453
|
}
|
|
5178
5454
|
export const CloseButton: FC<Props>;
|
|
5179
|
-
export function useEscapeOnClose(onClose: () => void): void;
|
|
5455
|
+
export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
|
|
5180
5456
|
}
|
|
5181
5457
|
declare module "apps/reach-app/src/app/common/LogoStyles" {
|
|
5182
5458
|
export const LogoHostStyle: (size?: {
|
|
@@ -5203,6 +5479,7 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
5203
5479
|
closeButtonOptions?: CloseButtonOptions;
|
|
5204
5480
|
}
|
|
5205
5481
|
export interface CloseButtonOptions {
|
|
5482
|
+
onBeforeClose?: () => void;
|
|
5206
5483
|
onClick?: () => void;
|
|
5207
5484
|
disableGoBack?: boolean;
|
|
5208
5485
|
route?: string;
|
|
@@ -5268,9 +5545,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
|
|
|
5268
5545
|
}
|
|
5269
5546
|
declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
5270
5547
|
import { FC, ReactNode } from 'react';
|
|
5548
|
+
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5271
5549
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
5272
5550
|
import './BasicPage.scss';
|
|
5273
|
-
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5274
5551
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
5275
5552
|
type HeaderToolbarObjectTypeHack = {
|
|
5276
5553
|
toolbarElement: JSX.Element;
|
|
@@ -5388,7 +5665,10 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
5388
5665
|
addLanguage: (code: string) => Promise<Language>;
|
|
5389
5666
|
setDefaultLanguage: (code: string) => Promise<Language>;
|
|
5390
5667
|
removeLanguage: (code: string) => Promise<unknown>;
|
|
5391
|
-
setSubscriptionName: (name: string) => Promise<
|
|
5668
|
+
setSubscriptionName: (name: string | null, hideName: boolean | null) => Promise<{
|
|
5669
|
+
name: string | null;
|
|
5670
|
+
hideName: boolean | null;
|
|
5671
|
+
}>;
|
|
5392
5672
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
5393
5673
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
5394
5674
|
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
@@ -5694,11 +5974,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
|
|
|
5694
5974
|
export { PushClient };
|
|
5695
5975
|
}
|
|
5696
5976
|
declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
5697
|
-
import { ConfigureOptions, MigrateResult,
|
|
5698
|
-
export class MobileHybridStorage implements
|
|
5977
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5978
|
+
export class MobileHybridStorage implements PreferencesPlugin {
|
|
5699
5979
|
private pluginStorage;
|
|
5700
5980
|
private static memoryStorage;
|
|
5701
|
-
constructor(pluginStorage:
|
|
5981
|
+
constructor(pluginStorage: PreferencesPlugin);
|
|
5702
5982
|
get(options: {
|
|
5703
5983
|
key: string;
|
|
5704
5984
|
}): Promise<any>;
|
|
@@ -5710,7 +5990,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
|
5710
5990
|
key: string;
|
|
5711
5991
|
}): Promise<void>;
|
|
5712
5992
|
clear(): Promise<void>;
|
|
5713
|
-
keys(): Promise<import("@capacitor/
|
|
5993
|
+
keys(): Promise<import("@capacitor/preferences").KeysResult>;
|
|
5714
5994
|
private static updateInMemoryStorage;
|
|
5715
5995
|
configure(options: ConfigureOptions): Promise<void>;
|
|
5716
5996
|
migrate(): Promise<MigrateResult>;
|
|
@@ -5746,7 +6026,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
|
|
|
5746
6026
|
export const mockStatusBarPlugin: StatusBarPlugin;
|
|
5747
6027
|
}
|
|
5748
6028
|
declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
5749
|
-
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
|
|
6029
|
+
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
|
|
5750
6030
|
import { PluginListenerHandle } from '@capacitor/core';
|
|
5751
6031
|
export class WebDeviceFallback implements DevicePlugin {
|
|
5752
6032
|
addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
|
|
@@ -5755,6 +6035,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
|
5755
6035
|
getId(): Promise<DeviceId>;
|
|
5756
6036
|
getBatteryInfo(): Promise<BatteryInfo>;
|
|
5757
6037
|
getLanguageCode(): Promise<GetLanguageCodeResult>;
|
|
6038
|
+
getLanguageTag(): Promise<LanguageTag>;
|
|
5758
6039
|
}
|
|
5759
6040
|
}
|
|
5760
6041
|
declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
@@ -5771,8 +6052,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
|
5771
6052
|
}
|
|
5772
6053
|
}
|
|
5773
6054
|
declare module "libs/shared/util/capacitor/src/WebStorage" {
|
|
5774
|
-
import { ConfigureOptions, MigrateResult,
|
|
5775
|
-
export class WebStorage implements
|
|
6055
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
6056
|
+
export class WebStorage implements PreferencesPlugin {
|
|
5776
6057
|
storage: Storage;
|
|
5777
6058
|
get(options: {
|
|
5778
6059
|
key: string;
|
|
@@ -5806,14 +6087,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
|
|
|
5806
6087
|
import { SharePlugin } from '@capacitor/share';
|
|
5807
6088
|
import { SplashScreenPlugin } from '@capacitor/splash-screen';
|
|
5808
6089
|
import { StatusBarPlugin } from '@capacitor/status-bar';
|
|
5809
|
-
import {
|
|
6090
|
+
import { PreferencesPlugin } from '@capacitor/preferences';
|
|
5810
6091
|
import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
|
|
5811
6092
|
import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
|
|
5812
6093
|
import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
|
|
5813
6094
|
import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
|
|
5814
6095
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
5815
6096
|
export interface CondensePluginRegistry {
|
|
5816
|
-
Storage:
|
|
6097
|
+
Storage: PreferencesPlugin;
|
|
5817
6098
|
Device: DevicePlugin;
|
|
5818
6099
|
App: AppPlugin;
|
|
5819
6100
|
Keyboard: KeyboardPlugin;
|
|
@@ -6342,14 +6623,18 @@ declare module "apps/reach-app/src/app/admin/web-hooks/utils" {
|
|
|
6342
6623
|
CommentUpdated = "CommentUpdated",
|
|
6343
6624
|
CommentDeleted = "CommentDeleted",
|
|
6344
6625
|
LikeAdded = "LikeAdded",
|
|
6345
|
-
LikeRemoved = "LikeRemoved"
|
|
6626
|
+
LikeRemoved = "LikeRemoved",
|
|
6627
|
+
PostCreated = "PostCreated",
|
|
6628
|
+
PostUpdated = "PostUpdated",
|
|
6629
|
+
PostDeleted = "PostDeleted"
|
|
6346
6630
|
}
|
|
6347
6631
|
export enum WebHookCategory {
|
|
6348
6632
|
News = "News",
|
|
6349
6633
|
Events = "Events",
|
|
6350
6634
|
Comments = "Comments",
|
|
6351
6635
|
Likes = "Likes",
|
|
6352
|
-
UserSelfRegistration = "UserSelfRegistration"
|
|
6636
|
+
UserSelfRegistration = "UserSelfRegistration",
|
|
6637
|
+
Posts = "Posts"
|
|
6353
6638
|
}
|
|
6354
6639
|
}
|
|
6355
6640
|
declare module "apps/reach-app/src/app/admin/web-hooks/WebHookEditor" {
|
|
@@ -6475,7 +6760,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
|
|
|
6475
6760
|
import { UserRegistrationResult } from "libs/reach/util/common/src/index";
|
|
6476
6761
|
import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
|
|
6477
6762
|
export function useSelfRegistrationApi(): {
|
|
6478
|
-
changeRegistrationStatus: (upn: string, doAccept: boolean) =>
|
|
6763
|
+
changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6479
6764
|
hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
|
|
6480
6765
|
register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
|
|
6481
6766
|
updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
|
|
@@ -6531,6 +6816,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
|
|
|
6531
6816
|
onSaved: (newProperties: UpdatableUserProperties) => void;
|
|
6532
6817
|
}>;
|
|
6533
6818
|
}
|
|
6819
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
|
|
6820
|
+
import { FC } from 'react';
|
|
6821
|
+
import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
|
|
6822
|
+
export const GenerateApiKeyDialog: FC<{
|
|
6823
|
+
onApiKeyAdded?: () => void;
|
|
6824
|
+
onDismiss: () => void;
|
|
6825
|
+
user?: UserItem;
|
|
6826
|
+
}>;
|
|
6827
|
+
}
|
|
6534
6828
|
declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
6535
6829
|
import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
|
|
6536
6830
|
import './UserList.scss';
|
|
@@ -6554,7 +6848,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
|
6554
6848
|
isLoading?: boolean;
|
|
6555
6849
|
isEmpty?: boolean;
|
|
6556
6850
|
emptyPlaceholder?: ReactNode;
|
|
6851
|
+
onKeyChanged?: () => void;
|
|
6557
6852
|
}
|
|
6853
|
+
export type UserItem = Account & UserSummary & GroupUser & {
|
|
6854
|
+
accountType: string;
|
|
6855
|
+
lastLogin: string | JSX.Element;
|
|
6856
|
+
};
|
|
6558
6857
|
export const UserList: FC<Props>;
|
|
6559
6858
|
}
|
|
6560
6859
|
declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
|
|
@@ -6587,12 +6886,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6587
6886
|
className?: string;
|
|
6588
6887
|
}>;
|
|
6589
6888
|
}
|
|
6590
|
-
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyButton" {
|
|
6591
|
-
import { FC } from 'react';
|
|
6592
|
-
export const GenerateApiKeyButton: FC<{
|
|
6593
|
-
onApiKeyAdded: () => void;
|
|
6594
|
-
}>;
|
|
6595
|
-
}
|
|
6596
6889
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6597
6890
|
import { FC } from 'react';
|
|
6598
6891
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|
|
@@ -6612,19 +6905,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
|
|
|
6612
6905
|
}
|
|
6613
6906
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
|
|
6614
6907
|
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6908
|
+
export enum ValidationStatus {
|
|
6909
|
+
Valid = 0,
|
|
6910
|
+
WithErrors = 1,
|
|
6911
|
+
WithUserErrors = 2
|
|
6912
|
+
}
|
|
6913
|
+
export type CsvValidation = {
|
|
6914
|
+
Status?: ValidationStatus;
|
|
6915
|
+
Message?: string;
|
|
6916
|
+
InvalidItems?: string[];
|
|
6917
|
+
};
|
|
6615
6918
|
export function useUserCsvInviter(): {
|
|
6616
6919
|
invitedUsers: UserImport[];
|
|
6617
6920
|
isValidating: boolean;
|
|
6618
6921
|
isCsvValid: boolean;
|
|
6619
6922
|
parseCsvFile: (csvFile: File) => void;
|
|
6620
|
-
|
|
6621
|
-
|
|
6923
|
+
csvValidation: CsvValidation;
|
|
6924
|
+
setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
|
|
6622
6925
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6623
6926
|
isParserReady: boolean;
|
|
6624
6927
|
isInviting: boolean;
|
|
6625
6928
|
canInvite: boolean;
|
|
6929
|
+
csvFile: File;
|
|
6626
6930
|
};
|
|
6627
6931
|
}
|
|
6932
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
|
|
6933
|
+
export function createCsvUrl(header: string, content: string): string;
|
|
6934
|
+
}
|
|
6935
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
|
|
6936
|
+
import { FC } from 'react';
|
|
6937
|
+
import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
|
|
6938
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6939
|
+
export const CsvFileValidationResult: FC<{
|
|
6940
|
+
csvValidation: CsvValidation;
|
|
6941
|
+
invitedUsers: UserImport[];
|
|
6942
|
+
}>;
|
|
6943
|
+
}
|
|
6628
6944
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6629
6945
|
import { FC } from 'react';
|
|
6630
6946
|
export const ImportUserButton: FC<{
|
|
@@ -6657,9 +6973,6 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
|
|
|
6657
6973
|
children?: (content: string, index: number) => JSX.Element;
|
|
6658
6974
|
}>;
|
|
6659
6975
|
}
|
|
6660
|
-
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
6661
|
-
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
6662
|
-
}
|
|
6663
6976
|
declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
6664
6977
|
import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
|
|
6665
6978
|
export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
|
|
@@ -6706,6 +7019,13 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6706
7019
|
likeCount: number;
|
|
6707
7020
|
static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
|
|
6708
7021
|
}
|
|
7022
|
+
export class AutoFollowItemTriggerAction implements AppTriggerAction {
|
|
7023
|
+
static type: string;
|
|
7024
|
+
type: string;
|
|
7025
|
+
recurrenceSeriesId: string;
|
|
7026
|
+
isFollowed: boolean;
|
|
7027
|
+
static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
|
|
7028
|
+
}
|
|
6709
7029
|
export class DeletedItemsTriggerAction implements AppTriggerAction {
|
|
6710
7030
|
static type: string;
|
|
6711
7031
|
type: string;
|
|
@@ -6732,6 +7052,20 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6732
7052
|
itemId: string;
|
|
6733
7053
|
static create(itemId: string): RefetchItemAction;
|
|
6734
7054
|
}
|
|
7055
|
+
export class RefetchStreamItemAction implements AppTriggerAction {
|
|
7056
|
+
static type: string;
|
|
7057
|
+
type: string;
|
|
7058
|
+
itemId: string;
|
|
7059
|
+
static create(itemId: string): RefetchStreamItemAction;
|
|
7060
|
+
}
|
|
7061
|
+
export class PagesRecycleBinCleanUpAction implements AppTriggerAction {
|
|
7062
|
+
static type: string;
|
|
7063
|
+
type: string;
|
|
7064
|
+
pageId: string;
|
|
7065
|
+
parentId: string;
|
|
7066
|
+
affectedGroupIds: string[];
|
|
7067
|
+
static create(pageId: string, parentId: string, affectedGroupIds: string[]): PagesRecycleBinCleanUpAction;
|
|
7068
|
+
}
|
|
6735
7069
|
}
|
|
6736
7070
|
declare module "libs/reach/feature/content/src/comments/CommentFilter" {
|
|
6737
7071
|
export interface CommentFilter {
|
|
@@ -6748,119 +7082,44 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
|
|
|
6748
7082
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6749
7083
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
6750
7084
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7085
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6751
7086
|
import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
|
|
6752
7087
|
export function useCommentApi(): {
|
|
6753
|
-
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) =>
|
|
6754
|
-
createEditorComment: (itemId: string, comment: Partial<Comment>) =>
|
|
6755
|
-
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) =>
|
|
6756
|
-
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) =>
|
|
6757
|
-
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) =>
|
|
6758
|
-
getEditorConversations: (itemId: string) =>
|
|
7088
|
+
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7089
|
+
createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7090
|
+
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7091
|
+
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7092
|
+
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
|
|
7093
|
+
getEditorConversations: (itemId: string) => Promise<Comment[]>;
|
|
6759
7094
|
translateComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, targetLanguage: string) => Promise<string>;
|
|
6760
|
-
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) =>
|
|
6761
|
-
deleteEditorComment: (itemId: string, commentId: string) =>
|
|
7095
|
+
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
7096
|
+
deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6762
7097
|
toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
|
|
6763
|
-
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) =>
|
|
7098
|
+
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6764
7099
|
onCommentCreated$: import("rxjs").Observable<string>;
|
|
6765
7100
|
};
|
|
6766
7101
|
}
|
|
6767
|
-
declare module "libs/reach/feature/content/src/
|
|
6768
|
-
import {
|
|
6769
|
-
import { ConversationScope } from "libs/reach/util/common/src/index";
|
|
6770
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6771
|
-
interface Props {
|
|
6772
|
-
type: ItemResourceTypes;
|
|
6773
|
-
itemId: string;
|
|
6774
|
-
className?: string;
|
|
6775
|
-
scope: ConversationScope;
|
|
6776
|
-
hideProfileUrl?: boolean;
|
|
6777
|
-
}
|
|
6778
|
-
export const FollowComments: FC<Props>;
|
|
7102
|
+
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
7103
|
+
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
6779
7104
|
}
|
|
6780
|
-
declare module "libs/reach/feature/content/src/
|
|
6781
|
-
import {
|
|
6782
|
-
|
|
6783
|
-
export interface UserSuggestion {
|
|
6784
|
-
id: string;
|
|
6785
|
-
upn: string;
|
|
6786
|
-
displayName: string;
|
|
6787
|
-
display: string;
|
|
6788
|
-
}
|
|
6789
|
-
export interface SuggestionArgs {
|
|
6790
|
-
searchText: string;
|
|
6791
|
-
updateSuggestions: (suggestions: UserSuggestion[]) => any;
|
|
6792
|
-
}
|
|
6793
|
-
export interface CommentInputProps {
|
|
6794
|
-
className?: string;
|
|
6795
|
-
content: string;
|
|
7105
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
7106
|
+
import { FC } from 'react';
|
|
7107
|
+
export const ConfirmationBox: FC<{
|
|
6796
7108
|
disabled?: boolean;
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
onChange?: (value: string) => void;
|
|
6801
|
-
onFocus?: () => void;
|
|
6802
|
-
additionalInputControl?: ReactNode;
|
|
6803
|
-
buttons?: {
|
|
6804
|
-
leftSide?: ReactNode;
|
|
6805
|
-
rightSide?: ReactNode;
|
|
6806
|
-
};
|
|
6807
|
-
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6808
|
-
placeHolderStringResourceKey?: string;
|
|
6809
|
-
placeHolderStringResourceValues?: {
|
|
6810
|
-
[key: string]: string | number | boolean | Date;
|
|
6811
|
-
};
|
|
6812
|
-
disableBoxShadow?: boolean;
|
|
6813
|
-
ariaLabel?: string;
|
|
6814
|
-
}
|
|
6815
|
-
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
7109
|
+
onChange?: (value: boolean) => void;
|
|
7110
|
+
checked: boolean;
|
|
7111
|
+
}>;
|
|
6816
7112
|
}
|
|
6817
|
-
declare module "libs/reach/feature/content/src/
|
|
6818
|
-
import { FC } from 'react';
|
|
6819
|
-
export const
|
|
7113
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
7114
|
+
import { FC, ReactNode } from 'react';
|
|
7115
|
+
export const GutterMarkerIcon: FC<{
|
|
7116
|
+
iconName: string;
|
|
7117
|
+
children: ReactNode;
|
|
6820
7118
|
isActive: boolean;
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
|
|
6825
|
-
import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
|
|
6826
|
-
export interface KalturaProperties {
|
|
6827
|
-
sp?: string;
|
|
6828
|
-
uiconfId?: string;
|
|
6829
|
-
partnerId?: string;
|
|
6830
|
-
entryId?: string;
|
|
6831
|
-
}
|
|
6832
|
-
export class VideoUrlParser {
|
|
6833
|
-
private url;
|
|
6834
|
-
private static ytRegex;
|
|
6835
|
-
private static vimeoRegex;
|
|
6836
|
-
private static microsoftStreamRegex;
|
|
6837
|
-
private static vimeoDirectLinkRegex;
|
|
6838
|
-
private static vimeoRedirectLinkRegex;
|
|
6839
|
-
private static kalturaRegex;
|
|
6840
|
-
readonly source: VideoSource | null;
|
|
6841
|
-
readonly id: string | null;
|
|
6842
|
-
readonly isDirectVideoUrl: boolean;
|
|
6843
|
-
readonly videoProperties: any;
|
|
6844
|
-
readonly thumbnailUrl: string;
|
|
6845
|
-
constructor(url: string);
|
|
6846
|
-
isValid(features: FeatureSet): boolean;
|
|
6847
|
-
}
|
|
6848
|
-
export function getVideoSources(features: FeatureSet): any[];
|
|
6849
|
-
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6850
|
-
export function getAllVideoSources(features: FeatureSet): any[];
|
|
6851
|
-
}
|
|
6852
|
-
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6853
|
-
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
6854
|
-
export function getAllVideosFromString(content: string): Generator<{
|
|
6855
|
-
url: string;
|
|
6856
|
-
type: AttachmentType;
|
|
6857
|
-
}, void, unknown>;
|
|
6858
|
-
export function getEmbeddedObjectsFromString(content: string): Generator<{
|
|
6859
|
-
url: string;
|
|
6860
|
-
subscriptionIdentifier: string;
|
|
6861
|
-
type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
|
|
6862
|
-
id: string;
|
|
6863
|
-
}, void, unknown>;
|
|
7119
|
+
color: string;
|
|
7120
|
+
tooltipResourceKey?: string;
|
|
7121
|
+
className?: string;
|
|
7122
|
+
}>;
|
|
6864
7123
|
}
|
|
6865
7124
|
declare module "libs/reach/feature/content/src/filter/OwnerFilterDefinition" {
|
|
6866
7125
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
@@ -6914,19 +7173,41 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6914
7173
|
And = "AND"
|
|
6915
7174
|
}
|
|
6916
7175
|
}
|
|
6917
|
-
declare module "libs/reach/feature/content/src/filter/
|
|
6918
|
-
import {
|
|
6919
|
-
export
|
|
6920
|
-
|
|
6921
|
-
addSortField(field: T, direction?: SortDirection): this;
|
|
6922
|
-
private static getSortDirectionAsString;
|
|
7176
|
+
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
7177
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7178
|
+
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
7179
|
+
author?: string;
|
|
6923
7180
|
}
|
|
6924
7181
|
}
|
|
6925
|
-
declare module "libs/reach/feature/content/src/filter/
|
|
6926
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6927
|
-
export interface
|
|
6928
|
-
|
|
6929
|
-
|
|
7182
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
7183
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7184
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
7185
|
+
channels?: FilterWithLogicalOperator;
|
|
7186
|
+
}
|
|
7187
|
+
}
|
|
7188
|
+
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
7189
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7190
|
+
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
7191
|
+
export interface StateFilterDefinition extends IndexableFilterDefinition {
|
|
7192
|
+
state?: WorkflowStatus;
|
|
7193
|
+
}
|
|
7194
|
+
}
|
|
7195
|
+
declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
7196
|
+
import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
7197
|
+
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7198
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
7199
|
+
import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
7200
|
+
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
7201
|
+
groupId?: string;
|
|
7202
|
+
bookmarksOnly?: boolean;
|
|
7203
|
+
unreadOnly?: boolean;
|
|
7204
|
+
includeExpired?: boolean;
|
|
7205
|
+
}
|
|
7206
|
+
}
|
|
7207
|
+
declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
|
|
7208
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7209
|
+
export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
|
|
7210
|
+
afterDate?: string;
|
|
6930
7211
|
}
|
|
6931
7212
|
}
|
|
6932
7213
|
declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
|
|
@@ -6935,10 +7216,19 @@ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinit
|
|
|
6935
7216
|
contacts?: string[];
|
|
6936
7217
|
}
|
|
6937
7218
|
}
|
|
6938
|
-
declare module "libs/reach/feature/content/src/filter/
|
|
6939
|
-
import {
|
|
6940
|
-
export
|
|
6941
|
-
|
|
7219
|
+
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
7220
|
+
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
7221
|
+
export class SortFieldsDefinitionBuilder<T extends string> {
|
|
7222
|
+
sort: string[];
|
|
7223
|
+
addSortField(field: T, direction?: SortDirection): this;
|
|
7224
|
+
private static getSortDirectionAsString;
|
|
7225
|
+
}
|
|
7226
|
+
}
|
|
7227
|
+
declare module "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition" {
|
|
7228
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7229
|
+
export interface EventsStartDateFilterDefinition extends IndexableFilterDefinition {
|
|
7230
|
+
startsAfter?: string;
|
|
7231
|
+
startsBefore?: string;
|
|
6942
7232
|
}
|
|
6943
7233
|
}
|
|
6944
7234
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
@@ -6957,18 +7247,6 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6957
7247
|
}
|
|
6958
7248
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6959
7249
|
}
|
|
6960
|
-
declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
|
|
6961
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6962
|
-
export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
|
|
6963
|
-
afterDate?: string;
|
|
6964
|
-
}
|
|
6965
|
-
}
|
|
6966
|
-
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6967
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6968
|
-
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6969
|
-
author?: string;
|
|
6970
|
-
}
|
|
6971
|
-
}
|
|
6972
7250
|
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6973
7251
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6974
7252
|
export interface FilteringProps {
|
|
@@ -6978,25 +7256,6 @@ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
|
6978
7256
|
isFilterActive?: boolean;
|
|
6979
7257
|
}
|
|
6980
7258
|
}
|
|
6981
|
-
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
6982
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6983
|
-
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
6984
|
-
export interface StateFilterDefinition extends IndexableFilterDefinition {
|
|
6985
|
-
state?: WorkflowStatus;
|
|
6986
|
-
}
|
|
6987
|
-
}
|
|
6988
|
-
declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
6989
|
-
import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6990
|
-
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6991
|
-
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6992
|
-
import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6993
|
-
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
6994
|
-
groupId?: string;
|
|
6995
|
-
bookmarksOnly?: boolean;
|
|
6996
|
-
unreadOnly?: boolean;
|
|
6997
|
-
includeExpired?: boolean;
|
|
6998
|
-
}
|
|
6999
|
-
}
|
|
7000
7259
|
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
7001
7260
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7002
7261
|
export enum ItemTypeFilterFlag {
|
|
@@ -7078,16 +7337,6 @@ declare module "libs/reach/feature/content/src/filter/utils" {
|
|
|
7078
7337
|
};
|
|
7079
7338
|
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
7080
7339
|
}
|
|
7081
|
-
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
7082
|
-
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
7083
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7084
|
-
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
7085
|
-
export function useEventsApi(): {
|
|
7086
|
-
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
7087
|
-
getEvent: (id: string) => Promise<EventItem>;
|
|
7088
|
-
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
7089
|
-
};
|
|
7090
|
-
}
|
|
7091
7340
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
7092
7341
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
7093
7342
|
import { Observable } from 'rxjs';
|
|
@@ -7147,396 +7396,593 @@ declare module "libs/reach/feature/content/src/news/useNewsApi" {
|
|
|
7147
7396
|
import { NewsApiService } from "libs/reach/feature/content/src/news/NewsApiService";
|
|
7148
7397
|
export function useNewsApi(): NewsApiService;
|
|
7149
7398
|
}
|
|
7150
|
-
declare module "libs/reach/feature/content/src/
|
|
7151
|
-
import {
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
pageContextId?: string;
|
|
7155
|
-
restrictToPageContext?: boolean;
|
|
7156
|
-
rootPagesOnly?: boolean;
|
|
7157
|
-
parentId?: string;
|
|
7158
|
-
pageType?: PageType;
|
|
7399
|
+
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7400
|
+
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7401
|
+
export default interface FeedbackSummary {
|
|
7402
|
+
records: FeedbackItem[];
|
|
7159
7403
|
}
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
loadPage: (id: string) => Promise<PageItem>;
|
|
7167
|
-
loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
7168
|
-
getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
|
|
7169
|
-
getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7170
|
-
searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7171
|
-
getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7172
|
-
searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7173
|
-
getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
|
|
7174
|
-
searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
|
|
7175
|
-
};
|
|
7176
|
-
}
|
|
7177
|
-
declare module "libs/reach/feature/content/src/posts/utils" {
|
|
7178
|
-
import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
7179
|
-
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7180
|
-
export interface Post extends BaseItem, ItemWithAttachments {
|
|
7181
|
-
id: string;
|
|
7182
|
-
comments?: PaginatedList<Comment>;
|
|
7183
|
-
groupId: string;
|
|
7184
|
-
content: string;
|
|
7185
|
-
permalink?: string;
|
|
7186
|
-
author: Account;
|
|
7187
|
-
publishingDate: string;
|
|
7188
|
-
modified?: string;
|
|
7189
|
-
statistics: ItemStatistics;
|
|
7190
|
-
keywords?: {
|
|
7191
|
-
[key: string]: Keyword[];
|
|
7192
|
-
};
|
|
7193
|
-
contentLanguageCode?: string;
|
|
7194
|
-
isLiked?: boolean;
|
|
7195
|
-
isUnread?: boolean;
|
|
7196
|
-
isDemoContent?: boolean;
|
|
7197
|
-
isFollowing?: boolean;
|
|
7404
|
+
export enum FeedbackItemType {
|
|
7405
|
+
comment = "comment",
|
|
7406
|
+
like = "like",
|
|
7407
|
+
confirm = "confirm",
|
|
7408
|
+
poll = "poll",
|
|
7409
|
+
eventRegistration = "eventRegistration"
|
|
7198
7410
|
}
|
|
7199
|
-
export interface
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7411
|
+
export interface FeedbackItem {
|
|
7412
|
+
type: FeedbackItemType;
|
|
7413
|
+
timestamp: string;
|
|
7414
|
+
}
|
|
7415
|
+
export interface PollFeedbackItem extends FeedbackItem {
|
|
7416
|
+
type: FeedbackItemType.poll;
|
|
7417
|
+
answers: PollQuestionAnswer[];
|
|
7204
7418
|
}
|
|
7205
|
-
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
7206
|
-
export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
|
|
7207
|
-
export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
|
|
7208
7419
|
}
|
|
7209
|
-
declare module "libs/reach/feature/content/src/
|
|
7210
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7211
|
-
import
|
|
7212
|
-
import {
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
getPost: (postId: string, commentCount?: number) => Promise<Post>;
|
|
7224
|
-
getPostThread: (postId: string, threadId: string) => Promise<Post>;
|
|
7225
|
-
translatePost: (postId: string, language: string) => any;
|
|
7226
|
-
searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
|
|
7420
|
+
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7421
|
+
import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7422
|
+
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7423
|
+
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7424
|
+
export const feedbackCache: {
|
|
7425
|
+
[newsId: string]: Promise<FeedbackSummary>;
|
|
7426
|
+
};
|
|
7427
|
+
export function useFeedbackApi(): {
|
|
7428
|
+
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7429
|
+
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7430
|
+
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7431
|
+
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7432
|
+
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7433
|
+
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
7227
7434
|
};
|
|
7228
7435
|
}
|
|
7229
|
-
declare module "libs/reach/feature/content/src/
|
|
7230
|
-
import {
|
|
7231
|
-
|
|
7436
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
7437
|
+
import { FC } from 'react';
|
|
7438
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
7439
|
+
export const ConfirmationSection: FC<{
|
|
7440
|
+
item?: NewsItem;
|
|
7441
|
+
showDescription: boolean;
|
|
7442
|
+
readOnly?: boolean;
|
|
7443
|
+
className?: string;
|
|
7444
|
+
}>;
|
|
7232
7445
|
}
|
|
7233
|
-
declare module "libs/reach/feature/content/src/
|
|
7234
|
-
import {
|
|
7235
|
-
import {
|
|
7236
|
-
|
|
7237
|
-
|
|
7446
|
+
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
7447
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
7448
|
+
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
7449
|
+
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
7450
|
+
export class NewsService {
|
|
7451
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7452
|
+
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7453
|
+
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
7454
|
+
static getContentLanguages(contents: {
|
|
7455
|
+
[lang: string]: ContentDefinition;
|
|
7456
|
+
}, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
|
|
7457
|
+
static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7458
|
+
static getLanguageForContent(contents: {
|
|
7459
|
+
[lang: string]: ContentDefinition;
|
|
7460
|
+
}, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7461
|
+
static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
|
|
7238
7462
|
}
|
|
7239
|
-
export type Attachments = (Attachment | ClientAttachment)[];
|
|
7240
|
-
export type RichCommentInputProps = CommentInputProps & {
|
|
7241
|
-
attachments: Attachment[];
|
|
7242
|
-
deletedAttachmentUrls: string[];
|
|
7243
|
-
allowAttachments?: boolean;
|
|
7244
|
-
useLargeDropTarget?: boolean;
|
|
7245
|
-
disableDragAndDrop?: boolean;
|
|
7246
|
-
onAttachmentsChange: (attachments: Attachments) => void;
|
|
7247
|
-
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
7248
|
-
placeHolderStringResourceKey?: string;
|
|
7249
|
-
disableAddGif?: boolean;
|
|
7250
|
-
disableAddFiles?: boolean;
|
|
7251
|
-
};
|
|
7252
|
-
export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
|
|
7253
|
-
attachments: Attachment[];
|
|
7254
|
-
deletedAttachmentUrls: string[];
|
|
7255
|
-
allowAttachments?: boolean;
|
|
7256
|
-
useLargeDropTarget?: boolean;
|
|
7257
|
-
disableDragAndDrop?: boolean;
|
|
7258
|
-
onAttachmentsChange: (attachments: Attachments) => void;
|
|
7259
|
-
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
7260
|
-
placeHolderStringResourceKey?: string;
|
|
7261
|
-
disableAddGif?: boolean;
|
|
7262
|
-
disableAddFiles?: boolean;
|
|
7263
|
-
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7264
|
-
}
|
|
7265
|
-
declare module "libs/reach/feature/content/src/comments/utils" {
|
|
7266
|
-
import { Comment, Attachment, CurrentUser } from "libs/reach/util/common/src/index";
|
|
7267
|
-
export function canSaveInput(allowSaveWithoutContent: boolean, attachments: Attachment[], content: string): boolean;
|
|
7268
|
-
export function canDelete(comment: Comment, user: CurrentUser, groupIds: string[]): boolean;
|
|
7269
|
-
export function canEdit(comment: Comment, user: CurrentUser): boolean;
|
|
7270
7463
|
}
|
|
7271
|
-
declare module "libs/reach/feature/content/src/
|
|
7272
|
-
import { VideoInfo } from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
7273
|
-
export const getMicrosoftStreamEmbedVideoUrl: (id: string, autoPlay?: boolean) => string;
|
|
7274
|
-
export const getMicrosoftStreamVideoUrl: (id: string) => string;
|
|
7275
|
-
export class VideoElementGenerator {
|
|
7276
|
-
private videoInfo;
|
|
7277
|
-
private iframeAreaLabel;
|
|
7278
|
-
private autoplay?;
|
|
7279
|
-
private width?;
|
|
7280
|
-
private videoProperties?;
|
|
7281
|
-
constructor(videoInfo: VideoInfo, iframeAreaLabel: string, autoplay?: boolean, width?: string, videoProperties?: any);
|
|
7282
|
-
private getYouTubeVideoElement;
|
|
7283
|
-
private getVimeoVideoElement;
|
|
7284
|
-
private getExternalVimeoVideoElement;
|
|
7285
|
-
private getMicrosoftStreamVideoElement;
|
|
7286
|
-
private getKalturaVideoElement;
|
|
7287
|
-
private getGenericURLVideoElement;
|
|
7288
|
-
private getVideoElement;
|
|
7289
|
-
private getNotSupportedElement;
|
|
7290
|
-
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
7291
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
7292
|
-
}
|
|
7293
|
-
}
|
|
7294
|
-
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
7295
|
-
import { FC } from 'react';
|
|
7296
|
-
import { VideoInfo } from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
7297
|
-
export const VideoView: FC<{
|
|
7298
|
-
videoInfo: VideoInfo;
|
|
7299
|
-
autoplay?: boolean;
|
|
7300
|
-
width?: string;
|
|
7301
|
-
className?: string;
|
|
7302
|
-
}>;
|
|
7303
|
-
}
|
|
7304
|
-
declare module "libs/reach/feature/content/src/forms/videos/InsertVideoDialog" {
|
|
7464
|
+
declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
|
|
7305
7465
|
import { FC } from 'react';
|
|
7306
|
-
import {
|
|
7307
|
-
export interface
|
|
7466
|
+
import { PublishableItemContents } from "libs/reach/util/common/src/index";
|
|
7467
|
+
export interface TranslationItem {
|
|
7468
|
+
language: string;
|
|
7308
7469
|
id: string;
|
|
7309
|
-
|
|
7310
|
-
url?: string;
|
|
7311
|
-
isDirectUrl?: boolean;
|
|
7470
|
+
text: string;
|
|
7312
7471
|
}
|
|
7313
|
-
export const
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
onSave: (videoInfo: VideoInfo) => void;
|
|
7317
|
-
isOpen?: boolean;
|
|
7472
|
+
export const PollTranslationContext: import("react").Context<{
|
|
7473
|
+
getTranslation: (id: string) => string;
|
|
7474
|
+
getAllTranslations: (id: string) => TranslationItem[];
|
|
7318
7475
|
}>;
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
|
|
7323
|
-
export const VideoWithThumbnailView: FC<{
|
|
7324
|
-
videoInfo: VideoInfo;
|
|
7325
|
-
videoThumbnailUrl: string;
|
|
7326
|
-
className?: string;
|
|
7476
|
+
export const PollTranslationContextProvider: FC<{
|
|
7477
|
+
contents?: PublishableItemContents;
|
|
7478
|
+
language: string;
|
|
7479
|
+
additionalTranslations?: TranslationItem[];
|
|
7327
7480
|
}>;
|
|
7328
7481
|
}
|
|
7329
|
-
declare module "libs/reach/feature/content/src/
|
|
7330
|
-
import {
|
|
7331
|
-
|
|
7332
|
-
export
|
|
7333
|
-
|
|
7334
|
-
onDeleteClick?: (video: Attachment) => void;
|
|
7335
|
-
className?: string;
|
|
7336
|
-
}>;
|
|
7482
|
+
declare module "libs/reach/feature/content/src/feedback/utils" {
|
|
7483
|
+
import { CurrentUser, FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7484
|
+
export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
|
|
7485
|
+
export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
|
|
7486
|
+
export function hasDisabledCommentsNotificationSettings(user: CurrentUser): boolean;
|
|
7337
7487
|
}
|
|
7338
|
-
declare module "libs/reach/feature/content/src/
|
|
7488
|
+
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
7489
|
+
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
7490
|
+
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
7491
|
+
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
7492
|
+
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
7493
|
+
}
|
|
7494
|
+
declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
7339
7495
|
import { FC } from 'react';
|
|
7340
|
-
import {
|
|
7341
|
-
export interface
|
|
7342
|
-
|
|
7343
|
-
|
|
7344
|
-
|
|
7345
|
-
language?: string;
|
|
7346
|
-
filterBaseUrl?: string;
|
|
7347
|
-
onKeywordClick?: (keywordId: string) => void;
|
|
7496
|
+
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7497
|
+
export interface Props {
|
|
7498
|
+
type: ItemResourceTypes;
|
|
7499
|
+
itemId: string;
|
|
7500
|
+
recurrenceSeriesId?: string;
|
|
7348
7501
|
className?: string;
|
|
7502
|
+
scope: ConversationScope;
|
|
7503
|
+
hideProfileUrl?: boolean;
|
|
7504
|
+
onToggleFollow?: (isFollowed: boolean) => void;
|
|
7505
|
+
isReadOnly?: boolean;
|
|
7349
7506
|
}
|
|
7350
|
-
export const
|
|
7351
|
-
export const
|
|
7352
|
-
|
|
7353
|
-
groupName: string;
|
|
7354
|
-
keywords: {
|
|
7355
|
-
[key: string]: Keyword[];
|
|
7356
|
-
};
|
|
7357
|
-
language?: string;
|
|
7358
|
-
filterBaseUrl?: string;
|
|
7359
|
-
onKeywordClick?: (keywordId: string) => void;
|
|
7360
|
-
className?: string;
|
|
7361
|
-
}>;
|
|
7362
|
-
export const FlatKeywords: FC<{
|
|
7363
|
-
item: PublishableItem;
|
|
7364
|
-
filterBaseUrl?: string;
|
|
7507
|
+
export const FollowComments: FC<Props>;
|
|
7508
|
+
export const FollowCommentsNotificationWarning: FC<{
|
|
7509
|
+
hideProfileUrl?: boolean;
|
|
7365
7510
|
className?: string;
|
|
7366
|
-
useGridKeywordTitle?: boolean;
|
|
7367
|
-
onClick?: (keyword: string) => unknown;
|
|
7368
|
-
showAllKeywordsInCallout?: boolean;
|
|
7369
7511
|
}>;
|
|
7370
7512
|
}
|
|
7371
|
-
declare module "libs/reach/feature/content/src/
|
|
7372
|
-
import {
|
|
7373
|
-
import {
|
|
7374
|
-
|
|
7375
|
-
|
|
7376
|
-
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
static getContentLanguages(contents: {
|
|
7380
|
-
[lang: string]: ContentDefinition;
|
|
7381
|
-
}, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
|
|
7382
|
-
static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7383
|
-
static getLanguageForContent(contents: {
|
|
7384
|
-
[lang: string]: ContentDefinition;
|
|
7385
|
-
}, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7386
|
-
static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
|
|
7513
|
+
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
7514
|
+
import { ReactNode } from 'react';
|
|
7515
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
7516
|
+
export interface UserSuggestion {
|
|
7517
|
+
id: string;
|
|
7518
|
+
upn: string;
|
|
7519
|
+
displayName: string;
|
|
7520
|
+
display: string;
|
|
7387
7521
|
}
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
export const ClickableOverlay: FC<{
|
|
7394
|
-
itemId: string;
|
|
7395
|
-
itemType: ItemResourceTypes;
|
|
7396
|
-
baseRoute: string;
|
|
7397
|
-
targetUrl?: string;
|
|
7398
|
-
title?: string;
|
|
7399
|
-
ariaLabelResourceKey?: string;
|
|
7400
|
-
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
7401
|
-
openTargetInNewWindow?: boolean;
|
|
7402
|
-
isExternalContent?: boolean;
|
|
7403
|
-
locationState?: LocationState;
|
|
7404
|
-
}>;
|
|
7405
|
-
}
|
|
7406
|
-
declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
|
|
7407
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7408
|
-
import { FC } from 'react';
|
|
7409
|
-
export const ClickableOverlayWithModalRouting: FC<{
|
|
7410
|
-
itemId: string;
|
|
7411
|
-
itemType: ItemResourceTypes;
|
|
7412
|
-
baseRoute: string;
|
|
7413
|
-
title?: string;
|
|
7414
|
-
isExternalContent?: boolean;
|
|
7415
|
-
targetUrl?: string;
|
|
7416
|
-
}>;
|
|
7417
|
-
}
|
|
7418
|
-
declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
7419
|
-
import { FC } from 'react';
|
|
7420
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
7421
|
-
export const PostItemTile: FC<{
|
|
7422
|
-
post: Post;
|
|
7423
|
-
targetUrl?: string;
|
|
7424
|
-
readOnly?: boolean;
|
|
7425
|
-
backgroundColor?: string;
|
|
7426
|
-
enableModalRouting?: boolean;
|
|
7522
|
+
export interface SuggestionArgs {
|
|
7523
|
+
searchText: string;
|
|
7524
|
+
updateSuggestions: (suggestions: UserSuggestion[]) => any;
|
|
7525
|
+
}
|
|
7526
|
+
export interface CommentInputProps {
|
|
7427
7527
|
className?: string;
|
|
7428
|
-
|
|
7528
|
+
content: string;
|
|
7529
|
+
disabled?: boolean;
|
|
7530
|
+
autoFocus?: boolean;
|
|
7531
|
+
onEnter?: () => void;
|
|
7532
|
+
onCtrlEnter?: () => unknown;
|
|
7533
|
+
onChange?: (value: string) => void;
|
|
7534
|
+
onFocus?: () => void;
|
|
7535
|
+
additionalInputControl?: ReactNode;
|
|
7536
|
+
buttons?: {
|
|
7537
|
+
leftSide?: ReactNode;
|
|
7538
|
+
rightSide?: ReactNode;
|
|
7539
|
+
};
|
|
7540
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7541
|
+
placeHolderStringResourceKey?: string;
|
|
7542
|
+
placeHolderStringResourceValues?: {
|
|
7543
|
+
[key: string]: string | number | boolean | Date;
|
|
7544
|
+
};
|
|
7545
|
+
disableBoxShadow?: boolean;
|
|
7546
|
+
ariaLabel?: string;
|
|
7547
|
+
}
|
|
7548
|
+
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
7429
7549
|
}
|
|
7430
|
-
declare module "libs/reach/feature/content/src/
|
|
7550
|
+
declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
7431
7551
|
import { FC } from 'react';
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
className?: string;
|
|
7437
|
-
}>;
|
|
7552
|
+
export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
7553
|
+
isActive: boolean;
|
|
7554
|
+
}, never>;
|
|
7555
|
+
export const DropInfo: FC;
|
|
7438
7556
|
}
|
|
7439
|
-
declare module "libs/reach/feature/content/src/
|
|
7440
|
-
|
|
7441
|
-
|
|
7442
|
-
|
|
7557
|
+
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
7558
|
+
import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
|
|
7559
|
+
export interface KalturaProperties {
|
|
7560
|
+
sp?: string;
|
|
7561
|
+
uiconfId?: string;
|
|
7562
|
+
partnerId?: string;
|
|
7563
|
+
entryId?: string;
|
|
7564
|
+
}
|
|
7565
|
+
export class VideoUrlParser {
|
|
7566
|
+
private url;
|
|
7567
|
+
private static ytRegex;
|
|
7568
|
+
private static vimeoRegex;
|
|
7569
|
+
private static microsoftStreamRegex;
|
|
7570
|
+
private static vimeoDirectLinkRegex;
|
|
7571
|
+
private static vimeoRedirectLinkRegex;
|
|
7572
|
+
private static kalturaRegex;
|
|
7573
|
+
readonly source: VideoSource | null;
|
|
7574
|
+
readonly id: string | null;
|
|
7575
|
+
readonly isDirectVideoUrl: boolean;
|
|
7576
|
+
readonly videoProperties: any;
|
|
7577
|
+
readonly thumbnailUrl: string;
|
|
7578
|
+
constructor(url: string);
|
|
7579
|
+
isValid(features: FeatureSet): boolean;
|
|
7580
|
+
}
|
|
7581
|
+
export function getVideoSources(features: FeatureSet): any[];
|
|
7582
|
+
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
7583
|
+
export function getAllVideoSources(features: FeatureSet): any[];
|
|
7443
7584
|
}
|
|
7444
|
-
declare module "libs/reach/feature/content/src/
|
|
7445
|
-
import {
|
|
7446
|
-
|
|
7447
|
-
|
|
7448
|
-
|
|
7449
|
-
|
|
7450
|
-
|
|
7451
|
-
|
|
7452
|
-
|
|
7453
|
-
|
|
7454
|
-
|
|
7455
|
-
|
|
7456
|
-
className?: string;
|
|
7457
|
-
}>;
|
|
7458
|
-
export const EventChannelsDisplay: FC<{
|
|
7459
|
-
item: EventItem;
|
|
7460
|
-
language: string;
|
|
7461
|
-
className?: string;
|
|
7462
|
-
allowFilterByChannels?: boolean;
|
|
7463
|
-
channelBackgroundColor?: string;
|
|
7464
|
-
}>;
|
|
7585
|
+
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
7586
|
+
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
7587
|
+
export function getAllVideosFromString(content: string): Generator<{
|
|
7588
|
+
url: string;
|
|
7589
|
+
type: AttachmentType;
|
|
7590
|
+
}, void, unknown>;
|
|
7591
|
+
export function getEmbeddedObjectsFromString(content: string): Generator<{
|
|
7592
|
+
url: string;
|
|
7593
|
+
subscriptionIdentifier: string;
|
|
7594
|
+
type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
|
|
7595
|
+
id: string;
|
|
7596
|
+
}, void, unknown>;
|
|
7465
7597
|
}
|
|
7466
|
-
declare module "libs/reach/feature/content/src/
|
|
7467
|
-
import {
|
|
7468
|
-
|
|
7469
|
-
|
|
7470
|
-
|
|
7471
|
-
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
}
|
|
7475
|
-
export const BannerImage: FC<BannerImageProps>;
|
|
7598
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
7599
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
7600
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7601
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
7602
|
+
export function useEventsApi(): {
|
|
7603
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
7604
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
7605
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
7606
|
+
};
|
|
7476
7607
|
}
|
|
7477
|
-
declare module "libs/reach/feature/content/src/
|
|
7478
|
-
import {
|
|
7479
|
-
|
|
7480
|
-
export interface
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
|
|
7484
|
-
|
|
7608
|
+
declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
|
|
7609
|
+
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7610
|
+
import { PageType } from "libs/reach/util/common/src/index";
|
|
7611
|
+
export interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
7612
|
+
pageContextId?: string;
|
|
7613
|
+
restrictToPageContext?: boolean;
|
|
7614
|
+
rootPagesOnly?: boolean;
|
|
7615
|
+
parentId?: string;
|
|
7616
|
+
pageType?: PageType;
|
|
7485
7617
|
}
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7618
|
+
}
|
|
7619
|
+
declare module "libs/reach/feature/content/src/pages/usePagesApi" {
|
|
7620
|
+
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
7621
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7622
|
+
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
|
|
7623
|
+
export function usePagesApi(): {
|
|
7624
|
+
loadPage: (id: string) => Promise<PageItem>;
|
|
7625
|
+
loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
7626
|
+
getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
|
|
7627
|
+
getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7628
|
+
searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7629
|
+
getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7630
|
+
searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7631
|
+
getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
|
|
7632
|
+
searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
|
|
7633
|
+
};
|
|
7634
|
+
}
|
|
7635
|
+
declare module "libs/reach/feature/content/src/posts/utils" {
|
|
7636
|
+
import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
7637
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7638
|
+
export interface Post extends BaseItem, ItemWithAttachments {
|
|
7639
|
+
id: string;
|
|
7640
|
+
comments?: PaginatedList<Comment>;
|
|
7641
|
+
groupId: string;
|
|
7642
|
+
content: string;
|
|
7643
|
+
permalink?: string;
|
|
7644
|
+
author: Account;
|
|
7645
|
+
publishingDate: string;
|
|
7646
|
+
modified?: string;
|
|
7647
|
+
statistics: ItemStatistics;
|
|
7648
|
+
keywords?: {
|
|
7649
|
+
[key: string]: Keyword[];
|
|
7650
|
+
};
|
|
7651
|
+
contentLanguageCode?: string;
|
|
7652
|
+
isLiked?: boolean;
|
|
7653
|
+
isUnread?: boolean;
|
|
7654
|
+
isDemoContent?: boolean;
|
|
7655
|
+
isFollowing?: boolean;
|
|
7492
7656
|
}
|
|
7493
|
-
export interface
|
|
7494
|
-
|
|
7657
|
+
export interface PostFilterDefinition {
|
|
7658
|
+
token?: string;
|
|
7659
|
+
pageSize?: string;
|
|
7660
|
+
search?: string;
|
|
7661
|
+
keywords?: FilterWithLogicalOperator;
|
|
7495
7662
|
}
|
|
7663
|
+
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
7664
|
+
export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
|
|
7665
|
+
export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
|
|
7496
7666
|
}
|
|
7497
|
-
declare module "libs/reach/feature/content/src/
|
|
7498
|
-
import {
|
|
7499
|
-
import {
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
|
|
7504
|
-
|
|
7505
|
-
|
|
7667
|
+
declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
7668
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7669
|
+
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7670
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7671
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
7672
|
+
import { Post, PostFilterDefinition } from "libs/reach/feature/content/src/posts/utils";
|
|
7673
|
+
export function usePostsApi(): {
|
|
7674
|
+
createPost: (post: Partial<Post>) => Promise<Post>;
|
|
7675
|
+
togglePostLike: (postId: string, isLiked: boolean) => Promise<unknown>;
|
|
7676
|
+
getPosts: (filter?: Partial<PostFilterDefinition>, ...groupIds: string[]) => Promise<PaginatedList<Post>>;
|
|
7677
|
+
updatePost: (postId: string, content: string, attachments: Attachment[], keywords?: {
|
|
7678
|
+
[key: string]: Keyword[];
|
|
7679
|
+
}) => Promise<Post>;
|
|
7680
|
+
deletePost: (postId: string) => Promise<unknown>;
|
|
7681
|
+
getPost: (postId: string, commentCount?: number) => Promise<Post>;
|
|
7682
|
+
getPostThread: (postId: string, threadId: string) => Promise<Post>;
|
|
7683
|
+
translatePost: (postId: string, language: string) => Promise<string>;
|
|
7684
|
+
searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
|
|
7506
7685
|
};
|
|
7507
7686
|
}
|
|
7508
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7687
|
+
declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectValidator" {
|
|
7688
|
+
import { EmbeddedObject } from "libs/reach/util/common/src/index";
|
|
7689
|
+
export function useEmbeddedObjectValidator(): (embeddedObject: EmbeddedObject) => Promise<boolean>;
|
|
7690
|
+
}
|
|
7691
|
+
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
7692
|
+
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
7693
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7694
|
+
export interface ClientAttachment extends Attachment {
|
|
7695
|
+
file?: File;
|
|
7696
|
+
}
|
|
7697
|
+
export type Attachments = (Attachment | ClientAttachment)[];
|
|
7698
|
+
export type RichCommentInputProps = CommentInputProps & {
|
|
7699
|
+
attachments: Attachment[];
|
|
7700
|
+
deletedAttachmentUrls: string[];
|
|
7701
|
+
allowAttachments?: boolean;
|
|
7702
|
+
useLargeDropTarget?: boolean;
|
|
7703
|
+
disableDragAndDrop?: boolean;
|
|
7704
|
+
onAttachmentsChange: (attachments: Attachments) => void;
|
|
7705
|
+
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
7706
|
+
placeHolderStringResourceKey?: string;
|
|
7707
|
+
disableAddGif?: boolean;
|
|
7708
|
+
disableAddFiles?: boolean;
|
|
7709
|
+
parentId?: string;
|
|
7710
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
7711
|
+
};
|
|
7712
|
+
export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
|
|
7713
|
+
attachments: Attachment[];
|
|
7714
|
+
deletedAttachmentUrls: string[];
|
|
7715
|
+
allowAttachments?: boolean;
|
|
7716
|
+
useLargeDropTarget?: boolean;
|
|
7717
|
+
disableDragAndDrop?: boolean;
|
|
7718
|
+
onAttachmentsChange: (attachments: Attachments) => void;
|
|
7719
|
+
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
7720
|
+
placeHolderStringResourceKey?: string;
|
|
7721
|
+
disableAddGif?: boolean;
|
|
7722
|
+
disableAddFiles?: boolean;
|
|
7723
|
+
parentId?: string;
|
|
7724
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
7725
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7726
|
+
}
|
|
7727
|
+
declare module "libs/reach/feature/content/src/comments/utils" {
|
|
7728
|
+
import { Comment, Attachment, CurrentUser } from "libs/reach/util/common/src/index";
|
|
7729
|
+
export function canSaveInput(allowSaveWithoutContent: boolean, attachments: Attachment[], content: string): boolean;
|
|
7730
|
+
export function canDelete(comment: Comment, user: CurrentUser, groupIds: string[]): boolean;
|
|
7731
|
+
export function canEdit(comment: Comment, user: CurrentUser): boolean;
|
|
7732
|
+
}
|
|
7733
|
+
declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerator" {
|
|
7734
|
+
import { VideoInfo } from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
7735
|
+
export const getMicrosoftStreamEmbedVideoUrl: (id: string, autoPlay?: boolean) => string;
|
|
7736
|
+
export const getMicrosoftStreamVideoUrl: (id: string) => string;
|
|
7737
|
+
export class VideoElementGenerator {
|
|
7738
|
+
private videoInfo;
|
|
7739
|
+
private iframeAreaLabel;
|
|
7740
|
+
private autoplay?;
|
|
7741
|
+
private width?;
|
|
7742
|
+
private videoProperties?;
|
|
7743
|
+
constructor(videoInfo: VideoInfo, iframeAreaLabel: string, autoplay?: boolean, width?: string, videoProperties?: any);
|
|
7744
|
+
private getYouTubeVideoElement;
|
|
7745
|
+
private getVimeoVideoElement;
|
|
7746
|
+
private getExternalVimeoVideoElement;
|
|
7747
|
+
private getMicrosoftStreamVideoElement;
|
|
7748
|
+
private getKalturaVideoElement;
|
|
7749
|
+
private getGenericURLVideoElement;
|
|
7750
|
+
private getVideoElement;
|
|
7751
|
+
private getNotSupportedElement;
|
|
7752
|
+
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
7753
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
7754
|
+
}
|
|
7755
|
+
}
|
|
7756
|
+
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
7509
7757
|
import { FC } from 'react';
|
|
7510
|
-
import {
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
|
|
7514
|
-
|
|
7515
|
-
width: number;
|
|
7516
|
-
resourceType: ItemResourceTypes;
|
|
7517
|
-
token?: string;
|
|
7518
|
-
canOpenImage?: boolean;
|
|
7519
|
-
onPlayButtonClick?: () => unknown;
|
|
7520
|
-
height?: number;
|
|
7521
|
-
hidePlayerIfActive?: boolean;
|
|
7758
|
+
import { VideoInfo } from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
7759
|
+
export const VideoView: FC<{
|
|
7760
|
+
videoInfo: VideoInfo;
|
|
7761
|
+
autoplay?: boolean;
|
|
7762
|
+
width?: string;
|
|
7522
7763
|
className?: string;
|
|
7523
|
-
}
|
|
7524
|
-
export const PublishableItemBanner: FC<Props>;
|
|
7764
|
+
}>;
|
|
7525
7765
|
}
|
|
7526
|
-
declare module "libs/reach/feature/content/src/
|
|
7766
|
+
declare module "libs/reach/feature/content/src/forms/videos/InsertVideoDialog" {
|
|
7527
7767
|
import { FC } from 'react';
|
|
7528
|
-
import {
|
|
7529
|
-
export
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
|
|
7768
|
+
import { VideoSource } from "libs/reach/util/common/src/index";
|
|
7769
|
+
export interface VideoInfo {
|
|
7770
|
+
id: string;
|
|
7771
|
+
source: VideoSource;
|
|
7772
|
+
url?: string;
|
|
7773
|
+
isDirectUrl?: boolean;
|
|
7774
|
+
}
|
|
7775
|
+
export const InsertVideoDialog: FC<{
|
|
7776
|
+
titleResource: string;
|
|
7777
|
+
onCancel: () => void;
|
|
7778
|
+
onSave: (videoInfo: VideoInfo) => void;
|
|
7779
|
+
isOpen?: boolean;
|
|
7534
7780
|
}>;
|
|
7535
7781
|
}
|
|
7536
|
-
declare module "libs/reach/feature/content/src/
|
|
7782
|
+
declare module "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView" {
|
|
7537
7783
|
import { FC } from 'react';
|
|
7538
|
-
|
|
7539
|
-
|
|
7784
|
+
import { VideoInfo } from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
7785
|
+
export const VideoWithThumbnailView: FC<{
|
|
7786
|
+
videoInfo: VideoInfo;
|
|
7787
|
+
videoThumbnailUrl: string;
|
|
7788
|
+
className?: string;
|
|
7789
|
+
}>;
|
|
7790
|
+
}
|
|
7791
|
+
declare module "libs/reach/feature/content/src/posts/VideoList" {
|
|
7792
|
+
import { FC } from 'react';
|
|
7793
|
+
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7794
|
+
export const VideoList: FC<{
|
|
7795
|
+
attachments: Attachment[];
|
|
7796
|
+
onDeleteClick?: (video: Attachment) => void;
|
|
7797
|
+
className?: string;
|
|
7798
|
+
}>;
|
|
7799
|
+
}
|
|
7800
|
+
declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
7801
|
+
import { FC } from 'react';
|
|
7802
|
+
import { Keyword, PublishableItem } from "libs/reach/util/common/src/index";
|
|
7803
|
+
export interface KeywordsInfoProps {
|
|
7804
|
+
keywords: {
|
|
7805
|
+
[key: string]: Keyword[];
|
|
7806
|
+
};
|
|
7807
|
+
language?: string;
|
|
7808
|
+
filterBaseUrl?: string;
|
|
7809
|
+
onKeywordClick?: (keywordId: string) => void;
|
|
7810
|
+
className?: string;
|
|
7811
|
+
}
|
|
7812
|
+
export const KeywordsInfo: FC<KeywordsInfoProps>;
|
|
7813
|
+
export const KeywordsGroup: FC<{
|
|
7814
|
+
groupId: string;
|
|
7815
|
+
groupName: string;
|
|
7816
|
+
keywords: {
|
|
7817
|
+
[key: string]: Keyword[];
|
|
7818
|
+
};
|
|
7819
|
+
language?: string;
|
|
7820
|
+
filterBaseUrl?: string;
|
|
7821
|
+
onKeywordClick?: (keywordId: string) => void;
|
|
7822
|
+
className?: string;
|
|
7823
|
+
}>;
|
|
7824
|
+
export const FlatKeywords: FC<{
|
|
7825
|
+
item: PublishableItem;
|
|
7826
|
+
filterBaseUrl?: string;
|
|
7827
|
+
className?: string;
|
|
7828
|
+
useGridKeywordTitle?: boolean;
|
|
7829
|
+
onClick?: (keyword: string) => unknown;
|
|
7830
|
+
showAllKeywordsInCallout?: boolean;
|
|
7831
|
+
}>;
|
|
7832
|
+
}
|
|
7833
|
+
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7834
|
+
import { FC, MouseEvent } from 'react';
|
|
7835
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7836
|
+
import { LocationState } from 'history';
|
|
7837
|
+
export const ClickableOverlay: FC<{
|
|
7838
|
+
itemId: string;
|
|
7839
|
+
itemType: ItemResourceTypes;
|
|
7840
|
+
baseRoute: string;
|
|
7841
|
+
targetUrl?: string;
|
|
7842
|
+
title?: string;
|
|
7843
|
+
ariaLabelResourceKey?: string;
|
|
7844
|
+
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
7845
|
+
openTargetInNewWindow?: boolean;
|
|
7846
|
+
isExternalContent?: boolean;
|
|
7847
|
+
locationState?: LocationState;
|
|
7848
|
+
}>;
|
|
7849
|
+
}
|
|
7850
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
|
|
7851
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7852
|
+
import { FC } from 'react';
|
|
7853
|
+
export const ClickableOverlayWithModalRouting: FC<{
|
|
7854
|
+
itemId: string;
|
|
7855
|
+
itemType: ItemResourceTypes;
|
|
7856
|
+
baseRoute: string;
|
|
7857
|
+
title?: string;
|
|
7858
|
+
isExternalContent?: boolean;
|
|
7859
|
+
targetUrl?: string;
|
|
7860
|
+
}>;
|
|
7861
|
+
}
|
|
7862
|
+
declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
7863
|
+
import { FC } from 'react';
|
|
7864
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
7865
|
+
export const PostItemTile: FC<{
|
|
7866
|
+
post: Post;
|
|
7867
|
+
targetUrl?: string;
|
|
7868
|
+
readOnly?: boolean;
|
|
7869
|
+
backgroundColor?: string;
|
|
7870
|
+
enableModalRouting?: boolean;
|
|
7871
|
+
className?: string;
|
|
7872
|
+
}>;
|
|
7873
|
+
}
|
|
7874
|
+
declare module "libs/reach/feature/content/src/events/EventLocationLink" {
|
|
7875
|
+
import { FC } from 'react';
|
|
7876
|
+
import { EventLocation } from "libs/reach/util/common/src/index";
|
|
7877
|
+
export const EventLocationLink: FC<{
|
|
7878
|
+
location: EventLocation;
|
|
7879
|
+
alternativeCaption?: string;
|
|
7880
|
+
className?: string;
|
|
7881
|
+
}>;
|
|
7882
|
+
}
|
|
7883
|
+
declare module "libs/reach/feature/content/src/common/detail/events/EventPathContext" {
|
|
7884
|
+
export const EventPathContext: import("react").Context<{
|
|
7885
|
+
eventsRootPath?: string;
|
|
7886
|
+
}>;
|
|
7887
|
+
}
|
|
7888
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo" {
|
|
7889
|
+
import { FC } from 'react';
|
|
7890
|
+
import { EventItem, EventLocation } from "libs/reach/util/common/src/index";
|
|
7891
|
+
export const EventLocationInfo: FC<{
|
|
7892
|
+
locations: EventLocation[];
|
|
7893
|
+
className?: string;
|
|
7894
|
+
}>;
|
|
7895
|
+
export const EventPeopleInfo: FC<{
|
|
7896
|
+
item: EventItem;
|
|
7897
|
+
hideAnnouncer?: boolean;
|
|
7898
|
+
showFirstContactOnly?: boolean;
|
|
7899
|
+
labelResourceKey?: string;
|
|
7900
|
+
className?: string;
|
|
7901
|
+
}>;
|
|
7902
|
+
export const EventChannelsDisplay: FC<{
|
|
7903
|
+
item: EventItem;
|
|
7904
|
+
language: string;
|
|
7905
|
+
className?: string;
|
|
7906
|
+
allowFilterByChannels?: boolean;
|
|
7907
|
+
channelBackgroundColor?: string;
|
|
7908
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7909
|
+
}>;
|
|
7910
|
+
}
|
|
7911
|
+
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
7912
|
+
import { FC } from 'react';
|
|
7913
|
+
interface BannerImageProps {
|
|
7914
|
+
children?: any;
|
|
7915
|
+
className?: string;
|
|
7916
|
+
imageUrl: string;
|
|
7917
|
+
openImageUrl?: string;
|
|
7918
|
+
altText?: string;
|
|
7919
|
+
}
|
|
7920
|
+
export const BannerImage: FC<BannerImageProps>;
|
|
7921
|
+
}
|
|
7922
|
+
declare module "libs/reach/feature/content/src/common/banner/ImageDetail" {
|
|
7923
|
+
import { Observable } from 'rxjs';
|
|
7924
|
+
export type ImageVariant = 'original' | 'default';
|
|
7925
|
+
export interface ImageCreate {
|
|
7926
|
+
itemId: string;
|
|
7927
|
+
variant: ImageVariant;
|
|
7928
|
+
identifier: string;
|
|
7929
|
+
image: File;
|
|
7930
|
+
}
|
|
7931
|
+
export interface ImageMetaInfo {
|
|
7932
|
+
itemId: string;
|
|
7933
|
+
identifier: string;
|
|
7934
|
+
originalIdentifier?: string;
|
|
7935
|
+
extension: string;
|
|
7936
|
+
mimeType: string;
|
|
7937
|
+
}
|
|
7938
|
+
export interface ImageSaveEvent {
|
|
7939
|
+
(newImage: File, id: string, variant: ImageVariant): Observable<ImageMetaInfo>;
|
|
7940
|
+
}
|
|
7941
|
+
}
|
|
7942
|
+
declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi" {
|
|
7943
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7944
|
+
import { ImageCreate, ImageMetaInfo } from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
7945
|
+
export function useImageEditorApi(): {
|
|
7946
|
+
getImageInfo: (itemId: string, identifier: string, resourceType: ItemResourceTypes) => Promise<ImageMetaInfo>;
|
|
7947
|
+
getImageEditorUrl: (itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes) => Promise<string>;
|
|
7948
|
+
getOriginalImageEditorUrlWithToken: (token: string, itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes) => string;
|
|
7949
|
+
getImageEditorUrlWithToken: (token: string, itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes, width?: number, height?: number) => string;
|
|
7950
|
+
uploadImage: (subscriptionId: string, resourceType: ItemResourceTypes, newImage: ImageCreate) => Promise<ImageMetaInfo>;
|
|
7951
|
+
};
|
|
7952
|
+
}
|
|
7953
|
+
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
7954
|
+
import { FC } from 'react';
|
|
7955
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7956
|
+
interface Props {
|
|
7957
|
+
itemId: string;
|
|
7958
|
+
bannerInfo: BannerInfo;
|
|
7959
|
+
useEditorRoutes?: boolean;
|
|
7960
|
+
width: number;
|
|
7961
|
+
resourceType: ItemResourceTypes;
|
|
7962
|
+
token?: string;
|
|
7963
|
+
canOpenImage?: boolean;
|
|
7964
|
+
onPlayButtonClick?: () => unknown;
|
|
7965
|
+
height?: number;
|
|
7966
|
+
hidePlayerIfActive?: boolean;
|
|
7967
|
+
className?: string;
|
|
7968
|
+
documentIconName?: string;
|
|
7969
|
+
}
|
|
7970
|
+
export const PublishableItemBanner: FC<Props>;
|
|
7971
|
+
}
|
|
7972
|
+
declare module "libs/reach/feature/content/src/events/list/EventCardBanner" {
|
|
7973
|
+
import { FC } from 'react';
|
|
7974
|
+
import { EventItem } from "libs/reach/util/common/src/index";
|
|
7975
|
+
export const EventCardBanner: FC<{
|
|
7976
|
+
item: EventItem;
|
|
7977
|
+
bannerWidth: number;
|
|
7978
|
+
bannerHostDefaultWidth?: number;
|
|
7979
|
+
showPlaceholder?: boolean;
|
|
7980
|
+
}>;
|
|
7981
|
+
}
|
|
7982
|
+
declare module "libs/reach/feature/content/src/feedback/FeedbackCountButton" {
|
|
7983
|
+
import { FC } from 'react';
|
|
7984
|
+
interface CountButtonProps {
|
|
7985
|
+
count: number;
|
|
7540
7986
|
iconName: string;
|
|
7541
7987
|
activeIconName?: string;
|
|
7542
7988
|
feedbackType?: string;
|
|
@@ -7605,27 +8051,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7605
8051
|
}
|
|
7606
8052
|
export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
|
|
7607
8053
|
}
|
|
7608
|
-
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7609
|
-
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7610
|
-
export default interface FeedbackSummary {
|
|
7611
|
-
records: FeedbackItem[];
|
|
7612
|
-
}
|
|
7613
|
-
export enum FeedbackItemType {
|
|
7614
|
-
comment = "comment",
|
|
7615
|
-
like = "like",
|
|
7616
|
-
confirm = "confirm",
|
|
7617
|
-
poll = "poll",
|
|
7618
|
-
eventRegistration = "eventRegistration"
|
|
7619
|
-
}
|
|
7620
|
-
export interface FeedbackItem {
|
|
7621
|
-
type: FeedbackItemType;
|
|
7622
|
-
timestamp: string;
|
|
7623
|
-
}
|
|
7624
|
-
export interface PollFeedbackItem extends FeedbackItem {
|
|
7625
|
-
type: FeedbackItemType.poll;
|
|
7626
|
-
answers: PollQuestionAnswer[];
|
|
7627
|
-
}
|
|
7628
|
-
}
|
|
7629
8054
|
declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
|
|
7630
8055
|
import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7631
8056
|
import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
|
|
@@ -7644,6 +8069,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7644
8069
|
import { PrimaryButton } from 'office-ui-fabric-react';
|
|
7645
8070
|
export const EventRegistrationButton: FC<{
|
|
7646
8071
|
isRegistered: boolean;
|
|
8072
|
+
eventId: string;
|
|
7647
8073
|
disabled?: boolean;
|
|
7648
8074
|
className?: string;
|
|
7649
8075
|
onClick?: () => void;
|
|
@@ -7654,24 +8080,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7654
8080
|
isRegistered?: boolean;
|
|
7655
8081
|
}, never>;
|
|
7656
8082
|
}
|
|
7657
|
-
declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
|
|
7658
|
-
import { FC } from 'react';
|
|
7659
|
-
import { PublishableItemContents } from "libs/reach/util/common/src/index";
|
|
7660
|
-
export interface TranslationItem {
|
|
7661
|
-
language: string;
|
|
7662
|
-
id: string;
|
|
7663
|
-
text: string;
|
|
7664
|
-
}
|
|
7665
|
-
export const PollTranslationContext: import("react").Context<{
|
|
7666
|
-
getTranslation: (id: string) => string;
|
|
7667
|
-
getAllTranslations: (id: string) => TranslationItem[];
|
|
7668
|
-
}>;
|
|
7669
|
-
export const PollTranslationContextProvider: FC<{
|
|
7670
|
-
contents?: PublishableItemContents;
|
|
7671
|
-
language: string;
|
|
7672
|
-
additionalTranslations?: TranslationItem[];
|
|
7673
|
-
}>;
|
|
7674
|
-
}
|
|
7675
8083
|
declare module "libs/reach/feature/content/src/events/eventUtils" {
|
|
7676
8084
|
import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
|
|
7677
8085
|
import { MessageDescriptor } from 'react-intl';
|
|
@@ -7727,33 +8135,14 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7727
8135
|
onDismiss: () => unknown;
|
|
7728
8136
|
}>;
|
|
7729
8137
|
}
|
|
7730
|
-
declare module "libs/reach/feature/content/src/
|
|
7731
|
-
import {
|
|
7732
|
-
import
|
|
7733
|
-
import {
|
|
7734
|
-
|
|
7735
|
-
|
|
7736
|
-
|
|
7737
|
-
|
|
7738
|
-
[newsId: string]: Promise<FeedbackSummary>;
|
|
7739
|
-
};
|
|
7740
|
-
export function useFeedbackApi(): {
|
|
7741
|
-
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7742
|
-
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7743
|
-
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7744
|
-
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7745
|
-
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7746
|
-
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
7747
|
-
};
|
|
7748
|
-
}
|
|
7749
|
-
declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
|
|
7750
|
-
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7751
|
-
import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
|
|
7752
|
-
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
7753
|
-
export function useEventRegistrationApi(): {
|
|
7754
|
-
setEventRegistration: (itemId: string, response: EventResponse, pollAnswers?: PollQuestionAnswer[], locationId?: string, onBehalfOfUpn?: string) => Promise<unknown>;
|
|
7755
|
-
getEventRegistrationResults: (itemId: string) => Promise<EventRegistrationResult>;
|
|
7756
|
-
getParticipants: (eventId: string) => Promise<EventParticipant[]>;
|
|
8138
|
+
declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
|
|
8139
|
+
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
8140
|
+
import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
|
|
8141
|
+
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
8142
|
+
export function useEventRegistrationApi(): {
|
|
8143
|
+
setEventRegistration: (itemId: string, response: EventResponse, pollAnswers?: PollQuestionAnswer[], locationId?: string, onBehalfOfUpn?: string) => Promise<unknown>;
|
|
8144
|
+
getEventRegistrationResults: (itemId: string) => Promise<EventRegistrationResult>;
|
|
8145
|
+
getParticipants: (eventId: string) => Promise<EventParticipant[]>;
|
|
7757
8146
|
};
|
|
7758
8147
|
}
|
|
7759
8148
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
|
|
@@ -7821,11 +8210,6 @@ declare module "libs/reach/feature/content/src/feedback/LikeButton" {
|
|
|
7821
8210
|
className?: string;
|
|
7822
8211
|
}>;
|
|
7823
8212
|
}
|
|
7824
|
-
declare module "libs/reach/feature/content/src/feedback/utils" {
|
|
7825
|
-
import { FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7826
|
-
export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
|
|
7827
|
-
export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
|
|
7828
|
-
}
|
|
7829
8213
|
declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
7830
8214
|
import { ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
7831
8215
|
import { FC } from 'react';
|
|
@@ -7885,6 +8269,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
|
7885
8269
|
allowFilterByChannels?: boolean;
|
|
7886
8270
|
showFeedbackButtons?: boolean;
|
|
7887
8271
|
readOnly?: boolean;
|
|
8272
|
+
enableModalRouting?: boolean;
|
|
7888
8273
|
className?: string;
|
|
7889
8274
|
}>;
|
|
7890
8275
|
}
|
|
@@ -7935,7 +8320,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7935
8320
|
Contact = "contact",
|
|
7936
8321
|
InlinePageList = "inline-page-list",
|
|
7937
8322
|
UrlPreview = "url-preview",
|
|
7938
|
-
ActionButton = "action-button"
|
|
8323
|
+
ActionButton = "action-button",
|
|
8324
|
+
InlinePlugin = "inline-plugin"
|
|
7939
8325
|
}
|
|
7940
8326
|
export interface HtmlComponentMapper {
|
|
7941
8327
|
component: FC<any>;
|
|
@@ -7962,6 +8348,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7962
8348
|
resourceType: ItemResourceTypes;
|
|
7963
8349
|
item: TItem;
|
|
7964
8350
|
itemId: string;
|
|
8351
|
+
relatedItemIds?: string[];
|
|
7965
8352
|
contentLanguage: string;
|
|
7966
8353
|
userPreferredLanguage: string;
|
|
7967
8354
|
activeLanguages: string[];
|
|
@@ -8080,6 +8467,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
8080
8467
|
enableModalRouting?: boolean;
|
|
8081
8468
|
itemId?: string;
|
|
8082
8469
|
isOverrideLink: boolean;
|
|
8470
|
+
icon?: string;
|
|
8083
8471
|
}>;
|
|
8084
8472
|
}
|
|
8085
8473
|
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
@@ -8229,6 +8617,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
8229
8617
|
styleDefinition?: StyleDefinition;
|
|
8230
8618
|
readOnly?: boolean;
|
|
8231
8619
|
enableModalRouting?: boolean;
|
|
8620
|
+
highlight?: boolean;
|
|
8232
8621
|
className?: string;
|
|
8233
8622
|
}
|
|
8234
8623
|
export const NewsItemTile: FC<Props>;
|
|
@@ -8288,7 +8677,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
|
|
|
8288
8677
|
}
|
|
8289
8678
|
declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
8290
8679
|
import { FC } from 'react';
|
|
8291
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8680
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8292
8681
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
8293
8682
|
interface Props {
|
|
8294
8683
|
className?: string;
|
|
@@ -8298,6 +8687,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
|
8298
8687
|
previewTheme?: CommentInputTheme;
|
|
8299
8688
|
disableVideoPreview?: boolean;
|
|
8300
8689
|
disableEmbeddedObjectPreview?: boolean;
|
|
8690
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8691
|
+
parentId?: string;
|
|
8301
8692
|
}
|
|
8302
8693
|
export const AttachmentList: FC<Props>;
|
|
8303
8694
|
}
|
|
@@ -8314,6 +8705,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
8314
8705
|
placeHolderStringResourceKey?: string;
|
|
8315
8706
|
disableAddGif?: boolean;
|
|
8316
8707
|
disableAddFiles?: boolean;
|
|
8708
|
+
parentId?: string;
|
|
8709
|
+
itemResourceType?: string;
|
|
8317
8710
|
} & {
|
|
8318
8711
|
disableVideoPreview?: boolean;
|
|
8319
8712
|
disableEmbeddedObjectPreview?: boolean;
|
|
@@ -8383,7 +8776,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
|
|
|
8383
8776
|
}
|
|
8384
8777
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
8385
8778
|
import { FC } from 'react';
|
|
8386
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8779
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8387
8780
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8388
8781
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8389
8782
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
@@ -8415,6 +8808,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
8415
8808
|
};
|
|
8416
8809
|
disableBoxShadow?: boolean;
|
|
8417
8810
|
ariaLabel?: string;
|
|
8811
|
+
parentId?: string;
|
|
8812
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8418
8813
|
}
|
|
8419
8814
|
interface Props extends BaseProps {
|
|
8420
8815
|
allowAttachments?: boolean;
|
|
@@ -8432,6 +8827,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8432
8827
|
import { FC, ReactNode } from 'react';
|
|
8433
8828
|
export const InlineObjectToolbar: FC<{
|
|
8434
8829
|
onDelete?: () => void;
|
|
8830
|
+
deleteAriaLabelResourceKey?: string;
|
|
8435
8831
|
additionalButtons?: ReactNode;
|
|
8436
8832
|
}>;
|
|
8437
8833
|
export const InlineObjectToolbarWrapper: FC<{
|
|
@@ -8439,15 +8835,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8439
8835
|
}>;
|
|
8440
8836
|
}
|
|
8441
8837
|
declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
|
|
8442
|
-
import { FC } from 'react';
|
|
8838
|
+
import { FC, ReactNode } from 'react';
|
|
8839
|
+
import { ImageAlignment } from "libs/reach/util/common/src/index";
|
|
8443
8840
|
export const ImageToolbar: FC<{
|
|
8444
8841
|
onDelete?: () => void;
|
|
8445
8842
|
onFullScreen?: (e: React.MouseEvent<any>) => void;
|
|
8446
8843
|
onClose?: (e: React.MouseEvent<any>) => void;
|
|
8447
8844
|
onCrop?: (e: React.MouseEvent<any>) => void;
|
|
8845
|
+
onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
|
|
8448
8846
|
showFullScreenButton?: boolean;
|
|
8449
8847
|
showCloseButton?: boolean;
|
|
8450
8848
|
showCropButton?: boolean;
|
|
8849
|
+
alignmentButtons?: ReactNode;
|
|
8451
8850
|
}>;
|
|
8452
8851
|
}
|
|
8453
8852
|
declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
|
|
@@ -8474,14 +8873,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
|
|
|
8474
8873
|
}
|
|
8475
8874
|
export const InlineGalleryMapper: HtmlComponentMapper;
|
|
8476
8875
|
}
|
|
8477
|
-
declare module "libs/reach/feature/content/src/posts/LegacyPostPhotoGallery" {
|
|
8478
|
-
import { FC } from 'react';
|
|
8479
|
-
import { ImageDetails } from "libs/reach/util/common/src/index";
|
|
8480
|
-
export const LegacyPostPhotoGallery: FC<{
|
|
8481
|
-
images: ImageDetails[];
|
|
8482
|
-
imageUrlResolver: (imageId: string, width?: number, height?: number) => string;
|
|
8483
|
-
}>;
|
|
8484
|
-
}
|
|
8485
8876
|
declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
8486
8877
|
import { FC } from 'react';
|
|
8487
8878
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
@@ -8489,12 +8880,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
|
8489
8880
|
item: ItemWithAttachments;
|
|
8490
8881
|
basePath: string;
|
|
8491
8882
|
imagesGridBackgroundColor?: string;
|
|
8883
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
8884
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
8492
8885
|
className?: string;
|
|
8493
8886
|
}>;
|
|
8494
8887
|
}
|
|
8495
8888
|
declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
8496
8889
|
import { FC } from 'react';
|
|
8497
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8890
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8498
8891
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8499
8892
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8500
8893
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -8510,6 +8903,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
8510
8903
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
8511
8904
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8512
8905
|
ariaLabel?: string;
|
|
8906
|
+
parentId?: string;
|
|
8907
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8513
8908
|
}
|
|
8514
8909
|
interface Props extends BaseProps {
|
|
8515
8910
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -8618,8 +9013,9 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8618
9013
|
targetRoute: string;
|
|
8619
9014
|
itemResourceType: ItemResourceTypes;
|
|
8620
9015
|
enableModalRouting?: boolean;
|
|
9016
|
+
className?: string;
|
|
8621
9017
|
}>;
|
|
8622
|
-
export const CardFooterHost: import("styled-components").StyledComponent<"
|
|
9018
|
+
export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8623
9019
|
}
|
|
8624
9020
|
declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
|
|
8625
9021
|
export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -8668,7 +9064,9 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
|
|
|
8668
9064
|
target?: string;
|
|
8669
9065
|
language?: string;
|
|
8670
9066
|
hideCurrentPageNode?: boolean;
|
|
9067
|
+
homeTargetUrlOverride?: string;
|
|
8671
9068
|
className?: string;
|
|
9069
|
+
readonly?: boolean;
|
|
8672
9070
|
}>;
|
|
8673
9071
|
}
|
|
8674
9072
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
@@ -8728,6 +9126,7 @@ declare module "libs/reach/feature/content/src/pages/PageTocNode" {
|
|
|
8728
9126
|
hide?: boolean;
|
|
8729
9127
|
onPageSelected?: (pageId: string) => unknown;
|
|
8730
9128
|
selectedPageId?: string;
|
|
9129
|
+
readonly?: boolean;
|
|
8731
9130
|
}>;
|
|
8732
9131
|
}
|
|
8733
9132
|
declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
|
|
@@ -8744,6 +9143,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
|
|
|
8744
9143
|
selectedPageId?: string;
|
|
8745
9144
|
isLoading?: boolean;
|
|
8746
9145
|
disableScrollableList?: boolean;
|
|
9146
|
+
readonly?: boolean;
|
|
8747
9147
|
}>;
|
|
8748
9148
|
export const PageTableOfContentsInPanel: FC<{
|
|
8749
9149
|
basePath?: string;
|
|
@@ -8766,6 +9166,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog"
|
|
|
8766
9166
|
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8767
9167
|
onDismiss: () => void;
|
|
8768
9168
|
basePath: string;
|
|
9169
|
+
readonly?: boolean;
|
|
8769
9170
|
}>;
|
|
8770
9171
|
}
|
|
8771
9172
|
declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
|
|
@@ -8789,6 +9190,7 @@ declare module "libs/reach/feature/content/src/pages/PagesDetailViewNavigation"
|
|
|
8789
9190
|
activePageId: string;
|
|
8790
9191
|
navigationContext: PageNavigationContext;
|
|
8791
9192
|
className?: string;
|
|
9193
|
+
readonly?: boolean;
|
|
8792
9194
|
}
|
|
8793
9195
|
export const PagesDetailViewNavigation: FC<Props>;
|
|
8794
9196
|
}
|
|
@@ -8867,6 +9269,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
|
8867
9269
|
language?: string;
|
|
8868
9270
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8869
9271
|
clickableAvatar?: boolean;
|
|
9272
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8870
9273
|
}>;
|
|
8871
9274
|
}
|
|
8872
9275
|
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
@@ -8948,6 +9351,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
|
|
|
8948
9351
|
isLastPage: boolean;
|
|
8949
9352
|
unreadOnly?: boolean;
|
|
8950
9353
|
filter?: NewsFilterDefinition;
|
|
9354
|
+
activeChannel?: string;
|
|
8951
9355
|
}>;
|
|
8952
9356
|
}
|
|
8953
9357
|
declare module "libs/reach/feature/content/src/news/useTranslateApi" {
|
|
@@ -9009,6 +9413,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextPr
|
|
|
9009
9413
|
type?: ItemResourceTypes;
|
|
9010
9414
|
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
9011
9415
|
isEditorPreview?: boolean;
|
|
9416
|
+
relatedItemIds?: string[];
|
|
9012
9417
|
}>;
|
|
9013
9418
|
}
|
|
9014
9419
|
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
@@ -9022,6 +9427,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
|
9022
9427
|
}
|
|
9023
9428
|
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
9024
9429
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9430
|
+
export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
|
|
9025
9431
|
export const InlineImageMapper: HtmlComponentMapper;
|
|
9026
9432
|
}
|
|
9027
9433
|
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
@@ -9082,6 +9488,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
|
|
|
9082
9488
|
baseRoute: string;
|
|
9083
9489
|
filterBaseUrl?: string;
|
|
9084
9490
|
isInitialLoading?: boolean;
|
|
9491
|
+
readonly?: boolean;
|
|
9085
9492
|
}>;
|
|
9086
9493
|
}
|
|
9087
9494
|
declare module "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList" {
|
|
@@ -9109,6 +9516,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
|
|
|
9109
9516
|
pagingProps?: ListPagingProps;
|
|
9110
9517
|
filterBaseUrl?: string;
|
|
9111
9518
|
emptyListMessage: string;
|
|
9519
|
+
readonly?: boolean;
|
|
9112
9520
|
}>;
|
|
9113
9521
|
}
|
|
9114
9522
|
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
@@ -9240,6 +9648,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
|
|
|
9240
9648
|
}
|
|
9241
9649
|
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
9242
9650
|
}
|
|
9651
|
+
declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
|
|
9652
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9653
|
+
export const InlineObjectPluginMapper: HtmlComponentMapper;
|
|
9654
|
+
}
|
|
9243
9655
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
9244
9656
|
import { FC } from 'react';
|
|
9245
9657
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -9252,6 +9664,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9252
9664
|
import { FC } from 'react';
|
|
9253
9665
|
export const EventDetailViewMetaInfo: FC<{
|
|
9254
9666
|
allowFilterByChannels?: boolean;
|
|
9667
|
+
onChannelClick?: (channel: string) => unknown;
|
|
9255
9668
|
}>;
|
|
9256
9669
|
}
|
|
9257
9670
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
@@ -9295,6 +9708,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9295
9708
|
export const DetailViewCsvExportButton: FC<{
|
|
9296
9709
|
path: string;
|
|
9297
9710
|
stringResource: string;
|
|
9711
|
+
isReadOnly?: boolean;
|
|
9298
9712
|
className?: string;
|
|
9299
9713
|
}>;
|
|
9300
9714
|
}
|
|
@@ -9354,6 +9768,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9354
9768
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewResponseExportButton" {
|
|
9355
9769
|
import { FC } from 'react';
|
|
9356
9770
|
export const EventDetailViewResponseExportButton: FC<{
|
|
9771
|
+
isReadOnly?: boolean;
|
|
9357
9772
|
className?: string;
|
|
9358
9773
|
}>;
|
|
9359
9774
|
}
|
|
@@ -9366,8 +9781,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9366
9781
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewUserRegistration" {
|
|
9367
9782
|
import { FC } from 'react';
|
|
9368
9783
|
export const EventDetailViewUserRegistration: FC<{
|
|
9369
|
-
className?: string;
|
|
9370
9784
|
hideInfoMessage?: boolean;
|
|
9785
|
+
isReadOnly?: boolean;
|
|
9786
|
+
className?: string;
|
|
9371
9787
|
}>;
|
|
9372
9788
|
}
|
|
9373
9789
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
|
|
@@ -9408,7 +9824,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9408
9824
|
}
|
|
9409
9825
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationParticipantsLink" {
|
|
9410
9826
|
import { FC } from 'react';
|
|
9411
|
-
export const EventRegistrationParticipantsLink: FC
|
|
9827
|
+
export const EventRegistrationParticipantsLink: FC<{
|
|
9828
|
+
isReadOnly?: boolean;
|
|
9829
|
+
}>;
|
|
9412
9830
|
}
|
|
9413
9831
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistrationPoll" {
|
|
9414
9832
|
import { FC } from 'react';
|
|
@@ -9459,6 +9877,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
|
|
|
9459
9877
|
readOnly?: boolean;
|
|
9460
9878
|
trimContent?: boolean;
|
|
9461
9879
|
showReplyBox?: boolean;
|
|
9880
|
+
enableModalRouting?: boolean;
|
|
9462
9881
|
className?: string;
|
|
9463
9882
|
}>;
|
|
9464
9883
|
}
|
|
@@ -9481,6 +9900,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
|
9481
9900
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9482
9901
|
readOnly?: boolean;
|
|
9483
9902
|
trimContent?: boolean;
|
|
9903
|
+
enableModalRouting?: boolean;
|
|
9484
9904
|
className?: string;
|
|
9485
9905
|
}
|
|
9486
9906
|
export const CommentList: FC<CommentListProps>;
|
|
@@ -9540,6 +9960,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
|
|
|
9540
9960
|
showReplyBox?: boolean;
|
|
9541
9961
|
trimContent?: boolean;
|
|
9542
9962
|
title?: ReactNode;
|
|
9963
|
+
enableModalRouting?: boolean;
|
|
9543
9964
|
className?: string;
|
|
9544
9965
|
};
|
|
9545
9966
|
export const PagedCommentsSection: FC<Props>;
|
|
@@ -9564,23 +9985,18 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
|
|
|
9564
9985
|
}
|
|
9565
9986
|
declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
|
|
9566
9987
|
import { FC } from 'react';
|
|
9567
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9568
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9988
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9569
9989
|
export const PublishableItemComments: FC<{
|
|
9570
9990
|
item: PublishableItem;
|
|
9571
9991
|
readOnly?: boolean;
|
|
9572
9992
|
loadInReadOnlyMode?: boolean;
|
|
9573
9993
|
type: ItemResourceTypes;
|
|
9574
|
-
hideProfileUrl?: boolean;
|
|
9575
9994
|
disableLoginForPublicUser?: boolean;
|
|
9576
9995
|
}>;
|
|
9577
9996
|
}
|
|
9578
9997
|
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons" {
|
|
9579
|
-
import { FC } from 'react';
|
|
9580
|
-
import { ItemStatistics } from "libs/reach/util/common/src/index";
|
|
9581
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9582
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9583
|
-
import { Feedback } from "libs/reach/util/common/src/index";
|
|
9998
|
+
import { FC, ReactNode } from 'react';
|
|
9999
|
+
import { Feedback, ItemResourceTypes, ItemStatistics, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9584
10000
|
export const FeedbackButtonContext: import("react").Context<{
|
|
9585
10001
|
statistics: ItemStatistics;
|
|
9586
10002
|
item: PublishableItem;
|
|
@@ -9593,6 +10009,8 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
|
|
|
9593
10009
|
item: PublishableItem;
|
|
9594
10010
|
hasFeedbackEnabled: (feedbackType: Feedback) => boolean;
|
|
9595
10011
|
language: string;
|
|
10012
|
+
warningMessage?: ReactNode;
|
|
10013
|
+
buttons: ReactNode[];
|
|
9596
10014
|
className?: string;
|
|
9597
10015
|
}>;
|
|
9598
10016
|
}
|
|
@@ -9631,19 +10049,18 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
|
|
|
9631
10049
|
}>;
|
|
9632
10050
|
}
|
|
9633
10051
|
declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
|
|
9634
|
-
import { FC } from 'react';
|
|
9635
|
-
import { FeedbackSettings } from "libs/reach/util/common/src/index";
|
|
9636
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9637
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
10052
|
+
import { FC, ReactNode } from 'react';
|
|
10053
|
+
import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9638
10054
|
export const FeedbackSection: FC<{
|
|
9639
10055
|
item: PublishableItem;
|
|
10056
|
+
buttons: ReactNode[];
|
|
9640
10057
|
language: string;
|
|
9641
10058
|
type: ItemResourceTypes;
|
|
9642
10059
|
feedbackSettings: FeedbackSettings;
|
|
9643
10060
|
hideComments?: boolean;
|
|
9644
|
-
hideProfileUrl?: boolean;
|
|
9645
10061
|
disableLoginForPublicUser?: boolean;
|
|
9646
10062
|
isReadOnly?: boolean;
|
|
10063
|
+
warningMessage?: ReactNode;
|
|
9647
10064
|
className?: string;
|
|
9648
10065
|
}>;
|
|
9649
10066
|
}
|
|
@@ -9666,12 +10083,15 @@ declare module "libs/reach/feature/content/src/feedback/EventDownloadCalendarFil
|
|
|
9666
10083
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
9667
10084
|
export const EventDownloadCalendarFileButton: FC<{
|
|
9668
10085
|
item: EventItem;
|
|
10086
|
+
isReadOnly: boolean;
|
|
9669
10087
|
className?: string;
|
|
9670
10088
|
}>;
|
|
9671
10089
|
}
|
|
9672
10090
|
declare module "libs/reach/feature/content/src/feedback/buttons/EventFeedbackButtonDownloadCalendarFile" {
|
|
9673
10091
|
import { FC } from 'react';
|
|
9674
|
-
export const EventFeedbackButtonDownloadCalendarFile: FC
|
|
10092
|
+
export const EventFeedbackButtonDownloadCalendarFile: FC<{
|
|
10093
|
+
isReadOnly: boolean;
|
|
10094
|
+
}>;
|
|
9675
10095
|
}
|
|
9676
10096
|
declare module "libs/reach/feature/content/src/feedback/ShareButton" {
|
|
9677
10097
|
import { FC } from 'react';
|
|
@@ -9696,14 +10116,21 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
|
|
|
9696
10116
|
}
|
|
9697
10117
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
|
|
9698
10118
|
import { FC } from 'react';
|
|
9699
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
10119
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9700
10120
|
export const ConfirmationStatisticsExport: FC<{
|
|
9701
10121
|
item: PublishableItem;
|
|
10122
|
+
resourceType: ItemResourceTypes;
|
|
10123
|
+
isReadOnly?: boolean;
|
|
9702
10124
|
}>;
|
|
9703
10125
|
}
|
|
9704
10126
|
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonConfirmations" {
|
|
9705
10127
|
import { FC } from 'react';
|
|
9706
|
-
export const FeedbackButtonConfirmations: FC
|
|
10128
|
+
export const FeedbackButtonConfirmations: FC<{
|
|
10129
|
+
isReadOnly?: boolean;
|
|
10130
|
+
}>;
|
|
10131
|
+
}
|
|
10132
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackFollowButton" {
|
|
10133
|
+
export const FeedbackFollowButton: import("styled-components").StyledComponent<import("react").FC<import("libs/reach/feature/content/src/comments/FollowComments").Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
9707
10134
|
}
|
|
9708
10135
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection" {
|
|
9709
10136
|
import { FC } from 'react';
|
|
@@ -9808,6 +10235,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
|
9808
10235
|
layoutMode?: ItemTileLayoutMode;
|
|
9809
10236
|
bannerDefaultWidth?: number;
|
|
9810
10237
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
10238
|
+
documentIconName?: string;
|
|
9811
10239
|
}>;
|
|
9812
10240
|
}
|
|
9813
10241
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
@@ -9845,17 +10273,6 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9845
10273
|
isMobilePreview?: boolean;
|
|
9846
10274
|
}>;
|
|
9847
10275
|
}
|
|
9848
|
-
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
9849
|
-
import { FC, ReactNode } from 'react';
|
|
9850
|
-
export const GutterMarkerIcon: FC<{
|
|
9851
|
-
iconName: string;
|
|
9852
|
-
children: ReactNode;
|
|
9853
|
-
isActive: boolean;
|
|
9854
|
-
color: string;
|
|
9855
|
-
tooltipResourceKey?: string;
|
|
9856
|
-
className?: string;
|
|
9857
|
-
}>;
|
|
9858
|
-
}
|
|
9859
10276
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9860
10277
|
import { FC } from 'react';
|
|
9861
10278
|
export const DetailViewTitle: FC;
|
|
@@ -9878,24 +10295,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9878
10295
|
import { FC } from 'react';
|
|
9879
10296
|
export const DetailViewKeywords: FC<{
|
|
9880
10297
|
filterBaseUrl: string;
|
|
9881
|
-
|
|
9882
|
-
}
|
|
9883
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9884
|
-
import { FC } from 'react';
|
|
9885
|
-
export const ConfirmationBox: FC<{
|
|
9886
|
-
disabled?: boolean;
|
|
9887
|
-
onChange?: (value: boolean) => void;
|
|
9888
|
-
checked: boolean;
|
|
9889
|
-
}>;
|
|
9890
|
-
}
|
|
9891
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9892
|
-
import { FC } from 'react';
|
|
9893
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9894
|
-
export const ConfirmationSection: FC<{
|
|
9895
|
-
item?: NewsItem;
|
|
9896
|
-
showDescription: boolean;
|
|
9897
|
-
readOnly?: boolean;
|
|
9898
|
-
className?: string;
|
|
10298
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
9899
10299
|
}>;
|
|
9900
10300
|
}
|
|
9901
10301
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
@@ -9925,9 +10325,18 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9925
10325
|
import { FC, ReactNode } from 'react';
|
|
9926
10326
|
export const DetailViewNavigation: FC<{
|
|
9927
10327
|
offsetRight?: number;
|
|
9928
|
-
children?: ReactNode;
|
|
9929
10328
|
callout?: ReactNode;
|
|
10329
|
+
className?: string;
|
|
10330
|
+
children?: ReactNode;
|
|
9930
10331
|
}>;
|
|
10332
|
+
export const OffsetDetailViewNavigation: import("styled-components").StyledComponent<FC<{
|
|
10333
|
+
offsetRight?: number;
|
|
10334
|
+
callout?: ReactNode;
|
|
10335
|
+
className?: string;
|
|
10336
|
+
children?: ReactNode;
|
|
10337
|
+
}>, import("styled-components").DefaultTheme, {
|
|
10338
|
+
offsetRightOverride?: number;
|
|
10339
|
+
}, never>;
|
|
9931
10340
|
}
|
|
9932
10341
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9933
10342
|
import { FC } from 'react';
|
|
@@ -9969,598 +10378,234 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
|
|
|
9969
10378
|
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
9970
10379
|
};
|
|
9971
10380
|
}
|
|
9972
|
-
declare module "libs/reach/feature/content/src/common/
|
|
9973
|
-
|
|
9974
|
-
|
|
9975
|
-
|
|
9976
|
-
|
|
9977
|
-
|
|
9978
|
-
|
|
9979
|
-
|
|
9980
|
-
|
|
9981
|
-
|
|
9982
|
-
|
|
10381
|
+
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
10382
|
+
interface IClickHandles {
|
|
10383
|
+
onInsideClick: () => void;
|
|
10384
|
+
onOutsideClick: () => void;
|
|
10385
|
+
}
|
|
10386
|
+
export function useClickOutside<T extends HTMLElement>(componentInstanceId: string, { onInsideClick, onOutsideClick }: IClickHandles): import("react").MutableRefObject<T>;
|
|
10387
|
+
}
|
|
10388
|
+
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10389
|
+
import { FC } from 'react';
|
|
10390
|
+
export const GroupNotificationsSettings: FC<{
|
|
10391
|
+
groupId: string;
|
|
9983
10392
|
className?: string;
|
|
9984
10393
|
}>;
|
|
9985
10394
|
}
|
|
9986
|
-
declare module "libs/reach/feature/content/src/
|
|
9987
|
-
import { FC
|
|
9988
|
-
import {
|
|
9989
|
-
import {
|
|
9990
|
-
|
|
9991
|
-
|
|
9992
|
-
|
|
9993
|
-
|
|
9994
|
-
|
|
9995
|
-
|
|
9996
|
-
|
|
9997
|
-
|
|
9998
|
-
|
|
9999
|
-
|
|
10000
|
-
|
|
10001
|
-
|
|
10002
|
-
|
|
10003
|
-
|
|
10004
|
-
onContentClick?: () => void;
|
|
10005
|
-
contentRoute?: LocationDescriptor;
|
|
10006
|
-
badgeInfo?: number | boolean;
|
|
10007
|
-
title?: string;
|
|
10395
|
+
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10396
|
+
import { FC } from 'react';
|
|
10397
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10398
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10399
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10400
|
+
export interface PostCreatorProps {
|
|
10401
|
+
groupId: string;
|
|
10402
|
+
disabled?: boolean;
|
|
10403
|
+
disableDragAndDrop?: boolean;
|
|
10404
|
+
onBeforeSave?: (post: Post) => void;
|
|
10405
|
+
onSaved: (post: Post) => void;
|
|
10406
|
+
keywordSettings?: {
|
|
10407
|
+
availableKeywords?: Keyword[];
|
|
10408
|
+
defaultKeywords?: Keyword[];
|
|
10409
|
+
mandatoryKeywords?: Keyword[];
|
|
10410
|
+
};
|
|
10411
|
+
disableAutoFocus?: boolean;
|
|
10412
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
10008
10413
|
className?: string;
|
|
10009
10414
|
}
|
|
10010
|
-
export const
|
|
10415
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
10011
10416
|
}
|
|
10012
|
-
declare module "libs/reach/feature/content/src/
|
|
10417
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
10013
10418
|
import { FC } from 'react';
|
|
10014
|
-
import {
|
|
10015
|
-
|
|
10016
|
-
|
|
10017
|
-
|
|
10018
|
-
}
|
|
10019
|
-
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
10020
|
-
import { FC, ReactNode } from 'react';
|
|
10021
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
10022
|
-
import { LocationDescriptor } from 'history';
|
|
10023
|
-
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
10024
|
-
interface CommonSidebarItemProps {
|
|
10025
|
-
title?: string | JSX.Element;
|
|
10026
|
-
titleResource?: string;
|
|
10027
|
-
icon?: ReactNode;
|
|
10028
|
-
iconName?: string;
|
|
10029
|
-
iconTooltipResourceKey?: string;
|
|
10030
|
-
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
10031
|
-
secondaryIconName?: string;
|
|
10032
|
-
secondaryIconTooltipResourceKey?: string;
|
|
10033
|
-
iconColor?: string;
|
|
10034
|
-
reverse?: boolean;
|
|
10035
|
-
notHighlightable?: boolean;
|
|
10036
|
-
onClick?: () => void;
|
|
10419
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10420
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
10421
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10422
|
+
interface Props {
|
|
10037
10423
|
className?: string;
|
|
10038
|
-
|
|
10039
|
-
|
|
10040
|
-
|
|
10041
|
-
|
|
10042
|
-
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
10048
|
-
contentRoute?: LocationDescriptor;
|
|
10049
|
-
onIconClick?: () => void;
|
|
10050
|
-
iconRoute?: LocationDescriptor;
|
|
10051
|
-
onSecondaryIconClick?: () => void;
|
|
10052
|
-
secondaryIconRoute?: LocationDescriptor;
|
|
10053
|
-
isHoverable?: boolean;
|
|
10054
|
-
}
|
|
10055
|
-
export const SidebarItem: FC<SidebarItemProps>;
|
|
10056
|
-
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
10057
|
-
route: LocationDescriptor;
|
|
10058
|
-
exact?: boolean;
|
|
10059
|
-
linkClassName?: string;
|
|
10424
|
+
post: Post;
|
|
10425
|
+
initialPageSize?: number;
|
|
10426
|
+
comments?: PaginatedList<Comment>;
|
|
10427
|
+
autoFocusReplyField?: boolean;
|
|
10428
|
+
showReplyBox?: boolean;
|
|
10429
|
+
onReplyAdded: () => void;
|
|
10430
|
+
onReplyDeleted: () => void;
|
|
10431
|
+
trimContent?: boolean;
|
|
10432
|
+
enableModalRouting?: boolean;
|
|
10060
10433
|
}
|
|
10061
|
-
export const
|
|
10434
|
+
export const PostReplies: FC<Props>;
|
|
10062
10435
|
}
|
|
10063
|
-
declare module "libs/reach/feature/content/src/
|
|
10436
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
10064
10437
|
import { FC } from 'react';
|
|
10065
|
-
|
|
10066
|
-
|
|
10067
|
-
|
|
10438
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10439
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10440
|
+
export const PostEditor: FC<{
|
|
10068
10441
|
className?: string;
|
|
10442
|
+
post: Post;
|
|
10443
|
+
onCancel: () => void;
|
|
10444
|
+
onBeforeSave: (post: Post) => void;
|
|
10445
|
+
onSaved: (post: Post) => void;
|
|
10446
|
+
keywordSettings?: {
|
|
10447
|
+
availableKeywords?: Keyword[];
|
|
10448
|
+
defaultKeywords?: Keyword[];
|
|
10449
|
+
mandatoryKeywords?: Keyword[];
|
|
10450
|
+
};
|
|
10069
10451
|
}>;
|
|
10070
10452
|
}
|
|
10071
|
-
declare module "libs/reach/feature/content/src/
|
|
10453
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
10072
10454
|
import { FC } from 'react';
|
|
10073
|
-
export const
|
|
10074
|
-
|
|
10075
|
-
|
|
10076
|
-
className?: string;
|
|
10455
|
+
export const PostFollowButton: FC<{
|
|
10456
|
+
itemId: string;
|
|
10457
|
+
isFollowing: boolean;
|
|
10077
10458
|
}>;
|
|
10078
10459
|
}
|
|
10079
|
-
declare module "libs/reach/feature/content/src/
|
|
10460
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
10080
10461
|
import { FC } from 'react';
|
|
10081
|
-
import {
|
|
10082
|
-
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
selectedChannelIds?: string[];
|
|
10086
|
-
mandatoryChannelIds?: string[];
|
|
10087
|
-
availableChannels?: Channel[];
|
|
10088
|
-
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
10462
|
+
import { NavLink } from 'react-router-dom';
|
|
10463
|
+
export const PostGroup: FC<{
|
|
10464
|
+
groupId: string;
|
|
10465
|
+
target?: string;
|
|
10089
10466
|
className?: string;
|
|
10090
|
-
|
|
10091
|
-
|
|
10092
|
-
placeholder?: string;
|
|
10093
|
-
inlineControls?: boolean;
|
|
10094
|
-
required?: boolean;
|
|
10095
|
-
id?: string;
|
|
10096
|
-
showLogicalOperatorOptions?: boolean;
|
|
10097
|
-
selectedLogicalOperator?: LogicalOperator;
|
|
10098
|
-
}
|
|
10099
|
-
export const ChannelSelector: FC<Props>;
|
|
10100
|
-
}
|
|
10101
|
-
declare module "libs/reach/feature/content/src/common/index" {
|
|
10102
|
-
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
10103
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
10104
|
-
export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
|
|
10105
|
-
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
10106
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
10107
|
-
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
10108
|
-
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
10109
|
-
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
10110
|
-
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
10111
|
-
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
10112
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
10113
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
10114
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
10115
|
-
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
10116
|
-
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
10117
|
-
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
10118
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
10119
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
10120
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
10121
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
10122
|
-
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
10123
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
10124
|
-
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
10125
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
10126
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
10127
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
10128
|
-
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
10129
|
-
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
10130
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
10131
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
10132
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
10133
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
10134
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
10135
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
10136
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
10137
|
-
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
10138
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
10139
|
-
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
10140
|
-
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
10141
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
10142
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
10143
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
10144
|
-
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
10145
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
10146
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
10147
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
10148
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
10149
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
10150
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
10151
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
10152
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
10153
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
10154
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
10155
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
10156
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
10157
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
10158
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
10159
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
10160
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
10161
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
10162
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
10163
|
-
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
10164
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
10165
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
10166
|
-
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
10167
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
10168
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
10169
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
10170
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
10171
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
10172
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
10173
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
10174
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
10175
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
10176
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
10177
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
10178
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
10179
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
10180
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
10181
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
10182
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
10183
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
10184
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
10185
|
-
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
10186
|
-
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
10187
|
-
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
10188
|
-
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
10189
|
-
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
10190
|
-
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
10191
|
-
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
10192
|
-
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
10193
|
-
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
10194
|
-
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
10195
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
10196
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
10197
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
10198
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
10199
|
-
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
10200
|
-
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
10201
|
-
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
10202
|
-
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
10467
|
+
}>;
|
|
10468
|
+
export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
10203
10469
|
}
|
|
10204
|
-
declare module "libs/reach/feature/content/src/
|
|
10470
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
10205
10471
|
import { FC } from 'react';
|
|
10206
|
-
import {
|
|
10207
|
-
import {
|
|
10208
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
10472
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10473
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10209
10474
|
interface Props {
|
|
10210
|
-
|
|
10211
|
-
|
|
10212
|
-
message: Comment;
|
|
10213
|
-
showDelete?: boolean;
|
|
10214
|
-
showAutoTranslate?: boolean;
|
|
10215
|
-
showEdit?: boolean;
|
|
10216
|
-
onDelete?: (comment: Comment) => void;
|
|
10217
|
-
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
10218
|
-
scope: ConversationScope;
|
|
10219
|
-
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
10220
|
-
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
10221
|
-
highlight?: boolean;
|
|
10222
|
-
hasUnreadReplies?: boolean;
|
|
10223
|
-
onReplyIconClick?: () => void;
|
|
10224
|
-
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
10225
|
-
replyCount?: number;
|
|
10226
|
-
readOnly?: boolean;
|
|
10227
|
-
trimContent?: boolean;
|
|
10475
|
+
post: Post;
|
|
10476
|
+
targetUrl?: string;
|
|
10228
10477
|
className?: string;
|
|
10478
|
+
threadId?: string;
|
|
10479
|
+
onCustomPostDelete?: () => void;
|
|
10480
|
+
comments?: PaginatedList<Comment>;
|
|
10481
|
+
initialCommentsPageSize?: number;
|
|
10482
|
+
onThreadCommentDelete?: () => void;
|
|
10483
|
+
onThreadReply?: (threadId: string) => void;
|
|
10484
|
+
keywordSettings?: {
|
|
10485
|
+
availableKeywords?: Keyword[];
|
|
10486
|
+
defaultKeywords?: Keyword[];
|
|
10487
|
+
mandatoryKeywords?: Keyword[];
|
|
10488
|
+
};
|
|
10489
|
+
showGroup?: boolean;
|
|
10490
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
10491
|
+
onAfterDelete?: (id: string) => unknown;
|
|
10492
|
+
onItemClick?: (postId: string) => unknown;
|
|
10493
|
+
openTargetInNewWindow?: boolean;
|
|
10494
|
+
trimContent?: boolean;
|
|
10495
|
+
postGroupTargetUrl?: string;
|
|
10496
|
+
onKeywordClick?: (keywordId: string) => void;
|
|
10497
|
+
baseTargetUrl?: string;
|
|
10229
10498
|
}
|
|
10230
|
-
export const
|
|
10231
|
-
|
|
10232
|
-
declare module "libs/reach/feature/content/src/comments/index" {
|
|
10233
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
10234
|
-
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
10235
|
-
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
10236
|
-
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
10237
|
-
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
10238
|
-
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
10239
|
-
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
10240
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
10241
|
-
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
10242
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
10243
|
-
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
10244
|
-
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
10245
|
-
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
10246
|
-
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
10247
|
-
}
|
|
10248
|
-
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
10249
|
-
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
10250
|
-
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
10251
|
-
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
10252
|
-
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
10499
|
+
export const PostDisplay: FC<Props>;
|
|
10500
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
10253
10501
|
}
|
|
10254
|
-
declare module "libs/reach/feature/content/src/
|
|
10255
|
-
import { FC
|
|
10256
|
-
import {
|
|
10257
|
-
|
|
10258
|
-
|
|
10259
|
-
|
|
10260
|
-
|
|
10261
|
-
|
|
10262
|
-
onDismiss: () => void;
|
|
10263
|
-
availableKeywords?: Keyword[];
|
|
10264
|
-
mandatoryKeywordIds?: string[];
|
|
10265
|
-
}
|
|
10266
|
-
export const KeywordDialog: FC<Props>;
|
|
10267
|
-
export const StatefulKeywordPicker: FC<{
|
|
10268
|
-
preSelectedKeywords: Keyword[];
|
|
10269
|
-
availableKeywords?: Keyword[];
|
|
10270
|
-
mandatoryKeywordIds?: string[];
|
|
10271
|
-
showSelectionToggle?: boolean;
|
|
10272
|
-
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
10502
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10503
|
+
import { FC } from 'react';
|
|
10504
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10505
|
+
export const PostGroupsPicker: FC<{
|
|
10506
|
+
groups: UserGroup[];
|
|
10507
|
+
selectedGroupId: string;
|
|
10508
|
+
onGroupSelected?: (groupId: string) => unknown;
|
|
10509
|
+
className?: string;
|
|
10273
10510
|
}>;
|
|
10274
10511
|
}
|
|
10275
|
-
declare module "libs/reach/feature/content/src/
|
|
10276
|
-
import { FC
|
|
10277
|
-
export
|
|
10278
|
-
|
|
10279
|
-
placeholder?: string;
|
|
10280
|
-
readOnly?: boolean;
|
|
10281
|
-
onChange: (value: string) => void;
|
|
10512
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
10513
|
+
import { FC } from 'react';
|
|
10514
|
+
export const PostGroupSelector: FC<{
|
|
10515
|
+
onPostGroupClick?: (groupId: string) => void;
|
|
10282
10516
|
className?: string;
|
|
10283
|
-
|
|
10284
|
-
disabled?: boolean;
|
|
10285
|
-
noDebouncing?: boolean;
|
|
10286
|
-
value?: string;
|
|
10287
|
-
onIconClick?: () => void;
|
|
10288
|
-
onEnter?: () => void;
|
|
10289
|
-
icon?: string;
|
|
10290
|
-
disableNewLines?: boolean;
|
|
10291
|
-
autoFocus?: boolean;
|
|
10292
|
-
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
10293
|
-
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
10294
|
-
inputType?: string;
|
|
10295
|
-
}
|
|
10296
|
-
/**
|
|
10297
|
-
* Textarea that expands vertically to fit content.
|
|
10298
|
-
* If maxLength is given, also displays a count of remaining characters when focused
|
|
10299
|
-
*/
|
|
10300
|
-
export const Textarea: FC<TextareaProps>;
|
|
10517
|
+
}>;
|
|
10301
10518
|
}
|
|
10302
|
-
declare module "libs/reach/feature/content/src/
|
|
10303
|
-
import {
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10307
|
-
|
|
10308
|
-
|
|
10309
|
-
|
|
10310
|
-
|
|
10311
|
-
singleMode?: boolean;
|
|
10519
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10520
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10521
|
+
import { DocumentNode } from '@apollo/client';
|
|
10522
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10523
|
+
import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
10524
|
+
export enum StreamEventResponse {
|
|
10525
|
+
NotSet = "NOTSET",
|
|
10526
|
+
Registered = "REGISTERED",
|
|
10527
|
+
Declined = "DECLINED"
|
|
10312
10528
|
}
|
|
10313
|
-
export
|
|
10314
|
-
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
10315
|
-
isActive?: boolean;
|
|
10316
|
-
}, never>;
|
|
10317
|
-
}
|
|
10318
|
-
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
10319
|
-
import { FC } from 'react';
|
|
10320
|
-
interface Props {
|
|
10321
|
-
onInsert: (files: File[]) => void;
|
|
10322
|
-
accept?: string;
|
|
10323
|
-
captionKey?: string;
|
|
10324
|
-
descriptionKey?: string;
|
|
10529
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10325
10530
|
}
|
|
10326
|
-
export
|
|
10531
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10532
|
+
items: StreamItem[];
|
|
10533
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10534
|
+
loadMore: () => Promise<void>;
|
|
10535
|
+
pageInfo: {
|
|
10536
|
+
errors?: any;
|
|
10537
|
+
hasNextPage: boolean;
|
|
10538
|
+
skip: number;
|
|
10539
|
+
};
|
|
10540
|
+
refresh: () => Promise<void>;
|
|
10541
|
+
isLoadingFirstPage: boolean;
|
|
10542
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
10543
|
+
};
|
|
10544
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10545
|
+
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10546
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10547
|
+
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
10548
|
+
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
10549
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10550
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10551
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10552
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10553
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10554
|
+
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
10555
|
+
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
10556
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
10557
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10558
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10559
|
+
export const POST_ITEM_FIELDS: DocumentNode;
|
|
10327
10560
|
}
|
|
10328
|
-
declare module "libs/reach/feature/content/src/
|
|
10329
|
-
import {
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
maxDate?: string;
|
|
10333
|
-
minDate?: string;
|
|
10334
|
-
dateValidationResourceKey?: string;
|
|
10335
|
-
timeValidationResourceKey?: string;
|
|
10336
|
-
readOnly?: boolean;
|
|
10337
|
-
onChanged: (date: string, isValid: boolean) => void;
|
|
10338
|
-
noDateResourceKey: string;
|
|
10339
|
-
selectDateResourceKey: string;
|
|
10340
|
-
dateOnly?: boolean;
|
|
10341
|
-
initialPickerDate?: string;
|
|
10342
|
-
label?: string;
|
|
10343
|
-
isRequired?: boolean;
|
|
10344
|
-
className?: string;
|
|
10345
|
-
}
|
|
10346
|
-
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
10347
|
-
export default DateTimePicker;
|
|
10561
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
10562
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10563
|
+
import { DependencyList } from 'react';
|
|
10564
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
10348
10565
|
}
|
|
10349
|
-
declare module "libs/reach/feature/content/src/
|
|
10350
|
-
import
|
|
10351
|
-
export
|
|
10352
|
-
|
|
10353
|
-
|
|
10354
|
-
|
|
10355
|
-
|
|
10356
|
-
OneMonth = 4,
|
|
10357
|
-
SevenDays = 5,
|
|
10358
|
-
YesterDay = 6,
|
|
10359
|
-
Today = 7
|
|
10360
|
-
}
|
|
10361
|
-
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
10362
|
-
export function dateToDateRange(date: string | moment.Moment): number;
|
|
10363
|
-
export function dateRangeToDate(range: DateRange): Moment;
|
|
10566
|
+
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
10567
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10568
|
+
export function usePostKeywordSettings(): (group: UserGroup) => {
|
|
10569
|
+
availableKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10570
|
+
defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10571
|
+
mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10572
|
+
};
|
|
10364
10573
|
}
|
|
10365
|
-
declare module "libs/reach/feature/content/src/
|
|
10366
|
-
|
|
10367
|
-
|
|
10368
|
-
export
|
|
10369
|
-
|
|
10370
|
-
|
|
10371
|
-
|
|
10574
|
+
declare module "libs/reach/feature/content/src/posts/index" {
|
|
10575
|
+
export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
|
|
10576
|
+
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
10577
|
+
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
10578
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
|
|
10579
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
10580
|
+
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
10581
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
10582
|
+
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
10583
|
+
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
10584
|
+
export * from "libs/reach/feature/content/src/posts/utils";
|
|
10372
10585
|
}
|
|
10373
|
-
declare module "libs/reach/feature/content/src/
|
|
10374
|
-
import {
|
|
10375
|
-
import {
|
|
10376
|
-
import {
|
|
10377
|
-
|
|
10378
|
-
|
|
10379
|
-
|
|
10380
|
-
|
|
10381
|
-
|
|
10382
|
-
titleResource: string;
|
|
10383
|
-
intl?: WrappedComponentProps;
|
|
10384
|
-
selectionMode?: SelectionMode;
|
|
10385
|
-
allowMailItems?: boolean;
|
|
10386
|
-
accountType: AccountType;
|
|
10387
|
-
showDialog: boolean;
|
|
10388
|
-
allowEmptyValue: boolean;
|
|
10389
|
-
includePendingInvitationUsers?: boolean;
|
|
10390
|
-
placeholderStringResourceKey?: string;
|
|
10391
|
-
inputAriaLabelResourceKey: string;
|
|
10586
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10587
|
+
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";
|
|
10588
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10589
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10590
|
+
enum StreamItemTypes {
|
|
10591
|
+
Post = "POST",
|
|
10592
|
+
News = "NEWS",
|
|
10593
|
+
Event = "EVENT",
|
|
10594
|
+
Page = "PAGE"
|
|
10392
10595
|
}
|
|
10393
|
-
export
|
|
10394
|
-
|
|
10395
|
-
|
|
10396
|
-
|
|
10397
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
10398
|
-
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
10399
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
10400
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
10401
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
10402
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
10403
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
10404
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
10405
|
-
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
10406
|
-
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
10407
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
10408
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
10409
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
10410
|
-
}
|
|
10411
|
-
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10412
|
-
import { FC } from 'react';
|
|
10413
|
-
export const GroupNotificationsSettings: FC<{
|
|
10414
|
-
groupId: string;
|
|
10415
|
-
className?: string;
|
|
10416
|
-
}>;
|
|
10417
|
-
}
|
|
10418
|
-
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10419
|
-
import { FC } from 'react';
|
|
10420
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10421
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10422
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10423
|
-
export interface PostCreatorProps {
|
|
10424
|
-
groupId: string;
|
|
10425
|
-
disabled?: boolean;
|
|
10426
|
-
disableDragAndDrop?: boolean;
|
|
10427
|
-
onBeforeSave?: (post: Post) => void;
|
|
10428
|
-
onSaved: (post: Post) => void;
|
|
10429
|
-
keywordSettings?: {
|
|
10430
|
-
availableKeywords?: Keyword[];
|
|
10431
|
-
defaultKeywords?: Keyword[];
|
|
10432
|
-
mandatoryKeywords?: Keyword[];
|
|
10433
|
-
};
|
|
10434
|
-
disableAutoFocus?: boolean;
|
|
10435
|
-
attachmentPreviewTheme?: CommentInputTheme;
|
|
10436
|
-
className?: string;
|
|
10596
|
+
export enum StreamConversationScope {
|
|
10597
|
+
Public = "PUBLIC",
|
|
10598
|
+
Editor = "EDITOR",
|
|
10599
|
+
Posts = "POSTS"
|
|
10437
10600
|
}
|
|
10438
|
-
export
|
|
10439
|
-
|
|
10440
|
-
|
|
10441
|
-
|
|
10442
|
-
|
|
10443
|
-
|
|
10444
|
-
|
|
10445
|
-
|
|
10446
|
-
className?: string;
|
|
10447
|
-
post: Post;
|
|
10448
|
-
initialPageSize?: number;
|
|
10449
|
-
comments?: PaginatedList<Comment>;
|
|
10450
|
-
autoFocusReplyField?: boolean;
|
|
10451
|
-
showReplyBox?: boolean;
|
|
10452
|
-
onReplyAdded: () => void;
|
|
10453
|
-
onReplyDeleted: () => void;
|
|
10454
|
-
trimContent?: boolean;
|
|
10455
|
-
}
|
|
10456
|
-
export const PostReplies: FC<Props>;
|
|
10457
|
-
}
|
|
10458
|
-
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
10459
|
-
import { FC } from 'react';
|
|
10460
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10461
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10462
|
-
export const PostEditor: FC<{
|
|
10463
|
-
className?: string;
|
|
10464
|
-
post: Post;
|
|
10465
|
-
onCancel: () => void;
|
|
10466
|
-
onBeforeSave: (post: Post) => void;
|
|
10467
|
-
onSaved: (post: Post) => void;
|
|
10468
|
-
keywordSettings?: {
|
|
10469
|
-
availableKeywords?: Keyword[];
|
|
10470
|
-
defaultKeywords?: Keyword[];
|
|
10471
|
-
mandatoryKeywords?: Keyword[];
|
|
10472
|
-
};
|
|
10473
|
-
}>;
|
|
10474
|
-
}
|
|
10475
|
-
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
10476
|
-
import { FC } from 'react';
|
|
10477
|
-
export const PostFollowButton: FC<{
|
|
10478
|
-
itemId: string;
|
|
10479
|
-
isFollowing: boolean;
|
|
10480
|
-
}>;
|
|
10481
|
-
}
|
|
10482
|
-
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
10483
|
-
import { FC } from 'react';
|
|
10484
|
-
import { NavLink } from 'react-router-dom';
|
|
10485
|
-
export const PostGroup: FC<{
|
|
10486
|
-
groupId: string;
|
|
10487
|
-
target?: string;
|
|
10488
|
-
className?: string;
|
|
10489
|
-
}>;
|
|
10490
|
-
export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
10491
|
-
}
|
|
10492
|
-
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
10493
|
-
import { FC } from 'react';
|
|
10494
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10495
|
-
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10496
|
-
interface Props {
|
|
10497
|
-
post: Post;
|
|
10498
|
-
targetUrl?: string;
|
|
10499
|
-
className?: string;
|
|
10500
|
-
threadId?: string;
|
|
10501
|
-
onCustomPostDelete?: () => void;
|
|
10502
|
-
comments?: PaginatedList<Comment>;
|
|
10503
|
-
initialCommentsPageSize?: number;
|
|
10504
|
-
onThreadCommentDelete?: () => void;
|
|
10505
|
-
onThreadReply?: (threadId: string) => void;
|
|
10506
|
-
keywordSettings?: {
|
|
10507
|
-
availableKeywords?: Keyword[];
|
|
10508
|
-
defaultKeywords?: Keyword[];
|
|
10509
|
-
mandatoryKeywords?: Keyword[];
|
|
10510
|
-
};
|
|
10511
|
-
showGroup?: boolean;
|
|
10512
|
-
onBeforeDelete?: (id: string) => unknown;
|
|
10513
|
-
onAfterDelete?: (id: string) => unknown;
|
|
10514
|
-
onItemClick?: (postId: string) => unknown;
|
|
10515
|
-
openTargetInNewWindow?: boolean;
|
|
10516
|
-
trimContent?: boolean;
|
|
10517
|
-
postGroupTargetUrl?: string;
|
|
10518
|
-
onKeywordClick?: (keywordId: string) => void;
|
|
10519
|
-
baseTargetUrl?: string;
|
|
10520
|
-
}
|
|
10521
|
-
export const PostDisplay: FC<Props>;
|
|
10522
|
-
export const PostDisplayWithModalRouting: FC<Props>;
|
|
10523
|
-
}
|
|
10524
|
-
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10525
|
-
import { FC } from 'react';
|
|
10526
|
-
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10527
|
-
export const PostGroupsPicker: FC<{
|
|
10528
|
-
groups: UserGroup[];
|
|
10529
|
-
selectedGroupId: string;
|
|
10530
|
-
onGroupSelected?: (groupId: string) => unknown;
|
|
10531
|
-
className?: string;
|
|
10532
|
-
}>;
|
|
10533
|
-
}
|
|
10534
|
-
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
10535
|
-
import { FC } from 'react';
|
|
10536
|
-
export const PostGroupSelector: FC<{
|
|
10537
|
-
onPostGroupClick?: (groupId: string) => void;
|
|
10538
|
-
className?: string;
|
|
10539
|
-
}>;
|
|
10540
|
-
}
|
|
10541
|
-
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10542
|
-
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";
|
|
10543
|
-
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10544
|
-
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10545
|
-
enum StreamItemTypes {
|
|
10546
|
-
Post = "POST",
|
|
10547
|
-
News = "NEWS",
|
|
10548
|
-
Event = "EVENT",
|
|
10549
|
-
Page = "PAGE"
|
|
10550
|
-
}
|
|
10551
|
-
export enum StreamConversationScope {
|
|
10552
|
-
Public = "PUBLIC",
|
|
10553
|
-
Editor = "EDITOR",
|
|
10554
|
-
Posts = "POSTS"
|
|
10555
|
-
}
|
|
10556
|
-
export interface PostStreamItem extends Post {
|
|
10557
|
-
type: StreamItemTypes.Post;
|
|
10558
|
-
isUnread: boolean;
|
|
10559
|
-
keywordsList?: Keyword[];
|
|
10560
|
-
groupIds?: string[];
|
|
10561
|
-
postAttachments?: StreamAttachment[];
|
|
10562
|
-
postComments?: PaginatedList<StreamPostComment>;
|
|
10563
|
-
hasMoreUnreadComments: boolean;
|
|
10601
|
+
export interface PostStreamItem extends Post {
|
|
10602
|
+
type: StreamItemTypes.Post;
|
|
10603
|
+
isUnread: boolean;
|
|
10604
|
+
keywordsList?: Keyword[];
|
|
10605
|
+
groupIds?: string[];
|
|
10606
|
+
postAttachments?: StreamAttachment[];
|
|
10607
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10608
|
+
hasMoreUnreadComments: boolean;
|
|
10564
10609
|
}
|
|
10565
10610
|
export interface StreamPostComment extends Comment {
|
|
10566
10611
|
postCommentAttachments?: StreamAttachment[];
|
|
@@ -10756,7 +10801,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10756
10801
|
knownState: KnownNewsState;
|
|
10757
10802
|
hasNewComments?: boolean;
|
|
10758
10803
|
isLiked?: boolean;
|
|
10759
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10760
10804
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10761
10805
|
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10762
10806
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
@@ -10966,6 +11010,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10966
11010
|
isUnlinked?: boolean;
|
|
10967
11011
|
pageType?: PageType;
|
|
10968
11012
|
firstChildId?: string;
|
|
11013
|
+
isGroupInheritanceBroken?: boolean;
|
|
10969
11014
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10970
11015
|
id?: string;
|
|
10971
11016
|
versionId?: string;
|
|
@@ -11045,7 +11090,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11045
11090
|
knownState: KnownNewsState;
|
|
11046
11091
|
hasNewComments?: boolean;
|
|
11047
11092
|
isLiked?: boolean;
|
|
11048
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
11049
11093
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
11050
11094
|
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
11051
11095
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
@@ -11153,6 +11197,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11153
11197
|
isUnlinked?: boolean;
|
|
11154
11198
|
pageType?: PageType;
|
|
11155
11199
|
firstChildId?: string;
|
|
11200
|
+
isGroupInheritanceBroken?: boolean;
|
|
11156
11201
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
11157
11202
|
id?: string;
|
|
11158
11203
|
versionId?: string;
|
|
@@ -11276,7 +11321,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11276
11321
|
knownState: KnownNewsState;
|
|
11277
11322
|
hasNewComments?: boolean;
|
|
11278
11323
|
isLiked?: boolean;
|
|
11279
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
11280
11324
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
11281
11325
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
11282
11326
|
id?: string;
|
|
@@ -11351,6 +11395,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11351
11395
|
isUnlinked?: boolean;
|
|
11352
11396
|
pageType?: PageType;
|
|
11353
11397
|
firstChildId?: string;
|
|
11398
|
+
isGroupInheritanceBroken?: boolean;
|
|
11354
11399
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
11355
11400
|
id?: string;
|
|
11356
11401
|
versionId?: string;
|
|
@@ -11378,73 +11423,450 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11378
11423
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11379
11424
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11380
11425
|
})[];
|
|
11426
|
+
export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
|
|
11427
|
+
export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
|
|
11428
|
+
}
|
|
11429
|
+
declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
|
|
11430
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
11431
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11432
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
11433
|
+
export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, itemType?: ItemResourceTypes): void;
|
|
11434
|
+
export function useClearSearchSessionOnLeave(): void;
|
|
11435
|
+
}
|
|
11436
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
|
|
11437
|
+
import { LocationDescriptor } from 'history';
|
|
11438
|
+
import { FC, ReactNode } from 'react';
|
|
11439
|
+
export const SidebarIcon: FC<{
|
|
11440
|
+
icon?: ReactNode;
|
|
11441
|
+
iconName?: string;
|
|
11442
|
+
color?: string;
|
|
11443
|
+
onClick?: () => any;
|
|
11444
|
+
route?: LocationDescriptor;
|
|
11445
|
+
iconTooltipResourceKey: string;
|
|
11446
|
+
iconTooltipResourceValues?: any;
|
|
11447
|
+
className?: string;
|
|
11448
|
+
}>;
|
|
11449
|
+
}
|
|
11450
|
+
declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
|
|
11451
|
+
import { FC, ReactNode } from 'react';
|
|
11452
|
+
import { LocationDescriptor } from 'history';
|
|
11453
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11454
|
+
export interface BaseSidebarItemProps {
|
|
11455
|
+
children?: any;
|
|
11456
|
+
icon?: ReactNode;
|
|
11457
|
+
iconName?: string;
|
|
11458
|
+
iconTooltipResourceKey?: string;
|
|
11459
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11460
|
+
secondaryIconName?: string;
|
|
11461
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11462
|
+
reverse?: boolean;
|
|
11463
|
+
onIconClick?: () => void;
|
|
11464
|
+
iconRoute?: LocationDescriptor;
|
|
11465
|
+
iconColor?: string;
|
|
11466
|
+
onSecondaryIconClick?: () => void;
|
|
11467
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11468
|
+
onContentClick?: () => void;
|
|
11469
|
+
contentRoute?: LocationDescriptor;
|
|
11470
|
+
badgeInfo?: number | boolean;
|
|
11471
|
+
title?: string;
|
|
11472
|
+
className?: string;
|
|
11473
|
+
}
|
|
11474
|
+
export const BaseSidebarItem: FC<BaseSidebarItemProps>;
|
|
11475
|
+
}
|
|
11476
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
|
|
11477
|
+
import { FC } from 'react';
|
|
11478
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11479
|
+
export const SidebarItemSection: FC<{
|
|
11480
|
+
styleDefinition?: ColorStyleDefinition;
|
|
11481
|
+
}>;
|
|
11482
|
+
}
|
|
11483
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
11484
|
+
import { FC, ReactNode } from 'react';
|
|
11485
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11486
|
+
import { LocationDescriptor } from 'history';
|
|
11487
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11488
|
+
interface CommonSidebarItemProps {
|
|
11489
|
+
title?: string | JSX.Element;
|
|
11490
|
+
titleResource?: string;
|
|
11491
|
+
icon?: ReactNode;
|
|
11492
|
+
iconName?: string;
|
|
11493
|
+
iconTooltipResourceKey?: string;
|
|
11494
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11495
|
+
secondaryIconName?: string;
|
|
11496
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11497
|
+
iconColor?: string;
|
|
11498
|
+
reverse?: boolean;
|
|
11499
|
+
notHighlightable?: boolean;
|
|
11500
|
+
onClick?: () => void;
|
|
11501
|
+
className?: string;
|
|
11502
|
+
isActive?: boolean;
|
|
11503
|
+
activeClassName?: string;
|
|
11504
|
+
readOnly?: boolean;
|
|
11505
|
+
submenu?: JSX.Element;
|
|
11506
|
+
submenuClassName?: string;
|
|
11507
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
11508
|
+
badgeInfo?: number | boolean;
|
|
11509
|
+
domIdentifier?: string;
|
|
11510
|
+
}
|
|
11511
|
+
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
11512
|
+
contentRoute?: LocationDescriptor;
|
|
11513
|
+
onIconClick?: () => void;
|
|
11514
|
+
iconRoute?: LocationDescriptor;
|
|
11515
|
+
onSecondaryIconClick?: () => void;
|
|
11516
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11517
|
+
isHoverable?: boolean;
|
|
11518
|
+
}
|
|
11519
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
11520
|
+
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
11521
|
+
route: LocationDescriptor;
|
|
11522
|
+
exact?: boolean;
|
|
11523
|
+
linkClassName?: string;
|
|
11524
|
+
}
|
|
11525
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
11526
|
+
}
|
|
11527
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
11528
|
+
import { FC } from 'react';
|
|
11529
|
+
export const SidebarGroup: FC<{
|
|
11530
|
+
titleResource?: string;
|
|
11531
|
+
borderColor?: string;
|
|
11532
|
+
className?: string;
|
|
11533
|
+
}>;
|
|
11534
|
+
}
|
|
11535
|
+
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
11536
|
+
import { FC } from 'react';
|
|
11537
|
+
export const ContentWithShowMoreButton: FC<{
|
|
11538
|
+
domIdentifier: string;
|
|
11539
|
+
trimContent?: boolean;
|
|
11540
|
+
className?: string;
|
|
11541
|
+
}>;
|
|
11542
|
+
}
|
|
11543
|
+
declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
|
|
11544
|
+
import { FC } from 'react';
|
|
11545
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
11546
|
+
import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
11547
|
+
interface Props {
|
|
11548
|
+
selectedChannelNames?: string[];
|
|
11549
|
+
selectedChannelIds?: string[];
|
|
11550
|
+
mandatoryChannelIds?: string[];
|
|
11551
|
+
availableChannels?: Channel[];
|
|
11552
|
+
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
11553
|
+
className?: string;
|
|
11554
|
+
showOnlyUserChannels?: boolean;
|
|
11555
|
+
showSelectionToggle?: boolean;
|
|
11556
|
+
placeholder?: string;
|
|
11557
|
+
inlineControls?: boolean;
|
|
11558
|
+
required?: boolean;
|
|
11559
|
+
id?: string;
|
|
11560
|
+
showLogicalOperatorOptions?: boolean;
|
|
11561
|
+
selectedLogicalOperator?: LogicalOperator;
|
|
11562
|
+
}
|
|
11563
|
+
export const ChannelSelector: FC<Props>;
|
|
11564
|
+
}
|
|
11565
|
+
declare module "libs/reach/feature/content/src/common/index" {
|
|
11566
|
+
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
11567
|
+
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
11568
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
|
|
11569
|
+
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
11570
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
11571
|
+
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
11572
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
11573
|
+
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
11574
|
+
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
11575
|
+
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
11576
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
11577
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
11578
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
11579
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
11580
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
11581
|
+
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
11582
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
11583
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
11584
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
11585
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
11586
|
+
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
11587
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
11588
|
+
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
11589
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
11590
|
+
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
11591
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
11592
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
11593
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
11594
|
+
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
11595
|
+
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
11596
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
11597
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
11598
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
11599
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
11600
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
11601
|
+
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
11602
|
+
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
11603
|
+
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
11604
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
|
|
11605
|
+
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
11606
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
11607
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
11608
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
11609
|
+
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
11610
|
+
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
11611
|
+
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
11612
|
+
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
11613
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
11614
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
11615
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
11616
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
11617
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
11618
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
11619
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
11620
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
11621
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
11622
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
11623
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
11624
|
+
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
11625
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
11626
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
11627
|
+
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
11628
|
+
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
11629
|
+
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
11630
|
+
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
11631
|
+
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
11632
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
11633
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
11634
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
11635
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
11636
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
11637
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
11638
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
11639
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
11640
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
11641
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
11642
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
11643
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
11644
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
11645
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
11646
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
11647
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
11648
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
11649
|
+
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
11650
|
+
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
11651
|
+
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
11652
|
+
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
11653
|
+
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
11654
|
+
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
11655
|
+
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
11656
|
+
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
11657
|
+
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
11658
|
+
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
11659
|
+
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
|
|
11660
|
+
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
11661
|
+
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
11662
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
11663
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
11664
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
11665
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
11666
|
+
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
11667
|
+
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
11668
|
+
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
11669
|
+
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
11670
|
+
}
|
|
11671
|
+
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
11672
|
+
import { FC } from 'react';
|
|
11673
|
+
import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11674
|
+
interface Props {
|
|
11675
|
+
type?: ItemResourceTypes;
|
|
11676
|
+
baseAttachmentPath?: string;
|
|
11677
|
+
message: Comment;
|
|
11678
|
+
showDelete?: boolean;
|
|
11679
|
+
showAutoTranslate?: boolean;
|
|
11680
|
+
showEdit?: boolean;
|
|
11681
|
+
onDelete?: (comment: Comment) => void;
|
|
11682
|
+
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
11683
|
+
scope: ConversationScope;
|
|
11684
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
11685
|
+
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
11686
|
+
highlight?: boolean;
|
|
11687
|
+
hasUnreadReplies?: boolean;
|
|
11688
|
+
onReplyIconClick?: () => void;
|
|
11689
|
+
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
11690
|
+
replyCount?: number;
|
|
11691
|
+
readOnly?: boolean;
|
|
11692
|
+
trimContent?: boolean;
|
|
11693
|
+
enableModalRouting?: boolean;
|
|
11694
|
+
className?: string;
|
|
11695
|
+
}
|
|
11696
|
+
export const CommentDisplay: FC<Props>;
|
|
11381
11697
|
}
|
|
11382
|
-
declare module "libs/reach/feature/content/src/
|
|
11383
|
-
|
|
11384
|
-
|
|
11385
|
-
|
|
11386
|
-
|
|
11387
|
-
export
|
|
11388
|
-
|
|
11389
|
-
|
|
11390
|
-
|
|
11698
|
+
declare module "libs/reach/feature/content/src/comments/index" {
|
|
11699
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11700
|
+
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
11701
|
+
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
11702
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11703
|
+
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
11704
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11705
|
+
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
11706
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11707
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
11708
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11709
|
+
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
11710
|
+
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
11711
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
11712
|
+
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
11713
|
+
}
|
|
11714
|
+
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
11715
|
+
import { FC, ReactNode } from 'react';
|
|
11716
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
11717
|
+
interface Props {
|
|
11718
|
+
isOpen: boolean;
|
|
11719
|
+
preSelectedKeywords: Keyword[];
|
|
11720
|
+
onSave: (keywords: Keyword[]) => void;
|
|
11721
|
+
titleResource: string;
|
|
11722
|
+
onDismiss: () => void;
|
|
11723
|
+
availableKeywords?: Keyword[];
|
|
11724
|
+
mandatoryKeywordIds?: string[];
|
|
11391
11725
|
}
|
|
11392
|
-
export
|
|
11726
|
+
export const KeywordDialog: FC<Props>;
|
|
11727
|
+
export const StatefulKeywordPicker: FC<{
|
|
11728
|
+
preSelectedKeywords: Keyword[];
|
|
11729
|
+
availableKeywords?: Keyword[];
|
|
11730
|
+
mandatoryKeywordIds?: string[];
|
|
11731
|
+
showSelectionToggle?: boolean;
|
|
11732
|
+
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
11733
|
+
}>;
|
|
11734
|
+
}
|
|
11735
|
+
declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
11736
|
+
import { FC, MutableRefObject } from 'react';
|
|
11737
|
+
export interface TextareaProps {
|
|
11738
|
+
rows?: number;
|
|
11739
|
+
placeholder?: string;
|
|
11740
|
+
readOnly?: boolean;
|
|
11741
|
+
onChange: (value: string) => void;
|
|
11742
|
+
className?: string;
|
|
11743
|
+
defaultValue?: string;
|
|
11744
|
+
disabled?: boolean;
|
|
11745
|
+
noDebouncing?: boolean;
|
|
11746
|
+
value?: string;
|
|
11747
|
+
onIconClick?: () => void;
|
|
11748
|
+
onEnter?: () => void;
|
|
11749
|
+
icon?: string;
|
|
11750
|
+
disableNewLines?: boolean;
|
|
11751
|
+
autoFocus?: boolean;
|
|
11752
|
+
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
11753
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
11754
|
+
inputType?: string;
|
|
11393
11755
|
}
|
|
11394
|
-
|
|
11395
|
-
|
|
11396
|
-
|
|
11397
|
-
|
|
11398
|
-
|
|
11399
|
-
errors?: any;
|
|
11400
|
-
hasNextPage: boolean;
|
|
11401
|
-
skip: number;
|
|
11402
|
-
};
|
|
11403
|
-
refresh: () => Promise<void>;
|
|
11404
|
-
isLoadingFirstPage: boolean;
|
|
11405
|
-
refetchItem: (itemId: string) => Promise<void>;
|
|
11406
|
-
};
|
|
11407
|
-
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11408
|
-
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11409
|
-
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11410
|
-
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
11411
|
-
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
11412
|
-
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
11413
|
-
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
11414
|
-
export const OWNER_CONDITION: (owner: string) => string;
|
|
11415
|
-
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
11416
|
-
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
11417
|
-
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
11418
|
-
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
11419
|
-
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
11420
|
-
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
11421
|
-
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
11422
|
-
export const POST_ITEM_FIELDS: DocumentNode;
|
|
11756
|
+
/**
|
|
11757
|
+
* Textarea that expands vertically to fit content.
|
|
11758
|
+
* If maxLength is given, also displays a count of remaining characters when focused
|
|
11759
|
+
*/
|
|
11760
|
+
export const Textarea: FC<TextareaProps>;
|
|
11423
11761
|
}
|
|
11424
|
-
declare module "libs/reach/feature/content/src/
|
|
11425
|
-
import {
|
|
11426
|
-
|
|
11427
|
-
|
|
11762
|
+
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
11763
|
+
import { FC } from 'react';
|
|
11764
|
+
interface Props {
|
|
11765
|
+
onInsert: (files: File[]) => void;
|
|
11766
|
+
accept?: string;
|
|
11767
|
+
captionKey?: string;
|
|
11768
|
+
captionIconName?: string;
|
|
11769
|
+
descriptionKey?: string;
|
|
11770
|
+
descriptionIconName?: string;
|
|
11771
|
+
singleMode?: boolean;
|
|
11772
|
+
}
|
|
11773
|
+
export const InsertFilesButton: FC<Props>;
|
|
11774
|
+
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11775
|
+
isActive?: boolean;
|
|
11776
|
+
}, never>;
|
|
11428
11777
|
}
|
|
11429
|
-
declare module "libs/reach/feature/content/src/
|
|
11430
|
-
import {
|
|
11431
|
-
|
|
11432
|
-
|
|
11433
|
-
|
|
11434
|
-
|
|
11435
|
-
|
|
11778
|
+
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
11779
|
+
import { FC } from 'react';
|
|
11780
|
+
interface Props {
|
|
11781
|
+
onInsert: (files: File[]) => void;
|
|
11782
|
+
accept?: string;
|
|
11783
|
+
captionKey?: string;
|
|
11784
|
+
descriptionKey?: string;
|
|
11785
|
+
}
|
|
11786
|
+
export const InsertImagesButton: FC<Props>;
|
|
11436
11787
|
}
|
|
11437
|
-
declare module "libs/reach/feature/content/src/
|
|
11438
|
-
|
|
11439
|
-
|
|
11440
|
-
|
|
11441
|
-
|
|
11442
|
-
|
|
11443
|
-
|
|
11444
|
-
|
|
11445
|
-
|
|
11446
|
-
|
|
11447
|
-
|
|
11788
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
11789
|
+
import { FC } from 'react';
|
|
11790
|
+
interface DateTimePickerProps {
|
|
11791
|
+
date: string;
|
|
11792
|
+
maxDate?: string;
|
|
11793
|
+
minDate?: string;
|
|
11794
|
+
dateValidationResourceKey?: string;
|
|
11795
|
+
timeValidationResourceKey?: string;
|
|
11796
|
+
readOnly?: boolean;
|
|
11797
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
11798
|
+
noDateResourceKey: string;
|
|
11799
|
+
selectDateResourceKey: string;
|
|
11800
|
+
dateOnly?: boolean;
|
|
11801
|
+
initialPickerDate?: string;
|
|
11802
|
+
label?: string;
|
|
11803
|
+
isRequired?: boolean;
|
|
11804
|
+
className?: string;
|
|
11805
|
+
}
|
|
11806
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
11807
|
+
export default DateTimePicker;
|
|
11808
|
+
}
|
|
11809
|
+
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
11810
|
+
import moment, { Moment } from 'moment';
|
|
11811
|
+
export enum DateRange {
|
|
11812
|
+
TwoYears = 0,
|
|
11813
|
+
OneYear = 1,
|
|
11814
|
+
SixMonths = 2,
|
|
11815
|
+
TwoMonths = 3,
|
|
11816
|
+
OneMonth = 4,
|
|
11817
|
+
SevenDays = 5,
|
|
11818
|
+
YesterDay = 6,
|
|
11819
|
+
Today = 7
|
|
11820
|
+
}
|
|
11821
|
+
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
11822
|
+
export function dateToDateRange(date: string | moment.Moment): number;
|
|
11823
|
+
export function dateRangeToDate(range: DateRange): Moment;
|
|
11824
|
+
}
|
|
11825
|
+
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
11826
|
+
import { FC } from 'react';
|
|
11827
|
+
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
11828
|
+
export const DateRangeSlider: FC<{
|
|
11829
|
+
value?: DateRange;
|
|
11830
|
+
onChange: (range: DateRange) => unknown;
|
|
11831
|
+
}>;
|
|
11832
|
+
}
|
|
11833
|
+
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
11834
|
+
import { FC } from 'react';
|
|
11835
|
+
import { WrappedComponentProps } from 'react-intl';
|
|
11836
|
+
import { SelectionMode } from 'office-ui-fabric-react';
|
|
11837
|
+
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
11838
|
+
interface PeoplePickerDialogProps {
|
|
11839
|
+
defaultSelectedItems: Account[];
|
|
11840
|
+
onChange: (items: Account[]) => void;
|
|
11841
|
+
onDismiss: () => void;
|
|
11842
|
+
titleResource: string;
|
|
11843
|
+
intl?: WrappedComponentProps;
|
|
11844
|
+
selectionMode?: SelectionMode;
|
|
11845
|
+
allowMailItems?: boolean;
|
|
11846
|
+
accountType: AccountType;
|
|
11847
|
+
showDialog: boolean;
|
|
11848
|
+
allowEmptyValue: boolean;
|
|
11849
|
+
includePendingInvitationUsers?: boolean;
|
|
11850
|
+
placeholderStringResourceKey?: string;
|
|
11851
|
+
inputAriaLabelResourceKey: string;
|
|
11852
|
+
}
|
|
11853
|
+
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
11854
|
+
}
|
|
11855
|
+
declare module "libs/reach/feature/content/src/forms/index" {
|
|
11856
|
+
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
11857
|
+
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
11858
|
+
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
11859
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
11860
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
11861
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
11862
|
+
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
11863
|
+
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
11864
|
+
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
11865
|
+
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
11866
|
+
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
11867
|
+
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
11868
|
+
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
11869
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
11448
11870
|
}
|
|
11449
11871
|
declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
11450
11872
|
import { FC, ReactNode } from 'react';
|
|
@@ -11541,8 +11963,8 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
|
11541
11963
|
declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
|
|
11542
11964
|
export type ShareTokenType = 'preview' | 'published';
|
|
11543
11965
|
export function useShareTokenEditorApi(): {
|
|
11544
|
-
activateShareToken: (
|
|
11545
|
-
deleteShareToken: (
|
|
11966
|
+
activateShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<string>;
|
|
11967
|
+
deleteShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<unknown>;
|
|
11546
11968
|
};
|
|
11547
11969
|
}
|
|
11548
11970
|
declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
@@ -11553,9 +11975,9 @@ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
|
11553
11975
|
cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
|
|
11554
11976
|
uncancelEvent: (id: string) => Promise<unknown>;
|
|
11555
11977
|
unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
|
|
11556
|
-
deleteEventPermanently: (eventId: string) =>
|
|
11978
|
+
deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11557
11979
|
saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
|
|
11558
|
-
deleteModifiedRecurrence: (eventId: string) =>
|
|
11980
|
+
deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11559
11981
|
};
|
|
11560
11982
|
}
|
|
11561
11983
|
declare module "libs/reach/feature/content/src/editor/index" {
|
|
@@ -11594,12 +12016,14 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
|
11594
12016
|
event: EventStreamItem;
|
|
11595
12017
|
}>;
|
|
11596
12018
|
}
|
|
12019
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
12020
|
+
import { FC } from 'react';
|
|
12021
|
+
export const GlobalSearchButton: FC<{
|
|
12022
|
+
className?: string;
|
|
12023
|
+
}>;
|
|
12024
|
+
}
|
|
11597
12025
|
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11598
12026
|
import { FC, ReactNode } from 'react';
|
|
11599
|
-
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11600
|
-
export type StreamQueryResult = {
|
|
11601
|
-
items: StreamItem[];
|
|
11602
|
-
};
|
|
11603
12027
|
export const StreamList: FC<{
|
|
11604
12028
|
emptySearchResultButton?: ReactNode;
|
|
11605
12029
|
}>;
|
|
@@ -11661,12 +12085,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
|
|
|
11661
12085
|
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
11662
12086
|
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
11663
12087
|
}
|
|
11664
|
-
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11665
|
-
import { FC } from 'react';
|
|
11666
|
-
export const GlobalSearchButton: FC<{
|
|
11667
|
-
className?: string;
|
|
11668
|
-
}>;
|
|
11669
|
-
}
|
|
11670
12088
|
declare module "libs/reach/feature/content/src/search/index" {
|
|
11671
12089
|
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11672
12090
|
}
|
|
@@ -12108,6 +12526,30 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
|
|
|
12108
12526
|
}) => string;
|
|
12109
12527
|
};
|
|
12110
12528
|
}
|
|
12529
|
+
declare module "apps/reach-app/src/app/analytics/useSessionStorage" {
|
|
12530
|
+
import { Dispatch } from 'react';
|
|
12531
|
+
export const useSessionStorage: (key: string, defaultValue?: string) => [string, Dispatch<string>];
|
|
12532
|
+
}
|
|
12533
|
+
declare module "apps/reach-app/src/app/analytics/DashboardPage" {
|
|
12534
|
+
import { FC } from 'react';
|
|
12535
|
+
export interface Dashboard {
|
|
12536
|
+
name: string;
|
|
12537
|
+
title: string;
|
|
12538
|
+
url: string;
|
|
12539
|
+
}
|
|
12540
|
+
export const DashboardPage: FC<{
|
|
12541
|
+
dashboard: Dashboard;
|
|
12542
|
+
}>;
|
|
12543
|
+
}
|
|
12544
|
+
declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
|
|
12545
|
+
import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
|
|
12546
|
+
export function useDashboards(): Dashboard[];
|
|
12547
|
+
export function hasDashboards(): boolean;
|
|
12548
|
+
}
|
|
12549
|
+
declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
|
|
12550
|
+
import { FC } from 'react';
|
|
12551
|
+
export const AnalyticsSidebarMenu: FC;
|
|
12552
|
+
}
|
|
12111
12553
|
declare module "apps/reach-app/src/app/chrome/PageMenu" {
|
|
12112
12554
|
import { FC } from 'react';
|
|
12113
12555
|
interface Props {
|