@livetiles/reach-plugin-types 0.5.0-preview.40 → 0.5.0-preview.400
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 +1935 -1506
- 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, VideoSource } from "libs/shared/util/environment/src/AppConfiguration";
|
|
272
292
|
export interface ClientConfig {
|
|
273
293
|
maxFileSizeInMb: number;
|
|
274
294
|
unsplash: {
|
|
@@ -286,9 +306,13 @@ declare module "libs/shared/util/environment/src/ClientConfig" {
|
|
|
286
306
|
giphy: {
|
|
287
307
|
apiKey: string;
|
|
288
308
|
};
|
|
309
|
+
analytics: AnalyticsConfig;
|
|
310
|
+
configType: ConfigType;
|
|
311
|
+
additionalVideoSources: VideoSource[];
|
|
289
312
|
}
|
|
290
313
|
}
|
|
291
314
|
declare module "libs/shared/util/environment/src/EnvironmentConfig" {
|
|
315
|
+
import { DeviceInfo } from '@capacitor/device';
|
|
292
316
|
export interface EnvironmentConfig {
|
|
293
317
|
isCustomerBuild: boolean;
|
|
294
318
|
isProduction: boolean;
|
|
@@ -306,11 +330,7 @@ declare module "libs/shared/util/environment/src/EnvironmentConfig" {
|
|
|
306
330
|
buildId: string;
|
|
307
331
|
useAzureAdFunctionality: boolean;
|
|
308
332
|
envName: string;
|
|
309
|
-
|
|
310
|
-
type OperatingSystem = 'ios' | 'android' | 'windows' | 'mac' | 'unknown';
|
|
311
|
-
interface DeviceInfo {
|
|
312
|
-
platform: 'ios' | 'android' | 'web';
|
|
313
|
-
operatingSystem: OperatingSystem;
|
|
333
|
+
mobileTeamsHost?: string;
|
|
314
334
|
}
|
|
315
335
|
}
|
|
316
336
|
declare module "libs/shared/util/environment/src/environment" {
|
|
@@ -322,6 +342,7 @@ declare module "libs/shared/util/environment/src/environment" {
|
|
|
322
342
|
export function setAppConfig(newValue: AppConfiguration & ClientConfig): void;
|
|
323
343
|
}
|
|
324
344
|
declare module "libs/shared/util/environment/src/EnvironmentContext" {
|
|
345
|
+
import { VideoSource } from "libs/shared/util/environment/src/AppConfiguration";
|
|
325
346
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/EnvironmentConfig";
|
|
326
347
|
interface AppConfig {
|
|
327
348
|
apiEndpoint: string;
|
|
@@ -329,6 +350,7 @@ declare module "libs/shared/util/environment/src/EnvironmentContext" {
|
|
|
329
350
|
webSocketsEndpoint: string;
|
|
330
351
|
webAppUrl: string;
|
|
331
352
|
additionalWebAppUrls?: string[];
|
|
353
|
+
additionalVideoSources?: VideoSource[];
|
|
332
354
|
}
|
|
333
355
|
export type EnvironmentContextType = {
|
|
334
356
|
env: EnvironmentConfig;
|
|
@@ -1425,6 +1447,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1425
1447
|
customDomain?: string;
|
|
1426
1448
|
allowSelfRegistration?: boolean;
|
|
1427
1449
|
brandFolderConfig?: BrandFolderConfig;
|
|
1450
|
+
hideSubscriptionName?: boolean;
|
|
1428
1451
|
}
|
|
1429
1452
|
export interface BrandFolderConfig {
|
|
1430
1453
|
sections?: string[];
|
|
@@ -1501,9 +1524,21 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1501
1524
|
subscriptionId: string;
|
|
1502
1525
|
subscriptionName: string;
|
|
1503
1526
|
}
|
|
1504
|
-
export
|
|
1505
|
-
|
|
1506
|
-
|
|
1527
|
+
export enum ExtensionArea {
|
|
1528
|
+
global = "Global",
|
|
1529
|
+
page = "Page",
|
|
1530
|
+
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
1531
|
+
eventDetailViewSection = "EventDetailViewSection",
|
|
1532
|
+
itemEditor = "ItemEditor",
|
|
1533
|
+
newsEditorFeedbackSection = "NewsEditorFeedbackSection",
|
|
1534
|
+
newsOverviewCardSection = "NewsOverviewCardSection"
|
|
1535
|
+
}
|
|
1536
|
+
export type InlinePlugin = {
|
|
1537
|
+
area: ExtensionArea.itemEditor;
|
|
1538
|
+
objectButton: PluginObjectButton;
|
|
1539
|
+
};
|
|
1540
|
+
export type PagePlugin = {
|
|
1541
|
+
area: ExtensionArea.page;
|
|
1507
1542
|
route: string;
|
|
1508
1543
|
navigationNode?: {
|
|
1509
1544
|
componentName?: string;
|
|
@@ -1513,7 +1548,20 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1513
1548
|
[key: string]: string;
|
|
1514
1549
|
};
|
|
1515
1550
|
};
|
|
1516
|
-
}
|
|
1551
|
+
};
|
|
1552
|
+
export type PluginExtension = {
|
|
1553
|
+
area: ExtensionArea;
|
|
1554
|
+
componentName: string;
|
|
1555
|
+
} & (InlinePlugin | PagePlugin);
|
|
1556
|
+
export type PluginObjectButton = {
|
|
1557
|
+
buttonLabel: {
|
|
1558
|
+
defaultLabel: string;
|
|
1559
|
+
translations?: {
|
|
1560
|
+
[key: string]: string;
|
|
1561
|
+
};
|
|
1562
|
+
};
|
|
1563
|
+
iconName: string;
|
|
1564
|
+
};
|
|
1517
1565
|
export interface PluginNotificationDefinitions {
|
|
1518
1566
|
key: string;
|
|
1519
1567
|
title: string;
|
|
@@ -1617,6 +1665,8 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1617
1665
|
pluginNotifications: {
|
|
1618
1666
|
[key: string]: NotificationType;
|
|
1619
1667
|
};
|
|
1668
|
+
newsEditor: NotificationType;
|
|
1669
|
+
eventEditor: NotificationType;
|
|
1620
1670
|
}
|
|
1621
1671
|
export interface RequestUser extends BasicUserInformation {
|
|
1622
1672
|
tenantId: string;
|
|
@@ -1652,6 +1702,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1652
1702
|
termsAndConditionsApprovedHash: string;
|
|
1653
1703
|
isPublicUser?: boolean;
|
|
1654
1704
|
hasUnreadChats?: boolean;
|
|
1705
|
+
publicSubscriptionIds?: string[];
|
|
1655
1706
|
}
|
|
1656
1707
|
export interface GroupUser extends UserSummary {
|
|
1657
1708
|
role: {
|
|
@@ -1717,6 +1768,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1717
1768
|
user: UserSummary;
|
|
1718
1769
|
type: SubscriptionJoinResultType;
|
|
1719
1770
|
message?: string;
|
|
1771
|
+
isSuccess?: boolean;
|
|
1720
1772
|
}
|
|
1721
1773
|
export interface UserActivationResult {
|
|
1722
1774
|
type: UserActivationResultType;
|
|
@@ -1943,11 +1995,6 @@ declare module "libs/reach/util/common/src/content/NewsItem" {
|
|
|
1943
1995
|
knownState: KnownNewsState;
|
|
1944
1996
|
hasNewComments?: boolean;
|
|
1945
1997
|
isLiked?: boolean;
|
|
1946
|
-
shareToken?: ShareToken;
|
|
1947
|
-
}
|
|
1948
|
-
export interface ShareToken {
|
|
1949
|
-
published?: string;
|
|
1950
|
-
preview?: string;
|
|
1951
1998
|
}
|
|
1952
1999
|
export interface NewsItemAlertOptions {
|
|
1953
2000
|
duration?: string;
|
|
@@ -2135,6 +2182,13 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
2135
2182
|
useExternalContent?: boolean;
|
|
2136
2183
|
isDemoContent?: boolean;
|
|
2137
2184
|
}
|
|
2185
|
+
export interface ShareablePublishableItem extends PublishableItem {
|
|
2186
|
+
shareToken: ShareToken;
|
|
2187
|
+
}
|
|
2188
|
+
export interface ShareToken {
|
|
2189
|
+
published?: string;
|
|
2190
|
+
preview?: string;
|
|
2191
|
+
}
|
|
2138
2192
|
export interface PublishableItemVersion extends PublishableItem {
|
|
2139
2193
|
itemId: string;
|
|
2140
2194
|
versionModificationDate: string;
|
|
@@ -2158,6 +2212,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
2158
2212
|
}
|
|
2159
2213
|
}
|
|
2160
2214
|
declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
2215
|
+
import { Api } from 'restful.js';
|
|
2161
2216
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
2162
2217
|
export class ClientFactoryInstance {
|
|
2163
2218
|
private env;
|
|
@@ -2168,7 +2223,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
|
2168
2223
|
constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
|
|
2169
2224
|
url: string;
|
|
2170
2225
|
}) => Promise<unknown>);
|
|
2171
|
-
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) =>
|
|
2226
|
+
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
|
|
2172
2227
|
private createApiInternal;
|
|
2173
2228
|
private addRequestTimeLogger;
|
|
2174
2229
|
createApiUrl: (url: string, query?: {
|
|
@@ -2261,6 +2316,11 @@ declare module "libs/reach/util/common/src/user/useCurrentUserApi" {
|
|
|
2261
2316
|
deleteCurrentUserAvatar: () => Promise<unknown>;
|
|
2262
2317
|
};
|
|
2263
2318
|
}
|
|
2319
|
+
declare module "libs/reach/util/common/src/user/useCachedCurrentUserApi" {
|
|
2320
|
+
export function useCachedCurrentUserApi(): {
|
|
2321
|
+
getCurrentUser: (subscriptionId: string) => Promise<import("libs/reach/util/common/src/user").CurrentUser>;
|
|
2322
|
+
};
|
|
2323
|
+
}
|
|
2264
2324
|
declare module "libs/reach/util/common/src/content/Attachment" {
|
|
2265
2325
|
export enum AttachmentType {
|
|
2266
2326
|
Image = 0,
|
|
@@ -2486,12 +2546,16 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2486
2546
|
isUnlinked?: boolean;
|
|
2487
2547
|
pageType?: PageType;
|
|
2488
2548
|
firstChildId?: string;
|
|
2549
|
+
isGroupInheritanceBroken?: boolean;
|
|
2489
2550
|
}
|
|
2490
2551
|
export interface ContentsSummary {
|
|
2491
2552
|
[lang: string]: TitleContent & {
|
|
2492
2553
|
fileInfo?: DocumentFileInfo;
|
|
2493
2554
|
};
|
|
2494
2555
|
}
|
|
2556
|
+
export interface GroupInheritanceUpdateRequest {
|
|
2557
|
+
breakGroupInheritance: boolean;
|
|
2558
|
+
}
|
|
2495
2559
|
export interface PageNavigationNode {
|
|
2496
2560
|
id: string;
|
|
2497
2561
|
contents?: ContentsSummary;
|
|
@@ -2507,6 +2571,7 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2507
2571
|
hasAnyPageChild?: boolean;
|
|
2508
2572
|
pageType?: PageType;
|
|
2509
2573
|
useExternalContent?: boolean;
|
|
2574
|
+
isGroupInheritanceBroken?: boolean;
|
|
2510
2575
|
isSearchMatch?: boolean;
|
|
2511
2576
|
topLevelFolderName?: string;
|
|
2512
2577
|
uploadToken?: string;
|
|
@@ -2675,6 +2740,237 @@ declare module "libs/reach/util/common/src/AccessDeniedIntercept" {
|
|
|
2675
2740
|
export function accessDeniedIntercept(error: any): Promise<boolean>;
|
|
2676
2741
|
export function genericAccessDeniedIntercept(error: any): Promise<boolean>;
|
|
2677
2742
|
}
|
|
2743
|
+
declare module "libs/reach/util/common/src/Variables" {
|
|
2744
|
+
export const maxContentWidth = 985;
|
|
2745
|
+
export const adminMaxWidth = 600;
|
|
2746
|
+
export const spacingXxs = 3;
|
|
2747
|
+
export const spacingXs = 6;
|
|
2748
|
+
export const spacingS = 10;
|
|
2749
|
+
export const spacingM = 20;
|
|
2750
|
+
export const spacingL = 30;
|
|
2751
|
+
export const spacingX = 40;
|
|
2752
|
+
export const spacingXl = 60;
|
|
2753
|
+
export const minScreenSize: {
|
|
2754
|
+
small: number;
|
|
2755
|
+
medium: number;
|
|
2756
|
+
large: number;
|
|
2757
|
+
xLarge: number;
|
|
2758
|
+
xxLarge: number;
|
|
2759
|
+
xxxLarge: number;
|
|
2760
|
+
};
|
|
2761
|
+
export const maxScreenSize: {
|
|
2762
|
+
small: number;
|
|
2763
|
+
medium: number;
|
|
2764
|
+
large: number;
|
|
2765
|
+
xLarge: number;
|
|
2766
|
+
xxLarge: number;
|
|
2767
|
+
};
|
|
2768
|
+
export const sidebarWidth = 285;
|
|
2769
|
+
export const sidebarWidthRight = 320;
|
|
2770
|
+
export const sidebarItemHeight = 50;
|
|
2771
|
+
export const headerHeight = 50;
|
|
2772
|
+
export const headerSecondaryHeight = 50;
|
|
2773
|
+
export const notificationHeight = 50;
|
|
2774
|
+
export const mainContentPanelWidth = 300;
|
|
2775
|
+
export const mainContentPanelMinScreenSize = 1740;
|
|
2776
|
+
export const fontSizeLarger = 40;
|
|
2777
|
+
export const fontSizeLarge = 25;
|
|
2778
|
+
export const fontSizeMedium = 18;
|
|
2779
|
+
export const fontSizeNormal = 16;
|
|
2780
|
+
export const fontSizeSmall = 14;
|
|
2781
|
+
export const fontSizeSmaller = 12;
|
|
2782
|
+
export const socialIconSize = 26;
|
|
2783
|
+
export const lineHeight = 23;
|
|
2784
|
+
export const smallScreenLoginHeight = 40;
|
|
2785
|
+
export const bannerAspectRatio: number;
|
|
2786
|
+
export const bannerWidth = 980;
|
|
2787
|
+
export const bannerHeight = 420;
|
|
2788
|
+
export const HighlightBubbleSize = 12;
|
|
2789
|
+
export const StatusBubbleSize = 10;
|
|
2790
|
+
export const shadowColor = "rgba(0, 0, 0, 0.2)";
|
|
2791
|
+
export const diffPreviousVersionColour = "rgb(221, 221, 221)";
|
|
2792
|
+
export const diffActiveVersionColour = "rgb(206, 255, 188)";
|
|
2793
|
+
export const dialogSpacing = 24;
|
|
2794
|
+
export const detailViewSectionPadding = 20;
|
|
2795
|
+
export const detailViewSectionPaddingLarge = 60;
|
|
2796
|
+
export const postsSectionPadding = 20;
|
|
2797
|
+
export const attachmentRoundedCornerSize = 10;
|
|
2798
|
+
export const videoAttachmentRoundedCornerSize = 20;
|
|
2799
|
+
export const inlinePageBannerRoundedCornerSize = 5;
|
|
2800
|
+
export const feedbackButtonHeight = 32;
|
|
2801
|
+
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
2802
|
+
export const mainContentContainerId = "lt-reach-main-content";
|
|
2803
|
+
export const mainModalContentContainerId = "lt-reach-main-modal-content";
|
|
2804
|
+
export const statusColors: {
|
|
2805
|
+
draft: string;
|
|
2806
|
+
ready: string;
|
|
2807
|
+
rejected: string;
|
|
2808
|
+
};
|
|
2809
|
+
export const cardWidthS = 260;
|
|
2810
|
+
export const cardWidthM = 354;
|
|
2811
|
+
export const cardWidthL = 314;
|
|
2812
|
+
export const cardWidthXL = 423;
|
|
2813
|
+
export const managePagesRowWidth = 300;
|
|
2814
|
+
export const managePagesRowHeight = 40;
|
|
2815
|
+
export const mobilePreviewWidth = 414;
|
|
2816
|
+
}
|
|
2817
|
+
declare module "libs/reach/util/common/src/common-utils" {
|
|
2818
|
+
import { BaseSubscription, LogoInfo, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2819
|
+
import { IntlShape } from 'react-intl';
|
|
2820
|
+
export function getMainScrollableContainer(): HTMLElement;
|
|
2821
|
+
export enum LinkType {
|
|
2822
|
+
Internal = "internal",
|
|
2823
|
+
External = "external",
|
|
2824
|
+
Download = "download"
|
|
2825
|
+
}
|
|
2826
|
+
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}";
|
|
2827
|
+
export const DefaultSubscriptionName = "LiveTiles Reach";
|
|
2828
|
+
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
2829
|
+
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
2830
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
2831
|
+
logoInfo: LogoInfo;
|
|
2832
|
+
subscriptionName: string;
|
|
2833
|
+
};
|
|
2834
|
+
}
|
|
2835
|
+
declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
|
|
2836
|
+
export enum AnalyticsInteractionEvents {
|
|
2837
|
+
embeddedVideo = "embedded-video",
|
|
2838
|
+
embeddedAudio = "embedded-audio",
|
|
2839
|
+
languageChange = "language-change",
|
|
2840
|
+
eventRegistration = "event-registration",
|
|
2841
|
+
eventSeriesRegistration = "event-series-registration",
|
|
2842
|
+
translateContent = "translate-content",
|
|
2843
|
+
downloadFile = "download-file",
|
|
2844
|
+
embeddedIframe = "embedded-iframe",
|
|
2845
|
+
externalLink = "external-link",
|
|
2846
|
+
follow = "follow",
|
|
2847
|
+
bookmark = "bookmark"
|
|
2848
|
+
}
|
|
2849
|
+
export enum AnalyticsActions {
|
|
2850
|
+
click = "click",
|
|
2851
|
+
navigate = "navigate",
|
|
2852
|
+
view = "view",
|
|
2853
|
+
search = "search"
|
|
2854
|
+
}
|
|
2855
|
+
export enum AnalyticsModuleType {
|
|
2856
|
+
Admin = "admin",
|
|
2857
|
+
Chat = "chat",
|
|
2858
|
+
Comments = "comments",
|
|
2859
|
+
Events = "events",
|
|
2860
|
+
Search = "search",
|
|
2861
|
+
News = "news",
|
|
2862
|
+
Pages = "pages",
|
|
2863
|
+
People = "people",
|
|
2864
|
+
Posts = "posts",
|
|
2865
|
+
Stream = "stream",
|
|
2866
|
+
User = "user"
|
|
2867
|
+
}
|
|
2868
|
+
export enum AnalyticsModuleSubtype {
|
|
2869
|
+
AllChats = "allChats",
|
|
2870
|
+
AllNews = "allNews",
|
|
2871
|
+
AllPosts = "allPosts",
|
|
2872
|
+
Bookmarks = "bookmarks",
|
|
2873
|
+
Channel = "channel",
|
|
2874
|
+
Channels = "channels",
|
|
2875
|
+
ChatConversation = "conversation",
|
|
2876
|
+
Customization = "customization",
|
|
2877
|
+
DetailView = "detailView",
|
|
2878
|
+
DirectoryConfig = "directoryConfiguration",
|
|
2879
|
+
Group = "group",
|
|
2880
|
+
Groups = "groups",
|
|
2881
|
+
Keywords = "keywords",
|
|
2882
|
+
Languages = "languages",
|
|
2883
|
+
MyNews = "myNews",
|
|
2884
|
+
Owners = "owners",
|
|
2885
|
+
Preview = "preview",
|
|
2886
|
+
RootPages = "rootPages",
|
|
2887
|
+
Search = "search",
|
|
2888
|
+
SelfRegistration = "selfRegistration",
|
|
2889
|
+
TargetAudience = "targetAudience",
|
|
2890
|
+
UpcomingEvents = "upcoming",
|
|
2891
|
+
BookedEvents = "booked",
|
|
2892
|
+
PastEvents = "past",
|
|
2893
|
+
Users = "users",
|
|
2894
|
+
WebHooks = "webHooks",
|
|
2895
|
+
Editor = "editor"
|
|
2896
|
+
}
|
|
2897
|
+
}
|
|
2898
|
+
declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
|
|
2899
|
+
export function useLinkInteraction(): void;
|
|
2900
|
+
}
|
|
2901
|
+
declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
|
|
2902
|
+
export function useIframeInteraction(): void;
|
|
2903
|
+
}
|
|
2904
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider" {
|
|
2905
|
+
import { FC } from 'react';
|
|
2906
|
+
import { EventModule } from '@livetiles/analytics';
|
|
2907
|
+
export const AnalyticsModuleContext: import("react").Context<EventModule>;
|
|
2908
|
+
export const AnalyticsModuleContextProvider: FC<{
|
|
2909
|
+
module: EventModule;
|
|
2910
|
+
}>;
|
|
2911
|
+
}
|
|
2912
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
|
|
2913
|
+
import { Dispatch, FC, SetStateAction } from 'react';
|
|
2914
|
+
import { Activity, Analytics, EventModule, InteractionProperties, EventSearch } from '@livetiles/analytics';
|
|
2915
|
+
export interface SearchAnalytics {
|
|
2916
|
+
data: EventSearch[];
|
|
2917
|
+
onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
|
|
2918
|
+
onItemRead: (itemId: string) => void;
|
|
2919
|
+
}
|
|
2920
|
+
export interface ModuleAnalytics {
|
|
2921
|
+
module: EventModule;
|
|
2922
|
+
setModule: Dispatch<SetStateAction<EventModule>>;
|
|
2923
|
+
}
|
|
2924
|
+
interface ActivityAnalytics {
|
|
2925
|
+
trackActivity: (scrollContainer?: HTMLElement, moduleOverride?: EventModule) => Activity | undefined;
|
|
2926
|
+
sendActivity: () => void;
|
|
2927
|
+
}
|
|
2928
|
+
export type ReachAnalytics = Analytics & ModuleAnalytics & SearchAnalytics & ActivityAnalytics;
|
|
2929
|
+
export const AnalyticsContext: import("react").Context<ReachAnalytics>;
|
|
2930
|
+
export function useAnalyticsContext(): {
|
|
2931
|
+
interaction: (payload: Omit<InteractionProperties, 'module'>) => Promise<void>;
|
|
2932
|
+
trackActivity: (scrollContainer?: HTMLElement) => Activity;
|
|
2933
|
+
getUser: () => import("@segment/analytics-next").User;
|
|
2934
|
+
identify: (userId: string, traits?: Record<string, unknown>) => void;
|
|
2935
|
+
activity: (payload: import("@livetiles/analytics").ActivityProperties) => Activity;
|
|
2936
|
+
module: EventModule;
|
|
2937
|
+
setModule: Dispatch<SetStateAction<EventModule>>;
|
|
2938
|
+
data: EventSearch[];
|
|
2939
|
+
onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
|
|
2940
|
+
onItemRead: (itemId: string) => void;
|
|
2941
|
+
sendActivity: () => void;
|
|
2942
|
+
};
|
|
2943
|
+
export const AnalyticsLibraryContextProvider: FC<{
|
|
2944
|
+
appName?: string;
|
|
2945
|
+
}>;
|
|
2946
|
+
export const AnalyticsContextProvider: FC;
|
|
2947
|
+
}
|
|
2948
|
+
declare module "libs/reach/util/common/src/PagingService" {
|
|
2949
|
+
import { Observable } from 'rxjs';
|
|
2950
|
+
export const onPageScroll: Observable<number>;
|
|
2951
|
+
export function handlePageScroll(availableScrollSpace: number): void;
|
|
2952
|
+
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
2953
|
+
export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
|
|
2954
|
+
}
|
|
2955
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
|
|
2956
|
+
import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
2957
|
+
export function useAnalyticsViewTrackWithPagination(startTracking: boolean, items: BaseItem[], itemResourceType: ItemResourceTypes): void;
|
|
2958
|
+
export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
|
|
2959
|
+
}
|
|
2960
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
|
|
2961
|
+
export function useAnalyticsActivityTrack(scrollContainer: HTMLElement): void;
|
|
2962
|
+
}
|
|
2963
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
|
|
2964
|
+
export function useAnalyticsNavigateTrack(): void;
|
|
2965
|
+
}
|
|
2966
|
+
declare module "libs/reach/util/common/src/analytics/index" {
|
|
2967
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2968
|
+
export * from "libs/reach/util/common/src/analytics/analyticsUtils";
|
|
2969
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
|
|
2970
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
|
|
2971
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
|
|
2972
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider";
|
|
2973
|
+
}
|
|
2678
2974
|
declare module "libs/reach/util/common/src/user/useManageCurrentUserApi" {
|
|
2679
2975
|
import { CurrentUser, GroupNotificationSettings, NotificationTypeSettings, UserContact } from "libs/reach/util/common/src/user/User";
|
|
2680
2976
|
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
@@ -2748,6 +3044,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2748
3044
|
updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
|
|
2749
3045
|
deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
|
|
2750
3046
|
importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
|
|
3047
|
+
refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
|
|
3048
|
+
requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
|
|
2751
3049
|
};
|
|
2752
3050
|
}
|
|
2753
3051
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
@@ -2773,6 +3071,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2773
3071
|
customDomain?: string;
|
|
2774
3072
|
allowSelfRegistration?: boolean;
|
|
2775
3073
|
brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
|
|
3074
|
+
hideSubscriptionName?: boolean;
|
|
2776
3075
|
id: string;
|
|
2777
3076
|
subscriptionName: string;
|
|
2778
3077
|
subscriptionHandle?: string;
|
|
@@ -2816,6 +3115,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2816
3115
|
termsAndConditionsApprovedHash: string;
|
|
2817
3116
|
isPublicUser?: boolean;
|
|
2818
3117
|
hasUnreadChats?: boolean;
|
|
3118
|
+
publicSubscriptionIds?: string[];
|
|
2819
3119
|
id?: string;
|
|
2820
3120
|
type?: import("@livetiles/reach/util/common").AccountType;
|
|
2821
3121
|
tenantId?: string;
|
|
@@ -2857,13 +3157,6 @@ declare module "libs/reach/util/common/src/user/useSubscriptionWebAppUrl" {
|
|
|
2857
3157
|
export function useSubscriptionWebAppUrl(): string;
|
|
2858
3158
|
export function useSubscriptionWebAppUrls(): string[];
|
|
2859
3159
|
}
|
|
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
3160
|
declare module "libs/reach/util/common/src/user/index" {
|
|
2868
3161
|
export * from "libs/reach/util/common/src/user/features/FeatureSet";
|
|
2869
3162
|
export * from "libs/reach/util/common/src/user/features/WithFeatures";
|
|
@@ -2882,6 +3175,7 @@ declare module "libs/reach/util/common/src/user/index" {
|
|
|
2882
3175
|
export * from "libs/reach/util/common/src/user/useAccountApi";
|
|
2883
3176
|
export * from "libs/reach/util/common/src/user/useCurrentUser";
|
|
2884
3177
|
export * from "libs/reach/util/common/src/user/useCurrentUserApi";
|
|
3178
|
+
export * from "libs/reach/util/common/src/user/useCachedCurrentUserApi";
|
|
2885
3179
|
export * from "libs/reach/util/common/src/user/useManageCurrentUserApi";
|
|
2886
3180
|
export * from "libs/reach/util/common/src/user/useUserAdminApi";
|
|
2887
3181
|
export * from "libs/reach/util/common/src/user/CurrentUserDetailContextProvider";
|
|
@@ -2889,7 +3183,6 @@ declare module "libs/reach/util/common/src/user/index" {
|
|
|
2889
3183
|
export * from "libs/reach/util/common/src/user/useSubscriptionHandlePathBuilder";
|
|
2890
3184
|
export * from "libs/reach/util/common/src/user/CurrentUserContext";
|
|
2891
3185
|
export * from "libs/reach/util/common/src/user/useSubscriptionWebAppUrl";
|
|
2892
|
-
export * from "libs/reach/util/common/src/user/useChannelsApi";
|
|
2893
3186
|
export * from "libs/reach/util/common/src/user/LanguageUtils";
|
|
2894
3187
|
export * from "libs/reach/util/common/src/user/content-languages-util";
|
|
2895
3188
|
}
|
|
@@ -2938,7 +3231,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
|
|
|
2938
3231
|
getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
|
|
2939
3232
|
saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
|
|
2940
3233
|
saveFile: (pluginId: string, file: File) => Promise<Response>;
|
|
2941
|
-
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<
|
|
3234
|
+
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
|
|
2942
3235
|
linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
|
|
2943
3236
|
unlinkPlugin: (pluginId: string) => Promise<any>;
|
|
2944
3237
|
};
|
|
@@ -3044,17 +3337,15 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
3044
3337
|
}
|
|
3045
3338
|
}
|
|
3046
3339
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
3047
|
-
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
3340
|
+
import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
3048
3341
|
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
3342
|
export interface PluginNavigationNodeProps {
|
|
3056
3343
|
navigationNodeProps?: PageNavigationNodeProps;
|
|
3057
3344
|
}
|
|
3345
|
+
export type EmbeddedPluginProps = PluginProps & {
|
|
3346
|
+
isEditMode?: boolean;
|
|
3347
|
+
componentInstanceId: string;
|
|
3348
|
+
};
|
|
3058
3349
|
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
3059
3350
|
type DevPlugin = {
|
|
3060
3351
|
pluginId: string;
|
|
@@ -3108,22 +3399,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
|
3108
3399
|
}
|
|
3109
3400
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
3110
3401
|
import { FC } from 'react';
|
|
3111
|
-
import { ExtensionArea } from "libs/reach/util/common/src/
|
|
3402
|
+
import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
|
|
3112
3403
|
export const Plugins: FC<{
|
|
3113
3404
|
area: ExtensionArea;
|
|
3114
3405
|
} & any>;
|
|
3115
3406
|
}
|
|
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
3407
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
3128
3408
|
export class Color {
|
|
3129
3409
|
private r;
|
|
@@ -3268,77 +3548,24 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
3268
3548
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
3269
3549
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
3270
3550
|
}
|
|
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;
|
|
3551
|
+
declare module "libs/reach/util/common/src/plugins/Plugin" {
|
|
3552
|
+
import { FC } from 'react';
|
|
3553
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3554
|
+
export const Plugin: FC<PluginProps & {
|
|
3555
|
+
showDetailedErrorMessage?: boolean;
|
|
3556
|
+
} & any>;
|
|
3557
|
+
}
|
|
3558
|
+
declare module "libs/reach/util/common/src/plugins/index" {
|
|
3559
|
+
export * from "libs/reach/util/common/src/plugins/PluginContext";
|
|
3560
|
+
export * from "libs/reach/util/common/src/plugins/PluginWrapper";
|
|
3561
|
+
export * from "libs/reach/util/common/src/plugins/Plugins";
|
|
3562
|
+
export * from "libs/reach/util/common/src/plugins/Plugin";
|
|
3563
|
+
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
3564
|
+
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
3565
|
+
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3566
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
3567
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
3568
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
3342
3569
|
}
|
|
3343
3570
|
declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
3344
3571
|
import { FC, ReactNode } from 'react';
|
|
@@ -3377,11 +3604,37 @@ declare module "libs/reach/util/common/src/notification/index" {
|
|
|
3377
3604
|
export * from "libs/reach/util/common/src/notification/NotificationContext";
|
|
3378
3605
|
export * from "libs/reach/util/common/src/notification/ToastNotificationHost";
|
|
3379
3606
|
}
|
|
3380
|
-
declare module "libs/reach/util/common/src/
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
}
|
|
3607
|
+
declare module "libs/reach/util/common/src/keywords/useCachedKeywordsApi" {
|
|
3608
|
+
export function useCachedKeywordsApi(): {
|
|
3609
|
+
getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<import("@livetiles/reach/util/common").Keyword[]>;
|
|
3610
|
+
getSelectedGroups: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").KeywordGroup[]>;
|
|
3611
|
+
};
|
|
3612
|
+
}
|
|
3613
|
+
declare module "libs/reach/util/common/src/keywords/index" {
|
|
3614
|
+
export * from "libs/reach/util/common/src/keywords/useCachedKeywordsApi";
|
|
3615
|
+
export * from "libs/reach/util/common/src/keywords/useKeywordsApi";
|
|
3616
|
+
}
|
|
3617
|
+
declare module "libs/reach/util/common/src/channels/useChannelsApi" {
|
|
3618
|
+
import { Channel } from "libs/reach/util/common/src/user/Channel";
|
|
3619
|
+
export function useChannelsApi(): {
|
|
3620
|
+
getChannels: () => Promise<Channel[]>;
|
|
3621
|
+
getChannelsByItemId: (id: string, route?: string) => Promise<Channel[]>;
|
|
3622
|
+
};
|
|
3623
|
+
}
|
|
3624
|
+
declare module "libs/reach/util/common/src/channels/useCachedChannelsApi" {
|
|
3625
|
+
export function useCachedChannelsApi(): {
|
|
3626
|
+
getChannels: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").Channel[]>;
|
|
3627
|
+
};
|
|
3628
|
+
}
|
|
3629
|
+
declare module "libs/reach/util/common/src/channels/index" {
|
|
3630
|
+
export * from "libs/reach/util/common/src/channels/useCachedChannelsApi";
|
|
3631
|
+
export * from "libs/reach/util/common/src/channels/useChannelsApi";
|
|
3632
|
+
}
|
|
3633
|
+
declare module "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider" {
|
|
3634
|
+
import { FC, ReactNode } from 'react';
|
|
3635
|
+
export const EnforcedSubscriptionContextProvider: FC<{
|
|
3636
|
+
loadingIndicator?: ReactNode;
|
|
3637
|
+
}>;
|
|
3385
3638
|
}
|
|
3386
3639
|
declare module "libs/reach/util/common/src/subscription/SubscriptionContext" {
|
|
3387
3640
|
import { FC } from 'react';
|
|
@@ -3403,10 +3656,11 @@ declare module "libs/reach/util/common/src/subscription/SubscriptionContext" {
|
|
|
3403
3656
|
refreshSubscription: () => void;
|
|
3404
3657
|
}>;
|
|
3405
3658
|
export const LazySubscriptionContextProvider: FC;
|
|
3659
|
+
export const LazyCachedSubscriptionContextProvider: FC;
|
|
3406
3660
|
export const LazySubscriptionContextProviderBase: FC<{
|
|
3407
|
-
getChannels: () => Promise<Channel[]>;
|
|
3408
|
-
getAllKeywords: (force?: boolean) => Promise<Keyword[]>;
|
|
3409
|
-
getSelectedGroups: () => Promise<KeywordGroup[]>;
|
|
3661
|
+
getChannels: (subscriptionId: string) => Promise<Channel[]>;
|
|
3662
|
+
getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<Keyword[]>;
|
|
3663
|
+
getSelectedGroups: (subscriptionId: string) => Promise<KeywordGroup[]>;
|
|
3410
3664
|
}>;
|
|
3411
3665
|
}
|
|
3412
3666
|
declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
|
|
@@ -3416,10 +3670,14 @@ declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
|
|
|
3416
3670
|
getTermsAndConditions: () => Promise<TermsAndConditions>;
|
|
3417
3671
|
};
|
|
3418
3672
|
}
|
|
3673
|
+
declare module "libs/reach/util/common/src/subscription/useLazySubscriptionContext" {
|
|
3674
|
+
export function useLazySubscriptionContext(): import("libs/reach/util/common/src/subscription/SubscriptionContext").LazySubscriptionContextType;
|
|
3675
|
+
}
|
|
3419
3676
|
declare module "libs/reach/util/common/src/subscription/index" {
|
|
3420
3677
|
export * from "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider";
|
|
3421
3678
|
export * from "libs/reach/util/common/src/subscription/SubscriptionContext";
|
|
3422
3679
|
export * from "libs/reach/util/common/src/subscription/useSubscriptionApi";
|
|
3680
|
+
export * from "libs/reach/util/common/src/subscription/useLazySubscriptionContext";
|
|
3423
3681
|
}
|
|
3424
3682
|
declare module "libs/reach/util/common/src/AppTrigger" {
|
|
3425
3683
|
import { DependencyList } from 'react';
|
|
@@ -3442,6 +3700,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
|
|
|
3442
3700
|
width?: number;
|
|
3443
3701
|
height?: number;
|
|
3444
3702
|
}
|
|
3703
|
+
export interface ImageWithAlignment extends ImageDetails {
|
|
3704
|
+
imageAlignment?: ImageAlignment;
|
|
3705
|
+
}
|
|
3706
|
+
export enum ImageAlignment {
|
|
3707
|
+
Default = "default",
|
|
3708
|
+
Left = "left",
|
|
3709
|
+
Right = "right",
|
|
3710
|
+
Center = "center"
|
|
3711
|
+
}
|
|
3445
3712
|
}
|
|
3446
3713
|
declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
3447
3714
|
export interface MainPanelContextType {
|
|
@@ -3452,13 +3719,6 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
|
3452
3719
|
}
|
|
3453
3720
|
export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
|
|
3454
3721
|
}
|
|
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
3722
|
declare module "libs/reach/util/common/src/keyword-utils" {
|
|
3463
3723
|
import { Keyword } from "libs/reach/util/common/src/content/KeywordGroup";
|
|
3464
3724
|
import { SchedulableItem } from "libs/reach/util/common/src/content/NewsItem";
|
|
@@ -3521,6 +3781,10 @@ declare module "libs/reach/util/common/src/useModalRouting" {
|
|
|
3521
3781
|
};
|
|
3522
3782
|
};
|
|
3523
3783
|
}
|
|
3784
|
+
declare module "libs/reach/util/common/src/ReachQueryClient" {
|
|
3785
|
+
import { QueryClient } from '@tanstack/react-query';
|
|
3786
|
+
export const ReachQueryClient: QueryClient;
|
|
3787
|
+
}
|
|
3524
3788
|
declare module "libs/reach/util/common/src/index" {
|
|
3525
3789
|
export { initializeIcons } from 'office-ui-fabric-react';
|
|
3526
3790
|
export * from "libs/reach/util/common/src/FocusStyles";
|
|
@@ -3537,7 +3801,8 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3537
3801
|
export * from "libs/reach/util/common/src/content/index";
|
|
3538
3802
|
export * from "libs/reach/util/common/src/notification/index";
|
|
3539
3803
|
export * from "libs/reach/util/common/src/Variables";
|
|
3540
|
-
export * from "libs/reach/util/common/src/keywords/
|
|
3804
|
+
export * from "libs/reach/util/common/src/keywords/index";
|
|
3805
|
+
export * from "libs/reach/util/common/src/channels/index";
|
|
3541
3806
|
export * from "libs/reach/util/common/src/subscription/index";
|
|
3542
3807
|
export * from "libs/reach/util/common/src/AppTrigger";
|
|
3543
3808
|
export * from "libs/reach/util/common/src/BackbuttonListenerUtil";
|
|
@@ -3550,6 +3815,9 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3550
3815
|
export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
|
|
3551
3816
|
export * from "libs/reach/util/common/src/AccessDeniedIntercept";
|
|
3552
3817
|
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3818
|
+
export * from "libs/reach/util/common/src/analytics/index";
|
|
3819
|
+
export * from "libs/reach/util/common/src/common-utils";
|
|
3820
|
+
export * from "libs/reach/util/common/src/ReachQueryClient";
|
|
3553
3821
|
}
|
|
3554
3822
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3555
3823
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -3606,7 +3874,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
|
|
|
3606
3874
|
text?: string | JSX.Element;
|
|
3607
3875
|
resourceKey?: string;
|
|
3608
3876
|
values?: {
|
|
3609
|
-
[key: string]: string | number | boolean | Date;
|
|
3877
|
+
[key: string]: string | number | boolean | Date | any;
|
|
3610
3878
|
};
|
|
3611
3879
|
width?: number;
|
|
3612
3880
|
onClick?: () => unknown;
|
|
@@ -3686,7 +3954,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3686
3954
|
export const PeoplePicker: FC<Props>;
|
|
3687
3955
|
}
|
|
3688
3956
|
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";
|
|
3957
|
+
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
3958
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3691
3959
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3692
3960
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3703,7 +3971,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3703
3971
|
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3704
3972
|
*/
|
|
3705
3973
|
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, };
|
|
3974
|
+
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
|
|
3707
3975
|
}
|
|
3708
3976
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3709
3977
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3719,6 +3987,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3719
3987
|
export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
|
|
3720
3988
|
export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
|
|
3721
3989
|
}
|
|
3990
|
+
declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
|
|
3991
|
+
export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
3992
|
+
}
|
|
3722
3993
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3723
3994
|
import { FC } from 'react';
|
|
3724
3995
|
export const NotificationBar: FC;
|
|
@@ -3735,6 +4006,7 @@ declare module "libs/reach/ui/common/src/common/AudioFile" {
|
|
|
3735
4006
|
export const AudioFile: FC<{
|
|
3736
4007
|
fileName: string;
|
|
3737
4008
|
url: string;
|
|
4009
|
+
onPlay?: (url: string) => void;
|
|
3738
4010
|
}>;
|
|
3739
4011
|
export function isAudioFile(fileName: string): boolean;
|
|
3740
4012
|
}
|
|
@@ -3758,37 +4030,6 @@ declare module "libs/reach/ui/common/src/common/buttons/ActionButton" {
|
|
|
3758
4030
|
color?: string;
|
|
3759
4031
|
}, never>;
|
|
3760
4032
|
}
|
|
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
4033
|
declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
3793
4034
|
import { FC } from 'react';
|
|
3794
4035
|
import { SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
@@ -3831,6 +4072,7 @@ declare module "libs/reach/ui/common/src/common/ConfirmDialog" {
|
|
|
3831
4072
|
infoResourceValues?: any;
|
|
3832
4073
|
onConfirm?: () => unknown;
|
|
3833
4074
|
onClose?: () => unknown;
|
|
4075
|
+
width?: number;
|
|
3834
4076
|
}>;
|
|
3835
4077
|
}
|
|
3836
4078
|
declare module "libs/reach/ui/common/src/common/ConfirmResetDialog" {
|
|
@@ -3866,7 +4108,7 @@ declare module "libs/reach/ui/common/src/common/DateTime" {
|
|
|
3866
4108
|
export const isSameDay: (value: moment.MomentInput) => boolean;
|
|
3867
4109
|
export const DateTime: FC<Props>;
|
|
3868
4110
|
export const DateTimeRange: FC<{
|
|
3869
|
-
startDate
|
|
4111
|
+
startDate?: string;
|
|
3870
4112
|
endDate?: string;
|
|
3871
4113
|
className?: string;
|
|
3872
4114
|
}>;
|
|
@@ -3952,6 +4194,7 @@ declare module "libs/reach/ui/common/src/common/VideoFile" {
|
|
|
3952
4194
|
export const VideoFile: FC<{
|
|
3953
4195
|
fileName: string;
|
|
3954
4196
|
url: string;
|
|
4197
|
+
onPlay?: (url: string) => void;
|
|
3955
4198
|
}>;
|
|
3956
4199
|
export function isVideoFile(fileName: string): boolean;
|
|
3957
4200
|
}
|
|
@@ -3974,25 +4217,30 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
3974
4217
|
}[]>;
|
|
3975
4218
|
export function getFileIcon(filename: string): string;
|
|
3976
4219
|
export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
|
|
4220
|
+
export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
|
|
3977
4221
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
3978
|
-
export function getMainScrollableContainer(): HTMLElement;
|
|
3979
4222
|
}
|
|
3980
4223
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
4224
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3981
4225
|
export function useFileAccessTokenApi(): {
|
|
3982
4226
|
exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
|
|
3983
4227
|
getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
|
|
3984
|
-
createDownloadClickHandler: (target: string, getUrl: () => Promise<string
|
|
4228
|
+
createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, itemResourceType?: ItemResourceTypes | string, parentId?: string) => () => Promise<void>;
|
|
3985
4229
|
};
|
|
3986
4230
|
}
|
|
3987
4231
|
declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
3988
4232
|
import { FC } from 'react';
|
|
3989
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
4233
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3990
4234
|
export const FileAttachmentList: FC<{
|
|
3991
4235
|
files: Attachment[];
|
|
3992
4236
|
onDeleteClick?: (file: Attachment) => void;
|
|
3993
4237
|
getFileUrl?: (attachmentId: string, token?: string) => string;
|
|
4238
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
4239
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
3994
4240
|
fileAccessToken?: string;
|
|
3995
4241
|
disabled?: boolean;
|
|
4242
|
+
parentId?: string;
|
|
4243
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
3996
4244
|
className?: string;
|
|
3997
4245
|
}>;
|
|
3998
4246
|
}
|
|
@@ -4292,6 +4540,28 @@ declare module "libs/reach/ui/common/src/common/UserUtility" {
|
|
|
4292
4540
|
import { IntlShape } from 'react-intl';
|
|
4293
4541
|
export function getGroupName(group: UserGroup, user: CurrentUser, intl: IntlShape): string;
|
|
4294
4542
|
}
|
|
4543
|
+
declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
4544
|
+
export const smallScreenSpacing = 10;
|
|
4545
|
+
export const smallMaxContentWidth: number;
|
|
4546
|
+
export const mediumMaxContentWidth: number;
|
|
4547
|
+
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4548
|
+
}
|
|
4549
|
+
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
4550
|
+
import { CurrentUser, PublishableItem } from "libs/reach/util/common/src/index";
|
|
4551
|
+
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
4552
|
+
export function isValidUrl(url: string): boolean;
|
|
4553
|
+
export function getGoogleMapsSearchLink(name: string): string;
|
|
4554
|
+
export function tryGetInternalLink(url: string, appUrls: string[]): string;
|
|
4555
|
+
export function getExternalContentUrl(item: PublishableItem, language: string): string;
|
|
4556
|
+
export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
|
|
4557
|
+
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
4558
|
+
export function delay(delayInMs: number): Promise<unknown>;
|
|
4559
|
+
export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4560
|
+
defaultWidth?: number;
|
|
4561
|
+
showPlaceholder?: boolean;
|
|
4562
|
+
}, never>;
|
|
4563
|
+
export function encodeChannelName(channelName: string): string;
|
|
4564
|
+
}
|
|
4295
4565
|
declare module "libs/reach/ui/common/src/common/VerificationStatusIcon" {
|
|
4296
4566
|
import { FC, ReactNode } from 'react';
|
|
4297
4567
|
import { PrimitiveType } from 'intl-messageformat';
|
|
@@ -4315,12 +4585,15 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
|
|
|
4315
4585
|
}
|
|
4316
4586
|
declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
|
|
4317
4587
|
import { FC } from 'react';
|
|
4588
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
4318
4589
|
export const AutoTranslateButton: FC<{
|
|
4319
4590
|
contentLanguageCode: string;
|
|
4320
4591
|
originalContent: string;
|
|
4321
4592
|
content: string;
|
|
4322
4593
|
onTranslate: (preferredContentLanguageCode: string) => Promise<string>;
|
|
4323
4594
|
onContentChange: (content: string) => void;
|
|
4595
|
+
itemType: ItemResourceTypes;
|
|
4596
|
+
itemId: string;
|
|
4324
4597
|
tooltipResourceKey?: string;
|
|
4325
4598
|
showLabel?: boolean;
|
|
4326
4599
|
}>;
|
|
@@ -4604,6 +4877,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
|
|
|
4604
4877
|
className?: string;
|
|
4605
4878
|
}>;
|
|
4606
4879
|
}
|
|
4880
|
+
declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
|
|
4881
|
+
export const useIsMounted: () => () => boolean;
|
|
4882
|
+
}
|
|
4607
4883
|
declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
|
|
4608
4884
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4609
4885
|
import { DependencyList, SetStateAction } from 'react';
|
|
@@ -4908,8 +5184,9 @@ declare module "libs/reach/ui/common/src/common/user/Avatar" {
|
|
|
4908
5184
|
export interface Props extends IPersonaProps {
|
|
4909
5185
|
upn: string;
|
|
4910
5186
|
tenantId?: string;
|
|
4911
|
-
className?: string;
|
|
4912
5187
|
displayName?: string;
|
|
5188
|
+
forceShowSecondaryText?: boolean;
|
|
5189
|
+
className?: string;
|
|
4913
5190
|
}
|
|
4914
5191
|
export class UserAvatarUpdateTriggerAction implements AppTriggerAction {
|
|
4915
5192
|
static type: string;
|
|
@@ -5084,6 +5361,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
5084
5361
|
export * from "libs/reach/ui/common/src/common/grid/Grid";
|
|
5085
5362
|
export * from "libs/reach/ui/common/src/common/hooks/usePagination";
|
|
5086
5363
|
export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
|
|
5364
|
+
export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
|
|
5087
5365
|
export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
|
|
5088
5366
|
export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
|
|
5089
5367
|
export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
|
|
@@ -5116,6 +5394,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
5116
5394
|
export * from "libs/reach/ui/common/src/common/error-states/index";
|
|
5117
5395
|
export * from "libs/reach/ui/common/src/common/MenuItemBadge";
|
|
5118
5396
|
export * from "libs/reach/ui/common/src/common/editor-svg/index";
|
|
5397
|
+
export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
|
|
5119
5398
|
}
|
|
5120
5399
|
declare module "libs/reach/ui/common/src/error/PageAlert" {
|
|
5121
5400
|
import { ReactNode } from 'react';
|
|
@@ -5167,16 +5446,17 @@ declare module "libs/reach/ui/common/src/index" {
|
|
|
5167
5446
|
export * from "libs/reach/ui/common/src/ColorEditor";
|
|
5168
5447
|
}
|
|
5169
5448
|
declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
5170
|
-
import { FC } from 'react';
|
|
5449
|
+
import { FC, DependencyList } from 'react';
|
|
5171
5450
|
export interface Props {
|
|
5172
5451
|
navigateTo: string;
|
|
5452
|
+
onBeforeClose?: () => void;
|
|
5173
5453
|
onClose?: () => void;
|
|
5174
5454
|
tooltipResourceKey?: string;
|
|
5175
5455
|
useGoBack?: boolean;
|
|
5176
5456
|
className?: string;
|
|
5177
5457
|
}
|
|
5178
5458
|
export const CloseButton: FC<Props>;
|
|
5179
|
-
export function useEscapeOnClose(onClose: () => void): void;
|
|
5459
|
+
export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
|
|
5180
5460
|
}
|
|
5181
5461
|
declare module "apps/reach-app/src/app/common/LogoStyles" {
|
|
5182
5462
|
export const LogoHostStyle: (size?: {
|
|
@@ -5203,6 +5483,7 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
5203
5483
|
closeButtonOptions?: CloseButtonOptions;
|
|
5204
5484
|
}
|
|
5205
5485
|
export interface CloseButtonOptions {
|
|
5486
|
+
onBeforeClose?: () => void;
|
|
5206
5487
|
onClick?: () => void;
|
|
5207
5488
|
disableGoBack?: boolean;
|
|
5208
5489
|
route?: string;
|
|
@@ -5268,9 +5549,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
|
|
|
5268
5549
|
}
|
|
5269
5550
|
declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
5270
5551
|
import { FC, ReactNode } from 'react';
|
|
5552
|
+
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5271
5553
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
5272
5554
|
import './BasicPage.scss';
|
|
5273
|
-
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5274
5555
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
5275
5556
|
type HeaderToolbarObjectTypeHack = {
|
|
5276
5557
|
toolbarElement: JSX.Element;
|
|
@@ -5388,7 +5669,10 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
5388
5669
|
addLanguage: (code: string) => Promise<Language>;
|
|
5389
5670
|
setDefaultLanguage: (code: string) => Promise<Language>;
|
|
5390
5671
|
removeLanguage: (code: string) => Promise<unknown>;
|
|
5391
|
-
setSubscriptionName: (name: string) => Promise<
|
|
5672
|
+
setSubscriptionName: (name: string | null, hideName: boolean | null) => Promise<{
|
|
5673
|
+
name: string | null;
|
|
5674
|
+
hideName: boolean | null;
|
|
5675
|
+
}>;
|
|
5392
5676
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
5393
5677
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
5394
5678
|
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
@@ -5694,11 +5978,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
|
|
|
5694
5978
|
export { PushClient };
|
|
5695
5979
|
}
|
|
5696
5980
|
declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
5697
|
-
import { ConfigureOptions, MigrateResult,
|
|
5698
|
-
export class MobileHybridStorage implements
|
|
5981
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5982
|
+
export class MobileHybridStorage implements PreferencesPlugin {
|
|
5699
5983
|
private pluginStorage;
|
|
5700
5984
|
private static memoryStorage;
|
|
5701
|
-
constructor(pluginStorage:
|
|
5985
|
+
constructor(pluginStorage: PreferencesPlugin);
|
|
5702
5986
|
get(options: {
|
|
5703
5987
|
key: string;
|
|
5704
5988
|
}): Promise<any>;
|
|
@@ -5710,7 +5994,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
|
5710
5994
|
key: string;
|
|
5711
5995
|
}): Promise<void>;
|
|
5712
5996
|
clear(): Promise<void>;
|
|
5713
|
-
keys(): Promise<import("@capacitor/
|
|
5997
|
+
keys(): Promise<import("@capacitor/preferences").KeysResult>;
|
|
5714
5998
|
private static updateInMemoryStorage;
|
|
5715
5999
|
configure(options: ConfigureOptions): Promise<void>;
|
|
5716
6000
|
migrate(): Promise<MigrateResult>;
|
|
@@ -5746,7 +6030,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
|
|
|
5746
6030
|
export const mockStatusBarPlugin: StatusBarPlugin;
|
|
5747
6031
|
}
|
|
5748
6032
|
declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
5749
|
-
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
|
|
6033
|
+
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
|
|
5750
6034
|
import { PluginListenerHandle } from '@capacitor/core';
|
|
5751
6035
|
export class WebDeviceFallback implements DevicePlugin {
|
|
5752
6036
|
addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
|
|
@@ -5755,6 +6039,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
|
5755
6039
|
getId(): Promise<DeviceId>;
|
|
5756
6040
|
getBatteryInfo(): Promise<BatteryInfo>;
|
|
5757
6041
|
getLanguageCode(): Promise<GetLanguageCodeResult>;
|
|
6042
|
+
getLanguageTag(): Promise<LanguageTag>;
|
|
5758
6043
|
}
|
|
5759
6044
|
}
|
|
5760
6045
|
declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
@@ -5771,8 +6056,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
|
5771
6056
|
}
|
|
5772
6057
|
}
|
|
5773
6058
|
declare module "libs/shared/util/capacitor/src/WebStorage" {
|
|
5774
|
-
import { ConfigureOptions, MigrateResult,
|
|
5775
|
-
export class WebStorage implements
|
|
6059
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
6060
|
+
export class WebStorage implements PreferencesPlugin {
|
|
5776
6061
|
storage: Storage;
|
|
5777
6062
|
get(options: {
|
|
5778
6063
|
key: string;
|
|
@@ -5806,14 +6091,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
|
|
|
5806
6091
|
import { SharePlugin } from '@capacitor/share';
|
|
5807
6092
|
import { SplashScreenPlugin } from '@capacitor/splash-screen';
|
|
5808
6093
|
import { StatusBarPlugin } from '@capacitor/status-bar';
|
|
5809
|
-
import {
|
|
6094
|
+
import { PreferencesPlugin } from '@capacitor/preferences';
|
|
5810
6095
|
import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
|
|
5811
6096
|
import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
|
|
5812
6097
|
import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
|
|
5813
6098
|
import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
|
|
5814
6099
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
5815
6100
|
export interface CondensePluginRegistry {
|
|
5816
|
-
Storage:
|
|
6101
|
+
Storage: PreferencesPlugin;
|
|
5817
6102
|
Device: DevicePlugin;
|
|
5818
6103
|
App: AppPlugin;
|
|
5819
6104
|
Keyboard: KeyboardPlugin;
|
|
@@ -6342,14 +6627,18 @@ declare module "apps/reach-app/src/app/admin/web-hooks/utils" {
|
|
|
6342
6627
|
CommentUpdated = "CommentUpdated",
|
|
6343
6628
|
CommentDeleted = "CommentDeleted",
|
|
6344
6629
|
LikeAdded = "LikeAdded",
|
|
6345
|
-
LikeRemoved = "LikeRemoved"
|
|
6630
|
+
LikeRemoved = "LikeRemoved",
|
|
6631
|
+
PostCreated = "PostCreated",
|
|
6632
|
+
PostUpdated = "PostUpdated",
|
|
6633
|
+
PostDeleted = "PostDeleted"
|
|
6346
6634
|
}
|
|
6347
6635
|
export enum WebHookCategory {
|
|
6348
6636
|
News = "News",
|
|
6349
6637
|
Events = "Events",
|
|
6350
6638
|
Comments = "Comments",
|
|
6351
6639
|
Likes = "Likes",
|
|
6352
|
-
UserSelfRegistration = "UserSelfRegistration"
|
|
6640
|
+
UserSelfRegistration = "UserSelfRegistration",
|
|
6641
|
+
Posts = "Posts"
|
|
6353
6642
|
}
|
|
6354
6643
|
}
|
|
6355
6644
|
declare module "apps/reach-app/src/app/admin/web-hooks/WebHookEditor" {
|
|
@@ -6475,7 +6764,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
|
|
|
6475
6764
|
import { UserRegistrationResult } from "libs/reach/util/common/src/index";
|
|
6476
6765
|
import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
|
|
6477
6766
|
export function useSelfRegistrationApi(): {
|
|
6478
|
-
changeRegistrationStatus: (upn: string, doAccept: boolean) =>
|
|
6767
|
+
changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6479
6768
|
hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
|
|
6480
6769
|
register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
|
|
6481
6770
|
updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
|
|
@@ -6531,6 +6820,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
|
|
|
6531
6820
|
onSaved: (newProperties: UpdatableUserProperties) => void;
|
|
6532
6821
|
}>;
|
|
6533
6822
|
}
|
|
6823
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
|
|
6824
|
+
import { FC } from 'react';
|
|
6825
|
+
import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
|
|
6826
|
+
export const GenerateApiKeyDialog: FC<{
|
|
6827
|
+
onApiKeyAdded?: () => void;
|
|
6828
|
+
onDismiss: () => void;
|
|
6829
|
+
user?: UserItem;
|
|
6830
|
+
}>;
|
|
6831
|
+
}
|
|
6534
6832
|
declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
6535
6833
|
import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
|
|
6536
6834
|
import './UserList.scss';
|
|
@@ -6554,7 +6852,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
|
6554
6852
|
isLoading?: boolean;
|
|
6555
6853
|
isEmpty?: boolean;
|
|
6556
6854
|
emptyPlaceholder?: ReactNode;
|
|
6855
|
+
onKeyChanged?: () => void;
|
|
6557
6856
|
}
|
|
6857
|
+
export type UserItem = Account & UserSummary & GroupUser & {
|
|
6858
|
+
accountType: string;
|
|
6859
|
+
lastLogin: string | JSX.Element;
|
|
6860
|
+
};
|
|
6558
6861
|
export const UserList: FC<Props>;
|
|
6559
6862
|
}
|
|
6560
6863
|
declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
|
|
@@ -6587,12 +6890,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6587
6890
|
className?: string;
|
|
6588
6891
|
}>;
|
|
6589
6892
|
}
|
|
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
6893
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6597
6894
|
import { FC } from 'react';
|
|
6598
6895
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|
|
@@ -6612,19 +6909,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
|
|
|
6612
6909
|
}
|
|
6613
6910
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
|
|
6614
6911
|
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6912
|
+
export enum ValidationStatus {
|
|
6913
|
+
Valid = 0,
|
|
6914
|
+
WithErrors = 1,
|
|
6915
|
+
WithUserErrors = 2
|
|
6916
|
+
}
|
|
6917
|
+
export type CsvValidation = {
|
|
6918
|
+
Status?: ValidationStatus;
|
|
6919
|
+
Message?: string;
|
|
6920
|
+
InvalidItems?: string[];
|
|
6921
|
+
};
|
|
6615
6922
|
export function useUserCsvInviter(): {
|
|
6616
6923
|
invitedUsers: UserImport[];
|
|
6617
6924
|
isValidating: boolean;
|
|
6618
6925
|
isCsvValid: boolean;
|
|
6619
6926
|
parseCsvFile: (csvFile: File) => void;
|
|
6620
|
-
|
|
6621
|
-
|
|
6927
|
+
csvValidation: CsvValidation;
|
|
6928
|
+
setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
|
|
6622
6929
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6623
6930
|
isParserReady: boolean;
|
|
6624
6931
|
isInviting: boolean;
|
|
6625
6932
|
canInvite: boolean;
|
|
6933
|
+
csvFile: File;
|
|
6626
6934
|
};
|
|
6627
6935
|
}
|
|
6936
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
|
|
6937
|
+
export function createCsvUrl(header: string, content: string): string;
|
|
6938
|
+
}
|
|
6939
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
|
|
6940
|
+
import { FC } from 'react';
|
|
6941
|
+
import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
|
|
6942
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6943
|
+
export const CsvFileValidationResult: FC<{
|
|
6944
|
+
csvValidation: CsvValidation;
|
|
6945
|
+
invitedUsers: UserImport[];
|
|
6946
|
+
}>;
|
|
6947
|
+
}
|
|
6628
6948
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6629
6949
|
import { FC } from 'react';
|
|
6630
6950
|
export const ImportUserButton: FC<{
|
|
@@ -6657,9 +6977,6 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
|
|
|
6657
6977
|
children?: (content: string, index: number) => JSX.Element;
|
|
6658
6978
|
}>;
|
|
6659
6979
|
}
|
|
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
6980
|
declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
6664
6981
|
import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
|
|
6665
6982
|
export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
|
|
@@ -6706,6 +7023,13 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6706
7023
|
likeCount: number;
|
|
6707
7024
|
static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
|
|
6708
7025
|
}
|
|
7026
|
+
export class AutoFollowItemTriggerAction implements AppTriggerAction {
|
|
7027
|
+
static type: string;
|
|
7028
|
+
type: string;
|
|
7029
|
+
recurrenceSeriesId: string;
|
|
7030
|
+
isFollowed: boolean;
|
|
7031
|
+
static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
|
|
7032
|
+
}
|
|
6709
7033
|
export class DeletedItemsTriggerAction implements AppTriggerAction {
|
|
6710
7034
|
static type: string;
|
|
6711
7035
|
type: string;
|
|
@@ -6738,6 +7062,14 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6738
7062
|
itemId: string;
|
|
6739
7063
|
static create(itemId: string): RefetchStreamItemAction;
|
|
6740
7064
|
}
|
|
7065
|
+
export class PagesRecycleBinCleanUpAction implements AppTriggerAction {
|
|
7066
|
+
static type: string;
|
|
7067
|
+
type: string;
|
|
7068
|
+
pageId: string;
|
|
7069
|
+
parentId: string;
|
|
7070
|
+
affectedGroupIds: string[];
|
|
7071
|
+
static create(pageId: string, parentId: string, affectedGroupIds: string[]): PagesRecycleBinCleanUpAction;
|
|
7072
|
+
}
|
|
6741
7073
|
}
|
|
6742
7074
|
declare module "libs/reach/feature/content/src/comments/CommentFilter" {
|
|
6743
7075
|
export interface CommentFilter {
|
|
@@ -6754,119 +7086,44 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
|
|
|
6754
7086
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6755
7087
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
6756
7088
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7089
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6757
7090
|
import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
|
|
6758
7091
|
export function useCommentApi(): {
|
|
6759
|
-
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) =>
|
|
6760
|
-
createEditorComment: (itemId: string, comment: Partial<Comment>) =>
|
|
6761
|
-
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) =>
|
|
6762
|
-
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) =>
|
|
6763
|
-
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) =>
|
|
6764
|
-
getEditorConversations: (itemId: string) =>
|
|
7092
|
+
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7093
|
+
createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7094
|
+
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7095
|
+
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7096
|
+
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
|
|
7097
|
+
getEditorConversations: (itemId: string) => Promise<Comment[]>;
|
|
6765
7098
|
translateComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, targetLanguage: string) => Promise<string>;
|
|
6766
|
-
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) =>
|
|
6767
|
-
deleteEditorComment: (itemId: string, commentId: string) =>
|
|
7099
|
+
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
7100
|
+
deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6768
7101
|
toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
|
|
6769
|
-
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) =>
|
|
7102
|
+
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6770
7103
|
onCommentCreated$: import("rxjs").Observable<string>;
|
|
6771
7104
|
};
|
|
6772
7105
|
}
|
|
6773
|
-
declare module "libs/reach/feature/content/src/
|
|
6774
|
-
import {
|
|
6775
|
-
import { ConversationScope } from "libs/reach/util/common/src/index";
|
|
6776
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6777
|
-
interface Props {
|
|
6778
|
-
type: ItemResourceTypes;
|
|
6779
|
-
itemId: string;
|
|
6780
|
-
className?: string;
|
|
6781
|
-
scope: ConversationScope;
|
|
6782
|
-
hideProfileUrl?: boolean;
|
|
6783
|
-
}
|
|
6784
|
-
export const FollowComments: FC<Props>;
|
|
7106
|
+
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
7107
|
+
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
6785
7108
|
}
|
|
6786
|
-
declare module "libs/reach/feature/content/src/
|
|
6787
|
-
import {
|
|
6788
|
-
|
|
6789
|
-
export interface UserSuggestion {
|
|
6790
|
-
id: string;
|
|
6791
|
-
upn: string;
|
|
6792
|
-
displayName: string;
|
|
6793
|
-
display: string;
|
|
6794
|
-
}
|
|
6795
|
-
export interface SuggestionArgs {
|
|
6796
|
-
searchText: string;
|
|
6797
|
-
updateSuggestions: (suggestions: UserSuggestion[]) => any;
|
|
6798
|
-
}
|
|
6799
|
-
export interface CommentInputProps {
|
|
6800
|
-
className?: string;
|
|
6801
|
-
content: string;
|
|
7109
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
7110
|
+
import { FC } from 'react';
|
|
7111
|
+
export const ConfirmationBox: FC<{
|
|
6802
7112
|
disabled?: boolean;
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
onChange?: (value: string) => void;
|
|
6807
|
-
onFocus?: () => void;
|
|
6808
|
-
additionalInputControl?: ReactNode;
|
|
6809
|
-
buttons?: {
|
|
6810
|
-
leftSide?: ReactNode;
|
|
6811
|
-
rightSide?: ReactNode;
|
|
6812
|
-
};
|
|
6813
|
-
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6814
|
-
placeHolderStringResourceKey?: string;
|
|
6815
|
-
placeHolderStringResourceValues?: {
|
|
6816
|
-
[key: string]: string | number | boolean | Date;
|
|
6817
|
-
};
|
|
6818
|
-
disableBoxShadow?: boolean;
|
|
6819
|
-
ariaLabel?: string;
|
|
6820
|
-
}
|
|
6821
|
-
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
7113
|
+
onChange?: (value: boolean) => void;
|
|
7114
|
+
checked: boolean;
|
|
7115
|
+
}>;
|
|
6822
7116
|
}
|
|
6823
|
-
declare module "libs/reach/feature/content/src/
|
|
6824
|
-
import { FC } from 'react';
|
|
6825
|
-
export const
|
|
7117
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
7118
|
+
import { FC, ReactNode } from 'react';
|
|
7119
|
+
export const GutterMarkerIcon: FC<{
|
|
7120
|
+
iconName: string;
|
|
7121
|
+
children: ReactNode;
|
|
6826
7122
|
isActive: boolean;
|
|
6827
|
-
|
|
6828
|
-
|
|
6829
|
-
|
|
6830
|
-
|
|
6831
|
-
import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
|
|
6832
|
-
export interface KalturaProperties {
|
|
6833
|
-
sp?: string;
|
|
6834
|
-
uiconfId?: string;
|
|
6835
|
-
partnerId?: string;
|
|
6836
|
-
entryId?: string;
|
|
6837
|
-
}
|
|
6838
|
-
export class VideoUrlParser {
|
|
6839
|
-
private url;
|
|
6840
|
-
private static ytRegex;
|
|
6841
|
-
private static vimeoRegex;
|
|
6842
|
-
private static microsoftStreamRegex;
|
|
6843
|
-
private static vimeoDirectLinkRegex;
|
|
6844
|
-
private static vimeoRedirectLinkRegex;
|
|
6845
|
-
private static kalturaRegex;
|
|
6846
|
-
readonly source: VideoSource | null;
|
|
6847
|
-
readonly id: string | null;
|
|
6848
|
-
readonly isDirectVideoUrl: boolean;
|
|
6849
|
-
readonly videoProperties: any;
|
|
6850
|
-
readonly thumbnailUrl: string;
|
|
6851
|
-
constructor(url: string);
|
|
6852
|
-
isValid(features: FeatureSet): boolean;
|
|
6853
|
-
}
|
|
6854
|
-
export function getVideoSources(features: FeatureSet): any[];
|
|
6855
|
-
export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
|
|
6856
|
-
export function getAllVideoSources(features: FeatureSet): any[];
|
|
6857
|
-
}
|
|
6858
|
-
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
6859
|
-
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
6860
|
-
export function getAllVideosFromString(content: string): Generator<{
|
|
6861
|
-
url: string;
|
|
6862
|
-
type: AttachmentType;
|
|
6863
|
-
}, void, unknown>;
|
|
6864
|
-
export function getEmbeddedObjectsFromString(content: string): Generator<{
|
|
6865
|
-
url: string;
|
|
6866
|
-
subscriptionIdentifier: string;
|
|
6867
|
-
type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
|
|
6868
|
-
id: string;
|
|
6869
|
-
}, void, unknown>;
|
|
7123
|
+
color: string;
|
|
7124
|
+
tooltipResourceKey?: string;
|
|
7125
|
+
className?: string;
|
|
7126
|
+
}>;
|
|
6870
7127
|
}
|
|
6871
7128
|
declare module "libs/reach/feature/content/src/filter/OwnerFilterDefinition" {
|
|
6872
7129
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
@@ -6920,25 +7177,10 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6920
7177
|
And = "AND"
|
|
6921
7178
|
}
|
|
6922
7179
|
}
|
|
6923
|
-
declare module "libs/reach/feature/content/src/filter/
|
|
6924
|
-
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
6925
|
-
export class SortFieldsDefinitionBuilder<T extends string> {
|
|
6926
|
-
sort: string[];
|
|
6927
|
-
addSortField(field: T, direction?: SortDirection): this;
|
|
6928
|
-
private static getSortDirectionAsString;
|
|
6929
|
-
}
|
|
6930
|
-
}
|
|
6931
|
-
declare module "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition" {
|
|
6932
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6933
|
-
export interface EventsStartDateFilterDefinition extends IndexableFilterDefinition {
|
|
6934
|
-
startsAfter?: string;
|
|
6935
|
-
startsBefore?: string;
|
|
6936
|
-
}
|
|
6937
|
-
}
|
|
6938
|
-
declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
|
|
7180
|
+
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6939
7181
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6940
|
-
export interface
|
|
6941
|
-
|
|
7182
|
+
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
7183
|
+
author?: string;
|
|
6942
7184
|
}
|
|
6943
7185
|
}
|
|
6944
7186
|
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
@@ -6947,6 +7189,52 @@ declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition"
|
|
|
6947
7189
|
channels?: FilterWithLogicalOperator;
|
|
6948
7190
|
}
|
|
6949
7191
|
}
|
|
7192
|
+
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
7193
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7194
|
+
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
7195
|
+
export interface StateFilterDefinition extends IndexableFilterDefinition {
|
|
7196
|
+
state?: WorkflowStatus;
|
|
7197
|
+
}
|
|
7198
|
+
}
|
|
7199
|
+
declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
7200
|
+
import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
7201
|
+
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7202
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
7203
|
+
import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
7204
|
+
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
7205
|
+
groupId?: string;
|
|
7206
|
+
bookmarksOnly?: boolean;
|
|
7207
|
+
unreadOnly?: boolean;
|
|
7208
|
+
includeExpired?: boolean;
|
|
7209
|
+
}
|
|
7210
|
+
}
|
|
7211
|
+
declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
|
|
7212
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7213
|
+
export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
|
|
7214
|
+
afterDate?: string;
|
|
7215
|
+
}
|
|
7216
|
+
}
|
|
7217
|
+
declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
|
|
7218
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7219
|
+
export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
7220
|
+
contacts?: string[];
|
|
7221
|
+
}
|
|
7222
|
+
}
|
|
7223
|
+
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
7224
|
+
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
7225
|
+
export class SortFieldsDefinitionBuilder<T extends string> {
|
|
7226
|
+
sort: string[];
|
|
7227
|
+
addSortField(field: T, direction?: SortDirection): this;
|
|
7228
|
+
private static getSortDirectionAsString;
|
|
7229
|
+
}
|
|
7230
|
+
}
|
|
7231
|
+
declare module "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition" {
|
|
7232
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7233
|
+
export interface EventsStartDateFilterDefinition extends IndexableFilterDefinition {
|
|
7234
|
+
startsAfter?: string;
|
|
7235
|
+
startsBefore?: string;
|
|
7236
|
+
}
|
|
7237
|
+
}
|
|
6950
7238
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6951
7239
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6952
7240
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
@@ -6963,18 +7251,6 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6963
7251
|
}
|
|
6964
7252
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6965
7253
|
}
|
|
6966
|
-
declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
|
|
6967
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6968
|
-
export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
|
|
6969
|
-
afterDate?: string;
|
|
6970
|
-
}
|
|
6971
|
-
}
|
|
6972
|
-
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
6973
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6974
|
-
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
6975
|
-
author?: string;
|
|
6976
|
-
}
|
|
6977
|
-
}
|
|
6978
7254
|
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6979
7255
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6980
7256
|
export interface FilteringProps {
|
|
@@ -6984,25 +7260,6 @@ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
|
6984
7260
|
isFilterActive?: boolean;
|
|
6985
7261
|
}
|
|
6986
7262
|
}
|
|
6987
|
-
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
6988
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6989
|
-
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
6990
|
-
export interface StateFilterDefinition extends IndexableFilterDefinition {
|
|
6991
|
-
state?: WorkflowStatus;
|
|
6992
|
-
}
|
|
6993
|
-
}
|
|
6994
|
-
declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
6995
|
-
import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
6996
|
-
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6997
|
-
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
6998
|
-
import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
6999
|
-
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
7000
|
-
groupId?: string;
|
|
7001
|
-
bookmarksOnly?: boolean;
|
|
7002
|
-
unreadOnly?: boolean;
|
|
7003
|
-
includeExpired?: boolean;
|
|
7004
|
-
}
|
|
7005
|
-
}
|
|
7006
7263
|
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
7007
7264
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7008
7265
|
export enum ItemTypeFilterFlag {
|
|
@@ -7084,16 +7341,6 @@ declare module "libs/reach/feature/content/src/filter/utils" {
|
|
|
7084
7341
|
};
|
|
7085
7342
|
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
7086
7343
|
}
|
|
7087
|
-
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
7088
|
-
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
7089
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7090
|
-
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
7091
|
-
export function useEventsApi(): {
|
|
7092
|
-
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
7093
|
-
getEvent: (id: string) => Promise<EventItem>;
|
|
7094
|
-
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
7095
|
-
};
|
|
7096
|
-
}
|
|
7097
7344
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
7098
7345
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
7099
7346
|
import { Observable } from 'rxjs';
|
|
@@ -7153,396 +7400,596 @@ declare module "libs/reach/feature/content/src/news/useNewsApi" {
|
|
|
7153
7400
|
import { NewsApiService } from "libs/reach/feature/content/src/news/NewsApiService";
|
|
7154
7401
|
export function useNewsApi(): NewsApiService;
|
|
7155
7402
|
}
|
|
7156
|
-
declare module "libs/reach/feature/content/src/
|
|
7157
|
-
import {
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
pageContextId?: string;
|
|
7161
|
-
restrictToPageContext?: boolean;
|
|
7162
|
-
rootPagesOnly?: boolean;
|
|
7163
|
-
parentId?: string;
|
|
7164
|
-
pageType?: PageType;
|
|
7403
|
+
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7404
|
+
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7405
|
+
export default interface FeedbackSummary {
|
|
7406
|
+
records: FeedbackItem[];
|
|
7165
7407
|
}
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
loadPage: (id: string) => Promise<PageItem>;
|
|
7173
|
-
loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
7174
|
-
getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
|
|
7175
|
-
getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7176
|
-
searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7177
|
-
getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7178
|
-
searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7179
|
-
getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
|
|
7180
|
-
searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
|
|
7181
|
-
};
|
|
7182
|
-
}
|
|
7183
|
-
declare module "libs/reach/feature/content/src/posts/utils" {
|
|
7184
|
-
import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
7185
|
-
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7186
|
-
export interface Post extends BaseItem, ItemWithAttachments {
|
|
7187
|
-
id: string;
|
|
7188
|
-
comments?: PaginatedList<Comment>;
|
|
7189
|
-
groupId: string;
|
|
7190
|
-
content: string;
|
|
7191
|
-
permalink?: string;
|
|
7192
|
-
author: Account;
|
|
7193
|
-
publishingDate: string;
|
|
7194
|
-
modified?: string;
|
|
7195
|
-
statistics: ItemStatistics;
|
|
7196
|
-
keywords?: {
|
|
7197
|
-
[key: string]: Keyword[];
|
|
7198
|
-
};
|
|
7199
|
-
contentLanguageCode?: string;
|
|
7200
|
-
isLiked?: boolean;
|
|
7201
|
-
isUnread?: boolean;
|
|
7202
|
-
isDemoContent?: boolean;
|
|
7203
|
-
isFollowing?: boolean;
|
|
7408
|
+
export enum FeedbackItemType {
|
|
7409
|
+
comment = "comment",
|
|
7410
|
+
like = "like",
|
|
7411
|
+
confirm = "confirm",
|
|
7412
|
+
poll = "poll",
|
|
7413
|
+
eventRegistration = "eventRegistration"
|
|
7204
7414
|
}
|
|
7205
|
-
export interface
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7415
|
+
export interface FeedbackItem {
|
|
7416
|
+
type: FeedbackItemType;
|
|
7417
|
+
timestamp: string;
|
|
7418
|
+
}
|
|
7419
|
+
export interface PollFeedbackItem extends FeedbackItem {
|
|
7420
|
+
type: FeedbackItemType.poll;
|
|
7421
|
+
answers: PollQuestionAnswer[];
|
|
7210
7422
|
}
|
|
7211
|
-
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
7212
|
-
export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
|
|
7213
|
-
export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
|
|
7214
7423
|
}
|
|
7215
|
-
declare module "libs/reach/feature/content/src/
|
|
7216
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7217
|
-
import
|
|
7218
|
-
import {
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
getPost: (postId: string, commentCount?: number) => Promise<Post>;
|
|
7230
|
-
getPostThread: (postId: string, threadId: string) => Promise<Post>;
|
|
7231
|
-
translatePost: (postId: string, language: string) => any;
|
|
7232
|
-
searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
|
|
7424
|
+
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7425
|
+
import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7426
|
+
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7427
|
+
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7428
|
+
export const feedbackCache: {
|
|
7429
|
+
[newsId: string]: Promise<FeedbackSummary>;
|
|
7430
|
+
};
|
|
7431
|
+
export function useFeedbackApi(): {
|
|
7432
|
+
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7433
|
+
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7434
|
+
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7435
|
+
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7436
|
+
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7437
|
+
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
7233
7438
|
};
|
|
7234
7439
|
}
|
|
7235
|
-
declare module "libs/reach/feature/content/src/
|
|
7236
|
-
import {
|
|
7237
|
-
|
|
7440
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
7441
|
+
import { FC } from 'react';
|
|
7442
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
7443
|
+
export const ConfirmationSection: FC<{
|
|
7444
|
+
item?: NewsItem;
|
|
7445
|
+
showDescription: boolean;
|
|
7446
|
+
readOnly?: boolean;
|
|
7447
|
+
className?: string;
|
|
7448
|
+
}>;
|
|
7238
7449
|
}
|
|
7239
|
-
declare module "libs/reach/feature/content/src/
|
|
7240
|
-
import {
|
|
7241
|
-
import {
|
|
7242
|
-
|
|
7243
|
-
|
|
7450
|
+
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
7451
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
7452
|
+
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
7453
|
+
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
7454
|
+
export class NewsService {
|
|
7455
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7456
|
+
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7457
|
+
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
7458
|
+
static getContentLanguages(contents: {
|
|
7459
|
+
[lang: string]: ContentDefinition;
|
|
7460
|
+
}, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
|
|
7461
|
+
static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7462
|
+
static getLanguageForContent(contents: {
|
|
7463
|
+
[lang: string]: ContentDefinition;
|
|
7464
|
+
}, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7465
|
+
static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
|
|
7244
7466
|
}
|
|
7245
|
-
export type Attachments = (Attachment | ClientAttachment)[];
|
|
7246
|
-
export type RichCommentInputProps = CommentInputProps & {
|
|
7247
|
-
attachments: Attachment[];
|
|
7248
|
-
deletedAttachmentUrls: string[];
|
|
7249
|
-
allowAttachments?: boolean;
|
|
7250
|
-
useLargeDropTarget?: boolean;
|
|
7251
|
-
disableDragAndDrop?: boolean;
|
|
7252
|
-
onAttachmentsChange: (attachments: Attachments) => void;
|
|
7253
|
-
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
7254
|
-
placeHolderStringResourceKey?: string;
|
|
7255
|
-
disableAddGif?: boolean;
|
|
7256
|
-
disableAddFiles?: boolean;
|
|
7257
|
-
};
|
|
7258
|
-
export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
|
|
7259
|
-
attachments: Attachment[];
|
|
7260
|
-
deletedAttachmentUrls: string[];
|
|
7261
|
-
allowAttachments?: boolean;
|
|
7262
|
-
useLargeDropTarget?: boolean;
|
|
7263
|
-
disableDragAndDrop?: boolean;
|
|
7264
|
-
onAttachmentsChange: (attachments: Attachments) => void;
|
|
7265
|
-
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
7266
|
-
placeHolderStringResourceKey?: string;
|
|
7267
|
-
disableAddGif?: boolean;
|
|
7268
|
-
disableAddFiles?: boolean;
|
|
7269
|
-
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7270
|
-
}
|
|
7271
|
-
declare module "libs/reach/feature/content/src/comments/utils" {
|
|
7272
|
-
import { Comment, Attachment, CurrentUser } from "libs/reach/util/common/src/index";
|
|
7273
|
-
export function canSaveInput(allowSaveWithoutContent: boolean, attachments: Attachment[], content: string): boolean;
|
|
7274
|
-
export function canDelete(comment: Comment, user: CurrentUser, groupIds: string[]): boolean;
|
|
7275
|
-
export function canEdit(comment: Comment, user: CurrentUser): boolean;
|
|
7276
7467
|
}
|
|
7277
|
-
declare module "libs/reach/feature/content/src/
|
|
7278
|
-
import { VideoInfo } from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
7279
|
-
export const getMicrosoftStreamEmbedVideoUrl: (id: string, autoPlay?: boolean) => string;
|
|
7280
|
-
export const getMicrosoftStreamVideoUrl: (id: string) => string;
|
|
7281
|
-
export class VideoElementGenerator {
|
|
7282
|
-
private videoInfo;
|
|
7283
|
-
private iframeAreaLabel;
|
|
7284
|
-
private autoplay?;
|
|
7285
|
-
private width?;
|
|
7286
|
-
private videoProperties?;
|
|
7287
|
-
constructor(videoInfo: VideoInfo, iframeAreaLabel: string, autoplay?: boolean, width?: string, videoProperties?: any);
|
|
7288
|
-
private getYouTubeVideoElement;
|
|
7289
|
-
private getVimeoVideoElement;
|
|
7290
|
-
private getExternalVimeoVideoElement;
|
|
7291
|
-
private getMicrosoftStreamVideoElement;
|
|
7292
|
-
private getKalturaVideoElement;
|
|
7293
|
-
private getGenericURLVideoElement;
|
|
7294
|
-
private getVideoElement;
|
|
7295
|
-
private getNotSupportedElement;
|
|
7296
|
-
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
7297
|
-
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
7298
|
-
}
|
|
7299
|
-
}
|
|
7300
|
-
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
7301
|
-
import { FC } from 'react';
|
|
7302
|
-
import { VideoInfo } from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
7303
|
-
export const VideoView: FC<{
|
|
7304
|
-
videoInfo: VideoInfo;
|
|
7305
|
-
autoplay?: boolean;
|
|
7306
|
-
width?: string;
|
|
7307
|
-
className?: string;
|
|
7308
|
-
}>;
|
|
7309
|
-
}
|
|
7310
|
-
declare module "libs/reach/feature/content/src/forms/videos/InsertVideoDialog" {
|
|
7468
|
+
declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
|
|
7311
7469
|
import { FC } from 'react';
|
|
7312
|
-
import {
|
|
7313
|
-
export interface
|
|
7470
|
+
import { PublishableItemContents } from "libs/reach/util/common/src/index";
|
|
7471
|
+
export interface TranslationItem {
|
|
7472
|
+
language: string;
|
|
7314
7473
|
id: string;
|
|
7315
|
-
|
|
7316
|
-
url?: string;
|
|
7317
|
-
isDirectUrl?: boolean;
|
|
7474
|
+
text: string;
|
|
7318
7475
|
}
|
|
7319
|
-
export const
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
onSave: (videoInfo: VideoInfo) => void;
|
|
7323
|
-
isOpen?: boolean;
|
|
7476
|
+
export const PollTranslationContext: import("react").Context<{
|
|
7477
|
+
getTranslation: (id: string) => string;
|
|
7478
|
+
getAllTranslations: (id: string) => TranslationItem[];
|
|
7324
7479
|
}>;
|
|
7325
|
-
|
|
7326
|
-
|
|
7327
|
-
|
|
7328
|
-
|
|
7329
|
-
export const VideoWithThumbnailView: FC<{
|
|
7330
|
-
videoInfo: VideoInfo;
|
|
7331
|
-
videoThumbnailUrl: string;
|
|
7332
|
-
className?: string;
|
|
7480
|
+
export const PollTranslationContextProvider: FC<{
|
|
7481
|
+
contents?: PublishableItemContents;
|
|
7482
|
+
language: string;
|
|
7483
|
+
additionalTranslations?: TranslationItem[];
|
|
7333
7484
|
}>;
|
|
7334
7485
|
}
|
|
7335
|
-
declare module "libs/reach/feature/content/src/
|
|
7336
|
-
import {
|
|
7337
|
-
|
|
7338
|
-
export
|
|
7339
|
-
|
|
7340
|
-
onDeleteClick?: (video: Attachment) => void;
|
|
7341
|
-
className?: string;
|
|
7342
|
-
}>;
|
|
7486
|
+
declare module "libs/reach/feature/content/src/feedback/utils" {
|
|
7487
|
+
import { CurrentUser, FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7488
|
+
export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
|
|
7489
|
+
export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
|
|
7490
|
+
export function hasDisabledCommentsNotificationSettings(user: CurrentUser): boolean;
|
|
7343
7491
|
}
|
|
7344
|
-
declare module "libs/reach/feature/content/src/
|
|
7492
|
+
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
7493
|
+
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
7494
|
+
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
7495
|
+
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
7496
|
+
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
7497
|
+
}
|
|
7498
|
+
declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
7345
7499
|
import { FC } from 'react';
|
|
7346
|
-
import {
|
|
7347
|
-
export interface
|
|
7348
|
-
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
-
language?: string;
|
|
7352
|
-
filterBaseUrl?: string;
|
|
7353
|
-
onKeywordClick?: (keywordId: string) => void;
|
|
7500
|
+
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7501
|
+
export interface Props {
|
|
7502
|
+
type: ItemResourceTypes;
|
|
7503
|
+
itemId: string;
|
|
7504
|
+
recurrenceSeriesId?: string;
|
|
7354
7505
|
className?: string;
|
|
7506
|
+
scope: ConversationScope;
|
|
7507
|
+
hideProfileUrl?: boolean;
|
|
7508
|
+
onToggleFollow?: (isFollowed: boolean) => void;
|
|
7509
|
+
isReadOnly?: boolean;
|
|
7355
7510
|
}
|
|
7356
|
-
export const
|
|
7357
|
-
export const
|
|
7358
|
-
|
|
7359
|
-
groupName: string;
|
|
7360
|
-
keywords: {
|
|
7361
|
-
[key: string]: Keyword[];
|
|
7362
|
-
};
|
|
7363
|
-
language?: string;
|
|
7364
|
-
filterBaseUrl?: string;
|
|
7365
|
-
onKeywordClick?: (keywordId: string) => void;
|
|
7366
|
-
className?: string;
|
|
7367
|
-
}>;
|
|
7368
|
-
export const FlatKeywords: FC<{
|
|
7369
|
-
item: PublishableItem;
|
|
7370
|
-
filterBaseUrl?: string;
|
|
7511
|
+
export const FollowComments: FC<Props>;
|
|
7512
|
+
export const FollowCommentsNotificationWarning: FC<{
|
|
7513
|
+
hideProfileUrl?: boolean;
|
|
7371
7514
|
className?: string;
|
|
7372
|
-
useGridKeywordTitle?: boolean;
|
|
7373
|
-
onClick?: (keyword: string) => unknown;
|
|
7374
|
-
showAllKeywordsInCallout?: boolean;
|
|
7375
7515
|
}>;
|
|
7376
7516
|
}
|
|
7377
|
-
declare module "libs/reach/feature/content/src/
|
|
7378
|
-
import {
|
|
7379
|
-
import {
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
|
-
static getContentLanguages(contents: {
|
|
7386
|
-
[lang: string]: ContentDefinition;
|
|
7387
|
-
}, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
|
|
7388
|
-
static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7389
|
-
static getLanguageForContent(contents: {
|
|
7390
|
-
[lang: string]: ContentDefinition;
|
|
7391
|
-
}, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7392
|
-
static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
|
|
7517
|
+
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
7518
|
+
import { ReactNode } from 'react';
|
|
7519
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
7520
|
+
export interface UserSuggestion {
|
|
7521
|
+
id: string;
|
|
7522
|
+
upn: string;
|
|
7523
|
+
displayName: string;
|
|
7524
|
+
display: string;
|
|
7393
7525
|
}
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
export const ClickableOverlay: FC<{
|
|
7400
|
-
itemId: string;
|
|
7401
|
-
itemType: ItemResourceTypes;
|
|
7402
|
-
baseRoute: string;
|
|
7403
|
-
targetUrl?: string;
|
|
7404
|
-
title?: string;
|
|
7405
|
-
ariaLabelResourceKey?: string;
|
|
7406
|
-
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
7407
|
-
openTargetInNewWindow?: boolean;
|
|
7408
|
-
isExternalContent?: boolean;
|
|
7409
|
-
locationState?: LocationState;
|
|
7410
|
-
}>;
|
|
7411
|
-
}
|
|
7412
|
-
declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
|
|
7413
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7414
|
-
import { FC } from 'react';
|
|
7415
|
-
export const ClickableOverlayWithModalRouting: FC<{
|
|
7416
|
-
itemId: string;
|
|
7417
|
-
itemType: ItemResourceTypes;
|
|
7418
|
-
baseRoute: string;
|
|
7419
|
-
title?: string;
|
|
7420
|
-
isExternalContent?: boolean;
|
|
7421
|
-
targetUrl?: string;
|
|
7422
|
-
}>;
|
|
7423
|
-
}
|
|
7424
|
-
declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
7425
|
-
import { FC } from 'react';
|
|
7426
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
7427
|
-
export const PostItemTile: FC<{
|
|
7428
|
-
post: Post;
|
|
7429
|
-
targetUrl?: string;
|
|
7430
|
-
readOnly?: boolean;
|
|
7431
|
-
backgroundColor?: string;
|
|
7432
|
-
enableModalRouting?: boolean;
|
|
7526
|
+
export interface SuggestionArgs {
|
|
7527
|
+
searchText: string;
|
|
7528
|
+
updateSuggestions: (suggestions: UserSuggestion[]) => any;
|
|
7529
|
+
}
|
|
7530
|
+
export interface CommentInputProps {
|
|
7433
7531
|
className?: string;
|
|
7434
|
-
|
|
7532
|
+
content: string;
|
|
7533
|
+
disabled?: boolean;
|
|
7534
|
+
autoFocus?: boolean;
|
|
7535
|
+
onEnter?: () => void;
|
|
7536
|
+
onCtrlEnter?: () => unknown;
|
|
7537
|
+
onChange?: (value: string) => void;
|
|
7538
|
+
onFocus?: () => void;
|
|
7539
|
+
additionalInputControl?: ReactNode;
|
|
7540
|
+
buttons?: {
|
|
7541
|
+
leftSide?: ReactNode;
|
|
7542
|
+
rightSide?: ReactNode;
|
|
7543
|
+
};
|
|
7544
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7545
|
+
placeHolderStringResourceKey?: string;
|
|
7546
|
+
placeHolderStringResourceValues?: {
|
|
7547
|
+
[key: string]: string | number | boolean | Date;
|
|
7548
|
+
};
|
|
7549
|
+
disableBoxShadow?: boolean;
|
|
7550
|
+
ariaLabel?: string;
|
|
7551
|
+
}
|
|
7552
|
+
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
7435
7553
|
}
|
|
7436
|
-
declare module "libs/reach/feature/content/src/
|
|
7554
|
+
declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
7437
7555
|
import { FC } from 'react';
|
|
7438
|
-
|
|
7439
|
-
|
|
7440
|
-
|
|
7441
|
-
|
|
7442
|
-
className?: string;
|
|
7443
|
-
}>;
|
|
7556
|
+
export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
7557
|
+
isActive: boolean;
|
|
7558
|
+
}, never>;
|
|
7559
|
+
export const DropInfo: FC;
|
|
7444
7560
|
}
|
|
7445
|
-
declare module "libs/reach/feature/content/src/
|
|
7446
|
-
|
|
7447
|
-
|
|
7448
|
-
|
|
7561
|
+
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
7562
|
+
import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
|
|
7563
|
+
import { VideoSource as VideoSourceEnvironment } from "libs/shared/util/environment/src/index";
|
|
7564
|
+
export interface KalturaProperties {
|
|
7565
|
+
sp?: string;
|
|
7566
|
+
uiconfId?: string;
|
|
7567
|
+
partnerId?: string;
|
|
7568
|
+
entryId?: string;
|
|
7569
|
+
}
|
|
7570
|
+
export const showPlayerForGenericVideoSource: (url: string, additionalVideoSources?: VideoSourceEnvironment[]) => boolean;
|
|
7571
|
+
export class VideoUrlParser {
|
|
7572
|
+
private url;
|
|
7573
|
+
private additionalVideoSources?;
|
|
7574
|
+
private static ytRegex;
|
|
7575
|
+
private static vimeoRegex;
|
|
7576
|
+
private static microsoftStreamRegex;
|
|
7577
|
+
private static vimeoDirectLinkRegex;
|
|
7578
|
+
private static vimeoRedirectLinkRegex;
|
|
7579
|
+
private static kalturaRegex;
|
|
7580
|
+
readonly source: VideoSource | null;
|
|
7581
|
+
readonly id: string | null;
|
|
7582
|
+
readonly isDirectVideoUrl: boolean;
|
|
7583
|
+
readonly videoProperties: any;
|
|
7584
|
+
readonly thumbnailUrl: string;
|
|
7585
|
+
constructor(url: string, additionalVideoSources?: VideoSourceEnvironment[]);
|
|
7586
|
+
hasValidGenericUrlVideoSourcePrefix(url: string): boolean;
|
|
7587
|
+
isValid(features: FeatureSet): boolean;
|
|
7588
|
+
}
|
|
7589
|
+
export function getVideoSources(features: FeatureSet, additionalVideoSources?: VideoSourceEnvironment[]): any[];
|
|
7590
|
+
export function getAllVideoSources(features: FeatureSet, additionalVideoSources?: VideoSourceEnvironment[]): any[];
|
|
7449
7591
|
}
|
|
7450
|
-
declare module "libs/reach/feature/content/src/
|
|
7451
|
-
import {
|
|
7452
|
-
|
|
7453
|
-
|
|
7454
|
-
|
|
7455
|
-
|
|
7456
|
-
|
|
7457
|
-
|
|
7458
|
-
|
|
7459
|
-
|
|
7460
|
-
|
|
7461
|
-
|
|
7462
|
-
className?: string;
|
|
7463
|
-
}>;
|
|
7464
|
-
export const EventChannelsDisplay: FC<{
|
|
7465
|
-
item: EventItem;
|
|
7466
|
-
language: string;
|
|
7467
|
-
className?: string;
|
|
7468
|
-
allowFilterByChannels?: boolean;
|
|
7469
|
-
channelBackgroundColor?: string;
|
|
7470
|
-
}>;
|
|
7592
|
+
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
7593
|
+
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
7594
|
+
export function getAllVideosFromString(content: string): Generator<{
|
|
7595
|
+
url: string;
|
|
7596
|
+
type: AttachmentType;
|
|
7597
|
+
}, void, unknown>;
|
|
7598
|
+
export function getEmbeddedObjectsFromString(content: string): Generator<{
|
|
7599
|
+
url: string;
|
|
7600
|
+
subscriptionIdentifier: string;
|
|
7601
|
+
type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
|
|
7602
|
+
id: string;
|
|
7603
|
+
}, void, unknown>;
|
|
7471
7604
|
}
|
|
7472
|
-
declare module "libs/reach/feature/content/src/
|
|
7473
|
-
import {
|
|
7474
|
-
|
|
7475
|
-
|
|
7476
|
-
|
|
7477
|
-
|
|
7478
|
-
|
|
7479
|
-
|
|
7480
|
-
}
|
|
7481
|
-
export const BannerImage: FC<BannerImageProps>;
|
|
7605
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
7606
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
7607
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7608
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
7609
|
+
export function useEventsApi(): {
|
|
7610
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
7611
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
7612
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
7613
|
+
};
|
|
7482
7614
|
}
|
|
7483
|
-
declare module "libs/reach/feature/content/src/
|
|
7484
|
-
import {
|
|
7485
|
-
|
|
7486
|
-
export interface
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7615
|
+
declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
|
|
7616
|
+
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7617
|
+
import { PageType } from "libs/reach/util/common/src/index";
|
|
7618
|
+
export interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
7619
|
+
pageContextId?: string;
|
|
7620
|
+
restrictToPageContext?: boolean;
|
|
7621
|
+
rootPagesOnly?: boolean;
|
|
7622
|
+
parentId?: string;
|
|
7623
|
+
pageType?: PageType;
|
|
7491
7624
|
}
|
|
7492
|
-
|
|
7493
|
-
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
|
|
7497
|
-
|
|
7625
|
+
}
|
|
7626
|
+
declare module "libs/reach/feature/content/src/pages/usePagesApi" {
|
|
7627
|
+
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
7628
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7629
|
+
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
|
|
7630
|
+
export function usePagesApi(): {
|
|
7631
|
+
loadPage: (id: string) => Promise<PageItem>;
|
|
7632
|
+
loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
7633
|
+
getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
|
|
7634
|
+
getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7635
|
+
searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7636
|
+
getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7637
|
+
searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7638
|
+
getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
|
|
7639
|
+
searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
|
|
7640
|
+
};
|
|
7641
|
+
}
|
|
7642
|
+
declare module "libs/reach/feature/content/src/posts/utils" {
|
|
7643
|
+
import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
7644
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7645
|
+
export interface Post extends BaseItem, ItemWithAttachments {
|
|
7646
|
+
id: string;
|
|
7647
|
+
comments?: PaginatedList<Comment>;
|
|
7648
|
+
groupId: string;
|
|
7649
|
+
content: string;
|
|
7650
|
+
permalink?: string;
|
|
7651
|
+
author: Account;
|
|
7652
|
+
publishingDate: string;
|
|
7653
|
+
modified?: string;
|
|
7654
|
+
statistics: ItemStatistics;
|
|
7655
|
+
keywords?: {
|
|
7656
|
+
[key: string]: Keyword[];
|
|
7657
|
+
};
|
|
7658
|
+
contentLanguageCode?: string;
|
|
7659
|
+
isLiked?: boolean;
|
|
7660
|
+
isUnread?: boolean;
|
|
7661
|
+
isDemoContent?: boolean;
|
|
7662
|
+
isFollowing?: boolean;
|
|
7498
7663
|
}
|
|
7499
|
-
export interface
|
|
7500
|
-
|
|
7664
|
+
export interface PostFilterDefinition {
|
|
7665
|
+
token?: string;
|
|
7666
|
+
pageSize?: string;
|
|
7667
|
+
search?: string;
|
|
7668
|
+
keywords?: FilterWithLogicalOperator;
|
|
7501
7669
|
}
|
|
7670
|
+
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
7671
|
+
export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
|
|
7672
|
+
export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
|
|
7502
7673
|
}
|
|
7503
|
-
declare module "libs/reach/feature/content/src/
|
|
7504
|
-
import {
|
|
7505
|
-
import {
|
|
7506
|
-
|
|
7507
|
-
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
|
|
7511
|
-
|
|
7674
|
+
declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
7675
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7676
|
+
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7677
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7678
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
7679
|
+
import { Post, PostFilterDefinition } from "libs/reach/feature/content/src/posts/utils";
|
|
7680
|
+
export function usePostsApi(): {
|
|
7681
|
+
createPost: (post: Partial<Post>) => Promise<Post>;
|
|
7682
|
+
togglePostLike: (postId: string, isLiked: boolean) => Promise<unknown>;
|
|
7683
|
+
getPosts: (filter?: Partial<PostFilterDefinition>, ...groupIds: string[]) => Promise<PaginatedList<Post>>;
|
|
7684
|
+
updatePost: (postId: string, content: string, attachments: Attachment[], keywords?: {
|
|
7685
|
+
[key: string]: Keyword[];
|
|
7686
|
+
}) => Promise<Post>;
|
|
7687
|
+
deletePost: (postId: string) => Promise<unknown>;
|
|
7688
|
+
getPost: (postId: string, commentCount?: number) => Promise<Post>;
|
|
7689
|
+
getPostThread: (postId: string, threadId: string) => Promise<Post>;
|
|
7690
|
+
translatePost: (postId: string, language: string) => Promise<string>;
|
|
7691
|
+
searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
|
|
7512
7692
|
};
|
|
7513
7693
|
}
|
|
7514
|
-
declare module "libs/reach/feature/content/src/common/
|
|
7694
|
+
declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectValidator" {
|
|
7695
|
+
import { EmbeddedObject } from "libs/reach/util/common/src/index";
|
|
7696
|
+
export function useEmbeddedObjectValidator(): (embeddedObject: EmbeddedObject) => Promise<boolean>;
|
|
7697
|
+
}
|
|
7698
|
+
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
7699
|
+
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
7700
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7701
|
+
export interface ClientAttachment extends Attachment {
|
|
7702
|
+
file?: File;
|
|
7703
|
+
}
|
|
7704
|
+
export type Attachments = (Attachment | ClientAttachment)[];
|
|
7705
|
+
export type RichCommentInputProps = CommentInputProps & {
|
|
7706
|
+
attachments: Attachment[];
|
|
7707
|
+
deletedAttachmentUrls: string[];
|
|
7708
|
+
allowAttachments?: boolean;
|
|
7709
|
+
useLargeDropTarget?: boolean;
|
|
7710
|
+
disableDragAndDrop?: boolean;
|
|
7711
|
+
onAttachmentsChange: (attachments: Attachments) => void;
|
|
7712
|
+
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
7713
|
+
placeHolderStringResourceKey?: string;
|
|
7714
|
+
disableAddGif?: boolean;
|
|
7715
|
+
disableAddFiles?: boolean;
|
|
7716
|
+
parentId?: string;
|
|
7717
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
7718
|
+
};
|
|
7719
|
+
export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
|
|
7720
|
+
attachments: Attachment[];
|
|
7721
|
+
deletedAttachmentUrls: string[];
|
|
7722
|
+
allowAttachments?: boolean;
|
|
7723
|
+
useLargeDropTarget?: boolean;
|
|
7724
|
+
disableDragAndDrop?: boolean;
|
|
7725
|
+
onAttachmentsChange: (attachments: Attachments) => void;
|
|
7726
|
+
onDeleteAttachment?: (attachment: Attachment) => void;
|
|
7727
|
+
placeHolderStringResourceKey?: string;
|
|
7728
|
+
disableAddGif?: boolean;
|
|
7729
|
+
disableAddFiles?: boolean;
|
|
7730
|
+
parentId?: string;
|
|
7731
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
7732
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7733
|
+
}
|
|
7734
|
+
declare module "libs/reach/feature/content/src/comments/utils" {
|
|
7735
|
+
import { Comment, Attachment, CurrentUser } from "libs/reach/util/common/src/index";
|
|
7736
|
+
export function canSaveInput(allowSaveWithoutContent: boolean, attachments: Attachment[], content: string): boolean;
|
|
7737
|
+
export function canDelete(comment: Comment, user: CurrentUser, groupIds: string[]): boolean;
|
|
7738
|
+
export function canEdit(comment: Comment, user: CurrentUser): boolean;
|
|
7739
|
+
}
|
|
7740
|
+
declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerator" {
|
|
7741
|
+
import { VideoInfo } from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
7742
|
+
export const getMicrosoftStreamEmbedVideoUrl: (id: string, autoPlay?: boolean) => string;
|
|
7743
|
+
export const getMicrosoftStreamVideoUrl: (id: string) => string;
|
|
7744
|
+
export class VideoElementGenerator {
|
|
7745
|
+
private videoInfo;
|
|
7746
|
+
private iframeAreaLabel;
|
|
7747
|
+
private autoplay?;
|
|
7748
|
+
private width?;
|
|
7749
|
+
private videoProperties?;
|
|
7750
|
+
constructor(videoInfo: VideoInfo, iframeAreaLabel: string, autoplay?: boolean, width?: string, videoProperties?: any);
|
|
7751
|
+
private getYouTubeVideoElement;
|
|
7752
|
+
private getVimeoVideoElement;
|
|
7753
|
+
private getExternalVimeoVideoElement;
|
|
7754
|
+
private getMicrosoftStreamVideoElement;
|
|
7755
|
+
private getKalturaVideoElement;
|
|
7756
|
+
private getGenericURLVideoElement;
|
|
7757
|
+
private getVideoElement;
|
|
7758
|
+
private getNotSupportedElement;
|
|
7759
|
+
static getVideoElement(videoInfo: VideoInfo, autoplay?: boolean, width?: string, iframeAreaLabel?: string, videoProperties?: any): HTMLElement;
|
|
7760
|
+
static getVideoType(videoInfo: VideoInfo): "" | "YouTube" | "Vimeo" | "Microsoft Stream" | "Kaltura" | "Generic";
|
|
7761
|
+
}
|
|
7762
|
+
}
|
|
7763
|
+
declare module "libs/reach/feature/content/src/forms/videos/VideoView" {
|
|
7515
7764
|
import { FC } from 'react';
|
|
7516
|
-
import {
|
|
7517
|
-
|
|
7518
|
-
|
|
7519
|
-
|
|
7520
|
-
|
|
7521
|
-
width: number;
|
|
7522
|
-
resourceType: ItemResourceTypes;
|
|
7523
|
-
token?: string;
|
|
7524
|
-
canOpenImage?: boolean;
|
|
7525
|
-
onPlayButtonClick?: () => unknown;
|
|
7526
|
-
height?: number;
|
|
7527
|
-
hidePlayerIfActive?: boolean;
|
|
7765
|
+
import { VideoInfo } from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
7766
|
+
export const VideoView: FC<{
|
|
7767
|
+
videoInfo: VideoInfo;
|
|
7768
|
+
autoplay?: boolean;
|
|
7769
|
+
width?: string;
|
|
7528
7770
|
className?: string;
|
|
7771
|
+
}>;
|
|
7772
|
+
}
|
|
7773
|
+
declare module "libs/reach/feature/content/src/forms/videos/InsertVideoDialog" {
|
|
7774
|
+
import { FC } from 'react';
|
|
7775
|
+
import { VideoSource } from "libs/reach/util/common/src/index";
|
|
7776
|
+
export interface VideoInfo {
|
|
7777
|
+
id: string;
|
|
7778
|
+
source: VideoSource;
|
|
7779
|
+
url?: string;
|
|
7780
|
+
isDirectUrl?: boolean;
|
|
7529
7781
|
}
|
|
7530
|
-
export const
|
|
7782
|
+
export const InsertVideoDialog: FC<{
|
|
7783
|
+
titleResource: string;
|
|
7784
|
+
onCancel: () => void;
|
|
7785
|
+
onSave: (videoInfo: VideoInfo) => void;
|
|
7786
|
+
isOpen?: boolean;
|
|
7787
|
+
}>;
|
|
7531
7788
|
}
|
|
7532
|
-
declare module "libs/reach/feature/content/src/
|
|
7789
|
+
declare module "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView" {
|
|
7533
7790
|
import { FC } from 'react';
|
|
7534
|
-
import {
|
|
7535
|
-
export const
|
|
7536
|
-
|
|
7537
|
-
|
|
7538
|
-
|
|
7539
|
-
showPlaceholder?: boolean;
|
|
7791
|
+
import { VideoInfo } from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
7792
|
+
export const VideoWithThumbnailView: FC<{
|
|
7793
|
+
videoInfo: VideoInfo;
|
|
7794
|
+
videoThumbnailUrl: string;
|
|
7795
|
+
className?: string;
|
|
7540
7796
|
}>;
|
|
7541
7797
|
}
|
|
7542
|
-
declare module "libs/reach/feature/content/src/
|
|
7798
|
+
declare module "libs/reach/feature/content/src/posts/VideoList" {
|
|
7543
7799
|
import { FC } from 'react';
|
|
7544
|
-
|
|
7545
|
-
|
|
7800
|
+
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7801
|
+
export const VideoList: FC<{
|
|
7802
|
+
attachments: Attachment[];
|
|
7803
|
+
onDeleteClick?: (video: Attachment) => void;
|
|
7804
|
+
className?: string;
|
|
7805
|
+
}>;
|
|
7806
|
+
}
|
|
7807
|
+
declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
7808
|
+
import { FC } from 'react';
|
|
7809
|
+
import { Keyword, PublishableItem } from "libs/reach/util/common/src/index";
|
|
7810
|
+
export interface KeywordsInfoProps {
|
|
7811
|
+
keywords: {
|
|
7812
|
+
[key: string]: Keyword[];
|
|
7813
|
+
};
|
|
7814
|
+
language?: string;
|
|
7815
|
+
filterBaseUrl?: string;
|
|
7816
|
+
onKeywordClick?: (keywordId: string) => void;
|
|
7817
|
+
className?: string;
|
|
7818
|
+
}
|
|
7819
|
+
export const KeywordsInfo: FC<KeywordsInfoProps>;
|
|
7820
|
+
export const KeywordsGroup: FC<{
|
|
7821
|
+
groupId: string;
|
|
7822
|
+
groupName: string;
|
|
7823
|
+
keywords: {
|
|
7824
|
+
[key: string]: Keyword[];
|
|
7825
|
+
};
|
|
7826
|
+
language?: string;
|
|
7827
|
+
filterBaseUrl?: string;
|
|
7828
|
+
onKeywordClick?: (keywordId: string) => void;
|
|
7829
|
+
className?: string;
|
|
7830
|
+
}>;
|
|
7831
|
+
export const FlatKeywords: FC<{
|
|
7832
|
+
item: PublishableItem;
|
|
7833
|
+
filterBaseUrl?: string;
|
|
7834
|
+
className?: string;
|
|
7835
|
+
useGridKeywordTitle?: boolean;
|
|
7836
|
+
onClick?: (keyword: string) => unknown;
|
|
7837
|
+
showAllKeywordsInCallout?: boolean;
|
|
7838
|
+
}>;
|
|
7839
|
+
}
|
|
7840
|
+
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7841
|
+
import { FC, MouseEvent } from 'react';
|
|
7842
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7843
|
+
import { LocationState } from 'history';
|
|
7844
|
+
export const ClickableOverlay: FC<{
|
|
7845
|
+
itemId: string;
|
|
7846
|
+
itemType: ItemResourceTypes;
|
|
7847
|
+
baseRoute: string;
|
|
7848
|
+
targetUrl?: string;
|
|
7849
|
+
title?: string;
|
|
7850
|
+
ariaLabelResourceKey?: string;
|
|
7851
|
+
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
7852
|
+
openTargetInNewWindow?: boolean;
|
|
7853
|
+
isExternalContent?: boolean;
|
|
7854
|
+
locationState?: LocationState;
|
|
7855
|
+
}>;
|
|
7856
|
+
}
|
|
7857
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
|
|
7858
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7859
|
+
import { FC } from 'react';
|
|
7860
|
+
export const ClickableOverlayWithModalRouting: FC<{
|
|
7861
|
+
itemId: string;
|
|
7862
|
+
itemType: ItemResourceTypes;
|
|
7863
|
+
baseRoute: string;
|
|
7864
|
+
title?: string;
|
|
7865
|
+
isExternalContent?: boolean;
|
|
7866
|
+
targetUrl?: string;
|
|
7867
|
+
}>;
|
|
7868
|
+
}
|
|
7869
|
+
declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
7870
|
+
import { FC } from 'react';
|
|
7871
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
7872
|
+
export const PostItemTile: FC<{
|
|
7873
|
+
post: Post;
|
|
7874
|
+
targetUrl?: string;
|
|
7875
|
+
readOnly?: boolean;
|
|
7876
|
+
backgroundColor?: string;
|
|
7877
|
+
enableModalRouting?: boolean;
|
|
7878
|
+
className?: string;
|
|
7879
|
+
}>;
|
|
7880
|
+
}
|
|
7881
|
+
declare module "libs/reach/feature/content/src/events/EventLocationLink" {
|
|
7882
|
+
import { FC } from 'react';
|
|
7883
|
+
import { EventLocation } from "libs/reach/util/common/src/index";
|
|
7884
|
+
export const EventLocationLink: FC<{
|
|
7885
|
+
location: EventLocation;
|
|
7886
|
+
alternativeCaption?: string;
|
|
7887
|
+
className?: string;
|
|
7888
|
+
}>;
|
|
7889
|
+
}
|
|
7890
|
+
declare module "libs/reach/feature/content/src/common/detail/events/EventPathContext" {
|
|
7891
|
+
export const EventPathContext: import("react").Context<{
|
|
7892
|
+
eventsRootPath?: string;
|
|
7893
|
+
}>;
|
|
7894
|
+
}
|
|
7895
|
+
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo" {
|
|
7896
|
+
import { FC } from 'react';
|
|
7897
|
+
import { EventItem, EventLocation } from "libs/reach/util/common/src/index";
|
|
7898
|
+
export const EventLocationInfo: FC<{
|
|
7899
|
+
locations: EventLocation[];
|
|
7900
|
+
className?: string;
|
|
7901
|
+
}>;
|
|
7902
|
+
export const EventPeopleInfo: FC<{
|
|
7903
|
+
item: EventItem;
|
|
7904
|
+
hideAnnouncer?: boolean;
|
|
7905
|
+
showFirstContactOnly?: boolean;
|
|
7906
|
+
labelResourceKey?: string;
|
|
7907
|
+
className?: string;
|
|
7908
|
+
}>;
|
|
7909
|
+
export const EventChannelsDisplay: FC<{
|
|
7910
|
+
item: EventItem;
|
|
7911
|
+
language: string;
|
|
7912
|
+
className?: string;
|
|
7913
|
+
allowFilterByChannels?: boolean;
|
|
7914
|
+
channelBackgroundColor?: string;
|
|
7915
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7916
|
+
}>;
|
|
7917
|
+
}
|
|
7918
|
+
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
7919
|
+
import { FC } from 'react';
|
|
7920
|
+
interface BannerImageProps {
|
|
7921
|
+
children?: any;
|
|
7922
|
+
className?: string;
|
|
7923
|
+
imageUrl: string;
|
|
7924
|
+
openImageUrl?: string;
|
|
7925
|
+
altText?: string;
|
|
7926
|
+
}
|
|
7927
|
+
export const BannerImage: FC<BannerImageProps>;
|
|
7928
|
+
}
|
|
7929
|
+
declare module "libs/reach/feature/content/src/common/banner/ImageDetail" {
|
|
7930
|
+
import { Observable } from 'rxjs';
|
|
7931
|
+
export type ImageVariant = 'original' | 'default';
|
|
7932
|
+
export interface ImageCreate {
|
|
7933
|
+
itemId: string;
|
|
7934
|
+
variant: ImageVariant;
|
|
7935
|
+
identifier: string;
|
|
7936
|
+
image: File;
|
|
7937
|
+
}
|
|
7938
|
+
export interface ImageMetaInfo {
|
|
7939
|
+
itemId: string;
|
|
7940
|
+
identifier: string;
|
|
7941
|
+
originalIdentifier?: string;
|
|
7942
|
+
extension: string;
|
|
7943
|
+
mimeType: string;
|
|
7944
|
+
}
|
|
7945
|
+
export interface ImageSaveEvent {
|
|
7946
|
+
(newImage: File, id: string, variant: ImageVariant): Observable<ImageMetaInfo>;
|
|
7947
|
+
}
|
|
7948
|
+
}
|
|
7949
|
+
declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi" {
|
|
7950
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7951
|
+
import { ImageCreate, ImageMetaInfo } from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
7952
|
+
export function useImageEditorApi(): {
|
|
7953
|
+
getImageInfo: (itemId: string, identifier: string, resourceType: ItemResourceTypes) => Promise<ImageMetaInfo>;
|
|
7954
|
+
getImageEditorUrl: (itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes) => Promise<string>;
|
|
7955
|
+
getOriginalImageEditorUrlWithToken: (token: string, itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes) => string;
|
|
7956
|
+
getImageEditorUrlWithToken: (token: string, itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes, width?: number, height?: number) => string;
|
|
7957
|
+
uploadImage: (subscriptionId: string, resourceType: ItemResourceTypes, newImage: ImageCreate) => Promise<ImageMetaInfo>;
|
|
7958
|
+
};
|
|
7959
|
+
}
|
|
7960
|
+
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
7961
|
+
import { FC } from 'react';
|
|
7962
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7963
|
+
interface Props {
|
|
7964
|
+
itemId: string;
|
|
7965
|
+
bannerInfo: BannerInfo;
|
|
7966
|
+
useEditorRoutes?: boolean;
|
|
7967
|
+
width: number;
|
|
7968
|
+
resourceType: ItemResourceTypes;
|
|
7969
|
+
token?: string;
|
|
7970
|
+
canOpenImage?: boolean;
|
|
7971
|
+
onPlayButtonClick?: () => unknown;
|
|
7972
|
+
height?: number;
|
|
7973
|
+
hidePlayerIfActive?: boolean;
|
|
7974
|
+
className?: string;
|
|
7975
|
+
documentIconName?: string;
|
|
7976
|
+
}
|
|
7977
|
+
export const PublishableItemBanner: FC<Props>;
|
|
7978
|
+
}
|
|
7979
|
+
declare module "libs/reach/feature/content/src/events/list/EventCardBanner" {
|
|
7980
|
+
import { FC } from 'react';
|
|
7981
|
+
import { EventItem } from "libs/reach/util/common/src/index";
|
|
7982
|
+
export const EventCardBanner: FC<{
|
|
7983
|
+
item: EventItem;
|
|
7984
|
+
bannerWidth: number;
|
|
7985
|
+
bannerHostDefaultWidth?: number;
|
|
7986
|
+
showPlaceholder?: boolean;
|
|
7987
|
+
}>;
|
|
7988
|
+
}
|
|
7989
|
+
declare module "libs/reach/feature/content/src/feedback/FeedbackCountButton" {
|
|
7990
|
+
import { FC } from 'react';
|
|
7991
|
+
interface CountButtonProps {
|
|
7992
|
+
count: number;
|
|
7546
7993
|
iconName: string;
|
|
7547
7994
|
activeIconName?: string;
|
|
7548
7995
|
feedbackType?: string;
|
|
@@ -7611,27 +8058,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7611
8058
|
}
|
|
7612
8059
|
export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
|
|
7613
8060
|
}
|
|
7614
|
-
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7615
|
-
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7616
|
-
export default interface FeedbackSummary {
|
|
7617
|
-
records: FeedbackItem[];
|
|
7618
|
-
}
|
|
7619
|
-
export enum FeedbackItemType {
|
|
7620
|
-
comment = "comment",
|
|
7621
|
-
like = "like",
|
|
7622
|
-
confirm = "confirm",
|
|
7623
|
-
poll = "poll",
|
|
7624
|
-
eventRegistration = "eventRegistration"
|
|
7625
|
-
}
|
|
7626
|
-
export interface FeedbackItem {
|
|
7627
|
-
type: FeedbackItemType;
|
|
7628
|
-
timestamp: string;
|
|
7629
|
-
}
|
|
7630
|
-
export interface PollFeedbackItem extends FeedbackItem {
|
|
7631
|
-
type: FeedbackItemType.poll;
|
|
7632
|
-
answers: PollQuestionAnswer[];
|
|
7633
|
-
}
|
|
7634
|
-
}
|
|
7635
8061
|
declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
|
|
7636
8062
|
import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7637
8063
|
import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
|
|
@@ -7650,6 +8076,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7650
8076
|
import { PrimaryButton } from 'office-ui-fabric-react';
|
|
7651
8077
|
export const EventRegistrationButton: FC<{
|
|
7652
8078
|
isRegistered: boolean;
|
|
8079
|
+
eventId: string;
|
|
7653
8080
|
disabled?: boolean;
|
|
7654
8081
|
className?: string;
|
|
7655
8082
|
onClick?: () => void;
|
|
@@ -7660,24 +8087,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7660
8087
|
isRegistered?: boolean;
|
|
7661
8088
|
}, never>;
|
|
7662
8089
|
}
|
|
7663
|
-
declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
|
|
7664
|
-
import { FC } from 'react';
|
|
7665
|
-
import { PublishableItemContents } from "libs/reach/util/common/src/index";
|
|
7666
|
-
export interface TranslationItem {
|
|
7667
|
-
language: string;
|
|
7668
|
-
id: string;
|
|
7669
|
-
text: string;
|
|
7670
|
-
}
|
|
7671
|
-
export const PollTranslationContext: import("react").Context<{
|
|
7672
|
-
getTranslation: (id: string) => string;
|
|
7673
|
-
getAllTranslations: (id: string) => TranslationItem[];
|
|
7674
|
-
}>;
|
|
7675
|
-
export const PollTranslationContextProvider: FC<{
|
|
7676
|
-
contents?: PublishableItemContents;
|
|
7677
|
-
language: string;
|
|
7678
|
-
additionalTranslations?: TranslationItem[];
|
|
7679
|
-
}>;
|
|
7680
|
-
}
|
|
7681
8090
|
declare module "libs/reach/feature/content/src/events/eventUtils" {
|
|
7682
8091
|
import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
|
|
7683
8092
|
import { MessageDescriptor } from 'react-intl';
|
|
@@ -7733,25 +8142,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7733
8142
|
onDismiss: () => unknown;
|
|
7734
8143
|
}>;
|
|
7735
8144
|
}
|
|
7736
|
-
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7737
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7738
|
-
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7739
|
-
import { PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7740
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7741
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
7742
|
-
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7743
|
-
export const feedbackCache: {
|
|
7744
|
-
[newsId: string]: Promise<FeedbackSummary>;
|
|
7745
|
-
};
|
|
7746
|
-
export function useFeedbackApi(): {
|
|
7747
|
-
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7748
|
-
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7749
|
-
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7750
|
-
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7751
|
-
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7752
|
-
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
7753
|
-
};
|
|
7754
|
-
}
|
|
7755
8145
|
declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
|
|
7756
8146
|
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7757
8147
|
import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
|
|
@@ -7827,11 +8217,6 @@ declare module "libs/reach/feature/content/src/feedback/LikeButton" {
|
|
|
7827
8217
|
className?: string;
|
|
7828
8218
|
}>;
|
|
7829
8219
|
}
|
|
7830
|
-
declare module "libs/reach/feature/content/src/feedback/utils" {
|
|
7831
|
-
import { FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7832
|
-
export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
|
|
7833
|
-
export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
|
|
7834
|
-
}
|
|
7835
8220
|
declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
7836
8221
|
import { ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
7837
8222
|
import { FC } from 'react';
|
|
@@ -7891,6 +8276,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
|
7891
8276
|
allowFilterByChannels?: boolean;
|
|
7892
8277
|
showFeedbackButtons?: boolean;
|
|
7893
8278
|
readOnly?: boolean;
|
|
8279
|
+
enableModalRouting?: boolean;
|
|
7894
8280
|
className?: string;
|
|
7895
8281
|
}>;
|
|
7896
8282
|
}
|
|
@@ -7941,7 +8327,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7941
8327
|
Contact = "contact",
|
|
7942
8328
|
InlinePageList = "inline-page-list",
|
|
7943
8329
|
UrlPreview = "url-preview",
|
|
7944
|
-
ActionButton = "action-button"
|
|
8330
|
+
ActionButton = "action-button",
|
|
8331
|
+
InlinePlugin = "inline-plugin"
|
|
7945
8332
|
}
|
|
7946
8333
|
export interface HtmlComponentMapper {
|
|
7947
8334
|
component: FC<any>;
|
|
@@ -7968,6 +8355,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7968
8355
|
resourceType: ItemResourceTypes;
|
|
7969
8356
|
item: TItem;
|
|
7970
8357
|
itemId: string;
|
|
8358
|
+
relatedItemIds?: string[];
|
|
7971
8359
|
contentLanguage: string;
|
|
7972
8360
|
userPreferredLanguage: string;
|
|
7973
8361
|
activeLanguages: string[];
|
|
@@ -8086,6 +8474,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
8086
8474
|
enableModalRouting?: boolean;
|
|
8087
8475
|
itemId?: string;
|
|
8088
8476
|
isOverrideLink: boolean;
|
|
8477
|
+
icon?: string;
|
|
8089
8478
|
}>;
|
|
8090
8479
|
}
|
|
8091
8480
|
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
@@ -8235,6 +8624,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
8235
8624
|
styleDefinition?: StyleDefinition;
|
|
8236
8625
|
readOnly?: boolean;
|
|
8237
8626
|
enableModalRouting?: boolean;
|
|
8627
|
+
highlight?: boolean;
|
|
8238
8628
|
className?: string;
|
|
8239
8629
|
}
|
|
8240
8630
|
export const NewsItemTile: FC<Props>;
|
|
@@ -8294,7 +8684,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
|
|
|
8294
8684
|
}
|
|
8295
8685
|
declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
8296
8686
|
import { FC } from 'react';
|
|
8297
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8687
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8298
8688
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
8299
8689
|
interface Props {
|
|
8300
8690
|
className?: string;
|
|
@@ -8304,6 +8694,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
|
8304
8694
|
previewTheme?: CommentInputTheme;
|
|
8305
8695
|
disableVideoPreview?: boolean;
|
|
8306
8696
|
disableEmbeddedObjectPreview?: boolean;
|
|
8697
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8698
|
+
parentId?: string;
|
|
8307
8699
|
}
|
|
8308
8700
|
export const AttachmentList: FC<Props>;
|
|
8309
8701
|
}
|
|
@@ -8320,6 +8712,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
8320
8712
|
placeHolderStringResourceKey?: string;
|
|
8321
8713
|
disableAddGif?: boolean;
|
|
8322
8714
|
disableAddFiles?: boolean;
|
|
8715
|
+
parentId?: string;
|
|
8716
|
+
itemResourceType?: string;
|
|
8323
8717
|
} & {
|
|
8324
8718
|
disableVideoPreview?: boolean;
|
|
8325
8719
|
disableEmbeddedObjectPreview?: boolean;
|
|
@@ -8389,7 +8783,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
|
|
|
8389
8783
|
}
|
|
8390
8784
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
8391
8785
|
import { FC } from 'react';
|
|
8392
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8786
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8393
8787
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8394
8788
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8395
8789
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
@@ -8421,6 +8815,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
8421
8815
|
};
|
|
8422
8816
|
disableBoxShadow?: boolean;
|
|
8423
8817
|
ariaLabel?: string;
|
|
8818
|
+
parentId?: string;
|
|
8819
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8424
8820
|
}
|
|
8425
8821
|
interface Props extends BaseProps {
|
|
8426
8822
|
allowAttachments?: boolean;
|
|
@@ -8438,6 +8834,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8438
8834
|
import { FC, ReactNode } from 'react';
|
|
8439
8835
|
export const InlineObjectToolbar: FC<{
|
|
8440
8836
|
onDelete?: () => void;
|
|
8837
|
+
deleteAriaLabelResourceKey?: string;
|
|
8441
8838
|
additionalButtons?: ReactNode;
|
|
8442
8839
|
}>;
|
|
8443
8840
|
export const InlineObjectToolbarWrapper: FC<{
|
|
@@ -8445,15 +8842,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8445
8842
|
}>;
|
|
8446
8843
|
}
|
|
8447
8844
|
declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
|
|
8448
|
-
import { FC } from 'react';
|
|
8845
|
+
import { FC, ReactNode } from 'react';
|
|
8846
|
+
import { ImageAlignment } from "libs/reach/util/common/src/index";
|
|
8449
8847
|
export const ImageToolbar: FC<{
|
|
8450
8848
|
onDelete?: () => void;
|
|
8451
8849
|
onFullScreen?: (e: React.MouseEvent<any>) => void;
|
|
8452
8850
|
onClose?: (e: React.MouseEvent<any>) => void;
|
|
8453
8851
|
onCrop?: (e: React.MouseEvent<any>) => void;
|
|
8852
|
+
onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
|
|
8454
8853
|
showFullScreenButton?: boolean;
|
|
8455
8854
|
showCloseButton?: boolean;
|
|
8456
8855
|
showCropButton?: boolean;
|
|
8856
|
+
alignmentButtons?: ReactNode;
|
|
8457
8857
|
}>;
|
|
8458
8858
|
}
|
|
8459
8859
|
declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
|
|
@@ -8480,14 +8880,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
|
|
|
8480
8880
|
}
|
|
8481
8881
|
export const InlineGalleryMapper: HtmlComponentMapper;
|
|
8482
8882
|
}
|
|
8483
|
-
declare module "libs/reach/feature/content/src/posts/LegacyPostPhotoGallery" {
|
|
8484
|
-
import { FC } from 'react';
|
|
8485
|
-
import { ImageDetails } from "libs/reach/util/common/src/index";
|
|
8486
|
-
export const LegacyPostPhotoGallery: FC<{
|
|
8487
|
-
images: ImageDetails[];
|
|
8488
|
-
imageUrlResolver: (imageId: string, width?: number, height?: number) => string;
|
|
8489
|
-
}>;
|
|
8490
|
-
}
|
|
8491
8883
|
declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
8492
8884
|
import { FC } from 'react';
|
|
8493
8885
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
@@ -8495,12 +8887,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
|
8495
8887
|
item: ItemWithAttachments;
|
|
8496
8888
|
basePath: string;
|
|
8497
8889
|
imagesGridBackgroundColor?: string;
|
|
8890
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
8891
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
8498
8892
|
className?: string;
|
|
8499
8893
|
}>;
|
|
8500
8894
|
}
|
|
8501
8895
|
declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
8502
8896
|
import { FC } from 'react';
|
|
8503
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8897
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8504
8898
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8505
8899
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8506
8900
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -8516,6 +8910,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
8516
8910
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
8517
8911
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8518
8912
|
ariaLabel?: string;
|
|
8913
|
+
parentId?: string;
|
|
8914
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8519
8915
|
}
|
|
8520
8916
|
interface Props extends BaseProps {
|
|
8521
8917
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -8624,8 +9020,9 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8624
9020
|
targetRoute: string;
|
|
8625
9021
|
itemResourceType: ItemResourceTypes;
|
|
8626
9022
|
enableModalRouting?: boolean;
|
|
9023
|
+
className?: string;
|
|
8627
9024
|
}>;
|
|
8628
|
-
export const CardFooterHost: import("styled-components").StyledComponent<"
|
|
9025
|
+
export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8629
9026
|
}
|
|
8630
9027
|
declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
|
|
8631
9028
|
export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -8674,7 +9071,9 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
|
|
|
8674
9071
|
target?: string;
|
|
8675
9072
|
language?: string;
|
|
8676
9073
|
hideCurrentPageNode?: boolean;
|
|
9074
|
+
homeTargetUrlOverride?: string;
|
|
8677
9075
|
className?: string;
|
|
9076
|
+
readonly?: boolean;
|
|
8678
9077
|
}>;
|
|
8679
9078
|
}
|
|
8680
9079
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
@@ -8734,6 +9133,7 @@ declare module "libs/reach/feature/content/src/pages/PageTocNode" {
|
|
|
8734
9133
|
hide?: boolean;
|
|
8735
9134
|
onPageSelected?: (pageId: string) => unknown;
|
|
8736
9135
|
selectedPageId?: string;
|
|
9136
|
+
readonly?: boolean;
|
|
8737
9137
|
}>;
|
|
8738
9138
|
}
|
|
8739
9139
|
declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
|
|
@@ -8750,6 +9150,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
|
|
|
8750
9150
|
selectedPageId?: string;
|
|
8751
9151
|
isLoading?: boolean;
|
|
8752
9152
|
disableScrollableList?: boolean;
|
|
9153
|
+
readonly?: boolean;
|
|
8753
9154
|
}>;
|
|
8754
9155
|
export const PageTableOfContentsInPanel: FC<{
|
|
8755
9156
|
basePath?: string;
|
|
@@ -8772,6 +9173,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog"
|
|
|
8772
9173
|
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8773
9174
|
onDismiss: () => void;
|
|
8774
9175
|
basePath: string;
|
|
9176
|
+
readonly?: boolean;
|
|
8775
9177
|
}>;
|
|
8776
9178
|
}
|
|
8777
9179
|
declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
|
|
@@ -8795,6 +9197,7 @@ declare module "libs/reach/feature/content/src/pages/PagesDetailViewNavigation"
|
|
|
8795
9197
|
activePageId: string;
|
|
8796
9198
|
navigationContext: PageNavigationContext;
|
|
8797
9199
|
className?: string;
|
|
9200
|
+
readonly?: boolean;
|
|
8798
9201
|
}
|
|
8799
9202
|
export const PagesDetailViewNavigation: FC<Props>;
|
|
8800
9203
|
}
|
|
@@ -8873,6 +9276,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
|
8873
9276
|
language?: string;
|
|
8874
9277
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8875
9278
|
clickableAvatar?: boolean;
|
|
9279
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8876
9280
|
}>;
|
|
8877
9281
|
}
|
|
8878
9282
|
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
@@ -8954,6 +9358,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
|
|
|
8954
9358
|
isLastPage: boolean;
|
|
8955
9359
|
unreadOnly?: boolean;
|
|
8956
9360
|
filter?: NewsFilterDefinition;
|
|
9361
|
+
activeChannel?: string;
|
|
8957
9362
|
}>;
|
|
8958
9363
|
}
|
|
8959
9364
|
declare module "libs/reach/feature/content/src/news/useTranslateApi" {
|
|
@@ -9015,6 +9420,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextPr
|
|
|
9015
9420
|
type?: ItemResourceTypes;
|
|
9016
9421
|
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
9017
9422
|
isEditorPreview?: boolean;
|
|
9423
|
+
relatedItemIds?: string[];
|
|
9018
9424
|
}>;
|
|
9019
9425
|
}
|
|
9020
9426
|
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
@@ -9028,6 +9434,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
|
9028
9434
|
}
|
|
9029
9435
|
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
9030
9436
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9437
|
+
export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
|
|
9031
9438
|
export const InlineImageMapper: HtmlComponentMapper;
|
|
9032
9439
|
}
|
|
9033
9440
|
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
@@ -9088,6 +9495,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
|
|
|
9088
9495
|
baseRoute: string;
|
|
9089
9496
|
filterBaseUrl?: string;
|
|
9090
9497
|
isInitialLoading?: boolean;
|
|
9498
|
+
readonly?: boolean;
|
|
9091
9499
|
}>;
|
|
9092
9500
|
}
|
|
9093
9501
|
declare module "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList" {
|
|
@@ -9115,6 +9523,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
|
|
|
9115
9523
|
pagingProps?: ListPagingProps;
|
|
9116
9524
|
filterBaseUrl?: string;
|
|
9117
9525
|
emptyListMessage: string;
|
|
9526
|
+
readonly?: boolean;
|
|
9118
9527
|
}>;
|
|
9119
9528
|
}
|
|
9120
9529
|
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
@@ -9246,6 +9655,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
|
|
|
9246
9655
|
}
|
|
9247
9656
|
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
9248
9657
|
}
|
|
9658
|
+
declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
|
|
9659
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9660
|
+
export const InlineObjectPluginMapper: HtmlComponentMapper;
|
|
9661
|
+
}
|
|
9249
9662
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
9250
9663
|
import { FC } from 'react';
|
|
9251
9664
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -9258,6 +9671,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9258
9671
|
import { FC } from 'react';
|
|
9259
9672
|
export const EventDetailViewMetaInfo: FC<{
|
|
9260
9673
|
allowFilterByChannels?: boolean;
|
|
9674
|
+
onChannelClick?: (channel: string) => unknown;
|
|
9261
9675
|
}>;
|
|
9262
9676
|
}
|
|
9263
9677
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
@@ -9301,6 +9715,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9301
9715
|
export const DetailViewCsvExportButton: FC<{
|
|
9302
9716
|
path: string;
|
|
9303
9717
|
stringResource: string;
|
|
9718
|
+
isReadOnly?: boolean;
|
|
9304
9719
|
className?: string;
|
|
9305
9720
|
}>;
|
|
9306
9721
|
}
|
|
@@ -9360,6 +9775,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9360
9775
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewResponseExportButton" {
|
|
9361
9776
|
import { FC } from 'react';
|
|
9362
9777
|
export const EventDetailViewResponseExportButton: FC<{
|
|
9778
|
+
isReadOnly?: boolean;
|
|
9363
9779
|
className?: string;
|
|
9364
9780
|
}>;
|
|
9365
9781
|
}
|
|
@@ -9372,8 +9788,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9372
9788
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewUserRegistration" {
|
|
9373
9789
|
import { FC } from 'react';
|
|
9374
9790
|
export const EventDetailViewUserRegistration: FC<{
|
|
9375
|
-
className?: string;
|
|
9376
9791
|
hideInfoMessage?: boolean;
|
|
9792
|
+
isReadOnly?: boolean;
|
|
9793
|
+
className?: string;
|
|
9377
9794
|
}>;
|
|
9378
9795
|
}
|
|
9379
9796
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
|
|
@@ -9414,7 +9831,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9414
9831
|
}
|
|
9415
9832
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationParticipantsLink" {
|
|
9416
9833
|
import { FC } from 'react';
|
|
9417
|
-
export const EventRegistrationParticipantsLink: FC
|
|
9834
|
+
export const EventRegistrationParticipantsLink: FC<{
|
|
9835
|
+
isReadOnly?: boolean;
|
|
9836
|
+
}>;
|
|
9418
9837
|
}
|
|
9419
9838
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistrationPoll" {
|
|
9420
9839
|
import { FC } from 'react';
|
|
@@ -9465,6 +9884,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
|
|
|
9465
9884
|
readOnly?: boolean;
|
|
9466
9885
|
trimContent?: boolean;
|
|
9467
9886
|
showReplyBox?: boolean;
|
|
9887
|
+
enableModalRouting?: boolean;
|
|
9468
9888
|
className?: string;
|
|
9469
9889
|
}>;
|
|
9470
9890
|
}
|
|
@@ -9487,6 +9907,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
|
9487
9907
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9488
9908
|
readOnly?: boolean;
|
|
9489
9909
|
trimContent?: boolean;
|
|
9910
|
+
enableModalRouting?: boolean;
|
|
9490
9911
|
className?: string;
|
|
9491
9912
|
}
|
|
9492
9913
|
export const CommentList: FC<CommentListProps>;
|
|
@@ -9546,6 +9967,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
|
|
|
9546
9967
|
showReplyBox?: boolean;
|
|
9547
9968
|
trimContent?: boolean;
|
|
9548
9969
|
title?: ReactNode;
|
|
9970
|
+
enableModalRouting?: boolean;
|
|
9549
9971
|
className?: string;
|
|
9550
9972
|
};
|
|
9551
9973
|
export const PagedCommentsSection: FC<Props>;
|
|
@@ -9570,23 +9992,18 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
|
|
|
9570
9992
|
}
|
|
9571
9993
|
declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
|
|
9572
9994
|
import { FC } from 'react';
|
|
9573
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9574
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9995
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9575
9996
|
export const PublishableItemComments: FC<{
|
|
9576
9997
|
item: PublishableItem;
|
|
9577
9998
|
readOnly?: boolean;
|
|
9578
9999
|
loadInReadOnlyMode?: boolean;
|
|
9579
10000
|
type: ItemResourceTypes;
|
|
9580
|
-
hideProfileUrl?: boolean;
|
|
9581
10001
|
disableLoginForPublicUser?: boolean;
|
|
9582
10002
|
}>;
|
|
9583
10003
|
}
|
|
9584
10004
|
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons" {
|
|
9585
|
-
import { FC } from 'react';
|
|
9586
|
-
import { ItemStatistics } from "libs/reach/util/common/src/index";
|
|
9587
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9588
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9589
|
-
import { Feedback } from "libs/reach/util/common/src/index";
|
|
10005
|
+
import { FC, ReactNode } from 'react';
|
|
10006
|
+
import { Feedback, ItemResourceTypes, ItemStatistics, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9590
10007
|
export const FeedbackButtonContext: import("react").Context<{
|
|
9591
10008
|
statistics: ItemStatistics;
|
|
9592
10009
|
item: PublishableItem;
|
|
@@ -9599,6 +10016,8 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
|
|
|
9599
10016
|
item: PublishableItem;
|
|
9600
10017
|
hasFeedbackEnabled: (feedbackType: Feedback) => boolean;
|
|
9601
10018
|
language: string;
|
|
10019
|
+
warningMessage?: ReactNode;
|
|
10020
|
+
buttons: ReactNode[];
|
|
9602
10021
|
className?: string;
|
|
9603
10022
|
}>;
|
|
9604
10023
|
}
|
|
@@ -9637,19 +10056,18 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
|
|
|
9637
10056
|
}>;
|
|
9638
10057
|
}
|
|
9639
10058
|
declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
|
|
9640
|
-
import { FC } from 'react';
|
|
9641
|
-
import { FeedbackSettings } from "libs/reach/util/common/src/index";
|
|
9642
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9643
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
10059
|
+
import { FC, ReactNode } from 'react';
|
|
10060
|
+
import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9644
10061
|
export const FeedbackSection: FC<{
|
|
9645
10062
|
item: PublishableItem;
|
|
10063
|
+
buttons: ReactNode[];
|
|
9646
10064
|
language: string;
|
|
9647
10065
|
type: ItemResourceTypes;
|
|
9648
10066
|
feedbackSettings: FeedbackSettings;
|
|
9649
10067
|
hideComments?: boolean;
|
|
9650
|
-
hideProfileUrl?: boolean;
|
|
9651
10068
|
disableLoginForPublicUser?: boolean;
|
|
9652
10069
|
isReadOnly?: boolean;
|
|
10070
|
+
warningMessage?: ReactNode;
|
|
9653
10071
|
className?: string;
|
|
9654
10072
|
}>;
|
|
9655
10073
|
}
|
|
@@ -9672,12 +10090,15 @@ declare module "libs/reach/feature/content/src/feedback/EventDownloadCalendarFil
|
|
|
9672
10090
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
9673
10091
|
export const EventDownloadCalendarFileButton: FC<{
|
|
9674
10092
|
item: EventItem;
|
|
10093
|
+
isReadOnly: boolean;
|
|
9675
10094
|
className?: string;
|
|
9676
10095
|
}>;
|
|
9677
10096
|
}
|
|
9678
10097
|
declare module "libs/reach/feature/content/src/feedback/buttons/EventFeedbackButtonDownloadCalendarFile" {
|
|
9679
10098
|
import { FC } from 'react';
|
|
9680
|
-
export const EventFeedbackButtonDownloadCalendarFile: FC
|
|
10099
|
+
export const EventFeedbackButtonDownloadCalendarFile: FC<{
|
|
10100
|
+
isReadOnly: boolean;
|
|
10101
|
+
}>;
|
|
9681
10102
|
}
|
|
9682
10103
|
declare module "libs/reach/feature/content/src/feedback/ShareButton" {
|
|
9683
10104
|
import { FC } from 'react';
|
|
@@ -9702,14 +10123,21 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
|
|
|
9702
10123
|
}
|
|
9703
10124
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
|
|
9704
10125
|
import { FC } from 'react';
|
|
9705
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
10126
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9706
10127
|
export const ConfirmationStatisticsExport: FC<{
|
|
9707
10128
|
item: PublishableItem;
|
|
10129
|
+
resourceType: ItemResourceTypes;
|
|
10130
|
+
isReadOnly?: boolean;
|
|
9708
10131
|
}>;
|
|
9709
10132
|
}
|
|
9710
10133
|
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonConfirmations" {
|
|
9711
10134
|
import { FC } from 'react';
|
|
9712
|
-
export const FeedbackButtonConfirmations: FC
|
|
10135
|
+
export const FeedbackButtonConfirmations: FC<{
|
|
10136
|
+
isReadOnly?: boolean;
|
|
10137
|
+
}>;
|
|
10138
|
+
}
|
|
10139
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackFollowButton" {
|
|
10140
|
+
export const FeedbackFollowButton: import("styled-components").StyledComponent<import("react").FC<import("libs/reach/feature/content/src/comments/FollowComments").Props>, import("styled-components").DefaultTheme, {}, never>;
|
|
9713
10141
|
}
|
|
9714
10142
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection" {
|
|
9715
10143
|
import { FC } from 'react';
|
|
@@ -9803,10 +10231,13 @@ declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPag
|
|
|
9803
10231
|
basePath?: string;
|
|
9804
10232
|
}>;
|
|
9805
10233
|
}
|
|
10234
|
+
declare module "libs/reach/feature/content/src/common/useContainerDimensions" {
|
|
10235
|
+
export function useContainerDimensions(): [number, (node: any) => void];
|
|
10236
|
+
}
|
|
9806
10237
|
declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
9807
10238
|
import { FC } from 'react';
|
|
9808
10239
|
import { ItemResourceTypes, SchedulableItem } from "libs/reach/util/common/src/index";
|
|
9809
|
-
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/
|
|
10240
|
+
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9810
10241
|
export const Banner: FC<{
|
|
9811
10242
|
item: SchedulableItem;
|
|
9812
10243
|
token: string;
|
|
@@ -9814,6 +10245,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
|
9814
10245
|
layoutMode?: ItemTileLayoutMode;
|
|
9815
10246
|
bannerDefaultWidth?: number;
|
|
9816
10247
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
10248
|
+
documentIconName?: string;
|
|
9817
10249
|
}>;
|
|
9818
10250
|
}
|
|
9819
10251
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
@@ -9851,17 +10283,6 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9851
10283
|
isMobilePreview?: boolean;
|
|
9852
10284
|
}>;
|
|
9853
10285
|
}
|
|
9854
|
-
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
9855
|
-
import { FC, ReactNode } from 'react';
|
|
9856
|
-
export const GutterMarkerIcon: FC<{
|
|
9857
|
-
iconName: string;
|
|
9858
|
-
children: ReactNode;
|
|
9859
|
-
isActive: boolean;
|
|
9860
|
-
color: string;
|
|
9861
|
-
tooltipResourceKey?: string;
|
|
9862
|
-
className?: string;
|
|
9863
|
-
}>;
|
|
9864
|
-
}
|
|
9865
10286
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9866
10287
|
import { FC } from 'react';
|
|
9867
10288
|
export const DetailViewTitle: FC;
|
|
@@ -9884,24 +10305,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9884
10305
|
import { FC } from 'react';
|
|
9885
10306
|
export const DetailViewKeywords: FC<{
|
|
9886
10307
|
filterBaseUrl: string;
|
|
9887
|
-
|
|
9888
|
-
}
|
|
9889
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
9890
|
-
import { FC } from 'react';
|
|
9891
|
-
export const ConfirmationBox: FC<{
|
|
9892
|
-
disabled?: boolean;
|
|
9893
|
-
onChange?: (value: boolean) => void;
|
|
9894
|
-
checked: boolean;
|
|
9895
|
-
}>;
|
|
9896
|
-
}
|
|
9897
|
-
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
9898
|
-
import { FC } from 'react';
|
|
9899
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
9900
|
-
export const ConfirmationSection: FC<{
|
|
9901
|
-
item?: NewsItem;
|
|
9902
|
-
showDescription: boolean;
|
|
9903
|
-
readOnly?: boolean;
|
|
9904
|
-
className?: string;
|
|
10308
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
9905
10309
|
}>;
|
|
9906
10310
|
}
|
|
9907
10311
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
@@ -9931,9 +10335,18 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9931
10335
|
import { FC, ReactNode } from 'react';
|
|
9932
10336
|
export const DetailViewNavigation: FC<{
|
|
9933
10337
|
offsetRight?: number;
|
|
9934
|
-
children?: ReactNode;
|
|
9935
10338
|
callout?: ReactNode;
|
|
10339
|
+
className?: string;
|
|
10340
|
+
children?: ReactNode;
|
|
9936
10341
|
}>;
|
|
10342
|
+
export const OffsetDetailViewNavigation: import("styled-components").StyledComponent<FC<{
|
|
10343
|
+
offsetRight?: number;
|
|
10344
|
+
callout?: ReactNode;
|
|
10345
|
+
className?: string;
|
|
10346
|
+
children?: ReactNode;
|
|
10347
|
+
}>, import("styled-components").DefaultTheme, {
|
|
10348
|
+
offsetRightOverride?: number;
|
|
10349
|
+
}, never>;
|
|
9937
10350
|
}
|
|
9938
10351
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9939
10352
|
import { FC } from 'react';
|
|
@@ -9975,626 +10388,262 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
|
|
|
9975
10388
|
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
9976
10389
|
};
|
|
9977
10390
|
}
|
|
9978
|
-
declare module "libs/reach/feature/content/src/common/
|
|
9979
|
-
|
|
9980
|
-
|
|
9981
|
-
|
|
9982
|
-
|
|
9983
|
-
|
|
9984
|
-
|
|
9985
|
-
|
|
9986
|
-
|
|
9987
|
-
|
|
9988
|
-
|
|
10391
|
+
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
10392
|
+
interface IClickHandles {
|
|
10393
|
+
onInsideClick: () => void;
|
|
10394
|
+
onOutsideClick: () => void;
|
|
10395
|
+
}
|
|
10396
|
+
export function useClickOutside<T extends HTMLElement>(componentInstanceId: string, { onInsideClick, onOutsideClick }: IClickHandles): import("react").MutableRefObject<T>;
|
|
10397
|
+
}
|
|
10398
|
+
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10399
|
+
import { FC } from 'react';
|
|
10400
|
+
export const GroupNotificationsSettings: FC<{
|
|
10401
|
+
groupId: string;
|
|
9989
10402
|
className?: string;
|
|
9990
10403
|
}>;
|
|
9991
10404
|
}
|
|
9992
|
-
declare module "libs/reach/feature/content/src/
|
|
9993
|
-
import { FC
|
|
9994
|
-
import {
|
|
9995
|
-
import {
|
|
9996
|
-
|
|
9997
|
-
|
|
9998
|
-
|
|
9999
|
-
|
|
10000
|
-
|
|
10001
|
-
|
|
10002
|
-
|
|
10003
|
-
|
|
10004
|
-
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
|
|
10010
|
-
onContentClick?: () => void;
|
|
10011
|
-
contentRoute?: LocationDescriptor;
|
|
10012
|
-
badgeInfo?: number | boolean;
|
|
10013
|
-
title?: string;
|
|
10405
|
+
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10406
|
+
import { FC } from 'react';
|
|
10407
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10408
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10409
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10410
|
+
export interface PostCreatorProps {
|
|
10411
|
+
groupId: string;
|
|
10412
|
+
disabled?: boolean;
|
|
10413
|
+
disableDragAndDrop?: boolean;
|
|
10414
|
+
onBeforeSave?: (post: Post) => void;
|
|
10415
|
+
onSaved: (post: Post) => void;
|
|
10416
|
+
keywordSettings?: {
|
|
10417
|
+
availableKeywords?: Keyword[];
|
|
10418
|
+
defaultKeywords?: Keyword[];
|
|
10419
|
+
mandatoryKeywords?: Keyword[];
|
|
10420
|
+
};
|
|
10421
|
+
disableAutoFocus?: boolean;
|
|
10422
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
10014
10423
|
className?: string;
|
|
10015
10424
|
}
|
|
10016
|
-
export const
|
|
10425
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
10017
10426
|
}
|
|
10018
|
-
declare module "libs/reach/feature/content/src/
|
|
10427
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
10019
10428
|
import { FC } from 'react';
|
|
10020
|
-
import {
|
|
10021
|
-
|
|
10022
|
-
|
|
10023
|
-
|
|
10024
|
-
}
|
|
10025
|
-
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
10026
|
-
import { FC, ReactNode } from 'react';
|
|
10027
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
10028
|
-
import { LocationDescriptor } from 'history';
|
|
10029
|
-
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
10030
|
-
interface CommonSidebarItemProps {
|
|
10031
|
-
title?: string | JSX.Element;
|
|
10032
|
-
titleResource?: string;
|
|
10033
|
-
icon?: ReactNode;
|
|
10034
|
-
iconName?: string;
|
|
10035
|
-
iconTooltipResourceKey?: string;
|
|
10036
|
-
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
10037
|
-
secondaryIconName?: string;
|
|
10038
|
-
secondaryIconTooltipResourceKey?: string;
|
|
10039
|
-
iconColor?: string;
|
|
10040
|
-
reverse?: boolean;
|
|
10041
|
-
notHighlightable?: boolean;
|
|
10042
|
-
onClick?: () => void;
|
|
10429
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10430
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
10431
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10432
|
+
interface Props {
|
|
10043
10433
|
className?: string;
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10052
|
-
|
|
10053
|
-
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
10054
|
-
contentRoute?: LocationDescriptor;
|
|
10055
|
-
onIconClick?: () => void;
|
|
10056
|
-
iconRoute?: LocationDescriptor;
|
|
10057
|
-
onSecondaryIconClick?: () => void;
|
|
10058
|
-
secondaryIconRoute?: LocationDescriptor;
|
|
10059
|
-
isHoverable?: boolean;
|
|
10060
|
-
}
|
|
10061
|
-
export const SidebarItem: FC<SidebarItemProps>;
|
|
10062
|
-
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
10063
|
-
route: LocationDescriptor;
|
|
10064
|
-
exact?: boolean;
|
|
10065
|
-
linkClassName?: string;
|
|
10434
|
+
post: Post;
|
|
10435
|
+
initialPageSize?: number;
|
|
10436
|
+
comments?: PaginatedList<Comment>;
|
|
10437
|
+
autoFocusReplyField?: boolean;
|
|
10438
|
+
showReplyBox?: boolean;
|
|
10439
|
+
onReplyAdded: () => void;
|
|
10440
|
+
onReplyDeleted: () => void;
|
|
10441
|
+
trimContent?: boolean;
|
|
10442
|
+
enableModalRouting?: boolean;
|
|
10066
10443
|
}
|
|
10067
|
-
export const
|
|
10444
|
+
export const PostReplies: FC<Props>;
|
|
10068
10445
|
}
|
|
10069
|
-
declare module "libs/reach/feature/content/src/
|
|
10446
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
10070
10447
|
import { FC } from 'react';
|
|
10071
|
-
|
|
10072
|
-
|
|
10073
|
-
|
|
10448
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10449
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10450
|
+
export const PostEditor: FC<{
|
|
10074
10451
|
className?: string;
|
|
10452
|
+
post: Post;
|
|
10453
|
+
onCancel: () => void;
|
|
10454
|
+
onBeforeSave: (post: Post) => void;
|
|
10455
|
+
onSaved: (post: Post) => void;
|
|
10456
|
+
keywordSettings?: {
|
|
10457
|
+
availableKeywords?: Keyword[];
|
|
10458
|
+
defaultKeywords?: Keyword[];
|
|
10459
|
+
mandatoryKeywords?: Keyword[];
|
|
10460
|
+
};
|
|
10075
10461
|
}>;
|
|
10076
10462
|
}
|
|
10077
|
-
declare module "libs/reach/feature/content/src/
|
|
10463
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
10078
10464
|
import { FC } from 'react';
|
|
10079
|
-
export const
|
|
10080
|
-
|
|
10081
|
-
|
|
10465
|
+
export const PostFollowButton: FC<{
|
|
10466
|
+
itemId: string;
|
|
10467
|
+
isFollowing: boolean;
|
|
10468
|
+
}>;
|
|
10469
|
+
}
|
|
10470
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
10471
|
+
import { FC } from 'react';
|
|
10472
|
+
import { NavLink } from 'react-router-dom';
|
|
10473
|
+
export const PostGroup: FC<{
|
|
10474
|
+
groupId: string;
|
|
10475
|
+
target?: string;
|
|
10082
10476
|
className?: string;
|
|
10083
10477
|
}>;
|
|
10478
|
+
export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
10084
10479
|
}
|
|
10085
|
-
declare module "libs/reach/feature/content/src/
|
|
10480
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
10086
10481
|
import { FC } from 'react';
|
|
10087
|
-
import {
|
|
10088
|
-
import {
|
|
10482
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10483
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10089
10484
|
interface Props {
|
|
10090
|
-
|
|
10091
|
-
|
|
10092
|
-
mandatoryChannelIds?: string[];
|
|
10093
|
-
availableChannels?: Channel[];
|
|
10094
|
-
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
10485
|
+
post: Post;
|
|
10486
|
+
targetUrl?: string;
|
|
10095
10487
|
className?: string;
|
|
10096
|
-
|
|
10097
|
-
|
|
10098
|
-
|
|
10099
|
-
|
|
10100
|
-
|
|
10101
|
-
|
|
10102
|
-
|
|
10103
|
-
|
|
10488
|
+
threadId?: string;
|
|
10489
|
+
onCustomPostDelete?: () => void;
|
|
10490
|
+
comments?: PaginatedList<Comment>;
|
|
10491
|
+
initialCommentsPageSize?: number;
|
|
10492
|
+
onThreadCommentDelete?: () => void;
|
|
10493
|
+
onThreadReply?: (threadId: string) => void;
|
|
10494
|
+
keywordSettings?: {
|
|
10495
|
+
availableKeywords?: Keyword[];
|
|
10496
|
+
defaultKeywords?: Keyword[];
|
|
10497
|
+
mandatoryKeywords?: Keyword[];
|
|
10498
|
+
};
|
|
10499
|
+
showGroup?: boolean;
|
|
10500
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
10501
|
+
onAfterDelete?: (id: string) => unknown;
|
|
10502
|
+
onItemClick?: (postId: string) => unknown;
|
|
10503
|
+
openTargetInNewWindow?: boolean;
|
|
10504
|
+
trimContent?: boolean;
|
|
10505
|
+
postGroupTargetUrl?: string;
|
|
10506
|
+
onKeywordClick?: (keywordId: string) => void;
|
|
10507
|
+
baseTargetUrl?: string;
|
|
10104
10508
|
}
|
|
10105
|
-
export const
|
|
10509
|
+
export const PostDisplay: FC<Props>;
|
|
10510
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
10106
10511
|
}
|
|
10107
|
-
declare module "libs/reach/feature/content/src/
|
|
10108
|
-
|
|
10109
|
-
|
|
10110
|
-
export
|
|
10111
|
-
|
|
10112
|
-
|
|
10113
|
-
|
|
10114
|
-
|
|
10115
|
-
|
|
10116
|
-
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
10117
|
-
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
10118
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
10119
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
10120
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
10121
|
-
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
10122
|
-
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
10123
|
-
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
10124
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
10125
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
10126
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
10127
|
-
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
10128
|
-
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
10129
|
-
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
10130
|
-
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
10131
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
10132
|
-
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
10133
|
-
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
10134
|
-
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
10135
|
-
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
10136
|
-
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
10137
|
-
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
10138
|
-
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
10139
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
10140
|
-
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
10141
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
10142
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
10143
|
-
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
10144
|
-
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
10145
|
-
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
10146
|
-
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
10147
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
10148
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
10149
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
10150
|
-
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
10151
|
-
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
10152
|
-
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
10153
|
-
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
10154
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
10155
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
10156
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
10157
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
10158
|
-
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
10159
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
10160
|
-
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
10161
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
10162
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
10163
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
10164
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
10165
|
-
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
10166
|
-
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
10167
|
-
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
10168
|
-
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
10169
|
-
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
10170
|
-
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
10171
|
-
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
10172
|
-
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
10173
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
10174
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
10175
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
10176
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
10177
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
10178
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
10179
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
10180
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
10181
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
10182
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
10183
|
-
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
10184
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
10185
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
10186
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
10187
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
10188
|
-
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
10189
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
10190
|
-
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
10191
|
-
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
10192
|
-
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
10193
|
-
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
10194
|
-
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
10195
|
-
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
10196
|
-
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
10197
|
-
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
10198
|
-
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
10199
|
-
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
10200
|
-
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
10201
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
10202
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
10203
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
10204
|
-
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
10205
|
-
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
10206
|
-
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
10207
|
-
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
10208
|
-
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
10512
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10513
|
+
import { FC } from 'react';
|
|
10514
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10515
|
+
export const PostGroupsPicker: FC<{
|
|
10516
|
+
groups: UserGroup[];
|
|
10517
|
+
selectedGroupId: string;
|
|
10518
|
+
onGroupSelected?: (groupId: string) => unknown;
|
|
10519
|
+
className?: string;
|
|
10520
|
+
}>;
|
|
10209
10521
|
}
|
|
10210
|
-
declare module "libs/reach/feature/content/src/
|
|
10522
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
10211
10523
|
import { FC } from 'react';
|
|
10212
|
-
|
|
10213
|
-
|
|
10214
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
10215
|
-
interface Props {
|
|
10216
|
-
type?: ItemResourceTypes;
|
|
10217
|
-
baseAttachmentPath?: string;
|
|
10218
|
-
message: Comment;
|
|
10219
|
-
showDelete?: boolean;
|
|
10220
|
-
showAutoTranslate?: boolean;
|
|
10221
|
-
showEdit?: boolean;
|
|
10222
|
-
onDelete?: (comment: Comment) => void;
|
|
10223
|
-
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
10224
|
-
scope: ConversationScope;
|
|
10225
|
-
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
10226
|
-
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
10227
|
-
highlight?: boolean;
|
|
10228
|
-
hasUnreadReplies?: boolean;
|
|
10229
|
-
onReplyIconClick?: () => void;
|
|
10230
|
-
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
10231
|
-
replyCount?: number;
|
|
10232
|
-
readOnly?: boolean;
|
|
10233
|
-
trimContent?: boolean;
|
|
10524
|
+
export const PostGroupSelector: FC<{
|
|
10525
|
+
onPostGroupClick?: (groupId: string) => void;
|
|
10234
10526
|
className?: string;
|
|
10527
|
+
}>;
|
|
10528
|
+
}
|
|
10529
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10530
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10531
|
+
import { DocumentNode } from '@apollo/client';
|
|
10532
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10533
|
+
import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
10534
|
+
export enum StreamEventResponse {
|
|
10535
|
+
NotSet = "NOTSET",
|
|
10536
|
+
Registered = "REGISTERED",
|
|
10537
|
+
Declined = "DECLINED"
|
|
10235
10538
|
}
|
|
10236
|
-
export
|
|
10539
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10540
|
+
}
|
|
10541
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10542
|
+
items: StreamItem[];
|
|
10543
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10544
|
+
loadMore: () => Promise<void>;
|
|
10545
|
+
pageInfo: {
|
|
10546
|
+
errors?: any;
|
|
10547
|
+
hasNextPage: boolean;
|
|
10548
|
+
skip: number;
|
|
10549
|
+
};
|
|
10550
|
+
refresh: () => Promise<void>;
|
|
10551
|
+
isLoadingFirstPage: boolean;
|
|
10552
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
10553
|
+
};
|
|
10554
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10555
|
+
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10556
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10557
|
+
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
10558
|
+
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
10559
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10560
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10561
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10562
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10563
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10564
|
+
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
10565
|
+
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
10566
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
10567
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10568
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10569
|
+
export const POST_ITEM_FIELDS: DocumentNode;
|
|
10237
10570
|
}
|
|
10238
|
-
declare module "libs/reach/feature/content/src/
|
|
10239
|
-
|
|
10240
|
-
|
|
10241
|
-
export
|
|
10242
|
-
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
10243
|
-
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
10244
|
-
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
10245
|
-
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
10246
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
10247
|
-
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
10248
|
-
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
10249
|
-
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
10250
|
-
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
10251
|
-
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
10252
|
-
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
10571
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
10572
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10573
|
+
import { DependencyList } from 'react';
|
|
10574
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
10253
10575
|
}
|
|
10254
|
-
declare module "libs/reach/feature/content/src/
|
|
10255
|
-
|
|
10256
|
-
export
|
|
10257
|
-
|
|
10258
|
-
|
|
10576
|
+
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
10577
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10578
|
+
export function usePostKeywordSettings(): (group: UserGroup) => {
|
|
10579
|
+
availableKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10580
|
+
defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10581
|
+
mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10582
|
+
};
|
|
10259
10583
|
}
|
|
10260
|
-
declare module "libs/reach/feature/content/src/
|
|
10261
|
-
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
|
|
10266
|
-
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
}
|
|
10272
|
-
export const KeywordDialog: FC<Props>;
|
|
10273
|
-
export const StatefulKeywordPicker: FC<{
|
|
10274
|
-
preSelectedKeywords: Keyword[];
|
|
10275
|
-
availableKeywords?: Keyword[];
|
|
10276
|
-
mandatoryKeywordIds?: string[];
|
|
10277
|
-
showSelectionToggle?: boolean;
|
|
10278
|
-
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
10279
|
-
}>;
|
|
10584
|
+
declare module "libs/reach/feature/content/src/posts/index" {
|
|
10585
|
+
export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
|
|
10586
|
+
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
10587
|
+
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
10588
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
|
|
10589
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
10590
|
+
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
10591
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
10592
|
+
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
10593
|
+
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
10594
|
+
export * from "libs/reach/feature/content/src/posts/utils";
|
|
10280
10595
|
}
|
|
10281
|
-
declare module "libs/reach/feature/content/src/
|
|
10282
|
-
import {
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
|
|
10286
|
-
|
|
10287
|
-
|
|
10288
|
-
|
|
10289
|
-
|
|
10290
|
-
disabled?: boolean;
|
|
10291
|
-
noDebouncing?: boolean;
|
|
10292
|
-
value?: string;
|
|
10293
|
-
onIconClick?: () => void;
|
|
10294
|
-
onEnter?: () => void;
|
|
10295
|
-
icon?: string;
|
|
10296
|
-
disableNewLines?: boolean;
|
|
10297
|
-
autoFocus?: boolean;
|
|
10298
|
-
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
10299
|
-
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
10300
|
-
inputType?: string;
|
|
10596
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10597
|
+
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";
|
|
10598
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10599
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10600
|
+
enum StreamItemTypes {
|
|
10601
|
+
Post = "POST",
|
|
10602
|
+
News = "NEWS",
|
|
10603
|
+
Event = "EVENT",
|
|
10604
|
+
Page = "PAGE"
|
|
10301
10605
|
}
|
|
10302
|
-
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
export const Textarea: FC<TextareaProps>;
|
|
10307
|
-
}
|
|
10308
|
-
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
10309
|
-
import { FC } from 'react';
|
|
10310
|
-
interface Props {
|
|
10311
|
-
onInsert: (files: File[]) => void;
|
|
10312
|
-
accept?: string;
|
|
10313
|
-
captionKey?: string;
|
|
10314
|
-
captionIconName?: string;
|
|
10315
|
-
descriptionKey?: string;
|
|
10316
|
-
descriptionIconName?: string;
|
|
10317
|
-
singleMode?: boolean;
|
|
10606
|
+
export enum StreamConversationScope {
|
|
10607
|
+
Public = "PUBLIC",
|
|
10608
|
+
Editor = "EDITOR",
|
|
10609
|
+
Posts = "POSTS"
|
|
10318
10610
|
}
|
|
10319
|
-
export
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
|
-
|
|
10323
|
-
|
|
10324
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
onInsert: (files: File[]) => void;
|
|
10328
|
-
accept?: string;
|
|
10329
|
-
captionKey?: string;
|
|
10330
|
-
descriptionKey?: string;
|
|
10611
|
+
export interface PostStreamItem extends Post {
|
|
10612
|
+
type: StreamItemTypes.Post;
|
|
10613
|
+
isUnread: boolean;
|
|
10614
|
+
keywordsList?: Keyword[];
|
|
10615
|
+
groupIds?: string[];
|
|
10616
|
+
postAttachments?: StreamAttachment[];
|
|
10617
|
+
postComments?: PaginatedList<StreamPostComment>;
|
|
10618
|
+
hasMoreUnreadComments: boolean;
|
|
10331
10619
|
}
|
|
10332
|
-
export
|
|
10333
|
-
|
|
10334
|
-
|
|
10335
|
-
import { FC } from 'react';
|
|
10336
|
-
interface DateTimePickerProps {
|
|
10337
|
-
date: string;
|
|
10338
|
-
maxDate?: string;
|
|
10339
|
-
minDate?: string;
|
|
10340
|
-
dateValidationResourceKey?: string;
|
|
10341
|
-
timeValidationResourceKey?: string;
|
|
10342
|
-
readOnly?: boolean;
|
|
10343
|
-
onChanged: (date: string, isValid: boolean) => void;
|
|
10344
|
-
noDateResourceKey: string;
|
|
10345
|
-
selectDateResourceKey: string;
|
|
10346
|
-
dateOnly?: boolean;
|
|
10347
|
-
initialPickerDate?: string;
|
|
10348
|
-
label?: string;
|
|
10349
|
-
isRequired?: boolean;
|
|
10350
|
-
className?: string;
|
|
10620
|
+
export interface StreamPostComment extends Comment {
|
|
10621
|
+
postCommentAttachments?: StreamAttachment[];
|
|
10622
|
+
streamConversationScope?: StreamConversationScope;
|
|
10351
10623
|
}
|
|
10352
|
-
export
|
|
10353
|
-
|
|
10354
|
-
}
|
|
10355
|
-
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
10356
|
-
import moment, { Moment } from 'moment';
|
|
10357
|
-
export enum DateRange {
|
|
10358
|
-
TwoYears = 0,
|
|
10359
|
-
OneYear = 1,
|
|
10360
|
-
SixMonths = 2,
|
|
10361
|
-
TwoMonths = 3,
|
|
10362
|
-
OneMonth = 4,
|
|
10363
|
-
SevenDays = 5,
|
|
10364
|
-
YesterDay = 6,
|
|
10365
|
-
Today = 7
|
|
10624
|
+
export interface StreamAttachment extends BaseAttachment {
|
|
10625
|
+
type: GraphQLAttachmentType;
|
|
10366
10626
|
}
|
|
10367
|
-
export
|
|
10368
|
-
|
|
10369
|
-
|
|
10370
|
-
|
|
10371
|
-
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
export const DateRangeSlider: FC<{
|
|
10375
|
-
value?: DateRange;
|
|
10376
|
-
onChange: (range: DateRange) => unknown;
|
|
10377
|
-
}>;
|
|
10378
|
-
}
|
|
10379
|
-
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
10380
|
-
import { FC } from 'react';
|
|
10381
|
-
import { WrappedComponentProps } from 'react-intl';
|
|
10382
|
-
import { SelectionMode } from 'office-ui-fabric-react';
|
|
10383
|
-
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
10384
|
-
interface PeoplePickerDialogProps {
|
|
10385
|
-
defaultSelectedItems: Account[];
|
|
10386
|
-
onChange: (items: Account[]) => void;
|
|
10387
|
-
onDismiss: () => void;
|
|
10388
|
-
titleResource: string;
|
|
10389
|
-
intl?: WrappedComponentProps;
|
|
10390
|
-
selectionMode?: SelectionMode;
|
|
10391
|
-
allowMailItems?: boolean;
|
|
10392
|
-
accountType: AccountType;
|
|
10393
|
-
showDialog: boolean;
|
|
10394
|
-
allowEmptyValue: boolean;
|
|
10395
|
-
includePendingInvitationUsers?: boolean;
|
|
10396
|
-
placeholderStringResourceKey?: string;
|
|
10397
|
-
inputAriaLabelResourceKey: string;
|
|
10627
|
+
export interface NewsStreamItem extends NewsItem {
|
|
10628
|
+
type: StreamItemTypes.News;
|
|
10629
|
+
contentsList: StreamPublishableItemContents[];
|
|
10630
|
+
channelsList: string[];
|
|
10631
|
+
isUnread: boolean;
|
|
10632
|
+
keywordsList?: Keyword[];
|
|
10633
|
+
knownNewsState?: StreamKnownNewsState[];
|
|
10398
10634
|
}
|
|
10399
|
-
export
|
|
10400
|
-
|
|
10401
|
-
|
|
10402
|
-
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
10403
|
-
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
10404
|
-
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
10405
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
10406
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
10407
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
10408
|
-
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
10409
|
-
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
10410
|
-
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
10411
|
-
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
10412
|
-
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
10413
|
-
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
10414
|
-
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
10415
|
-
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
10416
|
-
}
|
|
10417
|
-
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10418
|
-
import { FC } from 'react';
|
|
10419
|
-
export const GroupNotificationsSettings: FC<{
|
|
10420
|
-
groupId: string;
|
|
10421
|
-
className?: string;
|
|
10422
|
-
}>;
|
|
10423
|
-
}
|
|
10424
|
-
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10425
|
-
import { FC } from 'react';
|
|
10426
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10427
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10428
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10429
|
-
export interface PostCreatorProps {
|
|
10430
|
-
groupId: string;
|
|
10431
|
-
disabled?: boolean;
|
|
10432
|
-
disableDragAndDrop?: boolean;
|
|
10433
|
-
onBeforeSave?: (post: Post) => void;
|
|
10434
|
-
onSaved: (post: Post) => void;
|
|
10435
|
-
keywordSettings?: {
|
|
10436
|
-
availableKeywords?: Keyword[];
|
|
10437
|
-
defaultKeywords?: Keyword[];
|
|
10438
|
-
mandatoryKeywords?: Keyword[];
|
|
10439
|
-
};
|
|
10440
|
-
disableAutoFocus?: boolean;
|
|
10441
|
-
attachmentPreviewTheme?: CommentInputTheme;
|
|
10442
|
-
className?: string;
|
|
10635
|
+
export enum StreamKnownNewsState {
|
|
10636
|
+
Unconfirmed = "UNCONFIRMED",
|
|
10637
|
+
Alert = "ALERT"
|
|
10443
10638
|
}
|
|
10444
|
-
export
|
|
10445
|
-
|
|
10446
|
-
|
|
10447
|
-
|
|
10448
|
-
|
|
10449
|
-
|
|
10450
|
-
|
|
10451
|
-
|
|
10452
|
-
className?: string;
|
|
10453
|
-
post: Post;
|
|
10454
|
-
initialPageSize?: number;
|
|
10455
|
-
comments?: PaginatedList<Comment>;
|
|
10456
|
-
autoFocusReplyField?: boolean;
|
|
10457
|
-
showReplyBox?: boolean;
|
|
10458
|
-
onReplyAdded: () => void;
|
|
10459
|
-
onReplyDeleted: () => void;
|
|
10460
|
-
trimContent?: boolean;
|
|
10461
|
-
}
|
|
10462
|
-
export const PostReplies: FC<Props>;
|
|
10463
|
-
}
|
|
10464
|
-
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
10465
|
-
import { FC } from 'react';
|
|
10466
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10467
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10468
|
-
export const PostEditor: FC<{
|
|
10469
|
-
className?: string;
|
|
10470
|
-
post: Post;
|
|
10471
|
-
onCancel: () => void;
|
|
10472
|
-
onBeforeSave: (post: Post) => void;
|
|
10473
|
-
onSaved: (post: Post) => void;
|
|
10474
|
-
keywordSettings?: {
|
|
10475
|
-
availableKeywords?: Keyword[];
|
|
10476
|
-
defaultKeywords?: Keyword[];
|
|
10477
|
-
mandatoryKeywords?: Keyword[];
|
|
10478
|
-
};
|
|
10479
|
-
}>;
|
|
10480
|
-
}
|
|
10481
|
-
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
10482
|
-
import { FC } from 'react';
|
|
10483
|
-
export const PostFollowButton: FC<{
|
|
10484
|
-
itemId: string;
|
|
10485
|
-
isFollowing: boolean;
|
|
10486
|
-
}>;
|
|
10487
|
-
}
|
|
10488
|
-
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
10489
|
-
import { FC } from 'react';
|
|
10490
|
-
import { NavLink } from 'react-router-dom';
|
|
10491
|
-
export const PostGroup: FC<{
|
|
10492
|
-
groupId: string;
|
|
10493
|
-
target?: string;
|
|
10494
|
-
className?: string;
|
|
10495
|
-
}>;
|
|
10496
|
-
export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
10497
|
-
}
|
|
10498
|
-
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
10499
|
-
import { FC } from 'react';
|
|
10500
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10501
|
-
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10502
|
-
interface Props {
|
|
10503
|
-
post: Post;
|
|
10504
|
-
targetUrl?: string;
|
|
10505
|
-
className?: string;
|
|
10506
|
-
threadId?: string;
|
|
10507
|
-
onCustomPostDelete?: () => void;
|
|
10508
|
-
comments?: PaginatedList<Comment>;
|
|
10509
|
-
initialCommentsPageSize?: number;
|
|
10510
|
-
onThreadCommentDelete?: () => void;
|
|
10511
|
-
onThreadReply?: (threadId: string) => void;
|
|
10512
|
-
keywordSettings?: {
|
|
10513
|
-
availableKeywords?: Keyword[];
|
|
10514
|
-
defaultKeywords?: Keyword[];
|
|
10515
|
-
mandatoryKeywords?: Keyword[];
|
|
10516
|
-
};
|
|
10517
|
-
showGroup?: boolean;
|
|
10518
|
-
onBeforeDelete?: (id: string) => unknown;
|
|
10519
|
-
onAfterDelete?: (id: string) => unknown;
|
|
10520
|
-
onItemClick?: (postId: string) => unknown;
|
|
10521
|
-
openTargetInNewWindow?: boolean;
|
|
10522
|
-
trimContent?: boolean;
|
|
10523
|
-
postGroupTargetUrl?: string;
|
|
10524
|
-
onKeywordClick?: (keywordId: string) => void;
|
|
10525
|
-
baseTargetUrl?: string;
|
|
10526
|
-
}
|
|
10527
|
-
export const PostDisplay: FC<Props>;
|
|
10528
|
-
export const PostDisplayWithModalRouting: FC<Props>;
|
|
10529
|
-
}
|
|
10530
|
-
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10531
|
-
import { FC } from 'react';
|
|
10532
|
-
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10533
|
-
export const PostGroupsPicker: FC<{
|
|
10534
|
-
groups: UserGroup[];
|
|
10535
|
-
selectedGroupId: string;
|
|
10536
|
-
onGroupSelected?: (groupId: string) => unknown;
|
|
10537
|
-
className?: string;
|
|
10538
|
-
}>;
|
|
10539
|
-
}
|
|
10540
|
-
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
10541
|
-
import { FC } from 'react';
|
|
10542
|
-
export const PostGroupSelector: FC<{
|
|
10543
|
-
onPostGroupClick?: (groupId: string) => void;
|
|
10544
|
-
className?: string;
|
|
10545
|
-
}>;
|
|
10546
|
-
}
|
|
10547
|
-
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10548
|
-
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";
|
|
10549
|
-
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10550
|
-
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10551
|
-
enum StreamItemTypes {
|
|
10552
|
-
Post = "POST",
|
|
10553
|
-
News = "NEWS",
|
|
10554
|
-
Event = "EVENT",
|
|
10555
|
-
Page = "PAGE"
|
|
10556
|
-
}
|
|
10557
|
-
export enum StreamConversationScope {
|
|
10558
|
-
Public = "PUBLIC",
|
|
10559
|
-
Editor = "EDITOR",
|
|
10560
|
-
Posts = "POSTS"
|
|
10561
|
-
}
|
|
10562
|
-
export interface PostStreamItem extends Post {
|
|
10563
|
-
type: StreamItemTypes.Post;
|
|
10564
|
-
isUnread: boolean;
|
|
10565
|
-
keywordsList?: Keyword[];
|
|
10566
|
-
groupIds?: string[];
|
|
10567
|
-
postAttachments?: StreamAttachment[];
|
|
10568
|
-
postComments?: PaginatedList<StreamPostComment>;
|
|
10569
|
-
hasMoreUnreadComments: boolean;
|
|
10570
|
-
}
|
|
10571
|
-
export interface StreamPostComment extends Comment {
|
|
10572
|
-
postCommentAttachments?: StreamAttachment[];
|
|
10573
|
-
streamConversationScope?: StreamConversationScope;
|
|
10574
|
-
}
|
|
10575
|
-
export interface StreamAttachment extends BaseAttachment {
|
|
10576
|
-
type: GraphQLAttachmentType;
|
|
10577
|
-
}
|
|
10578
|
-
export interface NewsStreamItem extends NewsItem {
|
|
10579
|
-
type: StreamItemTypes.News;
|
|
10580
|
-
contentsList: StreamPublishableItemContents[];
|
|
10581
|
-
channelsList: string[];
|
|
10582
|
-
isUnread: boolean;
|
|
10583
|
-
keywordsList?: Keyword[];
|
|
10584
|
-
knownNewsState?: StreamKnownNewsState[];
|
|
10585
|
-
}
|
|
10586
|
-
export enum StreamKnownNewsState {
|
|
10587
|
-
Unconfirmed = "UNCONFIRMED",
|
|
10588
|
-
Alert = "ALERT"
|
|
10589
|
-
}
|
|
10590
|
-
export interface EventStreamItem extends EventItem {
|
|
10591
|
-
type: StreamItemTypes.Event;
|
|
10592
|
-
contentsList: StreamPublishableItemContents[];
|
|
10593
|
-
channelsList: string[];
|
|
10594
|
-
isUnread: boolean;
|
|
10595
|
-
keywordsList?: Keyword[];
|
|
10596
|
-
userResponseType?: StreamEventResponse;
|
|
10597
|
-
eventCancelInformation?: StreamEventCancelInformation;
|
|
10639
|
+
export interface EventStreamItem extends EventItem {
|
|
10640
|
+
type: StreamItemTypes.Event;
|
|
10641
|
+
contentsList: StreamPublishableItemContents[];
|
|
10642
|
+
channelsList: string[];
|
|
10643
|
+
isUnread: boolean;
|
|
10644
|
+
keywordsList?: Keyword[];
|
|
10645
|
+
userResponseType?: StreamEventResponse;
|
|
10646
|
+
eventCancelInformation?: StreamEventCancelInformation;
|
|
10598
10647
|
}
|
|
10599
10648
|
export interface PageStreamItem extends PageItem {
|
|
10600
10649
|
type: StreamItemTypes.Page;
|
|
@@ -10762,7 +10811,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10762
10811
|
knownState: KnownNewsState;
|
|
10763
10812
|
hasNewComments?: boolean;
|
|
10764
10813
|
isLiked?: boolean;
|
|
10765
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10766
10814
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10767
10815
|
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
10768
10816
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
@@ -10972,6 +11020,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10972
11020
|
isUnlinked?: boolean;
|
|
10973
11021
|
pageType?: PageType;
|
|
10974
11022
|
firstChildId?: string;
|
|
11023
|
+
isGroupInheritanceBroken?: boolean;
|
|
10975
11024
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10976
11025
|
id?: string;
|
|
10977
11026
|
versionId?: string;
|
|
@@ -11051,7 +11100,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11051
11100
|
knownState: KnownNewsState;
|
|
11052
11101
|
hasNewComments?: boolean;
|
|
11053
11102
|
isLiked?: boolean;
|
|
11054
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
11055
11103
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
11056
11104
|
channels?: import("@livetiles/reach/util/common").SchedulableItemChannel[];
|
|
11057
11105
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
@@ -11159,6 +11207,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11159
11207
|
isUnlinked?: boolean;
|
|
11160
11208
|
pageType?: PageType;
|
|
11161
11209
|
firstChildId?: string;
|
|
11210
|
+
isGroupInheritanceBroken?: boolean;
|
|
11162
11211
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
11163
11212
|
id?: string;
|
|
11164
11213
|
versionId?: string;
|
|
@@ -11282,7 +11331,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11282
11331
|
knownState: KnownNewsState;
|
|
11283
11332
|
hasNewComments?: boolean;
|
|
11284
11333
|
isLiked?: boolean;
|
|
11285
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
11286
11334
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
11287
11335
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
11288
11336
|
id?: string;
|
|
@@ -11357,6 +11405,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11357
11405
|
isUnlinked?: boolean;
|
|
11358
11406
|
pageType?: PageType;
|
|
11359
11407
|
firstChildId?: string;
|
|
11408
|
+
isGroupInheritanceBroken?: boolean;
|
|
11360
11409
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
11361
11410
|
id?: string;
|
|
11362
11411
|
versionId?: string;
|
|
@@ -11385,73 +11434,450 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11385
11434
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11386
11435
|
})[];
|
|
11387
11436
|
export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
|
|
11437
|
+
export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
|
|
11438
|
+
}
|
|
11439
|
+
declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
|
|
11440
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
11441
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11442
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
11443
|
+
export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, itemType?: ItemResourceTypes): void;
|
|
11444
|
+
export function useClearSearchSessionOnLeave(): void;
|
|
11445
|
+
}
|
|
11446
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
|
|
11447
|
+
import { LocationDescriptor } from 'history';
|
|
11448
|
+
import { FC, ReactNode } from 'react';
|
|
11449
|
+
export const SidebarIcon: FC<{
|
|
11450
|
+
icon?: ReactNode;
|
|
11451
|
+
iconName?: string;
|
|
11452
|
+
color?: string;
|
|
11453
|
+
onClick?: () => any;
|
|
11454
|
+
route?: LocationDescriptor;
|
|
11455
|
+
iconTooltipResourceKey: string;
|
|
11456
|
+
iconTooltipResourceValues?: any;
|
|
11457
|
+
className?: string;
|
|
11458
|
+
}>;
|
|
11459
|
+
}
|
|
11460
|
+
declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
|
|
11461
|
+
import { FC, ReactNode } from 'react';
|
|
11462
|
+
import { LocationDescriptor } from 'history';
|
|
11463
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11464
|
+
export interface BaseSidebarItemProps {
|
|
11465
|
+
children?: any;
|
|
11466
|
+
icon?: ReactNode;
|
|
11467
|
+
iconName?: string;
|
|
11468
|
+
iconTooltipResourceKey?: string;
|
|
11469
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11470
|
+
secondaryIconName?: string;
|
|
11471
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11472
|
+
reverse?: boolean;
|
|
11473
|
+
onIconClick?: () => void;
|
|
11474
|
+
iconRoute?: LocationDescriptor;
|
|
11475
|
+
iconColor?: string;
|
|
11476
|
+
onSecondaryIconClick?: () => void;
|
|
11477
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11478
|
+
onContentClick?: () => void;
|
|
11479
|
+
contentRoute?: LocationDescriptor;
|
|
11480
|
+
badgeInfo?: number | boolean;
|
|
11481
|
+
title?: string;
|
|
11482
|
+
className?: string;
|
|
11483
|
+
}
|
|
11484
|
+
export const BaseSidebarItem: FC<BaseSidebarItemProps>;
|
|
11485
|
+
}
|
|
11486
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
|
|
11487
|
+
import { FC } from 'react';
|
|
11488
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11489
|
+
export const SidebarItemSection: FC<{
|
|
11490
|
+
styleDefinition?: ColorStyleDefinition;
|
|
11491
|
+
}>;
|
|
11492
|
+
}
|
|
11493
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
11494
|
+
import { FC, ReactNode } from 'react';
|
|
11495
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11496
|
+
import { LocationDescriptor } from 'history';
|
|
11497
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11498
|
+
interface CommonSidebarItemProps {
|
|
11499
|
+
title?: string | JSX.Element;
|
|
11500
|
+
titleResource?: string;
|
|
11501
|
+
icon?: ReactNode;
|
|
11502
|
+
iconName?: string;
|
|
11503
|
+
iconTooltipResourceKey?: string;
|
|
11504
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11505
|
+
secondaryIconName?: string;
|
|
11506
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11507
|
+
iconColor?: string;
|
|
11508
|
+
reverse?: boolean;
|
|
11509
|
+
notHighlightable?: boolean;
|
|
11510
|
+
onClick?: () => void;
|
|
11511
|
+
className?: string;
|
|
11512
|
+
isActive?: boolean;
|
|
11513
|
+
activeClassName?: string;
|
|
11514
|
+
readOnly?: boolean;
|
|
11515
|
+
submenu?: JSX.Element;
|
|
11516
|
+
submenuClassName?: string;
|
|
11517
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
11518
|
+
badgeInfo?: number | boolean;
|
|
11519
|
+
domIdentifier?: string;
|
|
11520
|
+
}
|
|
11521
|
+
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
11522
|
+
contentRoute?: LocationDescriptor;
|
|
11523
|
+
onIconClick?: () => void;
|
|
11524
|
+
iconRoute?: LocationDescriptor;
|
|
11525
|
+
onSecondaryIconClick?: () => void;
|
|
11526
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11527
|
+
isHoverable?: boolean;
|
|
11528
|
+
}
|
|
11529
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
11530
|
+
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
11531
|
+
route: LocationDescriptor;
|
|
11532
|
+
exact?: boolean;
|
|
11533
|
+
linkClassName?: string;
|
|
11534
|
+
}
|
|
11535
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
11536
|
+
}
|
|
11537
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
11538
|
+
import { FC } from 'react';
|
|
11539
|
+
export const SidebarGroup: FC<{
|
|
11540
|
+
titleResource?: string;
|
|
11541
|
+
borderColor?: string;
|
|
11542
|
+
className?: string;
|
|
11543
|
+
}>;
|
|
11544
|
+
}
|
|
11545
|
+
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
11546
|
+
import { FC } from 'react';
|
|
11547
|
+
export const ContentWithShowMoreButton: FC<{
|
|
11548
|
+
domIdentifier: string;
|
|
11549
|
+
trimContent?: boolean;
|
|
11550
|
+
className?: string;
|
|
11551
|
+
}>;
|
|
11552
|
+
}
|
|
11553
|
+
declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
|
|
11554
|
+
import { FC } from 'react';
|
|
11555
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
11556
|
+
import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
11557
|
+
interface Props {
|
|
11558
|
+
selectedChannelNames?: string[];
|
|
11559
|
+
selectedChannelIds?: string[];
|
|
11560
|
+
mandatoryChannelIds?: string[];
|
|
11561
|
+
availableChannels?: Channel[];
|
|
11562
|
+
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
11563
|
+
className?: string;
|
|
11564
|
+
showOnlyUserChannels?: boolean;
|
|
11565
|
+
showSelectionToggle?: boolean;
|
|
11566
|
+
placeholder?: string;
|
|
11567
|
+
inlineControls?: boolean;
|
|
11568
|
+
required?: boolean;
|
|
11569
|
+
id?: string;
|
|
11570
|
+
showLogicalOperatorOptions?: boolean;
|
|
11571
|
+
selectedLogicalOperator?: LogicalOperator;
|
|
11572
|
+
}
|
|
11573
|
+
export const ChannelSelector: FC<Props>;
|
|
11574
|
+
}
|
|
11575
|
+
declare module "libs/reach/feature/content/src/common/index" {
|
|
11576
|
+
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
11577
|
+
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
11578
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
|
|
11579
|
+
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
11580
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
11581
|
+
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
11582
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
11583
|
+
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
11584
|
+
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
11585
|
+
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
11586
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
11587
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
11588
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
11589
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
11590
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
11591
|
+
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
11592
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
11593
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
11594
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
11595
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
11596
|
+
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
11597
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
11598
|
+
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
11599
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
11600
|
+
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
11601
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
11602
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
11603
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
11604
|
+
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
11605
|
+
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
11606
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
11607
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
11608
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
11609
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
11610
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
11611
|
+
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
11612
|
+
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
11613
|
+
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
11614
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
|
|
11615
|
+
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
11616
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
11617
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
11618
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
11619
|
+
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
11620
|
+
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
11621
|
+
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
11622
|
+
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
11623
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
11624
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
11625
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
11626
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
11627
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
11628
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
11629
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
11630
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
11631
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
11632
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
11633
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
11634
|
+
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
11635
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
11636
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
11637
|
+
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
11638
|
+
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
11639
|
+
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
11640
|
+
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
11641
|
+
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
11642
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
11643
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
11644
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
11645
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
11646
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
11647
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
11648
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
11649
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
11650
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
11651
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
11652
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
11653
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
11654
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
11655
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
11656
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
11657
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
11658
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
11659
|
+
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
11660
|
+
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
11661
|
+
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
11662
|
+
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
11663
|
+
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
11664
|
+
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
11665
|
+
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
11666
|
+
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
11667
|
+
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
11668
|
+
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
11669
|
+
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
|
|
11670
|
+
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
11671
|
+
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
11672
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
11673
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
11674
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
11675
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
11676
|
+
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
11677
|
+
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
11678
|
+
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
11679
|
+
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
11680
|
+
export * from "libs/reach/feature/content/src/common/useContainerDimensions";
|
|
11681
|
+
}
|
|
11682
|
+
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
11683
|
+
import { FC } from 'react';
|
|
11684
|
+
import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11685
|
+
interface Props {
|
|
11686
|
+
type?: ItemResourceTypes;
|
|
11687
|
+
baseAttachmentPath?: string;
|
|
11688
|
+
message: Comment;
|
|
11689
|
+
showDelete?: boolean;
|
|
11690
|
+
showAutoTranslate?: boolean;
|
|
11691
|
+
showEdit?: boolean;
|
|
11692
|
+
onDelete?: (comment: Comment) => void;
|
|
11693
|
+
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
11694
|
+
scope: ConversationScope;
|
|
11695
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
11696
|
+
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
11697
|
+
highlight?: boolean;
|
|
11698
|
+
hasUnreadReplies?: boolean;
|
|
11699
|
+
onReplyIconClick?: () => void;
|
|
11700
|
+
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
11701
|
+
replyCount?: number;
|
|
11702
|
+
readOnly?: boolean;
|
|
11703
|
+
trimContent?: boolean;
|
|
11704
|
+
enableModalRouting?: boolean;
|
|
11705
|
+
className?: string;
|
|
11706
|
+
}
|
|
11707
|
+
export const CommentDisplay: FC<Props>;
|
|
11708
|
+
}
|
|
11709
|
+
declare module "libs/reach/feature/content/src/comments/index" {
|
|
11710
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11711
|
+
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
11712
|
+
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
11713
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11714
|
+
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
11715
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11716
|
+
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
11717
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11718
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
11719
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11720
|
+
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
11721
|
+
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
11722
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
11723
|
+
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
11388
11724
|
}
|
|
11389
|
-
declare module "libs/reach/feature/content/src/
|
|
11390
|
-
import {
|
|
11391
|
-
import {
|
|
11392
|
-
|
|
11393
|
-
|
|
11394
|
-
|
|
11395
|
-
|
|
11396
|
-
|
|
11397
|
-
|
|
11725
|
+
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
11726
|
+
import { FC, ReactNode } from 'react';
|
|
11727
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
11728
|
+
interface Props {
|
|
11729
|
+
isOpen: boolean;
|
|
11730
|
+
preSelectedKeywords: Keyword[];
|
|
11731
|
+
onSave: (keywords: Keyword[]) => void;
|
|
11732
|
+
titleResource: string;
|
|
11733
|
+
onDismiss: () => void;
|
|
11734
|
+
availableKeywords?: Keyword[];
|
|
11735
|
+
mandatoryKeywordIds?: string[];
|
|
11398
11736
|
}
|
|
11399
|
-
export
|
|
11737
|
+
export const KeywordDialog: FC<Props>;
|
|
11738
|
+
export const StatefulKeywordPicker: FC<{
|
|
11739
|
+
preSelectedKeywords: Keyword[];
|
|
11740
|
+
availableKeywords?: Keyword[];
|
|
11741
|
+
mandatoryKeywordIds?: string[];
|
|
11742
|
+
showSelectionToggle?: boolean;
|
|
11743
|
+
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
11744
|
+
}>;
|
|
11745
|
+
}
|
|
11746
|
+
declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
11747
|
+
import { FC, MutableRefObject } from 'react';
|
|
11748
|
+
export interface TextareaProps {
|
|
11749
|
+
rows?: number;
|
|
11750
|
+
placeholder?: string;
|
|
11751
|
+
readOnly?: boolean;
|
|
11752
|
+
onChange: (value: string) => void;
|
|
11753
|
+
className?: string;
|
|
11754
|
+
defaultValue?: string;
|
|
11755
|
+
disabled?: boolean;
|
|
11756
|
+
noDebouncing?: boolean;
|
|
11757
|
+
value?: string;
|
|
11758
|
+
onIconClick?: () => void;
|
|
11759
|
+
onEnter?: () => void;
|
|
11760
|
+
icon?: string;
|
|
11761
|
+
disableNewLines?: boolean;
|
|
11762
|
+
autoFocus?: boolean;
|
|
11763
|
+
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
11764
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
11765
|
+
inputType?: string;
|
|
11400
11766
|
}
|
|
11401
|
-
|
|
11402
|
-
|
|
11403
|
-
|
|
11404
|
-
|
|
11405
|
-
|
|
11406
|
-
errors?: any;
|
|
11407
|
-
hasNextPage: boolean;
|
|
11408
|
-
skip: number;
|
|
11409
|
-
};
|
|
11410
|
-
refresh: () => Promise<void>;
|
|
11411
|
-
isLoadingFirstPage: boolean;
|
|
11412
|
-
refetchItem: (itemId: string) => Promise<void>;
|
|
11413
|
-
};
|
|
11414
|
-
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11415
|
-
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11416
|
-
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
11417
|
-
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
11418
|
-
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
11419
|
-
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
11420
|
-
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
11421
|
-
export const OWNER_CONDITION: (owner: string) => string;
|
|
11422
|
-
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
11423
|
-
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
11424
|
-
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
11425
|
-
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
11426
|
-
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
11427
|
-
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
11428
|
-
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
11429
|
-
export const POST_ITEM_FIELDS: DocumentNode;
|
|
11767
|
+
/**
|
|
11768
|
+
* Textarea that expands vertically to fit content.
|
|
11769
|
+
* If maxLength is given, also displays a count of remaining characters when focused
|
|
11770
|
+
*/
|
|
11771
|
+
export const Textarea: FC<TextareaProps>;
|
|
11430
11772
|
}
|
|
11431
|
-
declare module "libs/reach/feature/content/src/
|
|
11432
|
-
import {
|
|
11433
|
-
|
|
11434
|
-
|
|
11773
|
+
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
11774
|
+
import { FC } from 'react';
|
|
11775
|
+
interface Props {
|
|
11776
|
+
onInsert: (files: File[]) => void;
|
|
11777
|
+
accept?: string;
|
|
11778
|
+
captionKey?: string;
|
|
11779
|
+
captionIconName?: string;
|
|
11780
|
+
descriptionKey?: string;
|
|
11781
|
+
descriptionIconName?: string;
|
|
11782
|
+
singleMode?: boolean;
|
|
11783
|
+
}
|
|
11784
|
+
export const InsertFilesButton: FC<Props>;
|
|
11785
|
+
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11786
|
+
isActive?: boolean;
|
|
11787
|
+
}, never>;
|
|
11435
11788
|
}
|
|
11436
|
-
declare module "libs/reach/feature/content/src/
|
|
11437
|
-
import {
|
|
11438
|
-
|
|
11439
|
-
|
|
11440
|
-
|
|
11441
|
-
|
|
11442
|
-
|
|
11789
|
+
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
11790
|
+
import { FC } from 'react';
|
|
11791
|
+
interface Props {
|
|
11792
|
+
onInsert: (files: File[]) => void;
|
|
11793
|
+
accept?: string;
|
|
11794
|
+
captionKey?: string;
|
|
11795
|
+
descriptionKey?: string;
|
|
11796
|
+
}
|
|
11797
|
+
export const InsertImagesButton: FC<Props>;
|
|
11443
11798
|
}
|
|
11444
|
-
declare module "libs/reach/feature/content/src/
|
|
11445
|
-
|
|
11446
|
-
|
|
11447
|
-
|
|
11448
|
-
|
|
11449
|
-
|
|
11450
|
-
|
|
11451
|
-
|
|
11452
|
-
|
|
11453
|
-
|
|
11454
|
-
|
|
11799
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
11800
|
+
import { FC } from 'react';
|
|
11801
|
+
interface DateTimePickerProps {
|
|
11802
|
+
date: string;
|
|
11803
|
+
maxDate?: string;
|
|
11804
|
+
minDate?: string;
|
|
11805
|
+
dateValidationResourceKey?: string;
|
|
11806
|
+
timeValidationResourceKey?: string;
|
|
11807
|
+
readOnly?: boolean;
|
|
11808
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
11809
|
+
noDateResourceKey: string;
|
|
11810
|
+
selectDateResourceKey: string;
|
|
11811
|
+
dateOnly?: boolean;
|
|
11812
|
+
initialPickerDate?: string;
|
|
11813
|
+
label?: string;
|
|
11814
|
+
isRequired?: boolean;
|
|
11815
|
+
className?: string;
|
|
11816
|
+
}
|
|
11817
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
11818
|
+
export default DateTimePicker;
|
|
11819
|
+
}
|
|
11820
|
+
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
11821
|
+
import moment, { Moment } from 'moment';
|
|
11822
|
+
export enum DateRange {
|
|
11823
|
+
TwoYears = 0,
|
|
11824
|
+
OneYear = 1,
|
|
11825
|
+
SixMonths = 2,
|
|
11826
|
+
TwoMonths = 3,
|
|
11827
|
+
OneMonth = 4,
|
|
11828
|
+
SevenDays = 5,
|
|
11829
|
+
YesterDay = 6,
|
|
11830
|
+
Today = 7
|
|
11831
|
+
}
|
|
11832
|
+
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
11833
|
+
export function dateToDateRange(date: string | moment.Moment): number;
|
|
11834
|
+
export function dateRangeToDate(range: DateRange): Moment;
|
|
11835
|
+
}
|
|
11836
|
+
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
11837
|
+
import { FC } from 'react';
|
|
11838
|
+
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
11839
|
+
export const DateRangeSlider: FC<{
|
|
11840
|
+
value?: DateRange;
|
|
11841
|
+
onChange: (range: DateRange) => unknown;
|
|
11842
|
+
}>;
|
|
11843
|
+
}
|
|
11844
|
+
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
11845
|
+
import { FC } from 'react';
|
|
11846
|
+
import { WrappedComponentProps } from 'react-intl';
|
|
11847
|
+
import { SelectionMode } from 'office-ui-fabric-react';
|
|
11848
|
+
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
11849
|
+
interface PeoplePickerDialogProps {
|
|
11850
|
+
defaultSelectedItems: Account[];
|
|
11851
|
+
onChange: (items: Account[]) => void;
|
|
11852
|
+
onDismiss: () => void;
|
|
11853
|
+
titleResource: string;
|
|
11854
|
+
intl?: WrappedComponentProps;
|
|
11855
|
+
selectionMode?: SelectionMode;
|
|
11856
|
+
allowMailItems?: boolean;
|
|
11857
|
+
accountType: AccountType;
|
|
11858
|
+
showDialog: boolean;
|
|
11859
|
+
allowEmptyValue: boolean;
|
|
11860
|
+
includePendingInvitationUsers?: boolean;
|
|
11861
|
+
placeholderStringResourceKey?: string;
|
|
11862
|
+
inputAriaLabelResourceKey: string;
|
|
11863
|
+
}
|
|
11864
|
+
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
11865
|
+
}
|
|
11866
|
+
declare module "libs/reach/feature/content/src/forms/index" {
|
|
11867
|
+
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
11868
|
+
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
11869
|
+
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
11870
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
11871
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
11872
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
11873
|
+
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
11874
|
+
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
11875
|
+
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
11876
|
+
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
11877
|
+
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
11878
|
+
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
11879
|
+
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
11880
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
11455
11881
|
}
|
|
11456
11882
|
declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
11457
11883
|
import { FC, ReactNode } from 'react';
|
|
@@ -11548,8 +11974,8 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
|
11548
11974
|
declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
|
|
11549
11975
|
export type ShareTokenType = 'preview' | 'published';
|
|
11550
11976
|
export function useShareTokenEditorApi(): {
|
|
11551
|
-
activateShareToken: (
|
|
11552
|
-
deleteShareToken: (
|
|
11977
|
+
activateShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<string>;
|
|
11978
|
+
deleteShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<unknown>;
|
|
11553
11979
|
};
|
|
11554
11980
|
}
|
|
11555
11981
|
declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
@@ -11560,9 +11986,9 @@ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
|
11560
11986
|
cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
|
|
11561
11987
|
uncancelEvent: (id: string) => Promise<unknown>;
|
|
11562
11988
|
unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
|
|
11563
|
-
deleteEventPermanently: (eventId: string) =>
|
|
11989
|
+
deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11564
11990
|
saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
|
|
11565
|
-
deleteModifiedRecurrence: (eventId: string) =>
|
|
11991
|
+
deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11566
11992
|
};
|
|
11567
11993
|
}
|
|
11568
11994
|
declare module "libs/reach/feature/content/src/editor/index" {
|
|
@@ -11601,12 +12027,14 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
|
11601
12027
|
event: EventStreamItem;
|
|
11602
12028
|
}>;
|
|
11603
12029
|
}
|
|
12030
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
12031
|
+
import { FC } from 'react';
|
|
12032
|
+
export const GlobalSearchButton: FC<{
|
|
12033
|
+
className?: string;
|
|
12034
|
+
}>;
|
|
12035
|
+
}
|
|
11604
12036
|
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11605
12037
|
import { FC, ReactNode } from 'react';
|
|
11606
|
-
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11607
|
-
export type StreamQueryResult = {
|
|
11608
|
-
items: StreamItem[];
|
|
11609
|
-
};
|
|
11610
12038
|
export const StreamList: FC<{
|
|
11611
12039
|
emptySearchResultButton?: ReactNode;
|
|
11612
12040
|
}>;
|
|
@@ -11668,12 +12096,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
|
|
|
11668
12096
|
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
11669
12097
|
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
11670
12098
|
}
|
|
11671
|
-
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
11672
|
-
import { FC } from 'react';
|
|
11673
|
-
export const GlobalSearchButton: FC<{
|
|
11674
|
-
className?: string;
|
|
11675
|
-
}>;
|
|
11676
|
-
}
|
|
11677
12099
|
declare module "libs/reach/feature/content/src/search/index" {
|
|
11678
12100
|
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11679
12101
|
}
|
|
@@ -11835,23 +12257,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupChannelsPages" {
|
|
|
11835
12257
|
import { FC } from 'react';
|
|
11836
12258
|
export const GroupsChannelsPage: FC;
|
|
11837
12259
|
}
|
|
11838
|
-
declare module "apps/reach-app/src/app/PublicAccessContext" {
|
|
11839
|
-
import { FC } from 'react';
|
|
11840
|
-
export const PublicAccessContext: import("react").Context<{
|
|
11841
|
-
togglePublicUserDialog: (show: boolean) => unknown;
|
|
11842
|
-
}>;
|
|
11843
|
-
export const PublicAccessContextProvider: FC;
|
|
11844
|
-
}
|
|
11845
|
-
declare module "apps/reach-app/src/error/AccessDeniedPage" {
|
|
11846
|
-
import { FC } from 'react';
|
|
11847
|
-
import { AuthenticationType } from "libs/shared/util/authentication/src/index";
|
|
11848
|
-
export interface AccessDeniedPageProps {
|
|
11849
|
-
authType?: AuthenticationType;
|
|
11850
|
-
authException?: any;
|
|
11851
|
-
}
|
|
11852
|
-
export const AccessDeniedPage: FC<AccessDeniedPageProps>;
|
|
11853
|
-
export default AccessDeniedPage;
|
|
11854
|
-
}
|
|
11855
12260
|
declare module "apps/reach-app/src/app/admin/groups/GroupKeywordsPage" {
|
|
11856
12261
|
import { FC } from 'react';
|
|
11857
12262
|
export const GroupKeywordsPage: FC;
|
|
@@ -12115,6 +12520,30 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
|
|
|
12115
12520
|
}) => string;
|
|
12116
12521
|
};
|
|
12117
12522
|
}
|
|
12523
|
+
declare module "apps/reach-app/src/app/analytics/useSessionStorage" {
|
|
12524
|
+
import { Dispatch } from 'react';
|
|
12525
|
+
export const useSessionStorage: (key: string, defaultValue?: string) => [string, Dispatch<string>];
|
|
12526
|
+
}
|
|
12527
|
+
declare module "apps/reach-app/src/app/analytics/DashboardPage" {
|
|
12528
|
+
import { FC } from 'react';
|
|
12529
|
+
export interface Dashboard {
|
|
12530
|
+
name: string;
|
|
12531
|
+
title: string;
|
|
12532
|
+
url: string;
|
|
12533
|
+
}
|
|
12534
|
+
export const DashboardPage: FC<{
|
|
12535
|
+
dashboard: Dashboard;
|
|
12536
|
+
}>;
|
|
12537
|
+
}
|
|
12538
|
+
declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
|
|
12539
|
+
import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
|
|
12540
|
+
export function useDashboards(): Dashboard[];
|
|
12541
|
+
export function hasDashboards(): boolean;
|
|
12542
|
+
}
|
|
12543
|
+
declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
|
|
12544
|
+
import { FC } from 'react';
|
|
12545
|
+
export const AnalyticsSidebarMenu: FC;
|
|
12546
|
+
}
|
|
12118
12547
|
declare module "apps/reach-app/src/app/chrome/PageMenu" {
|
|
12119
12548
|
import { FC } from 'react';
|
|
12120
12549
|
interface Props {
|