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