@livetiles/reach-plugin-types 0.5.0-preview.40 → 0.5.0-preview.401
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 +1699 -1279
- 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;
|
|
@@ -1784,15 +1836,6 @@ declare module "libs/reach/util/common/src/user/features/WithFeatures" {
|
|
|
1784
1836
|
export function useFeatures(): FeatureSet;
|
|
1785
1837
|
export function getEnabledFeatures(summary: SubscriptionSummary): FeatureSet;
|
|
1786
1838
|
}
|
|
1787
|
-
declare module "libs/reach/util/common/src/user/Channel" {
|
|
1788
|
-
export interface Channel {
|
|
1789
|
-
id: string;
|
|
1790
|
-
name: string;
|
|
1791
|
-
translations?: {
|
|
1792
|
-
[key: string]: string;
|
|
1793
|
-
};
|
|
1794
|
-
}
|
|
1795
|
-
}
|
|
1796
1839
|
declare module "libs/reach/util/common/src/user/Member" {
|
|
1797
1840
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
1798
1841
|
import { GroupRoleNames } from "libs/reach/util/common/src/user/User";
|
|
@@ -1926,15 +1969,25 @@ declare module "libs/reach/util/common/src/content/KnownNewsState" {
|
|
|
1926
1969
|
Alert = 2
|
|
1927
1970
|
}
|
|
1928
1971
|
}
|
|
1972
|
+
declare module "libs/reach/util/common/src/channels/Channel" {
|
|
1973
|
+
export interface Channel {
|
|
1974
|
+
id: string;
|
|
1975
|
+
name: string;
|
|
1976
|
+
translations?: {
|
|
1977
|
+
[key: string]: string;
|
|
1978
|
+
};
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1929
1981
|
declare module "libs/reach/util/common/src/content/NewsItem" {
|
|
1930
1982
|
import { NewsMetadata } from "libs/reach/util/common/src/content/NewsMetadata";
|
|
1931
1983
|
import { KnownNewsState } from "libs/reach/util/common/src/content/KnownNewsState";
|
|
1932
1984
|
import { PublishableItem } from "libs/reach/util/common/src/content/PublishableItem";
|
|
1985
|
+
import { Channel } from "libs/reach/util/common/src/channels/Channel";
|
|
1933
1986
|
export type Source = 'Condense' | 'External' | null;
|
|
1934
1987
|
export type VersionId = string;
|
|
1935
1988
|
export interface SchedulableItem extends PublishableItem {
|
|
1936
1989
|
metadata?: NewsMetadata;
|
|
1937
|
-
channels?:
|
|
1990
|
+
channels?: Channel[];
|
|
1938
1991
|
}
|
|
1939
1992
|
export interface NewsItem extends SchedulableItem {
|
|
1940
1993
|
source?: string;
|
|
@@ -1943,11 +1996,6 @@ declare module "libs/reach/util/common/src/content/NewsItem" {
|
|
|
1943
1996
|
knownState: KnownNewsState;
|
|
1944
1997
|
hasNewComments?: boolean;
|
|
1945
1998
|
isLiked?: boolean;
|
|
1946
|
-
shareToken?: ShareToken;
|
|
1947
|
-
}
|
|
1948
|
-
export interface ShareToken {
|
|
1949
|
-
published?: string;
|
|
1950
|
-
preview?: string;
|
|
1951
1999
|
}
|
|
1952
2000
|
export interface NewsItemAlertOptions {
|
|
1953
2001
|
duration?: string;
|
|
@@ -1958,9 +2006,6 @@ declare module "libs/reach/util/common/src/content/NewsItem" {
|
|
|
1958
2006
|
newsId: string;
|
|
1959
2007
|
versionModificationDate: string;
|
|
1960
2008
|
}
|
|
1961
|
-
export interface SchedulableItemChannel {
|
|
1962
|
-
name: string;
|
|
1963
|
-
}
|
|
1964
2009
|
}
|
|
1965
2010
|
declare module "libs/reach/util/common/src/content/VideoSource" {
|
|
1966
2011
|
export enum VideoSource {
|
|
@@ -2135,6 +2180,13 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
2135
2180
|
useExternalContent?: boolean;
|
|
2136
2181
|
isDemoContent?: boolean;
|
|
2137
2182
|
}
|
|
2183
|
+
export interface ShareablePublishableItem extends PublishableItem {
|
|
2184
|
+
shareToken: ShareToken;
|
|
2185
|
+
}
|
|
2186
|
+
export interface ShareToken {
|
|
2187
|
+
published?: string;
|
|
2188
|
+
preview?: string;
|
|
2189
|
+
}
|
|
2138
2190
|
export interface PublishableItemVersion extends PublishableItem {
|
|
2139
2191
|
itemId: string;
|
|
2140
2192
|
versionModificationDate: string;
|
|
@@ -2158,6 +2210,7 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
2158
2210
|
}
|
|
2159
2211
|
}
|
|
2160
2212
|
declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
2213
|
+
import { Api } from 'restful.js';
|
|
2161
2214
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
2162
2215
|
export class ClientFactoryInstance {
|
|
2163
2216
|
private env;
|
|
@@ -2168,7 +2221,7 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
|
2168
2221
|
constructor(env: EnvironmentConfig, apiEndpoint: string, getToken: () => Promise<string>, handleError?: (error: any, config: {
|
|
2169
2222
|
url: string;
|
|
2170
2223
|
}) => Promise<unknown>);
|
|
2171
|
-
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) =>
|
|
2224
|
+
createApi: (useAsUnauthorized: boolean, subscriptionId?: string) => Api;
|
|
2172
2225
|
private createApiInternal;
|
|
2173
2226
|
private addRequestTimeLogger;
|
|
2174
2227
|
createApiUrl: (url: string, query?: {
|
|
@@ -2261,6 +2314,11 @@ declare module "libs/reach/util/common/src/user/useCurrentUserApi" {
|
|
|
2261
2314
|
deleteCurrentUserAvatar: () => Promise<unknown>;
|
|
2262
2315
|
};
|
|
2263
2316
|
}
|
|
2317
|
+
declare module "libs/reach/util/common/src/user/useCachedCurrentUserApi" {
|
|
2318
|
+
export function useCachedCurrentUserApi(): {
|
|
2319
|
+
getCurrentUser: (subscriptionId: string) => Promise<import("libs/reach/util/common/src/user").CurrentUser>;
|
|
2320
|
+
};
|
|
2321
|
+
}
|
|
2264
2322
|
declare module "libs/reach/util/common/src/content/Attachment" {
|
|
2265
2323
|
export enum AttachmentType {
|
|
2266
2324
|
Image = 0,
|
|
@@ -2486,12 +2544,16 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2486
2544
|
isUnlinked?: boolean;
|
|
2487
2545
|
pageType?: PageType;
|
|
2488
2546
|
firstChildId?: string;
|
|
2547
|
+
isGroupInheritanceBroken?: boolean;
|
|
2489
2548
|
}
|
|
2490
2549
|
export interface ContentsSummary {
|
|
2491
2550
|
[lang: string]: TitleContent & {
|
|
2492
2551
|
fileInfo?: DocumentFileInfo;
|
|
2493
2552
|
};
|
|
2494
2553
|
}
|
|
2554
|
+
export interface GroupInheritanceUpdateRequest {
|
|
2555
|
+
breakGroupInheritance: boolean;
|
|
2556
|
+
}
|
|
2495
2557
|
export interface PageNavigationNode {
|
|
2496
2558
|
id: string;
|
|
2497
2559
|
contents?: ContentsSummary;
|
|
@@ -2507,6 +2569,7 @@ declare module "libs/reach/util/common/src/content/PageItem" {
|
|
|
2507
2569
|
hasAnyPageChild?: boolean;
|
|
2508
2570
|
pageType?: PageType;
|
|
2509
2571
|
useExternalContent?: boolean;
|
|
2572
|
+
isGroupInheritanceBroken?: boolean;
|
|
2510
2573
|
isSearchMatch?: boolean;
|
|
2511
2574
|
topLevelFolderName?: string;
|
|
2512
2575
|
uploadToken?: string;
|
|
@@ -2675,6 +2738,237 @@ declare module "libs/reach/util/common/src/AccessDeniedIntercept" {
|
|
|
2675
2738
|
export function accessDeniedIntercept(error: any): Promise<boolean>;
|
|
2676
2739
|
export function genericAccessDeniedIntercept(error: any): Promise<boolean>;
|
|
2677
2740
|
}
|
|
2741
|
+
declare module "libs/reach/util/common/src/Variables" {
|
|
2742
|
+
export const maxContentWidth = 985;
|
|
2743
|
+
export const adminMaxWidth = 600;
|
|
2744
|
+
export const spacingXxs = 3;
|
|
2745
|
+
export const spacingXs = 6;
|
|
2746
|
+
export const spacingS = 10;
|
|
2747
|
+
export const spacingM = 20;
|
|
2748
|
+
export const spacingL = 30;
|
|
2749
|
+
export const spacingX = 40;
|
|
2750
|
+
export const spacingXl = 60;
|
|
2751
|
+
export const minScreenSize: {
|
|
2752
|
+
small: number;
|
|
2753
|
+
medium: number;
|
|
2754
|
+
large: number;
|
|
2755
|
+
xLarge: number;
|
|
2756
|
+
xxLarge: number;
|
|
2757
|
+
xxxLarge: number;
|
|
2758
|
+
};
|
|
2759
|
+
export const maxScreenSize: {
|
|
2760
|
+
small: number;
|
|
2761
|
+
medium: number;
|
|
2762
|
+
large: number;
|
|
2763
|
+
xLarge: number;
|
|
2764
|
+
xxLarge: number;
|
|
2765
|
+
};
|
|
2766
|
+
export const sidebarWidth = 285;
|
|
2767
|
+
export const sidebarWidthRight = 320;
|
|
2768
|
+
export const sidebarItemHeight = 50;
|
|
2769
|
+
export const headerHeight = 50;
|
|
2770
|
+
export const headerSecondaryHeight = 50;
|
|
2771
|
+
export const notificationHeight = 50;
|
|
2772
|
+
export const mainContentPanelWidth = 300;
|
|
2773
|
+
export const mainContentPanelMinScreenSize = 1740;
|
|
2774
|
+
export const fontSizeLarger = 40;
|
|
2775
|
+
export const fontSizeLarge = 25;
|
|
2776
|
+
export const fontSizeMedium = 18;
|
|
2777
|
+
export const fontSizeNormal = 16;
|
|
2778
|
+
export const fontSizeSmall = 14;
|
|
2779
|
+
export const fontSizeSmaller = 12;
|
|
2780
|
+
export const socialIconSize = 26;
|
|
2781
|
+
export const lineHeight = 23;
|
|
2782
|
+
export const smallScreenLoginHeight = 40;
|
|
2783
|
+
export const bannerAspectRatio: number;
|
|
2784
|
+
export const bannerWidth = 980;
|
|
2785
|
+
export const bannerHeight = 420;
|
|
2786
|
+
export const HighlightBubbleSize = 12;
|
|
2787
|
+
export const StatusBubbleSize = 10;
|
|
2788
|
+
export const shadowColor = "rgba(0, 0, 0, 0.2)";
|
|
2789
|
+
export const diffPreviousVersionColour = "rgb(221, 221, 221)";
|
|
2790
|
+
export const diffActiveVersionColour = "rgb(206, 255, 188)";
|
|
2791
|
+
export const dialogSpacing = 24;
|
|
2792
|
+
export const detailViewSectionPadding = 20;
|
|
2793
|
+
export const detailViewSectionPaddingLarge = 60;
|
|
2794
|
+
export const postsSectionPadding = 20;
|
|
2795
|
+
export const attachmentRoundedCornerSize = 10;
|
|
2796
|
+
export const videoAttachmentRoundedCornerSize = 20;
|
|
2797
|
+
export const inlinePageBannerRoundedCornerSize = 5;
|
|
2798
|
+
export const feedbackButtonHeight = 32;
|
|
2799
|
+
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
2800
|
+
export const mainContentContainerId = "lt-reach-main-content";
|
|
2801
|
+
export const mainModalContentContainerId = "lt-reach-main-modal-content";
|
|
2802
|
+
export const statusColors: {
|
|
2803
|
+
draft: string;
|
|
2804
|
+
ready: string;
|
|
2805
|
+
rejected: string;
|
|
2806
|
+
};
|
|
2807
|
+
export const cardWidthS = 260;
|
|
2808
|
+
export const cardWidthM = 354;
|
|
2809
|
+
export const cardWidthL = 314;
|
|
2810
|
+
export const cardWidthXL = 423;
|
|
2811
|
+
export const managePagesRowWidth = 300;
|
|
2812
|
+
export const managePagesRowHeight = 40;
|
|
2813
|
+
export const mobilePreviewWidth = 414;
|
|
2814
|
+
}
|
|
2815
|
+
declare module "libs/reach/util/common/src/common-utils" {
|
|
2816
|
+
import { BaseSubscription, LogoInfo, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/user/Subscription";
|
|
2817
|
+
import { IntlShape } from 'react-intl';
|
|
2818
|
+
export function getMainScrollableContainer(): HTMLElement;
|
|
2819
|
+
export enum LinkType {
|
|
2820
|
+
Internal = "internal",
|
|
2821
|
+
External = "external",
|
|
2822
|
+
Download = "download"
|
|
2823
|
+
}
|
|
2824
|
+
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}";
|
|
2825
|
+
export const DefaultSubscriptionName = "LiveTiles Reach";
|
|
2826
|
+
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
2827
|
+
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
2828
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
2829
|
+
logoInfo: LogoInfo;
|
|
2830
|
+
subscriptionName: string;
|
|
2831
|
+
};
|
|
2832
|
+
}
|
|
2833
|
+
declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
|
|
2834
|
+
export enum AnalyticsInteractionEvents {
|
|
2835
|
+
embeddedVideo = "embedded-video",
|
|
2836
|
+
embeddedAudio = "embedded-audio",
|
|
2837
|
+
languageChange = "language-change",
|
|
2838
|
+
eventRegistration = "event-registration",
|
|
2839
|
+
eventSeriesRegistration = "event-series-registration",
|
|
2840
|
+
translateContent = "translate-content",
|
|
2841
|
+
downloadFile = "download-file",
|
|
2842
|
+
embeddedIframe = "embedded-iframe",
|
|
2843
|
+
externalLink = "external-link",
|
|
2844
|
+
follow = "follow",
|
|
2845
|
+
bookmark = "bookmark"
|
|
2846
|
+
}
|
|
2847
|
+
export enum AnalyticsActions {
|
|
2848
|
+
click = "click",
|
|
2849
|
+
navigate = "navigate",
|
|
2850
|
+
view = "view",
|
|
2851
|
+
search = "search"
|
|
2852
|
+
}
|
|
2853
|
+
export enum AnalyticsModuleType {
|
|
2854
|
+
Admin = "admin",
|
|
2855
|
+
Chat = "chat",
|
|
2856
|
+
Comments = "comments",
|
|
2857
|
+
Events = "events",
|
|
2858
|
+
Search = "search",
|
|
2859
|
+
News = "news",
|
|
2860
|
+
Pages = "pages",
|
|
2861
|
+
People = "people",
|
|
2862
|
+
Posts = "posts",
|
|
2863
|
+
Stream = "stream",
|
|
2864
|
+
User = "user"
|
|
2865
|
+
}
|
|
2866
|
+
export enum AnalyticsModuleSubtype {
|
|
2867
|
+
AllChats = "allChats",
|
|
2868
|
+
AllNews = "allNews",
|
|
2869
|
+
AllPosts = "allPosts",
|
|
2870
|
+
Bookmarks = "bookmarks",
|
|
2871
|
+
Channel = "channel",
|
|
2872
|
+
Channels = "channels",
|
|
2873
|
+
ChatConversation = "conversation",
|
|
2874
|
+
Customization = "customization",
|
|
2875
|
+
DetailView = "detailView",
|
|
2876
|
+
DirectoryConfig = "directoryConfiguration",
|
|
2877
|
+
Group = "group",
|
|
2878
|
+
Groups = "groups",
|
|
2879
|
+
Keywords = "keywords",
|
|
2880
|
+
Languages = "languages",
|
|
2881
|
+
MyNews = "myNews",
|
|
2882
|
+
Owners = "owners",
|
|
2883
|
+
Preview = "preview",
|
|
2884
|
+
RootPages = "rootPages",
|
|
2885
|
+
Search = "search",
|
|
2886
|
+
SelfRegistration = "selfRegistration",
|
|
2887
|
+
TargetAudience = "targetAudience",
|
|
2888
|
+
UpcomingEvents = "upcoming",
|
|
2889
|
+
BookedEvents = "booked",
|
|
2890
|
+
PastEvents = "past",
|
|
2891
|
+
Users = "users",
|
|
2892
|
+
WebHooks = "webHooks",
|
|
2893
|
+
Editor = "editor"
|
|
2894
|
+
}
|
|
2895
|
+
}
|
|
2896
|
+
declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
|
|
2897
|
+
export function useLinkInteraction(): void;
|
|
2898
|
+
}
|
|
2899
|
+
declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
|
|
2900
|
+
export function useIframeInteraction(): void;
|
|
2901
|
+
}
|
|
2902
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider" {
|
|
2903
|
+
import { FC } from 'react';
|
|
2904
|
+
import { EventModule } from '@livetiles/analytics';
|
|
2905
|
+
export const AnalyticsModuleContext: import("react").Context<EventModule>;
|
|
2906
|
+
export const AnalyticsModuleContextProvider: FC<{
|
|
2907
|
+
module: EventModule;
|
|
2908
|
+
}>;
|
|
2909
|
+
}
|
|
2910
|
+
declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
|
|
2911
|
+
import { Dispatch, FC, SetStateAction } from 'react';
|
|
2912
|
+
import { Activity, Analytics, EventModule, InteractionProperties, EventSearch } from '@livetiles/analytics';
|
|
2913
|
+
export interface SearchAnalytics {
|
|
2914
|
+
data: EventSearch[];
|
|
2915
|
+
onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
|
|
2916
|
+
onItemRead: (itemId: string) => void;
|
|
2917
|
+
}
|
|
2918
|
+
export interface ModuleAnalytics {
|
|
2919
|
+
module: EventModule;
|
|
2920
|
+
setModule: Dispatch<SetStateAction<EventModule>>;
|
|
2921
|
+
}
|
|
2922
|
+
interface ActivityAnalytics {
|
|
2923
|
+
trackActivity: (scrollContainer?: HTMLElement, moduleOverride?: EventModule) => Activity | undefined;
|
|
2924
|
+
sendActivity: () => void;
|
|
2925
|
+
}
|
|
2926
|
+
export type ReachAnalytics = Analytics & ModuleAnalytics & SearchAnalytics & ActivityAnalytics;
|
|
2927
|
+
export const AnalyticsContext: import("react").Context<ReachAnalytics>;
|
|
2928
|
+
export function useAnalyticsContext(): {
|
|
2929
|
+
interaction: (payload: Omit<InteractionProperties, 'module'>) => Promise<void>;
|
|
2930
|
+
trackActivity: (scrollContainer?: HTMLElement) => Activity;
|
|
2931
|
+
getUser: () => import("@segment/analytics-next").User;
|
|
2932
|
+
identify: (userId: string, traits?: Record<string, unknown>) => void;
|
|
2933
|
+
activity: (payload: import("@livetiles/analytics").ActivityProperties) => Activity;
|
|
2934
|
+
module: EventModule;
|
|
2935
|
+
setModule: Dispatch<SetStateAction<EventModule>>;
|
|
2936
|
+
data: EventSearch[];
|
|
2937
|
+
onSearchTermChange: (newData: EventSearch) => Promise<unknown>;
|
|
2938
|
+
onItemRead: (itemId: string) => void;
|
|
2939
|
+
sendActivity: () => void;
|
|
2940
|
+
};
|
|
2941
|
+
export const AnalyticsLibraryContextProvider: FC<{
|
|
2942
|
+
appName?: string;
|
|
2943
|
+
}>;
|
|
2944
|
+
export const AnalyticsContextProvider: FC;
|
|
2945
|
+
}
|
|
2946
|
+
declare module "libs/reach/util/common/src/PagingService" {
|
|
2947
|
+
import { Observable } from 'rxjs';
|
|
2948
|
+
export const onPageScroll: Observable<number>;
|
|
2949
|
+
export function handlePageScroll(availableScrollSpace: number): void;
|
|
2950
|
+
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
2951
|
+
export function usePageScrollListener(onScroll: (availableScrollSpace: number) => void): void;
|
|
2952
|
+
}
|
|
2953
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
|
|
2954
|
+
import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
2955
|
+
export function useAnalyticsViewTrackWithPagination(startTracking: boolean, items: BaseItem[], itemResourceType: ItemResourceTypes): void;
|
|
2956
|
+
export function useAnalyticsViewTrack(startTracking: boolean, itemResourceType?: ItemResourceTypes, thresholdPercentageOverride?: number): void;
|
|
2957
|
+
}
|
|
2958
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack" {
|
|
2959
|
+
export function useAnalyticsActivityTrack(scrollContainer: HTMLElement): void;
|
|
2960
|
+
}
|
|
2961
|
+
declare module "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack" {
|
|
2962
|
+
export function useAnalyticsNavigateTrack(): void;
|
|
2963
|
+
}
|
|
2964
|
+
declare module "libs/reach/util/common/src/analytics/index" {
|
|
2965
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsContextProvider";
|
|
2966
|
+
export * from "libs/reach/util/common/src/analytics/analyticsUtils";
|
|
2967
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsViewTrack";
|
|
2968
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsActivityTrack";
|
|
2969
|
+
export * from "libs/reach/util/common/src/analytics/useAnalyticsNavigateTrack";
|
|
2970
|
+
export * from "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider";
|
|
2971
|
+
}
|
|
2678
2972
|
declare module "libs/reach/util/common/src/user/useManageCurrentUserApi" {
|
|
2679
2973
|
import { CurrentUser, GroupNotificationSettings, NotificationTypeSettings, UserContact } from "libs/reach/util/common/src/user/User";
|
|
2680
2974
|
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
@@ -2748,6 +3042,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
|
|
|
2748
3042
|
updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
|
|
2749
3043
|
deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
|
|
2750
3044
|
importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
|
|
3045
|
+
refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
|
|
3046
|
+
requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
|
|
2751
3047
|
};
|
|
2752
3048
|
}
|
|
2753
3049
|
declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
@@ -2773,6 +3069,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2773
3069
|
customDomain?: string;
|
|
2774
3070
|
allowSelfRegistration?: boolean;
|
|
2775
3071
|
brandFolderConfig?: import("libs/reach/util/common/src/user/Subscription").BrandFolderConfig;
|
|
3072
|
+
hideSubscriptionName?: boolean;
|
|
2776
3073
|
id: string;
|
|
2777
3074
|
subscriptionName: string;
|
|
2778
3075
|
subscriptionHandle?: string;
|
|
@@ -2816,6 +3113,7 @@ declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
|
|
|
2816
3113
|
termsAndConditionsApprovedHash: string;
|
|
2817
3114
|
isPublicUser?: boolean;
|
|
2818
3115
|
hasUnreadChats?: boolean;
|
|
3116
|
+
publicSubscriptionIds?: string[];
|
|
2819
3117
|
id?: string;
|
|
2820
3118
|
type?: import("@livetiles/reach/util/common").AccountType;
|
|
2821
3119
|
tenantId?: string;
|
|
@@ -2857,20 +3155,12 @@ declare module "libs/reach/util/common/src/user/useSubscriptionWebAppUrl" {
|
|
|
2857
3155
|
export function useSubscriptionWebAppUrl(): string;
|
|
2858
3156
|
export function useSubscriptionWebAppUrls(): string[];
|
|
2859
3157
|
}
|
|
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
3158
|
declare module "libs/reach/util/common/src/user/index" {
|
|
2868
3159
|
export * from "libs/reach/util/common/src/user/features/FeatureSet";
|
|
2869
3160
|
export * from "libs/reach/util/common/src/user/features/WithFeatures";
|
|
2870
3161
|
export * from "libs/reach/util/common/src/user/Account";
|
|
2871
3162
|
export * from "libs/reach/util/common/src/user/Audience";
|
|
2872
3163
|
export * from "libs/reach/util/common/src/user/BasicUserInformation";
|
|
2873
|
-
export * from "libs/reach/util/common/src/user/Channel";
|
|
2874
3164
|
export * from "libs/reach/util/common/src/user/Member";
|
|
2875
3165
|
export * from "libs/reach/util/common/src/user/Organization";
|
|
2876
3166
|
export * from "libs/reach/util/common/src/user/Subscription";
|
|
@@ -2882,6 +3172,7 @@ declare module "libs/reach/util/common/src/user/index" {
|
|
|
2882
3172
|
export * from "libs/reach/util/common/src/user/useAccountApi";
|
|
2883
3173
|
export * from "libs/reach/util/common/src/user/useCurrentUser";
|
|
2884
3174
|
export * from "libs/reach/util/common/src/user/useCurrentUserApi";
|
|
3175
|
+
export * from "libs/reach/util/common/src/user/useCachedCurrentUserApi";
|
|
2885
3176
|
export * from "libs/reach/util/common/src/user/useManageCurrentUserApi";
|
|
2886
3177
|
export * from "libs/reach/util/common/src/user/useUserAdminApi";
|
|
2887
3178
|
export * from "libs/reach/util/common/src/user/CurrentUserDetailContextProvider";
|
|
@@ -2889,7 +3180,6 @@ declare module "libs/reach/util/common/src/user/index" {
|
|
|
2889
3180
|
export * from "libs/reach/util/common/src/user/useSubscriptionHandlePathBuilder";
|
|
2890
3181
|
export * from "libs/reach/util/common/src/user/CurrentUserContext";
|
|
2891
3182
|
export * from "libs/reach/util/common/src/user/useSubscriptionWebAppUrl";
|
|
2892
|
-
export * from "libs/reach/util/common/src/user/useChannelsApi";
|
|
2893
3183
|
export * from "libs/reach/util/common/src/user/LanguageUtils";
|
|
2894
3184
|
export * from "libs/reach/util/common/src/user/content-languages-util";
|
|
2895
3185
|
}
|
|
@@ -2938,7 +3228,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
|
|
|
2938
3228
|
getPluginFileUrl: (pluginId: string, bundleUrl?: string, bundleModificationDate?: string) => string;
|
|
2939
3229
|
saveDefinition: (plugin: WebPluginDefinition) => Promise<unknown>;
|
|
2940
3230
|
saveFile: (pluginId: string, file: File) => Promise<Response>;
|
|
2941
|
-
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<
|
|
3231
|
+
generateApiKey: (pluginId: string, displayName: string, expiryDate?: string) => Promise<string>;
|
|
2942
3232
|
linkPlugin: (pluginId: string, settings: Record<string, string>) => Promise<any>;
|
|
2943
3233
|
unlinkPlugin: (pluginId: string) => Promise<any>;
|
|
2944
3234
|
};
|
|
@@ -3044,17 +3334,15 @@ declare module "libs/reach/util/common/src/Models" {
|
|
|
3044
3334
|
}
|
|
3045
3335
|
}
|
|
3046
3336
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
3047
|
-
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
3337
|
+
import { ExtensionArea, PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
3048
3338
|
import { PageNavigationNodeProps } from "libs/reach/util/common/src/Models";
|
|
3049
|
-
export enum ExtensionArea {
|
|
3050
|
-
global = "Global",
|
|
3051
|
-
page = "Page",
|
|
3052
|
-
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
3053
|
-
eventDetailViewSection = "EventDetailViewSection"
|
|
3054
|
-
}
|
|
3055
3339
|
export interface PluginNavigationNodeProps {
|
|
3056
3340
|
navigationNodeProps?: PageNavigationNodeProps;
|
|
3057
3341
|
}
|
|
3342
|
+
export type EmbeddedPluginProps = PluginProps & {
|
|
3343
|
+
isEditMode?: boolean;
|
|
3344
|
+
componentInstanceId: string;
|
|
3345
|
+
};
|
|
3058
3346
|
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
3059
3347
|
type DevPlugin = {
|
|
3060
3348
|
pluginId: string;
|
|
@@ -3108,22 +3396,11 @@ declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
|
3108
3396
|
}
|
|
3109
3397
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
3110
3398
|
import { FC } from 'react';
|
|
3111
|
-
import { ExtensionArea } from "libs/reach/util/common/src/
|
|
3399
|
+
import { ExtensionArea } from "libs/reach/util/common/src/user/Subscription";
|
|
3112
3400
|
export const Plugins: FC<{
|
|
3113
3401
|
area: ExtensionArea;
|
|
3114
3402
|
} & any>;
|
|
3115
3403
|
}
|
|
3116
|
-
declare module "libs/reach/util/common/src/plugins/index" {
|
|
3117
|
-
export * from "libs/reach/util/common/src/plugins/PluginContext";
|
|
3118
|
-
export * from "libs/reach/util/common/src/plugins/PluginWrapper";
|
|
3119
|
-
export * from "libs/reach/util/common/src/plugins/Plugins";
|
|
3120
|
-
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
3121
|
-
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
3122
|
-
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3123
|
-
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
3124
|
-
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
3125
|
-
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
3126
|
-
}
|
|
3127
3404
|
declare module "libs/reach/util/common/src/theme/ColorGenerator" {
|
|
3128
3405
|
export class Color {
|
|
3129
3406
|
private r;
|
|
@@ -3268,114 +3545,88 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
3268
3545
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
3269
3546
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
3270
3547
|
}
|
|
3271
|
-
declare module "libs/reach/util/common/src/
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
export const
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
export
|
|
3280
|
-
export
|
|
3281
|
-
export
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3548
|
+
declare module "libs/reach/util/common/src/plugins/Plugin" {
|
|
3549
|
+
import { FC } from 'react';
|
|
3550
|
+
import { PluginProps } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3551
|
+
export const Plugin: FC<PluginProps & {
|
|
3552
|
+
showDetailedErrorMessage?: boolean;
|
|
3553
|
+
} & any>;
|
|
3554
|
+
}
|
|
3555
|
+
declare module "libs/reach/util/common/src/plugins/index" {
|
|
3556
|
+
export * from "libs/reach/util/common/src/plugins/PluginContext";
|
|
3557
|
+
export * from "libs/reach/util/common/src/plugins/PluginWrapper";
|
|
3558
|
+
export * from "libs/reach/util/common/src/plugins/Plugins";
|
|
3559
|
+
export * from "libs/reach/util/common/src/plugins/Plugin";
|
|
3560
|
+
export * from "libs/reach/util/common/src/plugins/SystemJSHelper";
|
|
3561
|
+
export * from "libs/reach/util/common/src/plugins/usePluginApi";
|
|
3562
|
+
export * from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
3563
|
+
export * from "libs/reach/util/common/src/plugins/usePluginDeviceStore";
|
|
3564
|
+
export * from "libs/reach/util/common/src/plugins/usePluginSubscriptionStore";
|
|
3565
|
+
export * from "libs/reach/util/common/src/plugins/usePluginUserStore";
|
|
3566
|
+
}
|
|
3567
|
+
declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
3568
|
+
import { FC, ReactNode } from 'react';
|
|
3569
|
+
import { ToastOptions } from 'react-toastify';
|
|
3570
|
+
export interface NotificationState {
|
|
3571
|
+
text?: string;
|
|
3572
|
+
messageId?: string;
|
|
3573
|
+
messageValues?: {};
|
|
3574
|
+
messageBarType?: any;
|
|
3575
|
+
className?: string;
|
|
3576
|
+
actions?: JSX.Element;
|
|
3577
|
+
isNotificationBarVisible?: boolean;
|
|
3578
|
+
}
|
|
3579
|
+
interface NotificationContextType {
|
|
3580
|
+
showErrorText?: (text: string) => unknown;
|
|
3581
|
+
showInfo?: (messageId: string, values?: {}) => unknown;
|
|
3582
|
+
showError?: (messageId: string, values?: {}) => unknown;
|
|
3583
|
+
showWarning?: (messageId: string, values?: {}) => unknown;
|
|
3584
|
+
showSuccess?: (messageId: string, values?: {}, className?: string, actions?: JSX.Element) => unknown;
|
|
3585
|
+
hideNotification?: () => unknown;
|
|
3586
|
+
showToast?: (content: string, values?: {}, actions?: ReactNode, toastOptions?: ToastOptions) => number;
|
|
3587
|
+
showToastWarning?: (messageId: string, values?: {}, onClose?: () => unknown) => number;
|
|
3588
|
+
dismissToast?: (toastId?: number) => unknown;
|
|
3589
|
+
}
|
|
3590
|
+
export const NotificationContext: import("react").Context<NotificationContextType>;
|
|
3591
|
+
export const NotificationBarContext: import("react").Context<NotificationState>;
|
|
3592
|
+
export function useNotificationContext(): NotificationContextType;
|
|
3593
|
+
export const NotificationContextProvider: FC;
|
|
3594
|
+
}
|
|
3595
|
+
declare module "libs/reach/util/common/src/notification/ToastNotificationHost" {
|
|
3596
|
+
import { FC } from 'react';
|
|
3597
|
+
import 'react-toastify/dist/ReactToastify.min.css';
|
|
3598
|
+
export const ToastNotificationHost: FC;
|
|
3599
|
+
}
|
|
3600
|
+
declare module "libs/reach/util/common/src/notification/index" {
|
|
3601
|
+
export * from "libs/reach/util/common/src/notification/NotificationContext";
|
|
3602
|
+
export * from "libs/reach/util/common/src/notification/ToastNotificationHost";
|
|
3603
|
+
}
|
|
3604
|
+
declare module "libs/reach/util/common/src/keywords/useCachedKeywordsApi" {
|
|
3605
|
+
export function useCachedKeywordsApi(): {
|
|
3606
|
+
getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<import("@livetiles/reach/util/common").Keyword[]>;
|
|
3607
|
+
getSelectedGroups: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").KeywordGroup[]>;
|
|
3288
3608
|
};
|
|
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;
|
|
3342
3609
|
}
|
|
3343
|
-
declare module "libs/reach/util/common/src/
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
export interface NotificationState {
|
|
3347
|
-
text?: string;
|
|
3348
|
-
messageId?: string;
|
|
3349
|
-
messageValues?: {};
|
|
3350
|
-
messageBarType?: any;
|
|
3351
|
-
className?: string;
|
|
3352
|
-
actions?: JSX.Element;
|
|
3353
|
-
isNotificationBarVisible?: boolean;
|
|
3354
|
-
}
|
|
3355
|
-
interface NotificationContextType {
|
|
3356
|
-
showErrorText?: (text: string) => unknown;
|
|
3357
|
-
showInfo?: (messageId: string, values?: {}) => unknown;
|
|
3358
|
-
showError?: (messageId: string, values?: {}) => unknown;
|
|
3359
|
-
showWarning?: (messageId: string, values?: {}) => unknown;
|
|
3360
|
-
showSuccess?: (messageId: string, values?: {}, className?: string, actions?: JSX.Element) => unknown;
|
|
3361
|
-
hideNotification?: () => unknown;
|
|
3362
|
-
showToast?: (content: string, values?: {}, actions?: ReactNode, toastOptions?: ToastOptions) => number;
|
|
3363
|
-
showToastWarning?: (messageId: string, values?: {}, onClose?: () => unknown) => number;
|
|
3364
|
-
dismissToast?: (toastId?: number) => unknown;
|
|
3365
|
-
}
|
|
3366
|
-
export const NotificationContext: import("react").Context<NotificationContextType>;
|
|
3367
|
-
export const NotificationBarContext: import("react").Context<NotificationState>;
|
|
3368
|
-
export function useNotificationContext(): NotificationContextType;
|
|
3369
|
-
export const NotificationContextProvider: FC;
|
|
3610
|
+
declare module "libs/reach/util/common/src/keywords/index" {
|
|
3611
|
+
export * from "libs/reach/util/common/src/keywords/useCachedKeywordsApi";
|
|
3612
|
+
export * from "libs/reach/util/common/src/keywords/useKeywordsApi";
|
|
3370
3613
|
}
|
|
3371
|
-
declare module "libs/reach/util/common/src/
|
|
3372
|
-
import {
|
|
3373
|
-
|
|
3374
|
-
|
|
3614
|
+
declare module "libs/reach/util/common/src/channels/useChannelsApi" {
|
|
3615
|
+
import { Channel } from "libs/reach/util/common/src/channels/Channel";
|
|
3616
|
+
export function useChannelsApi(): {
|
|
3617
|
+
getChannels: () => Promise<Channel[]>;
|
|
3618
|
+
getChannelsByItemId: (id: string, route?: string) => Promise<Channel[]>;
|
|
3619
|
+
};
|
|
3375
3620
|
}
|
|
3376
|
-
declare module "libs/reach/util/common/src/
|
|
3377
|
-
export
|
|
3378
|
-
|
|
3621
|
+
declare module "libs/reach/util/common/src/channels/useCachedChannelsApi" {
|
|
3622
|
+
export function useCachedChannelsApi(): {
|
|
3623
|
+
getChannels: (subscriptionId: string) => Promise<import("@livetiles/reach/util/common").Channel[]>;
|
|
3624
|
+
};
|
|
3625
|
+
}
|
|
3626
|
+
declare module "libs/reach/util/common/src/channels/index" {
|
|
3627
|
+
export * from "libs/reach/util/common/src/channels/useCachedChannelsApi";
|
|
3628
|
+
export * from "libs/reach/util/common/src/channels/useChannelsApi";
|
|
3629
|
+
export * from "libs/reach/util/common/src/channels/Channel";
|
|
3379
3630
|
}
|
|
3380
3631
|
declare module "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider" {
|
|
3381
3632
|
import { FC, ReactNode } from 'react';
|
|
@@ -3386,7 +3637,7 @@ declare module "libs/reach/util/common/src/subscription/EnforcedSubscriptionCont
|
|
|
3386
3637
|
declare module "libs/reach/util/common/src/subscription/SubscriptionContext" {
|
|
3387
3638
|
import { FC } from 'react';
|
|
3388
3639
|
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/content/KeywordGroup";
|
|
3389
|
-
import { Channel } from "libs/reach/util/common/src/
|
|
3640
|
+
import { Channel } from "libs/reach/util/common/src/channels/Channel";
|
|
3390
3641
|
import { KeywordsByGroupId } from "libs/reach/util/common/src/keywords/useKeywordsApi";
|
|
3391
3642
|
interface SubscriptionData {
|
|
3392
3643
|
channels?: Channel[];
|
|
@@ -3403,10 +3654,11 @@ declare module "libs/reach/util/common/src/subscription/SubscriptionContext" {
|
|
|
3403
3654
|
refreshSubscription: () => void;
|
|
3404
3655
|
}>;
|
|
3405
3656
|
export const LazySubscriptionContextProvider: FC;
|
|
3657
|
+
export const LazyCachedSubscriptionContextProvider: FC;
|
|
3406
3658
|
export const LazySubscriptionContextProviderBase: FC<{
|
|
3407
|
-
getChannels: () => Promise<Channel[]>;
|
|
3408
|
-
getAllKeywords: (force?: boolean) => Promise<Keyword[]>;
|
|
3409
|
-
getSelectedGroups: () => Promise<KeywordGroup[]>;
|
|
3659
|
+
getChannels: (subscriptionId: string) => Promise<Channel[]>;
|
|
3660
|
+
getAllKeywords: (subscriptionId: string, force?: boolean) => Promise<Keyword[]>;
|
|
3661
|
+
getSelectedGroups: (subscriptionId: string) => Promise<KeywordGroup[]>;
|
|
3410
3662
|
}>;
|
|
3411
3663
|
}
|
|
3412
3664
|
declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
|
|
@@ -3416,10 +3668,14 @@ declare module "libs/reach/util/common/src/subscription/useSubscriptionApi" {
|
|
|
3416
3668
|
getTermsAndConditions: () => Promise<TermsAndConditions>;
|
|
3417
3669
|
};
|
|
3418
3670
|
}
|
|
3671
|
+
declare module "libs/reach/util/common/src/subscription/useLazySubscriptionContext" {
|
|
3672
|
+
export function useLazySubscriptionContext(): import("libs/reach/util/common/src/subscription/SubscriptionContext").LazySubscriptionContextType;
|
|
3673
|
+
}
|
|
3419
3674
|
declare module "libs/reach/util/common/src/subscription/index" {
|
|
3420
3675
|
export * from "libs/reach/util/common/src/subscription/EnforcedSubscriptionContextProvider";
|
|
3421
3676
|
export * from "libs/reach/util/common/src/subscription/SubscriptionContext";
|
|
3422
3677
|
export * from "libs/reach/util/common/src/subscription/useSubscriptionApi";
|
|
3678
|
+
export * from "libs/reach/util/common/src/subscription/useLazySubscriptionContext";
|
|
3423
3679
|
}
|
|
3424
3680
|
declare module "libs/reach/util/common/src/AppTrigger" {
|
|
3425
3681
|
import { DependencyList } from 'react';
|
|
@@ -3442,6 +3698,15 @@ declare module "libs/reach/util/common/src/ImageDetails" {
|
|
|
3442
3698
|
width?: number;
|
|
3443
3699
|
height?: number;
|
|
3444
3700
|
}
|
|
3701
|
+
export interface ImageWithAlignment extends ImageDetails {
|
|
3702
|
+
imageAlignment?: ImageAlignment;
|
|
3703
|
+
}
|
|
3704
|
+
export enum ImageAlignment {
|
|
3705
|
+
Default = "default",
|
|
3706
|
+
Left = "left",
|
|
3707
|
+
Right = "right",
|
|
3708
|
+
Center = "center"
|
|
3709
|
+
}
|
|
3445
3710
|
}
|
|
3446
3711
|
declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
3447
3712
|
export interface MainPanelContextType {
|
|
@@ -3452,19 +3717,12 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
|
3452
3717
|
}
|
|
3453
3718
|
export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
|
|
3454
3719
|
}
|
|
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
3720
|
declare module "libs/reach/util/common/src/keyword-utils" {
|
|
3463
3721
|
import { Keyword } from "libs/reach/util/common/src/content/KeywordGroup";
|
|
3464
3722
|
import { SchedulableItem } from "libs/reach/util/common/src/content/NewsItem";
|
|
3465
3723
|
import { PublishableItem } from "libs/reach/util/common/src/content/PublishableItem";
|
|
3466
3724
|
import { KeywordsByGroupId } from "libs/reach/util/common/src/keywords/useKeywordsApi";
|
|
3467
|
-
import { Channel } from "libs/reach/util/common/src/
|
|
3725
|
+
import { Channel } from "libs/reach/util/common/src/channels/Channel";
|
|
3468
3726
|
import { FeatureSet } from "libs/reach/util/common/src/user/features/FeatureSet";
|
|
3469
3727
|
import { CurrentUser, UserGroup } from "libs/reach/util/common/src/user/User";
|
|
3470
3728
|
export function getGroupKeywords(groups: UserGroup[], features: FeatureSet, allKeywords: Keyword[], keywordsByGroupId: KeywordsByGroupId): KeywordsByGroupId;
|
|
@@ -3521,6 +3779,10 @@ declare module "libs/reach/util/common/src/useModalRouting" {
|
|
|
3521
3779
|
};
|
|
3522
3780
|
};
|
|
3523
3781
|
}
|
|
3782
|
+
declare module "libs/reach/util/common/src/ReachQueryClient" {
|
|
3783
|
+
import { QueryClient } from '@tanstack/react-query';
|
|
3784
|
+
export const ReachQueryClient: QueryClient;
|
|
3785
|
+
}
|
|
3524
3786
|
declare module "libs/reach/util/common/src/index" {
|
|
3525
3787
|
export { initializeIcons } from 'office-ui-fabric-react';
|
|
3526
3788
|
export * from "libs/reach/util/common/src/FocusStyles";
|
|
@@ -3537,7 +3799,8 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3537
3799
|
export * from "libs/reach/util/common/src/content/index";
|
|
3538
3800
|
export * from "libs/reach/util/common/src/notification/index";
|
|
3539
3801
|
export * from "libs/reach/util/common/src/Variables";
|
|
3540
|
-
export * from "libs/reach/util/common/src/keywords/
|
|
3802
|
+
export * from "libs/reach/util/common/src/keywords/index";
|
|
3803
|
+
export * from "libs/reach/util/common/src/channels/index";
|
|
3541
3804
|
export * from "libs/reach/util/common/src/subscription/index";
|
|
3542
3805
|
export * from "libs/reach/util/common/src/AppTrigger";
|
|
3543
3806
|
export * from "libs/reach/util/common/src/BackbuttonListenerUtil";
|
|
@@ -3550,6 +3813,9 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3550
3813
|
export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
|
|
3551
3814
|
export * from "libs/reach/util/common/src/AccessDeniedIntercept";
|
|
3552
3815
|
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3816
|
+
export * from "libs/reach/util/common/src/analytics/index";
|
|
3817
|
+
export * from "libs/reach/util/common/src/common-utils";
|
|
3818
|
+
export * from "libs/reach/util/common/src/ReachQueryClient";
|
|
3553
3819
|
}
|
|
3554
3820
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3555
3821
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -3606,7 +3872,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
|
|
|
3606
3872
|
text?: string | JSX.Element;
|
|
3607
3873
|
resourceKey?: string;
|
|
3608
3874
|
values?: {
|
|
3609
|
-
[key: string]: string | number | boolean | Date;
|
|
3875
|
+
[key: string]: string | number | boolean | Date | any;
|
|
3610
3876
|
};
|
|
3611
3877
|
width?: number;
|
|
3612
3878
|
onClick?: () => unknown;
|
|
@@ -3686,7 +3952,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3686
3952
|
export const PeoplePicker: FC<Props>;
|
|
3687
3953
|
}
|
|
3688
3954
|
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";
|
|
3955
|
+
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
3956
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3691
3957
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3692
3958
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3703,7 +3969,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3703
3969
|
* @deprecated Please use `usePluginDeviceStore` instead
|
|
3704
3970
|
*/
|
|
3705
3971
|
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, };
|
|
3972
|
+
export type { Account, PluginNavigationNodeProps, PluginProps, PluginStorage, PluginStore, EmbeddedPluginProps, };
|
|
3707
3973
|
}
|
|
3708
3974
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3709
3975
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3719,6 +3985,9 @@ declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
|
3719
3985
|
export function getPreSelectedKeywords(keywords: Keyword[], mandatoryKeywords: Keyword[]): Keyword[];
|
|
3720
3986
|
export function checkIfHasSameKeywords(keywordsArray1: Keyword[], keywordsArray2: Keyword[]): boolean;
|
|
3721
3987
|
}
|
|
3988
|
+
declare module "libs/reach/ui/common/src/common/messagebar/MessageBarStyles" {
|
|
3989
|
+
export const MessageBarBaseStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
3990
|
+
}
|
|
3722
3991
|
declare module "libs/reach/ui/common/src/NotificationBar" {
|
|
3723
3992
|
import { FC } from 'react';
|
|
3724
3993
|
export const NotificationBar: FC;
|
|
@@ -3735,6 +4004,7 @@ declare module "libs/reach/ui/common/src/common/AudioFile" {
|
|
|
3735
4004
|
export const AudioFile: FC<{
|
|
3736
4005
|
fileName: string;
|
|
3737
4006
|
url: string;
|
|
4007
|
+
onPlay?: (url: string) => void;
|
|
3738
4008
|
}>;
|
|
3739
4009
|
export function isAudioFile(fileName: string): boolean;
|
|
3740
4010
|
}
|
|
@@ -3758,37 +4028,6 @@ declare module "libs/reach/ui/common/src/common/buttons/ActionButton" {
|
|
|
3758
4028
|
color?: string;
|
|
3759
4029
|
}, never>;
|
|
3760
4030
|
}
|
|
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
4031
|
declare module "libs/reach/ui/common/src/common/AvailableSubscriptionList" {
|
|
3793
4032
|
import { FC } from 'react';
|
|
3794
4033
|
import { SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
@@ -3831,6 +4070,7 @@ declare module "libs/reach/ui/common/src/common/ConfirmDialog" {
|
|
|
3831
4070
|
infoResourceValues?: any;
|
|
3832
4071
|
onConfirm?: () => unknown;
|
|
3833
4072
|
onClose?: () => unknown;
|
|
4073
|
+
width?: number;
|
|
3834
4074
|
}>;
|
|
3835
4075
|
}
|
|
3836
4076
|
declare module "libs/reach/ui/common/src/common/ConfirmResetDialog" {
|
|
@@ -3866,7 +4106,7 @@ declare module "libs/reach/ui/common/src/common/DateTime" {
|
|
|
3866
4106
|
export const isSameDay: (value: moment.MomentInput) => boolean;
|
|
3867
4107
|
export const DateTime: FC<Props>;
|
|
3868
4108
|
export const DateTimeRange: FC<{
|
|
3869
|
-
startDate
|
|
4109
|
+
startDate?: string;
|
|
3870
4110
|
endDate?: string;
|
|
3871
4111
|
className?: string;
|
|
3872
4112
|
}>;
|
|
@@ -3952,6 +4192,7 @@ declare module "libs/reach/ui/common/src/common/VideoFile" {
|
|
|
3952
4192
|
export const VideoFile: FC<{
|
|
3953
4193
|
fileName: string;
|
|
3954
4194
|
url: string;
|
|
4195
|
+
onPlay?: (url: string) => void;
|
|
3955
4196
|
}>;
|
|
3956
4197
|
export function isVideoFile(fileName: string): boolean;
|
|
3957
4198
|
}
|
|
@@ -3974,25 +4215,30 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
3974
4215
|
}[]>;
|
|
3975
4216
|
export function getFileIcon(filename: string): string;
|
|
3976
4217
|
export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
|
|
4218
|
+
export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
|
|
3977
4219
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
3978
|
-
export function getMainScrollableContainer(): HTMLElement;
|
|
3979
4220
|
}
|
|
3980
4221
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
4222
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3981
4223
|
export function useFileAccessTokenApi(): {
|
|
3982
4224
|
exchangeShortLivedToken: (fileAccessToken: string) => Promise<string>;
|
|
3983
4225
|
getPublishableItemShortLivedToken: (basePath: string, itemId: string) => Promise<string>;
|
|
3984
|
-
createDownloadClickHandler: (target: string, getUrl: () => Promise<string
|
|
4226
|
+
createDownloadClickHandler: (target: string, getUrl: () => Promise<string>, fileId?: string, itemResourceType?: ItemResourceTypes | string, parentId?: string) => () => Promise<void>;
|
|
3985
4227
|
};
|
|
3986
4228
|
}
|
|
3987
4229
|
declare module "libs/reach/ui/common/src/common/FileAttachmentList" {
|
|
3988
4230
|
import { FC } from 'react';
|
|
3989
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
4231
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
3990
4232
|
export const FileAttachmentList: FC<{
|
|
3991
4233
|
files: Attachment[];
|
|
3992
4234
|
onDeleteClick?: (file: Attachment) => void;
|
|
3993
4235
|
getFileUrl?: (attachmentId: string, token?: string) => string;
|
|
4236
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
4237
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
3994
4238
|
fileAccessToken?: string;
|
|
3995
4239
|
disabled?: boolean;
|
|
4240
|
+
parentId?: string;
|
|
4241
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
3996
4242
|
className?: string;
|
|
3997
4243
|
}>;
|
|
3998
4244
|
}
|
|
@@ -4292,6 +4538,28 @@ declare module "libs/reach/ui/common/src/common/UserUtility" {
|
|
|
4292
4538
|
import { IntlShape } from 'react-intl';
|
|
4293
4539
|
export function getGroupName(group: UserGroup, user: CurrentUser, intl: IntlShape): string;
|
|
4294
4540
|
}
|
|
4541
|
+
declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
4542
|
+
export const smallScreenSpacing = 10;
|
|
4543
|
+
export const smallMaxContentWidth: number;
|
|
4544
|
+
export const mediumMaxContentWidth: number;
|
|
4545
|
+
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4546
|
+
}
|
|
4547
|
+
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
4548
|
+
import { CurrentUser, PublishableItem } from "libs/reach/util/common/src/index";
|
|
4549
|
+
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
4550
|
+
export function isValidUrl(url: string): boolean;
|
|
4551
|
+
export function getGoogleMapsSearchLink(name: string): string;
|
|
4552
|
+
export function tryGetInternalLink(url: string, appUrls: string[]): string;
|
|
4553
|
+
export function getExternalContentUrl(item: PublishableItem, language: string): string;
|
|
4554
|
+
export function redirectAndPreserveSource(redirectLocation: string, subscriptionIdentifier: SubscriptionIdentifier, location: any, history: any, additionalQueryParams?: Object): void;
|
|
4555
|
+
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
4556
|
+
export function delay(delayInMs: number): Promise<unknown>;
|
|
4557
|
+
export const LeftBannerWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4558
|
+
defaultWidth?: number;
|
|
4559
|
+
showPlaceholder?: boolean;
|
|
4560
|
+
}, never>;
|
|
4561
|
+
export function encodeChannelName(channelName: string): string;
|
|
4562
|
+
}
|
|
4295
4563
|
declare module "libs/reach/ui/common/src/common/VerificationStatusIcon" {
|
|
4296
4564
|
import { FC, ReactNode } from 'react';
|
|
4297
4565
|
import { PrimitiveType } from 'intl-messageformat';
|
|
@@ -4315,12 +4583,15 @@ declare module "libs/reach/ui/common/src/common/animations/OpacityAnimation" {
|
|
|
4315
4583
|
}
|
|
4316
4584
|
declare module "libs/reach/ui/common/src/common/buttons/AutoTranslateButton" {
|
|
4317
4585
|
import { FC } from 'react';
|
|
4586
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
4318
4587
|
export const AutoTranslateButton: FC<{
|
|
4319
4588
|
contentLanguageCode: string;
|
|
4320
4589
|
originalContent: string;
|
|
4321
4590
|
content: string;
|
|
4322
4591
|
onTranslate: (preferredContentLanguageCode: string) => Promise<string>;
|
|
4323
4592
|
onContentChange: (content: string) => void;
|
|
4593
|
+
itemType: ItemResourceTypes;
|
|
4594
|
+
itemId: string;
|
|
4324
4595
|
tooltipResourceKey?: string;
|
|
4325
4596
|
showLabel?: boolean;
|
|
4326
4597
|
}>;
|
|
@@ -4399,7 +4670,7 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
|
|
|
4399
4670
|
import { Channel } from "libs/reach/util/common/src/index";
|
|
4400
4671
|
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
4401
4672
|
interface Props {
|
|
4402
|
-
channel: Channel
|
|
4673
|
+
channel: Channel;
|
|
4403
4674
|
language?: string;
|
|
4404
4675
|
applyChannelBubbleStyle?: boolean;
|
|
4405
4676
|
role?: string;
|
|
@@ -4407,10 +4678,10 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelTitle" {
|
|
|
4407
4678
|
}
|
|
4408
4679
|
export const ChannelTitle: FC<Props>;
|
|
4409
4680
|
export const ChannelTitles: FC<{
|
|
4410
|
-
channels:
|
|
4681
|
+
channels: Channel[];
|
|
4411
4682
|
language?: string;
|
|
4412
4683
|
}>;
|
|
4413
|
-
export function getChannelDisplayName(
|
|
4684
|
+
export function getChannelDisplayName(channel: Channel, user: CurrentUser, language?: string): string;
|
|
4414
4685
|
}
|
|
4415
4686
|
declare module "libs/reach/ui/common/src/common/channels/ChannelItem" {
|
|
4416
4687
|
import { UserChannelSubscription } from "libs/reach/util/common/src/index";
|
|
@@ -4435,16 +4706,17 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelItem" {
|
|
|
4435
4706
|
}
|
|
4436
4707
|
declare module "libs/reach/ui/common/src/common/channels/ChannelList" {
|
|
4437
4708
|
import { FC } from 'react';
|
|
4709
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
4438
4710
|
export interface ChannelStyleDefinition {
|
|
4439
4711
|
backgroundColor?: string;
|
|
4440
4712
|
color?: string;
|
|
4441
4713
|
}
|
|
4442
4714
|
export const ChannelList: FC<{
|
|
4443
|
-
channels:
|
|
4715
|
+
channels: Channel[];
|
|
4444
4716
|
language: string;
|
|
4445
4717
|
channelStyleDefinition?: ChannelStyleDefinition;
|
|
4446
4718
|
visibleChannelsCount?: number;
|
|
4447
|
-
onChannelClick?: (channel:
|
|
4719
|
+
onChannelClick?: (channel: Channel) => unknown;
|
|
4448
4720
|
className?: string;
|
|
4449
4721
|
}>;
|
|
4450
4722
|
}
|
|
@@ -4452,7 +4724,7 @@ declare module "libs/reach/ui/common/src/common/channels/ClickableChannelTitles"
|
|
|
4452
4724
|
import { FC } from 'react';
|
|
4453
4725
|
import { Channel } from "libs/reach/util/common/src/index";
|
|
4454
4726
|
export const ClickableChannelTitles: FC<{
|
|
4455
|
-
channels:
|
|
4727
|
+
channels: Channel[];
|
|
4456
4728
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
4457
4729
|
language?: string;
|
|
4458
4730
|
channelBackgroundColor?: string;
|
|
@@ -4604,6 +4876,9 @@ declare module "libs/reach/ui/common/src/common/grid/Grid" {
|
|
|
4604
4876
|
className?: string;
|
|
4605
4877
|
}>;
|
|
4606
4878
|
}
|
|
4879
|
+
declare module "libs/reach/ui/common/src/common/hooks/useIsMounted" {
|
|
4880
|
+
export const useIsMounted: () => () => boolean;
|
|
4881
|
+
}
|
|
4607
4882
|
declare module "libs/reach/ui/common/src/common/hooks/usePagination" {
|
|
4608
4883
|
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
4609
4884
|
import { DependencyList, SetStateAction } from 'react';
|
|
@@ -4908,8 +5183,9 @@ declare module "libs/reach/ui/common/src/common/user/Avatar" {
|
|
|
4908
5183
|
export interface Props extends IPersonaProps {
|
|
4909
5184
|
upn: string;
|
|
4910
5185
|
tenantId?: string;
|
|
4911
|
-
className?: string;
|
|
4912
5186
|
displayName?: string;
|
|
5187
|
+
forceShowSecondaryText?: boolean;
|
|
5188
|
+
className?: string;
|
|
4913
5189
|
}
|
|
4914
5190
|
export class UserAvatarUpdateTriggerAction implements AppTriggerAction {
|
|
4915
5191
|
static type: string;
|
|
@@ -5084,6 +5360,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
5084
5360
|
export * from "libs/reach/ui/common/src/common/grid/Grid";
|
|
5085
5361
|
export * from "libs/reach/ui/common/src/common/hooks/usePagination";
|
|
5086
5362
|
export * from "libs/reach/ui/common/src/common/hooks/useUserPropertyDefinitionsHandler";
|
|
5363
|
+
export * from "libs/reach/ui/common/src/common/hooks/useIsMounted";
|
|
5087
5364
|
export * from "libs/reach/ui/common/src/common/icon-with-callout/IconWithCallout";
|
|
5088
5365
|
export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
|
|
5089
5366
|
export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
|
|
@@ -5116,6 +5393,7 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
5116
5393
|
export * from "libs/reach/ui/common/src/common/error-states/index";
|
|
5117
5394
|
export * from "libs/reach/ui/common/src/common/MenuItemBadge";
|
|
5118
5395
|
export * from "libs/reach/ui/common/src/common/editor-svg/index";
|
|
5396
|
+
export * from "libs/reach/ui/common/src/common/messagebar/MessageBarStyles";
|
|
5119
5397
|
}
|
|
5120
5398
|
declare module "libs/reach/ui/common/src/error/PageAlert" {
|
|
5121
5399
|
import { ReactNode } from 'react';
|
|
@@ -5167,16 +5445,17 @@ declare module "libs/reach/ui/common/src/index" {
|
|
|
5167
5445
|
export * from "libs/reach/ui/common/src/ColorEditor";
|
|
5168
5446
|
}
|
|
5169
5447
|
declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
5170
|
-
import { FC } from 'react';
|
|
5448
|
+
import { FC, DependencyList } from 'react';
|
|
5171
5449
|
export interface Props {
|
|
5172
5450
|
navigateTo: string;
|
|
5451
|
+
onBeforeClose?: () => void;
|
|
5173
5452
|
onClose?: () => void;
|
|
5174
5453
|
tooltipResourceKey?: string;
|
|
5175
5454
|
useGoBack?: boolean;
|
|
5176
5455
|
className?: string;
|
|
5177
5456
|
}
|
|
5178
5457
|
export const CloseButton: FC<Props>;
|
|
5179
|
-
export function useEscapeOnClose(onClose: () => void): void;
|
|
5458
|
+
export function useEscapeOnClose(onClose: () => void, deps?: DependencyList): void;
|
|
5180
5459
|
}
|
|
5181
5460
|
declare module "apps/reach-app/src/app/common/LogoStyles" {
|
|
5182
5461
|
export const LogoHostStyle: (size?: {
|
|
@@ -5203,6 +5482,7 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
5203
5482
|
closeButtonOptions?: CloseButtonOptions;
|
|
5204
5483
|
}
|
|
5205
5484
|
export interface CloseButtonOptions {
|
|
5485
|
+
onBeforeClose?: () => void;
|
|
5206
5486
|
onClick?: () => void;
|
|
5207
5487
|
disableGoBack?: boolean;
|
|
5208
5488
|
route?: string;
|
|
@@ -5268,9 +5548,9 @@ declare module "apps/reach-app/src/app/chrome/MainContentPanelContextProvider" {
|
|
|
5268
5548
|
}
|
|
5269
5549
|
declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
5270
5550
|
import { FC, ReactNode } from 'react';
|
|
5551
|
+
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5271
5552
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
5272
5553
|
import './BasicPage.scss';
|
|
5273
|
-
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
5274
5554
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
5275
5555
|
type HeaderToolbarObjectTypeHack = {
|
|
5276
5556
|
toolbarElement: JSX.Element;
|
|
@@ -5388,7 +5668,10 @@ declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
|
5388
5668
|
addLanguage: (code: string) => Promise<Language>;
|
|
5389
5669
|
setDefaultLanguage: (code: string) => Promise<Language>;
|
|
5390
5670
|
removeLanguage: (code: string) => Promise<unknown>;
|
|
5391
|
-
setSubscriptionName: (name: string) => Promise<
|
|
5671
|
+
setSubscriptionName: (name: string | null, hideName: boolean | null) => Promise<{
|
|
5672
|
+
name: string | null;
|
|
5673
|
+
hideName: boolean | null;
|
|
5674
|
+
}>;
|
|
5392
5675
|
setSubscriptionHandle: (handle: string) => Promise<string>;
|
|
5393
5676
|
validateSubscriptionHandle: (handle: string) => Promise<HandleValidationResult>;
|
|
5394
5677
|
updateLogo: (logoSize: LogoSize, file?: File) => Promise<void>;
|
|
@@ -5694,11 +5977,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
|
|
|
5694
5977
|
export { PushClient };
|
|
5695
5978
|
}
|
|
5696
5979
|
declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
5697
|
-
import { ConfigureOptions, MigrateResult,
|
|
5698
|
-
export class MobileHybridStorage implements
|
|
5980
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5981
|
+
export class MobileHybridStorage implements PreferencesPlugin {
|
|
5699
5982
|
private pluginStorage;
|
|
5700
5983
|
private static memoryStorage;
|
|
5701
|
-
constructor(pluginStorage:
|
|
5984
|
+
constructor(pluginStorage: PreferencesPlugin);
|
|
5702
5985
|
get(options: {
|
|
5703
5986
|
key: string;
|
|
5704
5987
|
}): Promise<any>;
|
|
@@ -5710,7 +5993,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
|
5710
5993
|
key: string;
|
|
5711
5994
|
}): Promise<void>;
|
|
5712
5995
|
clear(): Promise<void>;
|
|
5713
|
-
keys(): Promise<import("@capacitor/
|
|
5996
|
+
keys(): Promise<import("@capacitor/preferences").KeysResult>;
|
|
5714
5997
|
private static updateInMemoryStorage;
|
|
5715
5998
|
configure(options: ConfigureOptions): Promise<void>;
|
|
5716
5999
|
migrate(): Promise<MigrateResult>;
|
|
@@ -5746,7 +6029,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
|
|
|
5746
6029
|
export const mockStatusBarPlugin: StatusBarPlugin;
|
|
5747
6030
|
}
|
|
5748
6031
|
declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
5749
|
-
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
|
|
6032
|
+
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
|
|
5750
6033
|
import { PluginListenerHandle } from '@capacitor/core';
|
|
5751
6034
|
export class WebDeviceFallback implements DevicePlugin {
|
|
5752
6035
|
addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
|
|
@@ -5755,6 +6038,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
|
5755
6038
|
getId(): Promise<DeviceId>;
|
|
5756
6039
|
getBatteryInfo(): Promise<BatteryInfo>;
|
|
5757
6040
|
getLanguageCode(): Promise<GetLanguageCodeResult>;
|
|
6041
|
+
getLanguageTag(): Promise<LanguageTag>;
|
|
5758
6042
|
}
|
|
5759
6043
|
}
|
|
5760
6044
|
declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
@@ -5771,8 +6055,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
|
5771
6055
|
}
|
|
5772
6056
|
}
|
|
5773
6057
|
declare module "libs/shared/util/capacitor/src/WebStorage" {
|
|
5774
|
-
import { ConfigureOptions, MigrateResult,
|
|
5775
|
-
export class WebStorage implements
|
|
6058
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
6059
|
+
export class WebStorage implements PreferencesPlugin {
|
|
5776
6060
|
storage: Storage;
|
|
5777
6061
|
get(options: {
|
|
5778
6062
|
key: string;
|
|
@@ -5806,14 +6090,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
|
|
|
5806
6090
|
import { SharePlugin } from '@capacitor/share';
|
|
5807
6091
|
import { SplashScreenPlugin } from '@capacitor/splash-screen';
|
|
5808
6092
|
import { StatusBarPlugin } from '@capacitor/status-bar';
|
|
5809
|
-
import {
|
|
6093
|
+
import { PreferencesPlugin } from '@capacitor/preferences';
|
|
5810
6094
|
import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
|
|
5811
6095
|
import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
|
|
5812
6096
|
import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
|
|
5813
6097
|
import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
|
|
5814
6098
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
5815
6099
|
export interface CondensePluginRegistry {
|
|
5816
|
-
Storage:
|
|
6100
|
+
Storage: PreferencesPlugin;
|
|
5817
6101
|
Device: DevicePlugin;
|
|
5818
6102
|
App: AppPlugin;
|
|
5819
6103
|
Keyboard: KeyboardPlugin;
|
|
@@ -6342,14 +6626,18 @@ declare module "apps/reach-app/src/app/admin/web-hooks/utils" {
|
|
|
6342
6626
|
CommentUpdated = "CommentUpdated",
|
|
6343
6627
|
CommentDeleted = "CommentDeleted",
|
|
6344
6628
|
LikeAdded = "LikeAdded",
|
|
6345
|
-
LikeRemoved = "LikeRemoved"
|
|
6629
|
+
LikeRemoved = "LikeRemoved",
|
|
6630
|
+
PostCreated = "PostCreated",
|
|
6631
|
+
PostUpdated = "PostUpdated",
|
|
6632
|
+
PostDeleted = "PostDeleted"
|
|
6346
6633
|
}
|
|
6347
6634
|
export enum WebHookCategory {
|
|
6348
6635
|
News = "News",
|
|
6349
6636
|
Events = "Events",
|
|
6350
6637
|
Comments = "Comments",
|
|
6351
6638
|
Likes = "Likes",
|
|
6352
|
-
UserSelfRegistration = "UserSelfRegistration"
|
|
6639
|
+
UserSelfRegistration = "UserSelfRegistration",
|
|
6640
|
+
Posts = "Posts"
|
|
6353
6641
|
}
|
|
6354
6642
|
}
|
|
6355
6643
|
declare module "apps/reach-app/src/app/admin/web-hooks/WebHookEditor" {
|
|
@@ -6475,7 +6763,7 @@ declare module "apps/reach-app/src/app/user/useSelfRegistrationApi" {
|
|
|
6475
6763
|
import { UserRegistrationResult } from "libs/reach/util/common/src/index";
|
|
6476
6764
|
import { SelfRegistrationOptions } from "libs/reach/util/common/src/index";
|
|
6477
6765
|
export function useSelfRegistrationApi(): {
|
|
6478
|
-
changeRegistrationStatus: (upn: string, doAccept: boolean) =>
|
|
6766
|
+
changeRegistrationStatus: (upn: string, doAccept: boolean) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6479
6767
|
hasUserPendingRegistration: (subscriptionId: string, upn: string) => Promise<boolean>;
|
|
6480
6768
|
register: (subscriptionId: string, mail: string, displayName: string) => Promise<UserRegistrationResult>;
|
|
6481
6769
|
updateSelfRegistrationOptions: (config: Partial<SelfRegistrationOptions>) => Promise<unknown>;
|
|
@@ -6531,6 +6819,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
|
|
|
6531
6819
|
onSaved: (newProperties: UpdatableUserProperties) => void;
|
|
6532
6820
|
}>;
|
|
6533
6821
|
}
|
|
6822
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
|
|
6823
|
+
import { FC } from 'react';
|
|
6824
|
+
import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
|
|
6825
|
+
export const GenerateApiKeyDialog: FC<{
|
|
6826
|
+
onApiKeyAdded?: () => void;
|
|
6827
|
+
onDismiss: () => void;
|
|
6828
|
+
user?: UserItem;
|
|
6829
|
+
}>;
|
|
6830
|
+
}
|
|
6534
6831
|
declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
6535
6832
|
import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
|
|
6536
6833
|
import './UserList.scss';
|
|
@@ -6554,7 +6851,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
|
6554
6851
|
isLoading?: boolean;
|
|
6555
6852
|
isEmpty?: boolean;
|
|
6556
6853
|
emptyPlaceholder?: ReactNode;
|
|
6854
|
+
onKeyChanged?: () => void;
|
|
6557
6855
|
}
|
|
6856
|
+
export type UserItem = Account & UserSummary & GroupUser & {
|
|
6857
|
+
accountType: string;
|
|
6858
|
+
lastLogin: string | JSX.Element;
|
|
6859
|
+
};
|
|
6558
6860
|
export const UserList: FC<Props>;
|
|
6559
6861
|
}
|
|
6560
6862
|
declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
|
|
@@ -6587,12 +6889,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6587
6889
|
className?: string;
|
|
6588
6890
|
}>;
|
|
6589
6891
|
}
|
|
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
6892
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6597
6893
|
import { FC } from 'react';
|
|
6598
6894
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|
|
@@ -6612,19 +6908,42 @@ declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersP
|
|
|
6612
6908
|
}
|
|
6613
6909
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
|
|
6614
6910
|
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6911
|
+
export enum ValidationStatus {
|
|
6912
|
+
Valid = 0,
|
|
6913
|
+
WithErrors = 1,
|
|
6914
|
+
WithUserErrors = 2
|
|
6915
|
+
}
|
|
6916
|
+
export type CsvValidation = {
|
|
6917
|
+
Status?: ValidationStatus;
|
|
6918
|
+
Message?: string;
|
|
6919
|
+
InvalidItems?: string[];
|
|
6920
|
+
};
|
|
6615
6921
|
export function useUserCsvInviter(): {
|
|
6616
6922
|
invitedUsers: UserImport[];
|
|
6617
6923
|
isValidating: boolean;
|
|
6618
6924
|
isCsvValid: boolean;
|
|
6619
6925
|
parseCsvFile: (csvFile: File) => void;
|
|
6620
|
-
|
|
6621
|
-
|
|
6926
|
+
csvValidation: CsvValidation;
|
|
6927
|
+
setCsvValidation: (status: ValidationStatus, message: string, invalidItems?: string[]) => void;
|
|
6622
6928
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6623
6929
|
isParserReady: boolean;
|
|
6624
6930
|
isInviting: boolean;
|
|
6625
6931
|
canInvite: boolean;
|
|
6932
|
+
csvFile: File;
|
|
6626
6933
|
};
|
|
6627
6934
|
}
|
|
6935
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/csvUtils" {
|
|
6936
|
+
export function createCsvUrl(header: string, content: string): string;
|
|
6937
|
+
}
|
|
6938
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/CsvFileValidationResult" {
|
|
6939
|
+
import { FC } from 'react';
|
|
6940
|
+
import { CsvValidation } from "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter";
|
|
6941
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6942
|
+
export const CsvFileValidationResult: FC<{
|
|
6943
|
+
csvValidation: CsvValidation;
|
|
6944
|
+
invitedUsers: UserImport[];
|
|
6945
|
+
}>;
|
|
6946
|
+
}
|
|
6628
6947
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6629
6948
|
import { FC } from 'react';
|
|
6630
6949
|
export const ImportUserButton: FC<{
|
|
@@ -6657,9 +6976,6 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
|
|
|
6657
6976
|
children?: (content: string, index: number) => JSX.Element;
|
|
6658
6977
|
}>;
|
|
6659
6978
|
}
|
|
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
6979
|
declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
6664
6980
|
import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
|
|
6665
6981
|
export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
|
|
@@ -6706,6 +7022,13 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6706
7022
|
likeCount: number;
|
|
6707
7023
|
static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
|
|
6708
7024
|
}
|
|
7025
|
+
export class AutoFollowItemTriggerAction implements AppTriggerAction {
|
|
7026
|
+
static type: string;
|
|
7027
|
+
type: string;
|
|
7028
|
+
recurrenceSeriesId: string;
|
|
7029
|
+
isFollowed: boolean;
|
|
7030
|
+
static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
|
|
7031
|
+
}
|
|
6709
7032
|
export class DeletedItemsTriggerAction implements AppTriggerAction {
|
|
6710
7033
|
static type: string;
|
|
6711
7034
|
type: string;
|
|
@@ -6738,6 +7061,14 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6738
7061
|
itemId: string;
|
|
6739
7062
|
static create(itemId: string): RefetchStreamItemAction;
|
|
6740
7063
|
}
|
|
7064
|
+
export class PagesRecycleBinCleanUpAction implements AppTriggerAction {
|
|
7065
|
+
static type: string;
|
|
7066
|
+
type: string;
|
|
7067
|
+
pageId: string;
|
|
7068
|
+
parentId: string;
|
|
7069
|
+
affectedGroupIds: string[];
|
|
7070
|
+
static create(pageId: string, parentId: string, affectedGroupIds: string[]): PagesRecycleBinCleanUpAction;
|
|
7071
|
+
}
|
|
6741
7072
|
}
|
|
6742
7073
|
declare module "libs/reach/feature/content/src/comments/CommentFilter" {
|
|
6743
7074
|
export interface CommentFilter {
|
|
@@ -6754,130 +7085,55 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
|
|
|
6754
7085
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6755
7086
|
import { Comment, ConversationScope } from "libs/reach/util/common/src/index";
|
|
6756
7087
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7088
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
6757
7089
|
import { CommentFilter } from "libs/reach/feature/content/src/comments/CommentFilter";
|
|
6758
7090
|
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) =>
|
|
7091
|
+
createComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7092
|
+
createEditorComment: (itemId: string, comment: Partial<Comment>) => Promise<Comment>;
|
|
7093
|
+
listComments: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7094
|
+
getCommentReplies: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string, filter?: CommentFilter) => Promise<PaginatedList<Comment>>;
|
|
7095
|
+
getCommentThread: (type: ItemResourceTypes, itemId: string, commentId: string) => Promise<PaginatedList<Comment>>;
|
|
7096
|
+
getEditorConversations: (itemId: string) => Promise<Comment[]>;
|
|
6765
7097
|
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) =>
|
|
7098
|
+
deleteComment: (type: ItemResourceTypes, scope: ConversationScope, itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
7099
|
+
deleteEditorComment: (itemId: string, commentId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6768
7100
|
toggleCommentLike: (commentId: string, isLiked: boolean) => Promise<unknown>;
|
|
6769
|
-
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) =>
|
|
7101
|
+
updateComment: (scope: ConversationScope, itemId: string, commentId: string, content: string, attachments: Attachment[], type?: ItemResourceTypes) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
6770
7102
|
onCommentCreated$: import("rxjs").Observable<string>;
|
|
6771
7103
|
};
|
|
6772
7104
|
}
|
|
6773
|
-
declare module "libs/reach/feature/content/src/
|
|
7105
|
+
declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
7106
|
+
export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
7107
|
+
}
|
|
7108
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
|
|
6774
7109
|
import { FC } from 'react';
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
|
|
6778
|
-
|
|
6779
|
-
|
|
7110
|
+
export const ConfirmationBox: FC<{
|
|
7111
|
+
disabled?: boolean;
|
|
7112
|
+
onChange?: (value: boolean) => void;
|
|
7113
|
+
checked: boolean;
|
|
7114
|
+
}>;
|
|
7115
|
+
}
|
|
7116
|
+
declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
|
|
7117
|
+
import { FC, ReactNode } from 'react';
|
|
7118
|
+
export const GutterMarkerIcon: FC<{
|
|
7119
|
+
iconName: string;
|
|
7120
|
+
children: ReactNode;
|
|
7121
|
+
isActive: boolean;
|
|
7122
|
+
color: string;
|
|
7123
|
+
tooltipResourceKey?: string;
|
|
6780
7124
|
className?: string;
|
|
6781
|
-
|
|
6782
|
-
|
|
7125
|
+
}>;
|
|
7126
|
+
}
|
|
7127
|
+
declare module "libs/reach/feature/content/src/filter/OwnerFilterDefinition" {
|
|
7128
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7129
|
+
export interface OwnerFilterDefinition extends IndexableFilterDefinition {
|
|
7130
|
+
owner?: string;
|
|
6783
7131
|
}
|
|
6784
|
-
export const FollowComments: FC<Props>;
|
|
6785
7132
|
}
|
|
6786
|
-
declare module "libs/reach/feature/content/src/
|
|
6787
|
-
import {
|
|
6788
|
-
|
|
6789
|
-
|
|
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;
|
|
6802
|
-
disabled?: boolean;
|
|
6803
|
-
autoFocus?: boolean;
|
|
6804
|
-
onEnter?: () => void;
|
|
6805
|
-
onCtrlEnter?: () => unknown;
|
|
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>>;
|
|
6822
|
-
}
|
|
6823
|
-
declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
6824
|
-
import { FC } from 'react';
|
|
6825
|
-
export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
6826
|
-
isActive: boolean;
|
|
6827
|
-
}, never>;
|
|
6828
|
-
export const DropInfo: FC;
|
|
6829
|
-
}
|
|
6830
|
-
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
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>;
|
|
6870
|
-
}
|
|
6871
|
-
declare module "libs/reach/feature/content/src/filter/OwnerFilterDefinition" {
|
|
6872
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6873
|
-
export interface OwnerFilterDefinition extends IndexableFilterDefinition {
|
|
6874
|
-
owner?: string;
|
|
6875
|
-
}
|
|
6876
|
-
}
|
|
6877
|
-
declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
6878
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6879
|
-
export interface SourceFilterDefinition extends IndexableFilterDefinition {
|
|
6880
|
-
source?: string;
|
|
7133
|
+
declare module "libs/reach/feature/content/src/filter/SourceFilterDefinition" {
|
|
7134
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7135
|
+
export interface SourceFilterDefinition extends IndexableFilterDefinition {
|
|
7136
|
+
source?: string;
|
|
6881
7137
|
}
|
|
6882
7138
|
}
|
|
6883
7139
|
declare module "libs/reach/feature/content/src/filter/KeywordsFilterDefinition" {
|
|
@@ -6920,6 +7176,49 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6920
7176
|
And = "AND"
|
|
6921
7177
|
}
|
|
6922
7178
|
}
|
|
7179
|
+
declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
|
|
7180
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7181
|
+
export interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
7182
|
+
author?: string;
|
|
7183
|
+
}
|
|
7184
|
+
}
|
|
7185
|
+
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
7186
|
+
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7187
|
+
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
7188
|
+
channels?: FilterWithLogicalOperator;
|
|
7189
|
+
}
|
|
7190
|
+
}
|
|
7191
|
+
declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
|
|
7192
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7193
|
+
import { WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
7194
|
+
export interface StateFilterDefinition extends IndexableFilterDefinition {
|
|
7195
|
+
state?: WorkflowStatus;
|
|
7196
|
+
}
|
|
7197
|
+
}
|
|
7198
|
+
declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
|
|
7199
|
+
import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
|
|
7200
|
+
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7201
|
+
import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
|
|
7202
|
+
import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
|
|
7203
|
+
export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
7204
|
+
groupId?: string;
|
|
7205
|
+
bookmarksOnly?: boolean;
|
|
7206
|
+
unreadOnly?: boolean;
|
|
7207
|
+
includeExpired?: boolean;
|
|
7208
|
+
}
|
|
7209
|
+
}
|
|
7210
|
+
declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
|
|
7211
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7212
|
+
export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
|
|
7213
|
+
afterDate?: string;
|
|
7214
|
+
}
|
|
7215
|
+
}
|
|
7216
|
+
declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
|
|
7217
|
+
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7218
|
+
export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
7219
|
+
contacts?: string[];
|
|
7220
|
+
}
|
|
7221
|
+
}
|
|
6923
7222
|
declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
|
|
6924
7223
|
import { SortDirection } from "libs/reach/util/common/src/index";
|
|
6925
7224
|
export class SortFieldsDefinitionBuilder<T extends string> {
|
|
@@ -6935,18 +7234,6 @@ declare module "libs/reach/feature/content/src/filter/EventsStartDateFilterDefin
|
|
|
6935
7234
|
startsBefore?: string;
|
|
6936
7235
|
}
|
|
6937
7236
|
}
|
|
6938
|
-
declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
|
|
6939
|
-
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6940
|
-
export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
6941
|
-
contacts?: string[];
|
|
6942
|
-
}
|
|
6943
|
-
}
|
|
6944
|
-
declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
|
|
6945
|
-
import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6946
|
-
export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
6947
|
-
channels?: FilterWithLogicalOperator;
|
|
6948
|
-
}
|
|
6949
|
-
}
|
|
6950
7237
|
declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
6951
7238
|
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6952
7239
|
import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
|
|
@@ -6963,18 +7250,6 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
|
|
|
6963
7250
|
}
|
|
6964
7251
|
export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
|
|
6965
7252
|
}
|
|
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
7253
|
declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
6979
7254
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
6980
7255
|
export interface FilteringProps {
|
|
@@ -6984,25 +7259,6 @@ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
|
|
|
6984
7259
|
isFilterActive?: boolean;
|
|
6985
7260
|
}
|
|
6986
7261
|
}
|
|
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
7262
|
declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
|
|
7007
7263
|
import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7008
7264
|
export enum ItemTypeFilterFlag {
|
|
@@ -7084,16 +7340,6 @@ declare module "libs/reach/feature/content/src/filter/utils" {
|
|
|
7084
7340
|
};
|
|
7085
7341
|
export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
|
|
7086
7342
|
}
|
|
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
7343
|
declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
|
|
7098
7344
|
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
7099
7345
|
import { Observable } from 'rxjs';
|
|
@@ -7153,73 +7399,285 @@ declare module "libs/reach/feature/content/src/news/useNewsApi" {
|
|
|
7153
7399
|
import { NewsApiService } from "libs/reach/feature/content/src/news/NewsApiService";
|
|
7154
7400
|
export function useNewsApi(): NewsApiService;
|
|
7155
7401
|
}
|
|
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;
|
|
7402
|
+
declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
|
|
7403
|
+
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7404
|
+
export default interface FeedbackSummary {
|
|
7405
|
+
records: FeedbackItem[];
|
|
7165
7406
|
}
|
|
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;
|
|
7407
|
+
export enum FeedbackItemType {
|
|
7408
|
+
comment = "comment",
|
|
7409
|
+
like = "like",
|
|
7410
|
+
confirm = "confirm",
|
|
7411
|
+
poll = "poll",
|
|
7412
|
+
eventRegistration = "eventRegistration"
|
|
7204
7413
|
}
|
|
7205
|
-
export interface
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7414
|
+
export interface FeedbackItem {
|
|
7415
|
+
type: FeedbackItemType;
|
|
7416
|
+
timestamp: string;
|
|
7417
|
+
}
|
|
7418
|
+
export interface PollFeedbackItem extends FeedbackItem {
|
|
7419
|
+
type: FeedbackItemType.poll;
|
|
7420
|
+
answers: PollQuestionAnswer[];
|
|
7210
7421
|
}
|
|
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
7422
|
}
|
|
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
|
-
|
|
7423
|
+
declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
|
|
7424
|
+
import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
|
|
7425
|
+
import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7426
|
+
import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7427
|
+
export const feedbackCache: {
|
|
7428
|
+
[newsId: string]: Promise<FeedbackSummary>;
|
|
7429
|
+
};
|
|
7430
|
+
export function useFeedbackApi(): {
|
|
7431
|
+
getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
|
|
7432
|
+
setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7433
|
+
unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
|
|
7434
|
+
updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
|
|
7435
|
+
getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
|
|
7436
|
+
getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
|
|
7437
|
+
};
|
|
7438
|
+
}
|
|
7439
|
+
declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
|
|
7440
|
+
import { FC } from 'react';
|
|
7441
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
7442
|
+
export const ConfirmationSection: FC<{
|
|
7443
|
+
item?: NewsItem;
|
|
7444
|
+
showDescription: boolean;
|
|
7445
|
+
readOnly?: boolean;
|
|
7446
|
+
className?: string;
|
|
7447
|
+
}>;
|
|
7448
|
+
}
|
|
7449
|
+
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
7450
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
7451
|
+
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
7452
|
+
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
7453
|
+
export class NewsService {
|
|
7454
|
+
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7455
|
+
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7456
|
+
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
7457
|
+
static getContentLanguages(contents: {
|
|
7458
|
+
[lang: string]: ContentDefinition;
|
|
7459
|
+
}, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
|
|
7460
|
+
static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7461
|
+
static getLanguageForContent(contents: {
|
|
7462
|
+
[lang: string]: ContentDefinition;
|
|
7463
|
+
}, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
|
|
7464
|
+
static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
|
|
7465
|
+
}
|
|
7466
|
+
}
|
|
7467
|
+
declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
|
|
7468
|
+
import { FC } from 'react';
|
|
7469
|
+
import { PublishableItemContents } from "libs/reach/util/common/src/index";
|
|
7470
|
+
export interface TranslationItem {
|
|
7471
|
+
language: string;
|
|
7472
|
+
id: string;
|
|
7473
|
+
text: string;
|
|
7474
|
+
}
|
|
7475
|
+
export const PollTranslationContext: import("react").Context<{
|
|
7476
|
+
getTranslation: (id: string) => string;
|
|
7477
|
+
getAllTranslations: (id: string) => TranslationItem[];
|
|
7478
|
+
}>;
|
|
7479
|
+
export const PollTranslationContextProvider: FC<{
|
|
7480
|
+
contents?: PublishableItemContents;
|
|
7481
|
+
language: string;
|
|
7482
|
+
additionalTranslations?: TranslationItem[];
|
|
7483
|
+
}>;
|
|
7484
|
+
}
|
|
7485
|
+
declare module "libs/reach/feature/content/src/feedback/utils" {
|
|
7486
|
+
import { CurrentUser, FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7487
|
+
export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
|
|
7488
|
+
export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
|
|
7489
|
+
export function hasDisabledCommentsNotificationSettings(user: CurrentUser): boolean;
|
|
7490
|
+
}
|
|
7491
|
+
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
7492
|
+
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
7493
|
+
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
7494
|
+
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
7495
|
+
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
7496
|
+
}
|
|
7497
|
+
declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
7498
|
+
import { FC } from 'react';
|
|
7499
|
+
import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7500
|
+
export interface Props {
|
|
7501
|
+
type: ItemResourceTypes;
|
|
7502
|
+
itemId: string;
|
|
7503
|
+
recurrenceSeriesId?: string;
|
|
7504
|
+
className?: string;
|
|
7505
|
+
scope: ConversationScope;
|
|
7506
|
+
hideProfileUrl?: boolean;
|
|
7507
|
+
onToggleFollow?: (isFollowed: boolean) => void;
|
|
7508
|
+
isReadOnly?: boolean;
|
|
7509
|
+
}
|
|
7510
|
+
export const FollowComments: FC<Props>;
|
|
7511
|
+
export const FollowCommentsNotificationWarning: FC<{
|
|
7512
|
+
hideProfileUrl?: boolean;
|
|
7513
|
+
className?: string;
|
|
7514
|
+
}>;
|
|
7515
|
+
}
|
|
7516
|
+
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
7517
|
+
import { ReactNode } from 'react';
|
|
7518
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
7519
|
+
export interface UserSuggestion {
|
|
7520
|
+
id: string;
|
|
7521
|
+
upn: string;
|
|
7522
|
+
displayName: string;
|
|
7523
|
+
display: string;
|
|
7524
|
+
}
|
|
7525
|
+
export interface SuggestionArgs {
|
|
7526
|
+
searchText: string;
|
|
7527
|
+
updateSuggestions: (suggestions: UserSuggestion[]) => any;
|
|
7528
|
+
}
|
|
7529
|
+
export interface CommentInputProps {
|
|
7530
|
+
className?: string;
|
|
7531
|
+
content: string;
|
|
7532
|
+
disabled?: boolean;
|
|
7533
|
+
autoFocus?: boolean;
|
|
7534
|
+
onEnter?: () => void;
|
|
7535
|
+
onCtrlEnter?: () => unknown;
|
|
7536
|
+
onChange?: (value: string) => void;
|
|
7537
|
+
onFocus?: () => void;
|
|
7538
|
+
additionalInputControl?: ReactNode;
|
|
7539
|
+
buttons?: {
|
|
7540
|
+
leftSide?: ReactNode;
|
|
7541
|
+
rightSide?: ReactNode;
|
|
7542
|
+
};
|
|
7543
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7544
|
+
placeHolderStringResourceKey?: string;
|
|
7545
|
+
placeHolderStringResourceValues?: {
|
|
7546
|
+
[key: string]: string | number | boolean | Date;
|
|
7547
|
+
};
|
|
7548
|
+
disableBoxShadow?: boolean;
|
|
7549
|
+
ariaLabel?: string;
|
|
7550
|
+
}
|
|
7551
|
+
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
7552
|
+
}
|
|
7553
|
+
declare module "libs/reach/feature/content/src/comments/DropInfo" {
|
|
7554
|
+
import { FC } from 'react';
|
|
7555
|
+
export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
7556
|
+
isActive: boolean;
|
|
7557
|
+
}, never>;
|
|
7558
|
+
export const DropInfo: FC;
|
|
7559
|
+
}
|
|
7560
|
+
declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
|
|
7561
|
+
import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
|
|
7562
|
+
import { VideoSource as VideoSourceEnvironment } from "libs/shared/util/environment/src/index";
|
|
7563
|
+
export interface KalturaProperties {
|
|
7564
|
+
sp?: string;
|
|
7565
|
+
uiconfId?: string;
|
|
7566
|
+
partnerId?: string;
|
|
7567
|
+
entryId?: string;
|
|
7568
|
+
}
|
|
7569
|
+
export const showPlayerForGenericVideoSource: (url: string, additionalVideoSources?: VideoSourceEnvironment[]) => boolean;
|
|
7570
|
+
export class VideoUrlParser {
|
|
7571
|
+
private url;
|
|
7572
|
+
private additionalVideoSources?;
|
|
7573
|
+
private static ytRegex;
|
|
7574
|
+
private static vimeoRegex;
|
|
7575
|
+
private static microsoftStreamRegex;
|
|
7576
|
+
private static vimeoDirectLinkRegex;
|
|
7577
|
+
private static vimeoRedirectLinkRegex;
|
|
7578
|
+
private static kalturaRegex;
|
|
7579
|
+
readonly source: VideoSource | null;
|
|
7580
|
+
readonly id: string | null;
|
|
7581
|
+
readonly isDirectVideoUrl: boolean;
|
|
7582
|
+
readonly videoProperties: any;
|
|
7583
|
+
readonly thumbnailUrl: string;
|
|
7584
|
+
constructor(url: string, additionalVideoSources?: VideoSourceEnvironment[]);
|
|
7585
|
+
hasValidGenericUrlVideoSourcePrefix(url: string): boolean;
|
|
7586
|
+
isValid(features: FeatureSet): boolean;
|
|
7587
|
+
}
|
|
7588
|
+
export function getVideoSources(features: FeatureSet, additionalVideoSources?: VideoSourceEnvironment[]): any[];
|
|
7589
|
+
export function getAllVideoSources(features: FeatureSet, additionalVideoSources?: VideoSourceEnvironment[]): any[];
|
|
7590
|
+
}
|
|
7591
|
+
declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
|
|
7592
|
+
import { AttachmentType } from "libs/reach/util/common/src/index";
|
|
7593
|
+
export function getAllVideosFromString(content: string): Generator<{
|
|
7594
|
+
url: string;
|
|
7595
|
+
type: AttachmentType;
|
|
7596
|
+
}, void, unknown>;
|
|
7597
|
+
export function getEmbeddedObjectsFromString(content: string): Generator<{
|
|
7598
|
+
url: string;
|
|
7599
|
+
subscriptionIdentifier: string;
|
|
7600
|
+
type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
|
|
7601
|
+
id: string;
|
|
7602
|
+
}, void, unknown>;
|
|
7603
|
+
}
|
|
7604
|
+
declare module "libs/reach/feature/content/src/events/useEventsApi" {
|
|
7605
|
+
import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
|
|
7606
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7607
|
+
import { EventItem, EventRecurrenceInfo } from "libs/reach/util/common/src/index";
|
|
7608
|
+
export function useEventsApi(): {
|
|
7609
|
+
getEvents: (filter?: EventFilterDefinition, sortFieldBuilder?: EventSortFieldsDefinitionBuilder) => Promise<PaginatedList<EventItem>>;
|
|
7610
|
+
getEvent: (id: string) => Promise<EventItem>;
|
|
7611
|
+
getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
|
|
7612
|
+
};
|
|
7613
|
+
}
|
|
7614
|
+
declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
|
|
7615
|
+
import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7616
|
+
import { PageType } from "libs/reach/util/common/src/index";
|
|
7617
|
+
export interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
7618
|
+
pageContextId?: string;
|
|
7619
|
+
restrictToPageContext?: boolean;
|
|
7620
|
+
rootPagesOnly?: boolean;
|
|
7621
|
+
parentId?: string;
|
|
7622
|
+
pageType?: PageType;
|
|
7623
|
+
}
|
|
7624
|
+
}
|
|
7625
|
+
declare module "libs/reach/feature/content/src/pages/usePagesApi" {
|
|
7626
|
+
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
7627
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7628
|
+
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/PageFilterDefinition";
|
|
7629
|
+
export function usePagesApi(): {
|
|
7630
|
+
loadPage: (id: string) => Promise<PageItem>;
|
|
7631
|
+
loadPageChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
7632
|
+
getRootPagesNavigation: () => Promise<PageNavigationNode[]>;
|
|
7633
|
+
getPublishedRootPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7634
|
+
searchPublishedPages: (filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7635
|
+
getSubpages: (parentId: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7636
|
+
searchPages: (basePath: string, filter?: Partial<PageFilterDefinition>) => Promise<PaginatedList<PageItem>>;
|
|
7637
|
+
getDocumentFileUrl: (basePath: string, subscriptionId: string, pageId: string, fileId: string, language: string, token: string) => string;
|
|
7638
|
+
searchToc: (basePath: string, searchValue: string) => Promise<PaginatedList<PageItem>>;
|
|
7639
|
+
};
|
|
7640
|
+
}
|
|
7641
|
+
declare module "libs/reach/feature/content/src/posts/utils" {
|
|
7642
|
+
import { Account, BaseItem, Comment, CurrentUser, ItemStatistics, ItemWithAttachments, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
7643
|
+
import { FilterWithLogicalOperator } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
|
|
7644
|
+
export interface Post extends BaseItem, ItemWithAttachments {
|
|
7645
|
+
id: string;
|
|
7646
|
+
comments?: PaginatedList<Comment>;
|
|
7647
|
+
groupId: string;
|
|
7648
|
+
content: string;
|
|
7649
|
+
permalink?: string;
|
|
7650
|
+
author: Account;
|
|
7651
|
+
publishingDate: string;
|
|
7652
|
+
modified?: string;
|
|
7653
|
+
statistics: ItemStatistics;
|
|
7654
|
+
keywords?: {
|
|
7655
|
+
[key: string]: Keyword[];
|
|
7656
|
+
};
|
|
7657
|
+
contentLanguageCode?: string;
|
|
7658
|
+
isLiked?: boolean;
|
|
7659
|
+
isUnread?: boolean;
|
|
7660
|
+
isDemoContent?: boolean;
|
|
7661
|
+
isFollowing?: boolean;
|
|
7662
|
+
}
|
|
7663
|
+
export interface PostFilterDefinition {
|
|
7664
|
+
token?: string;
|
|
7665
|
+
pageSize?: string;
|
|
7666
|
+
search?: string;
|
|
7667
|
+
keywords?: FilterWithLogicalOperator;
|
|
7668
|
+
}
|
|
7669
|
+
export function getPostGroups(user: CurrentUser): import("@livetiles/reach/util/common").UserGroup[];
|
|
7670
|
+
export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
|
|
7671
|
+
export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
|
|
7672
|
+
}
|
|
7673
|
+
declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
7674
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
7675
|
+
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7676
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7677
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
7678
|
+
import { Post, PostFilterDefinition } from "libs/reach/feature/content/src/posts/utils";
|
|
7679
|
+
export function usePostsApi(): {
|
|
7680
|
+
createPost: (post: Partial<Post>) => Promise<Post>;
|
|
7223
7681
|
togglePostLike: (postId: string, isLiked: boolean) => Promise<unknown>;
|
|
7224
7682
|
getPosts: (filter?: Partial<PostFilterDefinition>, ...groupIds: string[]) => Promise<PaginatedList<Post>>;
|
|
7225
7683
|
updatePost: (postId: string, content: string, attachments: Attachment[], keywords?: {
|
|
@@ -7228,7 +7686,7 @@ declare module "libs/reach/feature/content/src/posts/usePostsApi" {
|
|
|
7228
7686
|
deletePost: (postId: string) => Promise<unknown>;
|
|
7229
7687
|
getPost: (postId: string, commentCount?: number) => Promise<Post>;
|
|
7230
7688
|
getPostThread: (postId: string, threadId: string) => Promise<Post>;
|
|
7231
|
-
translatePost: (postId: string, language: string) =>
|
|
7689
|
+
translatePost: (postId: string, language: string) => Promise<string>;
|
|
7232
7690
|
searchPostMentionUsers: (searchText: string, postGroupId: string) => Promise<Account[]>;
|
|
7233
7691
|
};
|
|
7234
7692
|
}
|
|
@@ -7238,7 +7696,7 @@ declare module "libs/reach/feature/content/src/common/hooks/useEmbeddedObjectVal
|
|
|
7238
7696
|
}
|
|
7239
7697
|
declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
7240
7698
|
import { CommentInputProps } from "libs/reach/feature/content/src/comments/CommentInput";
|
|
7241
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
7699
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7242
7700
|
export interface ClientAttachment extends Attachment {
|
|
7243
7701
|
file?: File;
|
|
7244
7702
|
}
|
|
@@ -7254,6 +7712,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
7254
7712
|
placeHolderStringResourceKey?: string;
|
|
7255
7713
|
disableAddGif?: boolean;
|
|
7256
7714
|
disableAddFiles?: boolean;
|
|
7715
|
+
parentId?: string;
|
|
7716
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
7257
7717
|
};
|
|
7258
7718
|
export const RichCommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & {
|
|
7259
7719
|
attachments: Attachment[];
|
|
@@ -7266,6 +7726,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInput" {
|
|
|
7266
7726
|
placeHolderStringResourceKey?: string;
|
|
7267
7727
|
disableAddGif?: boolean;
|
|
7268
7728
|
disableAddFiles?: boolean;
|
|
7729
|
+
parentId?: string;
|
|
7730
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
7269
7731
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
7270
7732
|
}
|
|
7271
7733
|
declare module "libs/reach/feature/content/src/comments/utils" {
|
|
@@ -7374,24 +7836,6 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
7374
7836
|
showAllKeywordsInCallout?: boolean;
|
|
7375
7837
|
}>;
|
|
7376
7838
|
}
|
|
7377
|
-
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
7378
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
7379
|
-
import { LanguageBase } from "libs/reach/util/common/src/index";
|
|
7380
|
-
import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
7381
|
-
export class NewsService {
|
|
7382
|
-
static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7383
|
-
static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
|
|
7384
|
-
static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
|
|
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;
|
|
7393
|
-
}
|
|
7394
|
-
}
|
|
7395
7839
|
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7396
7840
|
import { FC, MouseEvent } from 'react';
|
|
7397
7841
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
@@ -7467,6 +7911,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7467
7911
|
className?: string;
|
|
7468
7912
|
allowFilterByChannels?: boolean;
|
|
7469
7913
|
channelBackgroundColor?: string;
|
|
7914
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7470
7915
|
}>;
|
|
7471
7916
|
}
|
|
7472
7917
|
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
@@ -7526,6 +7971,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
7526
7971
|
height?: number;
|
|
7527
7972
|
hidePlayerIfActive?: boolean;
|
|
7528
7973
|
className?: string;
|
|
7974
|
+
documentIconName?: string;
|
|
7529
7975
|
}
|
|
7530
7976
|
export const PublishableItemBanner: FC<Props>;
|
|
7531
7977
|
}
|
|
@@ -7611,27 +8057,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7611
8057
|
}
|
|
7612
8058
|
export const EventUserRegistrationContext: import("react").Context<EventUserRegistrationContextType>;
|
|
7613
8059
|
}
|
|
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
8060
|
declare module "libs/reach/feature/content/src/common/detail/events/eventUtils" {
|
|
7636
8061
|
import { FeedbackItem, FeedbackItemType } from "libs/reach/feature/content/src/feedback/FeedbackSummary";
|
|
7637
8062
|
import { EventItem, EventResponse } from "libs/reach/util/common/src/index";
|
|
@@ -7650,6 +8075,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7650
8075
|
import { PrimaryButton } from 'office-ui-fabric-react';
|
|
7651
8076
|
export const EventRegistrationButton: FC<{
|
|
7652
8077
|
isRegistered: boolean;
|
|
8078
|
+
eventId: string;
|
|
7653
8079
|
disabled?: boolean;
|
|
7654
8080
|
className?: string;
|
|
7655
8081
|
onClick?: () => void;
|
|
@@ -7660,24 +8086,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7660
8086
|
isRegistered?: boolean;
|
|
7661
8087
|
}, never>;
|
|
7662
8088
|
}
|
|
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
8089
|
declare module "libs/reach/feature/content/src/events/eventUtils" {
|
|
7682
8090
|
import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
|
|
7683
8091
|
import { MessageDescriptor } from 'react-intl';
|
|
@@ -7733,25 +8141,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7733
8141
|
onDismiss: () => unknown;
|
|
7734
8142
|
}>;
|
|
7735
8143
|
}
|
|
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
8144
|
declare module "libs/reach/feature/content/src/common/detail/events/useEventRegistrationApi" {
|
|
7756
8145
|
import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
|
|
7757
8146
|
import { EventParticipant, EventRegistrationResult } from "libs/reach/util/common/src/index";
|
|
@@ -7827,11 +8216,6 @@ declare module "libs/reach/feature/content/src/feedback/LikeButton" {
|
|
|
7827
8216
|
className?: string;
|
|
7828
8217
|
}>;
|
|
7829
8218
|
}
|
|
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
8219
|
declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
7836
8220
|
import { ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
7837
8221
|
import { FC } from 'react';
|
|
@@ -7891,6 +8275,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
|
7891
8275
|
allowFilterByChannels?: boolean;
|
|
7892
8276
|
showFeedbackButtons?: boolean;
|
|
7893
8277
|
readOnly?: boolean;
|
|
8278
|
+
enableModalRouting?: boolean;
|
|
7894
8279
|
className?: string;
|
|
7895
8280
|
}>;
|
|
7896
8281
|
}
|
|
@@ -7941,7 +8326,8 @@ declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
|
7941
8326
|
Contact = "contact",
|
|
7942
8327
|
InlinePageList = "inline-page-list",
|
|
7943
8328
|
UrlPreview = "url-preview",
|
|
7944
|
-
ActionButton = "action-button"
|
|
8329
|
+
ActionButton = "action-button",
|
|
8330
|
+
InlinePlugin = "inline-plugin"
|
|
7945
8331
|
}
|
|
7946
8332
|
export interface HtmlComponentMapper {
|
|
7947
8333
|
component: FC<any>;
|
|
@@ -7968,6 +8354,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7968
8354
|
resourceType: ItemResourceTypes;
|
|
7969
8355
|
item: TItem;
|
|
7970
8356
|
itemId: string;
|
|
8357
|
+
relatedItemIds?: string[];
|
|
7971
8358
|
contentLanguage: string;
|
|
7972
8359
|
userPreferredLanguage: string;
|
|
7973
8360
|
activeLanguages: string[];
|
|
@@ -8086,6 +8473,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
8086
8473
|
enableModalRouting?: boolean;
|
|
8087
8474
|
itemId?: string;
|
|
8088
8475
|
isOverrideLink: boolean;
|
|
8476
|
+
icon?: string;
|
|
8089
8477
|
}>;
|
|
8090
8478
|
}
|
|
8091
8479
|
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
@@ -8235,6 +8623,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
8235
8623
|
styleDefinition?: StyleDefinition;
|
|
8236
8624
|
readOnly?: boolean;
|
|
8237
8625
|
enableModalRouting?: boolean;
|
|
8626
|
+
highlight?: boolean;
|
|
8238
8627
|
className?: string;
|
|
8239
8628
|
}
|
|
8240
8629
|
export const NewsItemTile: FC<Props>;
|
|
@@ -8294,7 +8683,7 @@ declare module "libs/reach/feature/content/src/comments/ImageAttachmentList" {
|
|
|
8294
8683
|
}
|
|
8295
8684
|
declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
8296
8685
|
import { FC } from 'react';
|
|
8297
|
-
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8686
|
+
import { Attachment, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8298
8687
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
8299
8688
|
interface Props {
|
|
8300
8689
|
className?: string;
|
|
@@ -8304,6 +8693,8 @@ declare module "libs/reach/feature/content/src/comments/AttachmentList" {
|
|
|
8304
8693
|
previewTheme?: CommentInputTheme;
|
|
8305
8694
|
disableVideoPreview?: boolean;
|
|
8306
8695
|
disableEmbeddedObjectPreview?: boolean;
|
|
8696
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8697
|
+
parentId?: string;
|
|
8307
8698
|
}
|
|
8308
8699
|
export const AttachmentList: FC<Props>;
|
|
8309
8700
|
}
|
|
@@ -8320,6 +8711,8 @@ declare module "libs/reach/feature/content/src/comments/RichCommentInputWithAtta
|
|
|
8320
8711
|
placeHolderStringResourceKey?: string;
|
|
8321
8712
|
disableAddGif?: boolean;
|
|
8322
8713
|
disableAddFiles?: boolean;
|
|
8714
|
+
parentId?: string;
|
|
8715
|
+
itemResourceType?: string;
|
|
8323
8716
|
} & {
|
|
8324
8717
|
disableVideoPreview?: boolean;
|
|
8325
8718
|
disableEmbeddedObjectPreview?: boolean;
|
|
@@ -8389,7 +8782,7 @@ declare module "libs/reach/feature/content/src/common/keywords/EditableKeywordsL
|
|
|
8389
8782
|
}
|
|
8390
8783
|
declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
8391
8784
|
import { FC } from 'react';
|
|
8392
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8785
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8393
8786
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8394
8787
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
8395
8788
|
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
@@ -8421,6 +8814,8 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
8421
8814
|
};
|
|
8422
8815
|
disableBoxShadow?: boolean;
|
|
8423
8816
|
ariaLabel?: string;
|
|
8817
|
+
parentId?: string;
|
|
8818
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8424
8819
|
}
|
|
8425
8820
|
interface Props extends BaseProps {
|
|
8426
8821
|
allowAttachments?: boolean;
|
|
@@ -8438,6 +8833,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8438
8833
|
import { FC, ReactNode } from 'react';
|
|
8439
8834
|
export const InlineObjectToolbar: FC<{
|
|
8440
8835
|
onDelete?: () => void;
|
|
8836
|
+
deleteAriaLabelResourceKey?: string;
|
|
8441
8837
|
additionalButtons?: ReactNode;
|
|
8442
8838
|
}>;
|
|
8443
8839
|
export const InlineObjectToolbarWrapper: FC<{
|
|
@@ -8445,15 +8841,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8445
8841
|
}>;
|
|
8446
8842
|
}
|
|
8447
8843
|
declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
|
|
8448
|
-
import { FC } from 'react';
|
|
8844
|
+
import { FC, ReactNode } from 'react';
|
|
8845
|
+
import { ImageAlignment } from "libs/reach/util/common/src/index";
|
|
8449
8846
|
export const ImageToolbar: FC<{
|
|
8450
8847
|
onDelete?: () => void;
|
|
8451
8848
|
onFullScreen?: (e: React.MouseEvent<any>) => void;
|
|
8452
8849
|
onClose?: (e: React.MouseEvent<any>) => void;
|
|
8453
8850
|
onCrop?: (e: React.MouseEvent<any>) => void;
|
|
8851
|
+
onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
|
|
8454
8852
|
showFullScreenButton?: boolean;
|
|
8455
8853
|
showCloseButton?: boolean;
|
|
8456
8854
|
showCropButton?: boolean;
|
|
8855
|
+
alignmentButtons?: ReactNode;
|
|
8457
8856
|
}>;
|
|
8458
8857
|
}
|
|
8459
8858
|
declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
|
|
@@ -8480,14 +8879,6 @@ declare module "libs/reach/feature/content/src/common/body/InlineGallery" {
|
|
|
8480
8879
|
}
|
|
8481
8880
|
export const InlineGalleryMapper: HtmlComponentMapper;
|
|
8482
8881
|
}
|
|
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
8882
|
declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
8492
8883
|
import { FC } from 'react';
|
|
8493
8884
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
@@ -8495,12 +8886,14 @@ declare module "libs/reach/feature/content/src/posts/ImagesAndFilesList" {
|
|
|
8495
8886
|
item: ItemWithAttachments;
|
|
8496
8887
|
basePath: string;
|
|
8497
8888
|
imagesGridBackgroundColor?: string;
|
|
8889
|
+
onPlayVideo?: (url: string, videoId: string) => void;
|
|
8890
|
+
onPlayAudio?: (url: string, audioId: string) => void;
|
|
8498
8891
|
className?: string;
|
|
8499
8892
|
}>;
|
|
8500
8893
|
}
|
|
8501
8894
|
declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
8502
8895
|
import { FC } from 'react';
|
|
8503
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8896
|
+
import { Account, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8504
8897
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
8505
8898
|
import { Attachment } from "libs/reach/util/common/src/index";
|
|
8506
8899
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
@@ -8516,6 +8909,8 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
8516
8909
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
8517
8910
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
8518
8911
|
ariaLabel?: string;
|
|
8912
|
+
parentId?: string;
|
|
8913
|
+
itemResourceType?: ItemResourceTypes | string;
|
|
8519
8914
|
}
|
|
8520
8915
|
interface Props extends BaseProps {
|
|
8521
8916
|
onSave?: (newContent: string, keywords?: {
|
|
@@ -8624,8 +9019,9 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8624
9019
|
targetRoute: string;
|
|
8625
9020
|
itemResourceType: ItemResourceTypes;
|
|
8626
9021
|
enableModalRouting?: boolean;
|
|
9022
|
+
className?: string;
|
|
8627
9023
|
}>;
|
|
8628
|
-
export const CardFooterHost: import("styled-components").StyledComponent<"
|
|
9024
|
+
export const CardFooterHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8629
9025
|
}
|
|
8630
9026
|
declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
|
|
8631
9027
|
export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -8674,7 +9070,9 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb"
|
|
|
8674
9070
|
target?: string;
|
|
8675
9071
|
language?: string;
|
|
8676
9072
|
hideCurrentPageNode?: boolean;
|
|
9073
|
+
homeTargetUrlOverride?: string;
|
|
8677
9074
|
className?: string;
|
|
9075
|
+
readonly?: boolean;
|
|
8678
9076
|
}>;
|
|
8679
9077
|
}
|
|
8680
9078
|
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
@@ -8734,6 +9132,7 @@ declare module "libs/reach/feature/content/src/pages/PageTocNode" {
|
|
|
8734
9132
|
hide?: boolean;
|
|
8735
9133
|
onPageSelected?: (pageId: string) => unknown;
|
|
8736
9134
|
selectedPageId?: string;
|
|
9135
|
+
readonly?: boolean;
|
|
8737
9136
|
}>;
|
|
8738
9137
|
}
|
|
8739
9138
|
declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
|
|
@@ -8750,6 +9149,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
|
|
|
8750
9149
|
selectedPageId?: string;
|
|
8751
9150
|
isLoading?: boolean;
|
|
8752
9151
|
disableScrollableList?: boolean;
|
|
9152
|
+
readonly?: boolean;
|
|
8753
9153
|
}>;
|
|
8754
9154
|
export const PageTableOfContentsInPanel: FC<{
|
|
8755
9155
|
basePath?: string;
|
|
@@ -8772,6 +9172,7 @@ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog"
|
|
|
8772
9172
|
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8773
9173
|
onDismiss: () => void;
|
|
8774
9174
|
basePath: string;
|
|
9175
|
+
readonly?: boolean;
|
|
8775
9176
|
}>;
|
|
8776
9177
|
}
|
|
8777
9178
|
declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
|
|
@@ -8795,6 +9196,7 @@ declare module "libs/reach/feature/content/src/pages/PagesDetailViewNavigation"
|
|
|
8795
9196
|
activePageId: string;
|
|
8796
9197
|
navigationContext: PageNavigationContext;
|
|
8797
9198
|
className?: string;
|
|
9199
|
+
readonly?: boolean;
|
|
8798
9200
|
}
|
|
8799
9201
|
export const PagesDetailViewNavigation: FC<Props>;
|
|
8800
9202
|
}
|
|
@@ -8855,16 +9257,14 @@ declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
|
8855
9257
|
}
|
|
8856
9258
|
declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
8857
9259
|
import { FC } from 'react';
|
|
8858
|
-
import { SchedulableItemChannel } from "libs/reach/util/common/src/index";
|
|
8859
9260
|
import { DateMode } from "libs/reach/feature/content/src/news/DateInfo";
|
|
8860
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
8861
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9261
|
+
import { Account, Channel, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8862
9262
|
export const getAuthor: (item: Partial<PublishableItem>) => Account;
|
|
8863
9263
|
export const ItemMetaInfo: FC<{
|
|
8864
9264
|
item: Partial<PublishableItem>;
|
|
8865
9265
|
className?: string;
|
|
8866
9266
|
expiryDate?: string;
|
|
8867
|
-
channels?:
|
|
9267
|
+
channels?: Channel[];
|
|
8868
9268
|
showChannels?: boolean;
|
|
8869
9269
|
dateMode: DateMode;
|
|
8870
9270
|
readOnly?: boolean;
|
|
@@ -8873,6 +9273,7 @@ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
|
8873
9273
|
language?: string;
|
|
8874
9274
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8875
9275
|
clickableAvatar?: boolean;
|
|
9276
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8876
9277
|
}>;
|
|
8877
9278
|
}
|
|
8878
9279
|
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
@@ -8954,6 +9355,7 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
|
|
|
8954
9355
|
isLastPage: boolean;
|
|
8955
9356
|
unreadOnly?: boolean;
|
|
8956
9357
|
filter?: NewsFilterDefinition;
|
|
9358
|
+
activeChannel?: string;
|
|
8957
9359
|
}>;
|
|
8958
9360
|
}
|
|
8959
9361
|
declare module "libs/reach/feature/content/src/news/useTranslateApi" {
|
|
@@ -9015,6 +9417,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextPr
|
|
|
9015
9417
|
type?: ItemResourceTypes;
|
|
9016
9418
|
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
9017
9419
|
isEditorPreview?: boolean;
|
|
9420
|
+
relatedItemIds?: string[];
|
|
9018
9421
|
}>;
|
|
9019
9422
|
}
|
|
9020
9423
|
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
@@ -9028,6 +9431,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
|
9028
9431
|
}
|
|
9029
9432
|
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
9030
9433
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9434
|
+
export const ImageAlignmentStyles: (alignment: string, width: number, preventFloat?: boolean) => string | import("styled-components").FlattenSimpleInterpolation;
|
|
9031
9435
|
export const InlineImageMapper: HtmlComponentMapper;
|
|
9032
9436
|
}
|
|
9033
9437
|
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|
|
@@ -9088,6 +9492,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
|
|
|
9088
9492
|
baseRoute: string;
|
|
9089
9493
|
filterBaseUrl?: string;
|
|
9090
9494
|
isInitialLoading?: boolean;
|
|
9495
|
+
readonly?: boolean;
|
|
9091
9496
|
}>;
|
|
9092
9497
|
}
|
|
9093
9498
|
declare module "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList" {
|
|
@@ -9115,6 +9520,7 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
|
|
|
9115
9520
|
pagingProps?: ListPagingProps;
|
|
9116
9521
|
filterBaseUrl?: string;
|
|
9117
9522
|
emptyListMessage: string;
|
|
9523
|
+
readonly?: boolean;
|
|
9118
9524
|
}>;
|
|
9119
9525
|
}
|
|
9120
9526
|
declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
|
|
@@ -9246,6 +9652,10 @@ declare module "libs/reach/feature/content/src/common/body/InlineActionButtonLis
|
|
|
9246
9652
|
}
|
|
9247
9653
|
export const InlineActionButtonMapper: HtmlComponentMapper;
|
|
9248
9654
|
}
|
|
9655
|
+
declare module "libs/reach/feature/content/src/common/body/InlineObjectPluginView" {
|
|
9656
|
+
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9657
|
+
export const InlineObjectPluginMapper: HtmlComponentMapper;
|
|
9658
|
+
}
|
|
9249
9659
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewPeopleInfo" {
|
|
9250
9660
|
import { FC } from 'react';
|
|
9251
9661
|
export const EventDetailViewPeopleInfo: FC;
|
|
@@ -9258,6 +9668,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9258
9668
|
import { FC } from 'react';
|
|
9259
9669
|
export const EventDetailViewMetaInfo: FC<{
|
|
9260
9670
|
allowFilterByChannels?: boolean;
|
|
9671
|
+
onChannelClick?: (channel: string) => unknown;
|
|
9261
9672
|
}>;
|
|
9262
9673
|
}
|
|
9263
9674
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo" {
|
|
@@ -9301,6 +9712,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9301
9712
|
export const DetailViewCsvExportButton: FC<{
|
|
9302
9713
|
path: string;
|
|
9303
9714
|
stringResource: string;
|
|
9715
|
+
isReadOnly?: boolean;
|
|
9304
9716
|
className?: string;
|
|
9305
9717
|
}>;
|
|
9306
9718
|
}
|
|
@@ -9360,6 +9772,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9360
9772
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewResponseExportButton" {
|
|
9361
9773
|
import { FC } from 'react';
|
|
9362
9774
|
export const EventDetailViewResponseExportButton: FC<{
|
|
9775
|
+
isReadOnly?: boolean;
|
|
9363
9776
|
className?: string;
|
|
9364
9777
|
}>;
|
|
9365
9778
|
}
|
|
@@ -9372,8 +9785,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9372
9785
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewUserRegistration" {
|
|
9373
9786
|
import { FC } from 'react';
|
|
9374
9787
|
export const EventDetailViewUserRegistration: FC<{
|
|
9375
|
-
className?: string;
|
|
9376
9788
|
hideInfoMessage?: boolean;
|
|
9789
|
+
isReadOnly?: boolean;
|
|
9790
|
+
className?: string;
|
|
9377
9791
|
}>;
|
|
9378
9792
|
}
|
|
9379
9793
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterSomeoneElseDialog" {
|
|
@@ -9414,7 +9828,9 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
9414
9828
|
}
|
|
9415
9829
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationParticipantsLink" {
|
|
9416
9830
|
import { FC } from 'react';
|
|
9417
|
-
export const EventRegistrationParticipantsLink: FC
|
|
9831
|
+
export const EventRegistrationParticipantsLink: FC<{
|
|
9832
|
+
isReadOnly?: boolean;
|
|
9833
|
+
}>;
|
|
9418
9834
|
}
|
|
9419
9835
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistrationPoll" {
|
|
9420
9836
|
import { FC } from 'react';
|
|
@@ -9465,6 +9881,7 @@ declare module "libs/reach/feature/content/src/comments/CommentWithReplies" {
|
|
|
9465
9881
|
readOnly?: boolean;
|
|
9466
9882
|
trimContent?: boolean;
|
|
9467
9883
|
showReplyBox?: boolean;
|
|
9884
|
+
enableModalRouting?: boolean;
|
|
9468
9885
|
className?: string;
|
|
9469
9886
|
}>;
|
|
9470
9887
|
}
|
|
@@ -9487,6 +9904,7 @@ declare module "libs/reach/feature/content/src/comments/CommentList" {
|
|
|
9487
9904
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
9488
9905
|
readOnly?: boolean;
|
|
9489
9906
|
trimContent?: boolean;
|
|
9907
|
+
enableModalRouting?: boolean;
|
|
9490
9908
|
className?: string;
|
|
9491
9909
|
}
|
|
9492
9910
|
export const CommentList: FC<CommentListProps>;
|
|
@@ -9546,6 +9964,7 @@ declare module "libs/reach/feature/content/src/comments/PagedCommentsSection" {
|
|
|
9546
9964
|
showReplyBox?: boolean;
|
|
9547
9965
|
trimContent?: boolean;
|
|
9548
9966
|
title?: ReactNode;
|
|
9967
|
+
enableModalRouting?: boolean;
|
|
9549
9968
|
className?: string;
|
|
9550
9969
|
};
|
|
9551
9970
|
export const PagedCommentsSection: FC<Props>;
|
|
@@ -9570,23 +9989,18 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
|
|
|
9570
9989
|
}
|
|
9571
9990
|
declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
|
|
9572
9991
|
import { FC } from 'react';
|
|
9573
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
9574
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9992
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9575
9993
|
export const PublishableItemComments: FC<{
|
|
9576
9994
|
item: PublishableItem;
|
|
9577
9995
|
readOnly?: boolean;
|
|
9578
9996
|
loadInReadOnlyMode?: boolean;
|
|
9579
9997
|
type: ItemResourceTypes;
|
|
9580
|
-
hideProfileUrl?: boolean;
|
|
9581
9998
|
disableLoginForPublicUser?: boolean;
|
|
9582
9999
|
}>;
|
|
9583
10000
|
}
|
|
9584
10001
|
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";
|
|
10002
|
+
import { FC, ReactNode } from 'react';
|
|
10003
|
+
import { Feedback, ItemResourceTypes, ItemStatistics, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9590
10004
|
export const FeedbackButtonContext: import("react").Context<{
|
|
9591
10005
|
statistics: ItemStatistics;
|
|
9592
10006
|
item: PublishableItem;
|
|
@@ -9599,6 +10013,8 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
|
|
|
9599
10013
|
item: PublishableItem;
|
|
9600
10014
|
hasFeedbackEnabled: (feedbackType: Feedback) => boolean;
|
|
9601
10015
|
language: string;
|
|
10016
|
+
warningMessage?: ReactNode;
|
|
10017
|
+
buttons: ReactNode[];
|
|
9602
10018
|
className?: string;
|
|
9603
10019
|
}>;
|
|
9604
10020
|
}
|
|
@@ -9637,19 +10053,18 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
|
|
|
9637
10053
|
}>;
|
|
9638
10054
|
}
|
|
9639
10055
|
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";
|
|
10056
|
+
import { FC, ReactNode } from 'react';
|
|
10057
|
+
import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9644
10058
|
export const FeedbackSection: FC<{
|
|
9645
10059
|
item: PublishableItem;
|
|
10060
|
+
buttons: ReactNode[];
|
|
9646
10061
|
language: string;
|
|
9647
10062
|
type: ItemResourceTypes;
|
|
9648
10063
|
feedbackSettings: FeedbackSettings;
|
|
9649
10064
|
hideComments?: boolean;
|
|
9650
|
-
hideProfileUrl?: boolean;
|
|
9651
10065
|
disableLoginForPublicUser?: boolean;
|
|
9652
10066
|
isReadOnly?: boolean;
|
|
10067
|
+
warningMessage?: ReactNode;
|
|
9653
10068
|
className?: string;
|
|
9654
10069
|
}>;
|
|
9655
10070
|
}
|
|
@@ -9672,12 +10087,15 @@ declare module "libs/reach/feature/content/src/feedback/EventDownloadCalendarFil
|
|
|
9672
10087
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
9673
10088
|
export const EventDownloadCalendarFileButton: FC<{
|
|
9674
10089
|
item: EventItem;
|
|
10090
|
+
isReadOnly: boolean;
|
|
9675
10091
|
className?: string;
|
|
9676
10092
|
}>;
|
|
9677
10093
|
}
|
|
9678
10094
|
declare module "libs/reach/feature/content/src/feedback/buttons/EventFeedbackButtonDownloadCalendarFile" {
|
|
9679
10095
|
import { FC } from 'react';
|
|
9680
|
-
export const EventFeedbackButtonDownloadCalendarFile: FC
|
|
10096
|
+
export const EventFeedbackButtonDownloadCalendarFile: FC<{
|
|
10097
|
+
isReadOnly: boolean;
|
|
10098
|
+
}>;
|
|
9681
10099
|
}
|
|
9682
10100
|
declare module "libs/reach/feature/content/src/feedback/ShareButton" {
|
|
9683
10101
|
import { FC } from 'react';
|
|
@@ -9702,14 +10120,21 @@ declare module "libs/reach/feature/content/src/feedback/ConfirmationStatistics"
|
|
|
9702
10120
|
}
|
|
9703
10121
|
declare module "libs/reach/feature/content/src/feedback/ConfirmationStatisticsExport" {
|
|
9704
10122
|
import { FC } from 'react';
|
|
9705
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
10123
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9706
10124
|
export const ConfirmationStatisticsExport: FC<{
|
|
9707
10125
|
item: PublishableItem;
|
|
10126
|
+
resourceType: ItemResourceTypes;
|
|
10127
|
+
isReadOnly?: boolean;
|
|
9708
10128
|
}>;
|
|
9709
10129
|
}
|
|
9710
10130
|
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonConfirmations" {
|
|
9711
10131
|
import { FC } from 'react';
|
|
9712
|
-
export const FeedbackButtonConfirmations: FC
|
|
10132
|
+
export const FeedbackButtonConfirmations: FC<{
|
|
10133
|
+
isReadOnly?: boolean;
|
|
10134
|
+
}>;
|
|
10135
|
+
}
|
|
10136
|
+
declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackFollowButton" {
|
|
10137
|
+
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
10138
|
}
|
|
9714
10139
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection" {
|
|
9715
10140
|
import { FC } from 'react';
|
|
@@ -9803,10 +10228,13 @@ declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPag
|
|
|
9803
10228
|
basePath?: string;
|
|
9804
10229
|
}>;
|
|
9805
10230
|
}
|
|
10231
|
+
declare module "libs/reach/feature/content/src/common/useContainerDimensions" {
|
|
10232
|
+
export function useContainerDimensions(): [number, (node: any) => void];
|
|
10233
|
+
}
|
|
9806
10234
|
declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
9807
10235
|
import { FC } from 'react';
|
|
9808
10236
|
import { ItemResourceTypes, SchedulableItem } from "libs/reach/util/common/src/index";
|
|
9809
|
-
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/
|
|
10237
|
+
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
9810
10238
|
export const Banner: FC<{
|
|
9811
10239
|
item: SchedulableItem;
|
|
9812
10240
|
token: string;
|
|
@@ -9814,6 +10242,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
|
9814
10242
|
layoutMode?: ItemTileLayoutMode;
|
|
9815
10243
|
bannerDefaultWidth?: number;
|
|
9816
10244
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
10245
|
+
documentIconName?: string;
|
|
9817
10246
|
}>;
|
|
9818
10247
|
}
|
|
9819
10248
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
@@ -9851,17 +10280,6 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9851
10280
|
isMobilePreview?: boolean;
|
|
9852
10281
|
}>;
|
|
9853
10282
|
}
|
|
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
10283
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
9866
10284
|
import { FC } from 'react';
|
|
9867
10285
|
export const DetailViewTitle: FC;
|
|
@@ -9884,24 +10302,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9884
10302
|
import { FC } from 'react';
|
|
9885
10303
|
export const DetailViewKeywords: FC<{
|
|
9886
10304
|
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;
|
|
10305
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
9905
10306
|
}>;
|
|
9906
10307
|
}
|
|
9907
10308
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
@@ -9931,9 +10332,18 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9931
10332
|
import { FC, ReactNode } from 'react';
|
|
9932
10333
|
export const DetailViewNavigation: FC<{
|
|
9933
10334
|
offsetRight?: number;
|
|
9934
|
-
children?: ReactNode;
|
|
9935
10335
|
callout?: ReactNode;
|
|
10336
|
+
className?: string;
|
|
10337
|
+
children?: ReactNode;
|
|
9936
10338
|
}>;
|
|
10339
|
+
export const OffsetDetailViewNavigation: import("styled-components").StyledComponent<FC<{
|
|
10340
|
+
offsetRight?: number;
|
|
10341
|
+
callout?: ReactNode;
|
|
10342
|
+
className?: string;
|
|
10343
|
+
children?: ReactNode;
|
|
10344
|
+
}>, import("styled-components").DefaultTheme, {
|
|
10345
|
+
offsetRightOverride?: number;
|
|
10346
|
+
}, never>;
|
|
9937
10347
|
}
|
|
9938
10348
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent" {
|
|
9939
10349
|
import { FC } from 'react';
|
|
@@ -9975,584 +10385,220 @@ declare module "libs/reach/feature/content/src/common/hooks/useCommonEditorApi"
|
|
|
9975
10385
|
getTaskViewCounts: (type: ItemResourceTypes, groupId?: string) => Promise<TaskSummary>;
|
|
9976
10386
|
};
|
|
9977
10387
|
}
|
|
9978
|
-
declare module "libs/reach/feature/content/src/common/
|
|
9979
|
-
|
|
9980
|
-
|
|
9981
|
-
|
|
9982
|
-
|
|
9983
|
-
|
|
9984
|
-
|
|
9985
|
-
|
|
9986
|
-
|
|
9987
|
-
|
|
9988
|
-
|
|
10388
|
+
declare module "libs/reach/feature/content/src/common/hooks/useClickOutside" {
|
|
10389
|
+
interface IClickHandles {
|
|
10390
|
+
onInsideClick: () => void;
|
|
10391
|
+
onOutsideClick: () => void;
|
|
10392
|
+
}
|
|
10393
|
+
export function useClickOutside<T extends HTMLElement>(componentInstanceId: string, { onInsideClick, onOutsideClick }: IClickHandles): import("react").MutableRefObject<T>;
|
|
10394
|
+
}
|
|
10395
|
+
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
10396
|
+
import { FC } from 'react';
|
|
10397
|
+
export const GroupNotificationsSettings: FC<{
|
|
10398
|
+
groupId: string;
|
|
9989
10399
|
className?: string;
|
|
9990
10400
|
}>;
|
|
9991
10401
|
}
|
|
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;
|
|
10402
|
+
declare module "libs/reach/feature/content/src/posts/PostCreator" {
|
|
10403
|
+
import { FC } from 'react';
|
|
10404
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10405
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10406
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
10407
|
+
export interface PostCreatorProps {
|
|
10408
|
+
groupId: string;
|
|
10409
|
+
disabled?: boolean;
|
|
10410
|
+
disableDragAndDrop?: boolean;
|
|
10411
|
+
onBeforeSave?: (post: Post) => void;
|
|
10412
|
+
onSaved: (post: Post) => void;
|
|
10413
|
+
keywordSettings?: {
|
|
10414
|
+
availableKeywords?: Keyword[];
|
|
10415
|
+
defaultKeywords?: Keyword[];
|
|
10416
|
+
mandatoryKeywords?: Keyword[];
|
|
10417
|
+
};
|
|
10418
|
+
disableAutoFocus?: boolean;
|
|
10419
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
10014
10420
|
className?: string;
|
|
10015
10421
|
}
|
|
10016
|
-
export const
|
|
10422
|
+
export const PostCreator: FC<PostCreatorProps>;
|
|
10017
10423
|
}
|
|
10018
|
-
declare module "libs/reach/feature/content/src/
|
|
10424
|
+
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
10019
10425
|
import { FC } from 'react';
|
|
10020
|
-
import {
|
|
10021
|
-
|
|
10022
|
-
|
|
10023
|
-
|
|
10426
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10427
|
+
import { Comment } from "libs/reach/util/common/src/index";
|
|
10428
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10429
|
+
interface Props {
|
|
10430
|
+
className?: string;
|
|
10431
|
+
post: Post;
|
|
10432
|
+
initialPageSize?: number;
|
|
10433
|
+
comments?: PaginatedList<Comment>;
|
|
10434
|
+
autoFocusReplyField?: boolean;
|
|
10435
|
+
showReplyBox?: boolean;
|
|
10436
|
+
onReplyAdded: () => void;
|
|
10437
|
+
onReplyDeleted: () => void;
|
|
10438
|
+
trimContent?: boolean;
|
|
10439
|
+
enableModalRouting?: boolean;
|
|
10440
|
+
}
|
|
10441
|
+
export const PostReplies: FC<Props>;
|
|
10024
10442
|
}
|
|
10025
|
-
declare module "libs/reach/feature/content/src/
|
|
10026
|
-
import { FC
|
|
10027
|
-
import {
|
|
10028
|
-
import {
|
|
10029
|
-
|
|
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;
|
|
10443
|
+
declare module "libs/reach/feature/content/src/posts/PostEditor" {
|
|
10444
|
+
import { FC } from 'react';
|
|
10445
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10446
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10447
|
+
export const PostEditor: FC<{
|
|
10043
10448
|
className?: string;
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10052
|
-
|
|
10053
|
-
|
|
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;
|
|
10066
|
-
}
|
|
10067
|
-
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
10449
|
+
post: Post;
|
|
10450
|
+
onCancel: () => void;
|
|
10451
|
+
onBeforeSave: (post: Post) => void;
|
|
10452
|
+
onSaved: (post: Post) => void;
|
|
10453
|
+
keywordSettings?: {
|
|
10454
|
+
availableKeywords?: Keyword[];
|
|
10455
|
+
defaultKeywords?: Keyword[];
|
|
10456
|
+
mandatoryKeywords?: Keyword[];
|
|
10457
|
+
};
|
|
10458
|
+
}>;
|
|
10068
10459
|
}
|
|
10069
|
-
declare module "libs/reach/feature/content/src/
|
|
10460
|
+
declare module "libs/reach/feature/content/src/posts/PostFollowButton" {
|
|
10070
10461
|
import { FC } from 'react';
|
|
10071
|
-
export const
|
|
10072
|
-
|
|
10073
|
-
|
|
10074
|
-
className?: string;
|
|
10462
|
+
export const PostFollowButton: FC<{
|
|
10463
|
+
itemId: string;
|
|
10464
|
+
isFollowing: boolean;
|
|
10075
10465
|
}>;
|
|
10076
10466
|
}
|
|
10077
|
-
declare module "libs/reach/feature/content/src/
|
|
10467
|
+
declare module "libs/reach/feature/content/src/posts/PostGroup" {
|
|
10078
10468
|
import { FC } from 'react';
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
|
|
10469
|
+
import { NavLink } from 'react-router-dom';
|
|
10470
|
+
export const PostGroup: FC<{
|
|
10471
|
+
groupId: string;
|
|
10472
|
+
target?: string;
|
|
10082
10473
|
className?: string;
|
|
10083
10474
|
}>;
|
|
10475
|
+
export const GroupNavLink: import("styled-components").StyledComponent<typeof NavLink, import("styled-components").DefaultTheme, {}, never>;
|
|
10084
10476
|
}
|
|
10085
|
-
declare module "libs/reach/feature/content/src/
|
|
10477
|
+
declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
10086
10478
|
import { FC } from 'react';
|
|
10087
|
-
import {
|
|
10088
|
-
import {
|
|
10479
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10480
|
+
import { Comment, Keyword, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10089
10481
|
interface Props {
|
|
10090
|
-
|
|
10091
|
-
|
|
10092
|
-
mandatoryChannelIds?: string[];
|
|
10093
|
-
availableChannels?: Channel[];
|
|
10094
|
-
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
10482
|
+
post: Post;
|
|
10483
|
+
targetUrl?: string;
|
|
10095
10484
|
className?: string;
|
|
10096
|
-
|
|
10097
|
-
|
|
10098
|
-
|
|
10099
|
-
|
|
10100
|
-
|
|
10101
|
-
|
|
10102
|
-
|
|
10103
|
-
|
|
10485
|
+
threadId?: string;
|
|
10486
|
+
onCustomPostDelete?: () => void;
|
|
10487
|
+
comments?: PaginatedList<Comment>;
|
|
10488
|
+
initialCommentsPageSize?: number;
|
|
10489
|
+
onThreadCommentDelete?: () => void;
|
|
10490
|
+
onThreadReply?: (threadId: string) => void;
|
|
10491
|
+
keywordSettings?: {
|
|
10492
|
+
availableKeywords?: Keyword[];
|
|
10493
|
+
defaultKeywords?: Keyword[];
|
|
10494
|
+
mandatoryKeywords?: Keyword[];
|
|
10495
|
+
};
|
|
10496
|
+
showGroup?: boolean;
|
|
10497
|
+
onBeforeDelete?: (id: string) => unknown;
|
|
10498
|
+
onAfterDelete?: (id: string) => unknown;
|
|
10499
|
+
onItemClick?: (postId: string) => unknown;
|
|
10500
|
+
openTargetInNewWindow?: boolean;
|
|
10501
|
+
trimContent?: boolean;
|
|
10502
|
+
postGroupTargetUrl?: string;
|
|
10503
|
+
onKeywordClick?: (keywordId: string) => void;
|
|
10504
|
+
baseTargetUrl?: string;
|
|
10104
10505
|
}
|
|
10105
|
-
export const
|
|
10106
|
-
|
|
10107
|
-
declare module "libs/reach/feature/content/src/common/index" {
|
|
10108
|
-
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
10109
|
-
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
10110
|
-
export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
|
|
10111
|
-
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
10112
|
-
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
10113
|
-
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
10114
|
-
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
10115
|
-
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
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";
|
|
10506
|
+
export const PostDisplay: FC<Props>;
|
|
10507
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
10209
10508
|
}
|
|
10210
|
-
declare module "libs/reach/feature/content/src/
|
|
10509
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10211
10510
|
import { FC } from 'react';
|
|
10212
|
-
import {
|
|
10213
|
-
|
|
10214
|
-
|
|
10215
|
-
|
|
10216
|
-
|
|
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;
|
|
10511
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10512
|
+
export const PostGroupsPicker: FC<{
|
|
10513
|
+
groups: UserGroup[];
|
|
10514
|
+
selectedGroupId: string;
|
|
10515
|
+
onGroupSelected?: (groupId: string) => unknown;
|
|
10234
10516
|
className?: string;
|
|
10235
|
-
}
|
|
10236
|
-
export const CommentDisplay: FC<Props>;
|
|
10517
|
+
}>;
|
|
10237
10518
|
}
|
|
10238
|
-
declare module "libs/reach/feature/content/src/
|
|
10239
|
-
|
|
10240
|
-
export
|
|
10241
|
-
|
|
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";
|
|
10253
|
-
}
|
|
10254
|
-
declare module "libs/reach/feature/content/src/feedback/index" {
|
|
10255
|
-
export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
|
|
10256
|
-
export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
|
|
10257
|
-
export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
|
|
10258
|
-
export * from "libs/reach/feature/content/src/feedback/utils";
|
|
10259
|
-
}
|
|
10260
|
-
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
10261
|
-
import { FC, ReactNode } from 'react';
|
|
10262
|
-
import { Keyword } from "libs/reach/util/common/src/index";
|
|
10263
|
-
interface Props {
|
|
10264
|
-
isOpen: boolean;
|
|
10265
|
-
preSelectedKeywords: Keyword[];
|
|
10266
|
-
onSave: (keywords: Keyword[]) => void;
|
|
10267
|
-
titleResource: string;
|
|
10268
|
-
onDismiss: () => void;
|
|
10269
|
-
availableKeywords?: Keyword[];
|
|
10270
|
-
mandatoryKeywordIds?: string[];
|
|
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
|
-
}>;
|
|
10280
|
-
}
|
|
10281
|
-
declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
10282
|
-
import { FC, MutableRefObject } from 'react';
|
|
10283
|
-
export interface TextareaProps {
|
|
10284
|
-
rows?: number;
|
|
10285
|
-
placeholder?: string;
|
|
10286
|
-
readOnly?: boolean;
|
|
10287
|
-
onChange: (value: string) => void;
|
|
10519
|
+
declare module "libs/reach/feature/content/src/posts/PostGroupSelector" {
|
|
10520
|
+
import { FC } from 'react';
|
|
10521
|
+
export const PostGroupSelector: FC<{
|
|
10522
|
+
onPostGroupClick?: (groupId: string) => void;
|
|
10288
10523
|
className?: string;
|
|
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;
|
|
10301
|
-
}
|
|
10302
|
-
/**
|
|
10303
|
-
* Textarea that expands vertically to fit content.
|
|
10304
|
-
* If maxLength is given, also displays a count of remaining characters when focused
|
|
10305
|
-
*/
|
|
10306
|
-
export const Textarea: FC<TextareaProps>;
|
|
10524
|
+
}>;
|
|
10307
10525
|
}
|
|
10308
|
-
declare module "libs/reach/feature/content/src/
|
|
10309
|
-
import {
|
|
10310
|
-
|
|
10311
|
-
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
|
|
10316
|
-
|
|
10317
|
-
singleMode?: boolean;
|
|
10526
|
+
declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
10527
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
10528
|
+
import { DocumentNode } from '@apollo/client';
|
|
10529
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
10530
|
+
import { AfterPublishingDateFilterDefinition, BeforePublishingDateFilterDefinition, ChannelsFilterDefinition, FilterWithLogicalOperator, ItemTypeFilterDefinition, ItemTypeFilterFlag, KeywordsFilterDefinition, OwnerFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
10531
|
+
export enum StreamEventResponse {
|
|
10532
|
+
NotSet = "NOTSET",
|
|
10533
|
+
Registered = "REGISTERED",
|
|
10534
|
+
Declined = "DECLINED"
|
|
10318
10535
|
}
|
|
10319
|
-
export
|
|
10320
|
-
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
10321
|
-
isActive?: boolean;
|
|
10322
|
-
}, never>;
|
|
10323
|
-
}
|
|
10324
|
-
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
10325
|
-
import { FC } from 'react';
|
|
10326
|
-
interface Props {
|
|
10327
|
-
onInsert: (files: File[]) => void;
|
|
10328
|
-
accept?: string;
|
|
10329
|
-
captionKey?: string;
|
|
10330
|
-
descriptionKey?: string;
|
|
10536
|
+
export interface StreamFilterDefinition extends BeforePublishingDateFilterDefinition, AfterPublishingDateFilterDefinition, OwnerFilterDefinition, ChannelsFilterDefinition, KeywordsFilterDefinition, ItemTypeFilterDefinition {
|
|
10331
10537
|
}
|
|
10332
|
-
export
|
|
10538
|
+
export function useStreamItemsQuery(query: DocumentNode, searchText?: string, defaultPageSize?: number, doNotLoadOnEmpty?: boolean): {
|
|
10539
|
+
items: StreamItem[];
|
|
10540
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<StreamItem[]>>;
|
|
10541
|
+
loadMore: () => Promise<void>;
|
|
10542
|
+
pageInfo: {
|
|
10543
|
+
errors?: any;
|
|
10544
|
+
hasNextPage: boolean;
|
|
10545
|
+
skip: number;
|
|
10546
|
+
};
|
|
10547
|
+
refresh: () => Promise<void>;
|
|
10548
|
+
isLoadingFirstPage: boolean;
|
|
10549
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
10550
|
+
};
|
|
10551
|
+
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
10552
|
+
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10553
|
+
export const getSearchQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
10554
|
+
export function getFilterConditionsString(filterConditions?: string[]): string;
|
|
10555
|
+
export const GROUPS_CONDITION: (groupIds: string[]) => string;
|
|
10556
|
+
export const CHANNELS_CONDITION: (channels: FilterWithLogicalOperator, allChannels: Channel[]) => string;
|
|
10557
|
+
export const KEYWORDS_CONDITION: (keywords: FilterWithLogicalOperator) => string;
|
|
10558
|
+
export const OWNER_CONDITION: (owner: string) => string;
|
|
10559
|
+
export const PUBLISHING_DATE_CONDITION: (beforeDate: string, afterDate: string) => string;
|
|
10560
|
+
export const AUTHORS_CONDITION: (authors: string[]) => string;
|
|
10561
|
+
export const PAGE_TYPE_CONDITION: (type: ItemTypeFilterFlag) => string;
|
|
10562
|
+
export const PUBLISHABLE_ITEM_CORE_FRAGMENT: DocumentNode;
|
|
10563
|
+
export const STREAM_QUERY: (includeAllItems: boolean, additionalWhereConditions?: string, includeExpired?: boolean) => DocumentNode;
|
|
10564
|
+
export const MARK_STREAM_AS_READ_MUTATION: DocumentNode;
|
|
10565
|
+
export const MARK_ITEMS_AS_READ_MUTATION: DocumentNode;
|
|
10566
|
+
export const POST_ITEM_FIELDS: DocumentNode;
|
|
10333
10567
|
}
|
|
10334
|
-
declare module "libs/reach/feature/content/src/
|
|
10335
|
-
import {
|
|
10336
|
-
|
|
10337
|
-
|
|
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;
|
|
10351
|
-
}
|
|
10352
|
-
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
10353
|
-
export default DateTimePicker;
|
|
10568
|
+
declare module "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead" {
|
|
10569
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10570
|
+
import { DependencyList } from 'react';
|
|
10571
|
+
export function useMarkPostsAndCommentsAsRead(area: 'CACHE_ONLY' | 'CACHE_AND_SERVER', posts: Post[], deps?: DependencyList): void;
|
|
10354
10572
|
}
|
|
10355
|
-
declare module "libs/reach/feature/content/src/
|
|
10356
|
-
import
|
|
10357
|
-
export
|
|
10358
|
-
|
|
10359
|
-
|
|
10360
|
-
|
|
10361
|
-
|
|
10362
|
-
OneMonth = 4,
|
|
10363
|
-
SevenDays = 5,
|
|
10364
|
-
YesterDay = 6,
|
|
10365
|
-
Today = 7
|
|
10366
|
-
}
|
|
10367
|
-
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
10368
|
-
export function dateToDateRange(date: string | moment.Moment): number;
|
|
10369
|
-
export function dateRangeToDate(range: DateRange): Moment;
|
|
10573
|
+
declare module "libs/reach/feature/content/src/posts/usePostKeywordSettings" {
|
|
10574
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
10575
|
+
export function usePostKeywordSettings(): (group: UserGroup) => {
|
|
10576
|
+
availableKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10577
|
+
defaultKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10578
|
+
mandatoryKeywords: import("@livetiles/reach/util/common").Keyword[];
|
|
10579
|
+
};
|
|
10370
10580
|
}
|
|
10371
|
-
declare module "libs/reach/feature/content/src/
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
export
|
|
10375
|
-
|
|
10376
|
-
|
|
10377
|
-
|
|
10581
|
+
declare module "libs/reach/feature/content/src/posts/index" {
|
|
10582
|
+
export * from "libs/reach/feature/content/src/posts/GroupNotificationsSettings";
|
|
10583
|
+
export * from "libs/reach/feature/content/src/posts/PostCreator";
|
|
10584
|
+
export * from "libs/reach/feature/content/src/posts/PostDisplay";
|
|
10585
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupsPicker";
|
|
10586
|
+
export * from "libs/reach/feature/content/src/posts/PostGroupSelector";
|
|
10587
|
+
export * from "libs/reach/feature/content/src/posts/useAttachmentUploader";
|
|
10588
|
+
export * from "libs/reach/feature/content/src/posts/useMarkPostsAndCommentsAsRead";
|
|
10589
|
+
export * from "libs/reach/feature/content/src/posts/usePostKeywordSettings";
|
|
10590
|
+
export * from "libs/reach/feature/content/src/posts/usePostsApi";
|
|
10591
|
+
export * from "libs/reach/feature/content/src/posts/utils";
|
|
10378
10592
|
}
|
|
10379
|
-
declare module "libs/reach/feature/content/src/
|
|
10380
|
-
import {
|
|
10381
|
-
import {
|
|
10382
|
-
import {
|
|
10383
|
-
|
|
10384
|
-
|
|
10385
|
-
|
|
10386
|
-
|
|
10387
|
-
|
|
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;
|
|
10398
|
-
}
|
|
10399
|
-
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
10400
|
-
}
|
|
10401
|
-
declare module "libs/reach/feature/content/src/forms/index" {
|
|
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;
|
|
10443
|
-
}
|
|
10444
|
-
export const PostCreator: FC<PostCreatorProps>;
|
|
10445
|
-
}
|
|
10446
|
-
declare module "libs/reach/feature/content/src/posts/PostReplies" {
|
|
10447
|
-
import { FC } from 'react';
|
|
10448
|
-
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
10449
|
-
import { Comment } from "libs/reach/util/common/src/index";
|
|
10450
|
-
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
10451
|
-
interface Props {
|
|
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"
|
|
10593
|
+
declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
10594
|
+
import { AttachmentType, BaseAttachment, Channel, Comment, ConversationScope, EventCancelInformation, EventItem, EventResponse, GraphQLAttachmentType, ItemResourceTypes, Keyword, KnownNewsState, NewsItem, PageItem, PageNavigationContext, PageNavigationNode, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
10595
|
+
import { Post } from "libs/reach/feature/content/src/posts/index";
|
|
10596
|
+
import { StreamEventResponse } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
10597
|
+
enum StreamItemTypes {
|
|
10598
|
+
Post = "POST",
|
|
10599
|
+
News = "NEWS",
|
|
10600
|
+
Event = "EVENT",
|
|
10601
|
+
Page = "PAGE"
|
|
10556
10602
|
}
|
|
10557
10603
|
export enum StreamConversationScope {
|
|
10558
10604
|
Public = "PUBLIC",
|
|
@@ -10762,9 +10808,8 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10762
10808
|
knownState: KnownNewsState;
|
|
10763
10809
|
hasNewComments?: boolean;
|
|
10764
10810
|
isLiked?: boolean;
|
|
10765
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
10766
10811
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10767
|
-
channels?:
|
|
10812
|
+
channels?: Channel[];
|
|
10768
10813
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10769
10814
|
id?: string;
|
|
10770
10815
|
versionId?: string;
|
|
@@ -10870,7 +10915,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10870
10915
|
isSeriesMaster?: string;
|
|
10871
10916
|
isVirtual?: boolean;
|
|
10872
10917
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
10873
|
-
channels?:
|
|
10918
|
+
channels?: Channel[];
|
|
10874
10919
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10875
10920
|
id?: string;
|
|
10876
10921
|
versionId?: string;
|
|
@@ -10972,6 +11017,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10972
11017
|
isUnlinked?: boolean;
|
|
10973
11018
|
pageType?: PageType;
|
|
10974
11019
|
firstChildId?: string;
|
|
11020
|
+
isGroupInheritanceBroken?: boolean;
|
|
10975
11021
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
10976
11022
|
id?: string;
|
|
10977
11023
|
versionId?: string;
|
|
@@ -11006,7 +11052,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11006
11052
|
poll?: import("@livetiles/reach/util/common").Poll;
|
|
11007
11053
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11008
11054
|
})[];
|
|
11009
|
-
export function convertProperties(items: StreamItem[],
|
|
11055
|
+
export function convertProperties(items: StreamItem[], subscriptionChannels?: Channel[]): ({
|
|
11010
11056
|
keywords: {
|
|
11011
11057
|
[key: string]: Keyword[];
|
|
11012
11058
|
};
|
|
@@ -11051,9 +11097,8 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11051
11097
|
knownState: KnownNewsState;
|
|
11052
11098
|
hasNewComments?: boolean;
|
|
11053
11099
|
isLiked?: boolean;
|
|
11054
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
11055
11100
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
11056
|
-
channels?:
|
|
11101
|
+
channels?: Channel[];
|
|
11057
11102
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
11058
11103
|
id?: string;
|
|
11059
11104
|
versionId?: string;
|
|
@@ -11108,7 +11153,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11108
11153
|
isSeriesMaster?: string;
|
|
11109
11154
|
isVirtual?: boolean;
|
|
11110
11155
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
11111
|
-
channels?:
|
|
11156
|
+
channels?: Channel[];
|
|
11112
11157
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
11113
11158
|
id?: string;
|
|
11114
11159
|
versionId?: string;
|
|
@@ -11159,6 +11204,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11159
11204
|
isUnlinked?: boolean;
|
|
11160
11205
|
pageType?: PageType;
|
|
11161
11206
|
firstChildId?: string;
|
|
11207
|
+
isGroupInheritanceBroken?: boolean;
|
|
11162
11208
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
11163
11209
|
id?: string;
|
|
11164
11210
|
versionId?: string;
|
|
@@ -11200,9 +11246,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11200
11246
|
modifiedOn?: string;
|
|
11201
11247
|
modifiedBy?: import("@livetiles/reach/util/common").Account;
|
|
11202
11248
|
};
|
|
11203
|
-
channels:
|
|
11204
|
-
name: string;
|
|
11205
|
-
}[];
|
|
11249
|
+
channels: Channel[];
|
|
11206
11250
|
contents: {};
|
|
11207
11251
|
bannerInfo: {
|
|
11208
11252
|
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
@@ -11254,9 +11298,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11254
11298
|
modifiedOn?: string;
|
|
11255
11299
|
modifiedBy?: import("@livetiles/reach/util/common").Account;
|
|
11256
11300
|
};
|
|
11257
|
-
channels:
|
|
11258
|
-
name: string;
|
|
11259
|
-
}[];
|
|
11301
|
+
channels: Channel[];
|
|
11260
11302
|
contents: {};
|
|
11261
11303
|
bannerInfo: {
|
|
11262
11304
|
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
@@ -11282,7 +11324,6 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11282
11324
|
knownState: KnownNewsState;
|
|
11283
11325
|
hasNewComments?: boolean;
|
|
11284
11326
|
isLiked?: boolean;
|
|
11285
|
-
shareToken?: import("@livetiles/reach/util/common").ShareToken;
|
|
11286
11327
|
metadata?: import("@livetiles/reach/util/common").NewsMetadata;
|
|
11287
11328
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
11288
11329
|
id?: string;
|
|
@@ -11323,9 +11364,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11323
11364
|
modifiedOn?: string;
|
|
11324
11365
|
modifiedBy?: import("@livetiles/reach/util/common").Account;
|
|
11325
11366
|
};
|
|
11326
|
-
channels:
|
|
11327
|
-
name: string;
|
|
11328
|
-
}[];
|
|
11367
|
+
channels: Channel[];
|
|
11329
11368
|
contents: {};
|
|
11330
11369
|
bannerInfo: {
|
|
11331
11370
|
videoSource: import("@livetiles/reach/util/common").VideoSource;
|
|
@@ -11357,6 +11396,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11357
11396
|
isUnlinked?: boolean;
|
|
11358
11397
|
pageType?: PageType;
|
|
11359
11398
|
firstChildId?: string;
|
|
11399
|
+
isGroupInheritanceBroken?: boolean;
|
|
11360
11400
|
lease: import("@livetiles/reach/util/common").LeaseInfo;
|
|
11361
11401
|
id?: string;
|
|
11362
11402
|
versionId?: string;
|
|
@@ -11385,73 +11425,450 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11385
11425
|
searchHighlights?: import("@livetiles/reach/util/common").SearchHighlightSummary;
|
|
11386
11426
|
})[];
|
|
11387
11427
|
export function updateStreamItemStatistics(items: StreamItem[], updatedItem: StreamItem): StreamItem[];
|
|
11428
|
+
export function getItemResourceTypeFromStreamItemType(type: StreamItemTypes): ItemResourceTypes;
|
|
11429
|
+
}
|
|
11430
|
+
declare module "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking" {
|
|
11431
|
+
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
11432
|
+
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11433
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
11434
|
+
export function useAnalyticsSearchTracking(items?: (PublishableItem | Post | StreamItem)[], disableTracking?: boolean, itemType?: ItemResourceTypes): void;
|
|
11435
|
+
export function useClearSearchSessionOnLeave(): void;
|
|
11436
|
+
}
|
|
11437
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarIcon" {
|
|
11438
|
+
import { LocationDescriptor } from 'history';
|
|
11439
|
+
import { FC, ReactNode } from 'react';
|
|
11440
|
+
export const SidebarIcon: FC<{
|
|
11441
|
+
icon?: ReactNode;
|
|
11442
|
+
iconName?: string;
|
|
11443
|
+
color?: string;
|
|
11444
|
+
onClick?: () => any;
|
|
11445
|
+
route?: LocationDescriptor;
|
|
11446
|
+
iconTooltipResourceKey: string;
|
|
11447
|
+
iconTooltipResourceValues?: any;
|
|
11448
|
+
className?: string;
|
|
11449
|
+
}>;
|
|
11450
|
+
}
|
|
11451
|
+
declare module "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem" {
|
|
11452
|
+
import { FC, ReactNode } from 'react';
|
|
11453
|
+
import { LocationDescriptor } from 'history';
|
|
11454
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11455
|
+
export interface BaseSidebarItemProps {
|
|
11456
|
+
children?: any;
|
|
11457
|
+
icon?: ReactNode;
|
|
11458
|
+
iconName?: string;
|
|
11459
|
+
iconTooltipResourceKey?: string;
|
|
11460
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11461
|
+
secondaryIconName?: string;
|
|
11462
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11463
|
+
reverse?: boolean;
|
|
11464
|
+
onIconClick?: () => void;
|
|
11465
|
+
iconRoute?: LocationDescriptor;
|
|
11466
|
+
iconColor?: string;
|
|
11467
|
+
onSecondaryIconClick?: () => void;
|
|
11468
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11469
|
+
onContentClick?: () => void;
|
|
11470
|
+
contentRoute?: LocationDescriptor;
|
|
11471
|
+
badgeInfo?: number | boolean;
|
|
11472
|
+
title?: string;
|
|
11473
|
+
className?: string;
|
|
11474
|
+
}
|
|
11475
|
+
export const BaseSidebarItem: FC<BaseSidebarItemProps>;
|
|
11476
|
+
}
|
|
11477
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItemSection" {
|
|
11478
|
+
import { FC } from 'react';
|
|
11479
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11480
|
+
export const SidebarItemSection: FC<{
|
|
11481
|
+
styleDefinition?: ColorStyleDefinition;
|
|
11482
|
+
}>;
|
|
11483
|
+
}
|
|
11484
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarItem" {
|
|
11485
|
+
import { FC, ReactNode } from 'react';
|
|
11486
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
11487
|
+
import { LocationDescriptor } from 'history';
|
|
11488
|
+
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
11489
|
+
interface CommonSidebarItemProps {
|
|
11490
|
+
title?: string | JSX.Element;
|
|
11491
|
+
titleResource?: string;
|
|
11492
|
+
icon?: ReactNode;
|
|
11493
|
+
iconName?: string;
|
|
11494
|
+
iconTooltipResourceKey?: string;
|
|
11495
|
+
iconTooltipResourceValues?: Record<string, PrimitiveType>;
|
|
11496
|
+
secondaryIconName?: string;
|
|
11497
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11498
|
+
iconColor?: string;
|
|
11499
|
+
reverse?: boolean;
|
|
11500
|
+
notHighlightable?: boolean;
|
|
11501
|
+
onClick?: () => void;
|
|
11502
|
+
className?: string;
|
|
11503
|
+
isActive?: boolean;
|
|
11504
|
+
activeClassName?: string;
|
|
11505
|
+
readOnly?: boolean;
|
|
11506
|
+
submenu?: JSX.Element;
|
|
11507
|
+
submenuClassName?: string;
|
|
11508
|
+
submenuStyleDefinition?: ColorStyleDefinition;
|
|
11509
|
+
badgeInfo?: number | boolean;
|
|
11510
|
+
domIdentifier?: string;
|
|
11511
|
+
}
|
|
11512
|
+
interface SidebarItemProps extends CommonSidebarItemProps {
|
|
11513
|
+
contentRoute?: LocationDescriptor;
|
|
11514
|
+
onIconClick?: () => void;
|
|
11515
|
+
iconRoute?: LocationDescriptor;
|
|
11516
|
+
onSecondaryIconClick?: () => void;
|
|
11517
|
+
secondaryIconRoute?: LocationDescriptor;
|
|
11518
|
+
isHoverable?: boolean;
|
|
11519
|
+
}
|
|
11520
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
11521
|
+
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
11522
|
+
route: LocationDescriptor;
|
|
11523
|
+
exact?: boolean;
|
|
11524
|
+
linkClassName?: string;
|
|
11525
|
+
}
|
|
11526
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
11527
|
+
}
|
|
11528
|
+
declare module "libs/reach/feature/content/src/common/sidebar/SidebarGroup" {
|
|
11529
|
+
import { FC } from 'react';
|
|
11530
|
+
export const SidebarGroup: FC<{
|
|
11531
|
+
titleResource?: string;
|
|
11532
|
+
borderColor?: string;
|
|
11533
|
+
className?: string;
|
|
11534
|
+
}>;
|
|
11535
|
+
}
|
|
11536
|
+
declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton" {
|
|
11537
|
+
import { FC } from 'react';
|
|
11538
|
+
export const ContentWithShowMoreButton: FC<{
|
|
11539
|
+
domIdentifier: string;
|
|
11540
|
+
trimContent?: boolean;
|
|
11541
|
+
className?: string;
|
|
11542
|
+
}>;
|
|
11543
|
+
}
|
|
11544
|
+
declare module "libs/reach/feature/content/src/common/channels/ChannelSelector" {
|
|
11545
|
+
import { FC } from 'react';
|
|
11546
|
+
import { Channel } from "libs/reach/util/common/src/index";
|
|
11547
|
+
import { LogicalOperator } from "libs/reach/feature/content/src/filter/index";
|
|
11548
|
+
interface Props {
|
|
11549
|
+
selectedChannelNames?: string[];
|
|
11550
|
+
selectedChannelIds?: string[];
|
|
11551
|
+
mandatoryChannelIds?: string[];
|
|
11552
|
+
availableChannels?: Channel[];
|
|
11553
|
+
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
11554
|
+
className?: string;
|
|
11555
|
+
showOnlyUserChannels?: boolean;
|
|
11556
|
+
showSelectionToggle?: boolean;
|
|
11557
|
+
placeholder?: string;
|
|
11558
|
+
inlineControls?: boolean;
|
|
11559
|
+
required?: boolean;
|
|
11560
|
+
id?: string;
|
|
11561
|
+
showLogicalOperatorOptions?: boolean;
|
|
11562
|
+
selectedLogicalOperator?: LogicalOperator;
|
|
11563
|
+
}
|
|
11564
|
+
export const ChannelSelector: FC<Props>;
|
|
11565
|
+
}
|
|
11566
|
+
declare module "libs/reach/feature/content/src/common/index" {
|
|
11567
|
+
export * from "libs/reach/feature/content/src/common/cards/CardFooter";
|
|
11568
|
+
export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
11569
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
|
|
11570
|
+
export * from "libs/reach/feature/content/src/common/item-tile/Title";
|
|
11571
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
|
|
11572
|
+
export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
|
|
11573
|
+
export * from "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTile";
|
|
11574
|
+
export * from "libs/reach/feature/content/src/common/body/InlineGallery";
|
|
11575
|
+
export * from "libs/reach/feature/content/src/common/body/PhotoGallery";
|
|
11576
|
+
export * from "libs/reach/feature/content/src/common/body/InlineImage";
|
|
11577
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContactViewer";
|
|
11578
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileDownloadButton";
|
|
11579
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlinePageDocumentDownloadButton";
|
|
11580
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuote";
|
|
11581
|
+
export * from "libs/reach/feature/content/src/common/body/InlineQuoteViewer";
|
|
11582
|
+
export * from "libs/reach/feature/content/src/common/body/InlineVideo";
|
|
11583
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging";
|
|
11584
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage";
|
|
11585
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton";
|
|
11586
|
+
export * from "libs/reach/feature/content/src/common/body/inline-page-list/EmptyPageList";
|
|
11587
|
+
export * from "libs/reach/feature/content/src/common/body/ImageToolbar";
|
|
11588
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectToolbar";
|
|
11589
|
+
export * from "libs/reach/feature/content/src/common/ContentUtils";
|
|
11590
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb";
|
|
11591
|
+
export * from "libs/reach/feature/content/src/common/body/QuoteDetails";
|
|
11592
|
+
export * from "libs/reach/feature/content/src/common/body/InlineContact";
|
|
11593
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCode";
|
|
11594
|
+
export * from "libs/reach/feature/content/src/common/body/InlineCodeViewer";
|
|
11595
|
+
export * from "libs/reach/feature/content/src/common/body/CodeDetails";
|
|
11596
|
+
export * from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
11597
|
+
export * from "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles";
|
|
11598
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTableStyles";
|
|
11599
|
+
export * from "libs/reach/feature/content/src/common/body/InlineTable";
|
|
11600
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCancelInformation";
|
|
11601
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration";
|
|
11602
|
+
export * from "libs/reach/feature/content/src/common/body/ItemBodyWrapper";
|
|
11603
|
+
export * from "libs/reach/feature/content/src/common/body/InlineFileList";
|
|
11604
|
+
export * from "libs/reach/feature/content/src/common/body/InlineActionButtonList";
|
|
11605
|
+
export * from "libs/reach/feature/content/src/common/body/InlineObjectPluginView";
|
|
11606
|
+
export * from "libs/reach/feature/content/src/common/body/inline-action-button/InlineActionButtonStyles";
|
|
11607
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventMetaInfo";
|
|
11608
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationButton";
|
|
11609
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationInfoDescription";
|
|
11610
|
+
export * from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
11611
|
+
export * from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
11612
|
+
export * from "libs/reach/feature/content/src/common/banner/useImageEditorApi";
|
|
11613
|
+
export * from "libs/reach/feature/content/src/common/keywords/KeywordsInfo";
|
|
11614
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewMetaInfo";
|
|
11615
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewDatesInfo";
|
|
11616
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewRegistration";
|
|
11617
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewCancelInformation";
|
|
11618
|
+
export * from "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection";
|
|
11619
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins";
|
|
11620
|
+
export * from "libs/reach/feature/content/src/common/detail/events/EventPathContext";
|
|
11621
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo";
|
|
11622
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection";
|
|
11623
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler";
|
|
11624
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton";
|
|
11625
|
+
export * from "libs/reach/feature/content/src/common/body/InlinePageList";
|
|
11626
|
+
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
11627
|
+
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
11628
|
+
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
11629
|
+
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
11630
|
+
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
11631
|
+
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
11632
|
+
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|
|
11633
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewArticle";
|
|
11634
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner";
|
|
11635
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro";
|
|
11636
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection";
|
|
11637
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle";
|
|
11638
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewMetaInfo";
|
|
11639
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBody";
|
|
11640
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewKeywords";
|
|
11641
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations";
|
|
11642
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker";
|
|
11643
|
+
export * from "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection";
|
|
11644
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewPoll";
|
|
11645
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation";
|
|
11646
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewBodyExternalContent";
|
|
11647
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/DetailViewHeadline";
|
|
11648
|
+
export * from "libs/reach/feature/content/src/common/detail/controls/PageViewTrackerSettingsContext";
|
|
11649
|
+
export * from "libs/reach/feature/content/src/common/detail/DetailViewContext";
|
|
11650
|
+
export * from "libs/reach/feature/content/src/common/AppTriggerActions";
|
|
11651
|
+
export * from "libs/reach/feature/content/src/common/cards/CardLikeButton";
|
|
11652
|
+
export * from "libs/reach/feature/content/src/common/cards/CardStatisticItem";
|
|
11653
|
+
export * from "libs/reach/feature/content/src/common/EmbeddedObjectList";
|
|
11654
|
+
export * from "libs/reach/feature/content/src/common/StateIcon";
|
|
11655
|
+
export * from "libs/reach/feature/content/src/common/ExternalContentIcon";
|
|
11656
|
+
export * from "libs/reach/feature/content/src/common/hooks/useExternalContentHandler";
|
|
11657
|
+
export * from "libs/reach/feature/content/src/common/hooks/useCommonEditorApi";
|
|
11658
|
+
export * from "libs/reach/feature/content/src/common/hooks/usePageViewTracker";
|
|
11659
|
+
export * from "libs/reach/feature/content/src/common/hooks/useClickOutside";
|
|
11660
|
+
export * from "libs/reach/feature/content/src/common/hooks/useAnalyticsSearchTracking";
|
|
11661
|
+
export * from "libs/reach/feature/content/src/common/TargetLinkOverrideContext";
|
|
11662
|
+
export * from "libs/reach/feature/content/src/common/sidebar/BaseSidebarItem";
|
|
11663
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarGroup";
|
|
11664
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarIcon";
|
|
11665
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItem";
|
|
11666
|
+
export * from "libs/reach/feature/content/src/common/sidebar/SidebarItemSection";
|
|
11667
|
+
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
11668
|
+
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
11669
|
+
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
11670
|
+
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
11671
|
+
export * from "libs/reach/feature/content/src/common/useContainerDimensions";
|
|
11672
|
+
}
|
|
11673
|
+
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
11674
|
+
import { FC } from 'react';
|
|
11675
|
+
import { Account, Comment, ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
11676
|
+
interface Props {
|
|
11677
|
+
type?: ItemResourceTypes;
|
|
11678
|
+
baseAttachmentPath?: string;
|
|
11679
|
+
message: Comment;
|
|
11680
|
+
showDelete?: boolean;
|
|
11681
|
+
showAutoTranslate?: boolean;
|
|
11682
|
+
showEdit?: boolean;
|
|
11683
|
+
onDelete?: (comment: Comment) => void;
|
|
11684
|
+
onTranslateClick?: (comment: Comment, targetLanguage: string) => void;
|
|
11685
|
+
scope: ConversationScope;
|
|
11686
|
+
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
11687
|
+
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
11688
|
+
highlight?: boolean;
|
|
11689
|
+
hasUnreadReplies?: boolean;
|
|
11690
|
+
onReplyIconClick?: () => void;
|
|
11691
|
+
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
11692
|
+
replyCount?: number;
|
|
11693
|
+
readOnly?: boolean;
|
|
11694
|
+
trimContent?: boolean;
|
|
11695
|
+
enableModalRouting?: boolean;
|
|
11696
|
+
className?: string;
|
|
11697
|
+
}
|
|
11698
|
+
export const CommentDisplay: FC<Props>;
|
|
11699
|
+
}
|
|
11700
|
+
declare module "libs/reach/feature/content/src/comments/index" {
|
|
11701
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11702
|
+
export * from "libs/reach/feature/content/src/comments/FollowComments";
|
|
11703
|
+
export * from "libs/reach/feature/content/src/comments/CreateComment";
|
|
11704
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11705
|
+
export * from "libs/reach/feature/content/src/comments/CommentDisplay";
|
|
11706
|
+
export * from "libs/reach/feature/content/src/comments/useCommentApi";
|
|
11707
|
+
export * from "libs/reach/feature/content/src/comments/UrlMatcher";
|
|
11708
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11709
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
11710
|
+
export * from "libs/reach/feature/content/src/comments/ContentDisplay";
|
|
11711
|
+
export * from "libs/reach/feature/content/src/comments/AttachmentList";
|
|
11712
|
+
export * from "libs/reach/feature/content/src/comments/EditCommentWithAttachments";
|
|
11713
|
+
export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
|
|
11714
|
+
export * from "libs/reach/feature/content/src/comments/CommentInput";
|
|
11388
11715
|
}
|
|
11389
|
-
declare module "libs/reach/feature/content/src/
|
|
11390
|
-
import {
|
|
11391
|
-
import {
|
|
11392
|
-
|
|
11393
|
-
|
|
11394
|
-
|
|
11395
|
-
|
|
11396
|
-
|
|
11397
|
-
|
|
11716
|
+
declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
|
|
11717
|
+
import { FC, ReactNode } from 'react';
|
|
11718
|
+
import { Keyword } from "libs/reach/util/common/src/index";
|
|
11719
|
+
interface Props {
|
|
11720
|
+
isOpen: boolean;
|
|
11721
|
+
preSelectedKeywords: Keyword[];
|
|
11722
|
+
onSave: (keywords: Keyword[]) => void;
|
|
11723
|
+
titleResource: string;
|
|
11724
|
+
onDismiss: () => void;
|
|
11725
|
+
availableKeywords?: Keyword[];
|
|
11726
|
+
mandatoryKeywordIds?: string[];
|
|
11398
11727
|
}
|
|
11399
|
-
export
|
|
11728
|
+
export const KeywordDialog: FC<Props>;
|
|
11729
|
+
export const StatefulKeywordPicker: FC<{
|
|
11730
|
+
preSelectedKeywords: Keyword[];
|
|
11731
|
+
availableKeywords?: Keyword[];
|
|
11732
|
+
mandatoryKeywordIds?: string[];
|
|
11733
|
+
showSelectionToggle?: boolean;
|
|
11734
|
+
children: (selectedKeywords: Keyword[]) => ReactNode;
|
|
11735
|
+
}>;
|
|
11736
|
+
}
|
|
11737
|
+
declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
11738
|
+
import { FC, MutableRefObject } from 'react';
|
|
11739
|
+
export interface TextareaProps {
|
|
11740
|
+
rows?: number;
|
|
11741
|
+
placeholder?: string;
|
|
11742
|
+
readOnly?: boolean;
|
|
11743
|
+
onChange: (value: string) => void;
|
|
11744
|
+
className?: string;
|
|
11745
|
+
defaultValue?: string;
|
|
11746
|
+
disabled?: boolean;
|
|
11747
|
+
noDebouncing?: boolean;
|
|
11748
|
+
value?: string;
|
|
11749
|
+
onIconClick?: () => void;
|
|
11750
|
+
onEnter?: () => void;
|
|
11751
|
+
icon?: string;
|
|
11752
|
+
disableNewLines?: boolean;
|
|
11753
|
+
autoFocus?: boolean;
|
|
11754
|
+
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
11755
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
11756
|
+
inputType?: string;
|
|
11400
11757
|
}
|
|
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;
|
|
11758
|
+
/**
|
|
11759
|
+
* Textarea that expands vertically to fit content.
|
|
11760
|
+
* If maxLength is given, also displays a count of remaining characters when focused
|
|
11761
|
+
*/
|
|
11762
|
+
export const Textarea: FC<TextareaProps>;
|
|
11430
11763
|
}
|
|
11431
|
-
declare module "libs/reach/feature/content/src/
|
|
11432
|
-
import {
|
|
11433
|
-
|
|
11434
|
-
|
|
11764
|
+
declare module "libs/reach/feature/content/src/forms/InsertFilesButton" {
|
|
11765
|
+
import { FC } from 'react';
|
|
11766
|
+
interface Props {
|
|
11767
|
+
onInsert: (files: File[]) => void;
|
|
11768
|
+
accept?: string;
|
|
11769
|
+
captionKey?: string;
|
|
11770
|
+
captionIconName?: string;
|
|
11771
|
+
descriptionKey?: string;
|
|
11772
|
+
descriptionIconName?: string;
|
|
11773
|
+
singleMode?: boolean;
|
|
11774
|
+
}
|
|
11775
|
+
export const InsertFilesButton: FC<Props>;
|
|
11776
|
+
export const InsertFilesDialogHost: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11777
|
+
isActive?: boolean;
|
|
11778
|
+
}, never>;
|
|
11435
11779
|
}
|
|
11436
|
-
declare module "libs/reach/feature/content/src/
|
|
11437
|
-
import {
|
|
11438
|
-
|
|
11439
|
-
|
|
11440
|
-
|
|
11441
|
-
|
|
11442
|
-
|
|
11780
|
+
declare module "libs/reach/feature/content/src/forms/InsertImagesButton" {
|
|
11781
|
+
import { FC } from 'react';
|
|
11782
|
+
interface Props {
|
|
11783
|
+
onInsert: (files: File[]) => void;
|
|
11784
|
+
accept?: string;
|
|
11785
|
+
captionKey?: string;
|
|
11786
|
+
descriptionKey?: string;
|
|
11787
|
+
}
|
|
11788
|
+
export const InsertImagesButton: FC<Props>;
|
|
11443
11789
|
}
|
|
11444
|
-
declare module "libs/reach/feature/content/src/
|
|
11445
|
-
|
|
11446
|
-
|
|
11447
|
-
|
|
11448
|
-
|
|
11449
|
-
|
|
11450
|
-
|
|
11451
|
-
|
|
11452
|
-
|
|
11453
|
-
|
|
11454
|
-
|
|
11790
|
+
declare module "libs/reach/feature/content/src/forms/DateTimePicker" {
|
|
11791
|
+
import { FC } from 'react';
|
|
11792
|
+
interface DateTimePickerProps {
|
|
11793
|
+
date: string;
|
|
11794
|
+
maxDate?: string;
|
|
11795
|
+
minDate?: string;
|
|
11796
|
+
dateValidationResourceKey?: string;
|
|
11797
|
+
timeValidationResourceKey?: string;
|
|
11798
|
+
readOnly?: boolean;
|
|
11799
|
+
onChanged: (date: string, isValid: boolean) => void;
|
|
11800
|
+
noDateResourceKey: string;
|
|
11801
|
+
selectDateResourceKey: string;
|
|
11802
|
+
dateOnly?: boolean;
|
|
11803
|
+
initialPickerDate?: string;
|
|
11804
|
+
label?: string;
|
|
11805
|
+
isRequired?: boolean;
|
|
11806
|
+
className?: string;
|
|
11807
|
+
}
|
|
11808
|
+
export const DateTimePicker: FC<DateTimePickerProps>;
|
|
11809
|
+
export default DateTimePicker;
|
|
11810
|
+
}
|
|
11811
|
+
declare module "libs/reach/feature/content/src/forms/DateRange" {
|
|
11812
|
+
import moment, { Moment } from 'moment';
|
|
11813
|
+
export enum DateRange {
|
|
11814
|
+
TwoYears = 0,
|
|
11815
|
+
OneYear = 1,
|
|
11816
|
+
SixMonths = 2,
|
|
11817
|
+
TwoMonths = 3,
|
|
11818
|
+
OneMonth = 4,
|
|
11819
|
+
SevenDays = 5,
|
|
11820
|
+
YesterDay = 6,
|
|
11821
|
+
Today = 7
|
|
11822
|
+
}
|
|
11823
|
+
export function humanizeDateRange(range: DateRange, withoutSuffix?: boolean): string;
|
|
11824
|
+
export function dateToDateRange(date: string | moment.Moment): number;
|
|
11825
|
+
export function dateRangeToDate(range: DateRange): Moment;
|
|
11826
|
+
}
|
|
11827
|
+
declare module "libs/reach/feature/content/src/forms/DateRangeSlider" {
|
|
11828
|
+
import { FC } from 'react';
|
|
11829
|
+
import { DateRange } from "libs/reach/feature/content/src/forms/DateRange";
|
|
11830
|
+
export const DateRangeSlider: FC<{
|
|
11831
|
+
value?: DateRange;
|
|
11832
|
+
onChange: (range: DateRange) => unknown;
|
|
11833
|
+
}>;
|
|
11834
|
+
}
|
|
11835
|
+
declare module "libs/reach/feature/content/src/forms/PeoplePickerDialog" {
|
|
11836
|
+
import { FC } from 'react';
|
|
11837
|
+
import { WrappedComponentProps } from 'react-intl';
|
|
11838
|
+
import { SelectionMode } from 'office-ui-fabric-react';
|
|
11839
|
+
import { Account, AccountType } from "libs/reach/util/common/src/index";
|
|
11840
|
+
interface PeoplePickerDialogProps {
|
|
11841
|
+
defaultSelectedItems: Account[];
|
|
11842
|
+
onChange: (items: Account[]) => void;
|
|
11843
|
+
onDismiss: () => void;
|
|
11844
|
+
titleResource: string;
|
|
11845
|
+
intl?: WrappedComponentProps;
|
|
11846
|
+
selectionMode?: SelectionMode;
|
|
11847
|
+
allowMailItems?: boolean;
|
|
11848
|
+
accountType: AccountType;
|
|
11849
|
+
showDialog: boolean;
|
|
11850
|
+
allowEmptyValue: boolean;
|
|
11851
|
+
includePendingInvitationUsers?: boolean;
|
|
11852
|
+
placeholderStringResourceKey?: string;
|
|
11853
|
+
inputAriaLabelResourceKey: string;
|
|
11854
|
+
}
|
|
11855
|
+
export const PeoplePickerDialog: FC<PeoplePickerDialogProps>;
|
|
11856
|
+
}
|
|
11857
|
+
declare module "libs/reach/feature/content/src/forms/index" {
|
|
11858
|
+
export * from "libs/reach/feature/content/src/forms/KeywordDialog";
|
|
11859
|
+
export * from "libs/reach/feature/content/src/forms/Textarea";
|
|
11860
|
+
export * from "libs/reach/feature/content/src/forms/InsertImagesButton";
|
|
11861
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoElementGenerator";
|
|
11862
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoWithThumbnailView";
|
|
11863
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
11864
|
+
export * from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
11865
|
+
export * from "libs/reach/feature/content/src/forms/InsertFilesButton";
|
|
11866
|
+
export * from "libs/reach/feature/content/src/forms/DateTimePicker";
|
|
11867
|
+
export * from "libs/reach/feature/content/src/forms/DateRangeSlider";
|
|
11868
|
+
export * from "libs/reach/feature/content/src/forms/DateRange";
|
|
11869
|
+
export * from "libs/reach/feature/content/src/forms/keyword-picker/KeywordPicker";
|
|
11870
|
+
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
11871
|
+
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
11455
11872
|
}
|
|
11456
11873
|
declare module "libs/reach/feature/content/src/editor/EditorListItem" {
|
|
11457
11874
|
import { FC, ReactNode } from 'react';
|
|
@@ -11548,8 +11965,8 @@ declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
|
|
|
11548
11965
|
declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
|
|
11549
11966
|
export type ShareTokenType = 'preview' | 'published';
|
|
11550
11967
|
export function useShareTokenEditorApi(): {
|
|
11551
|
-
activateShareToken: (
|
|
11552
|
-
deleteShareToken: (
|
|
11968
|
+
activateShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<string>;
|
|
11969
|
+
deleteShareToken: (itemId: string, tokenType?: ShareTokenType, relatedItemIds?: string[]) => Promise<unknown>;
|
|
11553
11970
|
};
|
|
11554
11971
|
}
|
|
11555
11972
|
declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
@@ -11560,9 +11977,9 @@ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
|
11560
11977
|
cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
|
|
11561
11978
|
uncancelEvent: (id: string) => Promise<unknown>;
|
|
11562
11979
|
unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
|
|
11563
|
-
deleteEventPermanently: (eventId: string) =>
|
|
11980
|
+
deleteEventPermanently: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11564
11981
|
saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
|
|
11565
|
-
deleteModifiedRecurrence: (eventId: string) =>
|
|
11982
|
+
deleteModifiedRecurrence: (eventId: string) => Promise<import("restful.js").MemberResponse<unknown>>;
|
|
11566
11983
|
};
|
|
11567
11984
|
}
|
|
11568
11985
|
declare module "libs/reach/feature/content/src/editor/index" {
|
|
@@ -11601,12 +12018,14 @@ declare module "libs/reach/feature/content/src/stream/StreamEventItemCard" {
|
|
|
11601
12018
|
event: EventStreamItem;
|
|
11602
12019
|
}>;
|
|
11603
12020
|
}
|
|
12021
|
+
declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
12022
|
+
import { FC } from 'react';
|
|
12023
|
+
export const GlobalSearchButton: FC<{
|
|
12024
|
+
className?: string;
|
|
12025
|
+
}>;
|
|
12026
|
+
}
|
|
11604
12027
|
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11605
12028
|
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
12029
|
export const StreamList: FC<{
|
|
11611
12030
|
emptySearchResultButton?: ReactNode;
|
|
11612
12031
|
}>;
|
|
@@ -11668,12 +12087,6 @@ declare module "libs/reach/feature/content/src/stream/index" {
|
|
|
11668
12087
|
export * from "libs/reach/feature/content/src/stream/PostStreamFilterDefinition";
|
|
11669
12088
|
export * from "libs/reach/feature/content/src/stream/usePagesStreamDataLoader";
|
|
11670
12089
|
}
|
|
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
12090
|
declare module "libs/reach/feature/content/src/search/index" {
|
|
11678
12091
|
export * from "libs/reach/feature/content/src/search/GlobalSearchButton";
|
|
11679
12092
|
}
|
|
@@ -11835,23 +12248,6 @@ declare module "apps/reach-app/src/app/admin/groups/GroupChannelsPages" {
|
|
|
11835
12248
|
import { FC } from 'react';
|
|
11836
12249
|
export const GroupsChannelsPage: FC;
|
|
11837
12250
|
}
|
|
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
12251
|
declare module "apps/reach-app/src/app/admin/groups/GroupKeywordsPage" {
|
|
11856
12252
|
import { FC } from 'react';
|
|
11857
12253
|
export const GroupKeywordsPage: FC;
|
|
@@ -12115,6 +12511,30 @@ declare module "apps/reach-app/src/app/useCustomNavigation" {
|
|
|
12115
12511
|
}) => string;
|
|
12116
12512
|
};
|
|
12117
12513
|
}
|
|
12514
|
+
declare module "apps/reach-app/src/app/analytics/useSessionStorage" {
|
|
12515
|
+
import { Dispatch } from 'react';
|
|
12516
|
+
export const useSessionStorage: (key: string, defaultValue?: string) => [string, Dispatch<string>];
|
|
12517
|
+
}
|
|
12518
|
+
declare module "apps/reach-app/src/app/analytics/DashboardPage" {
|
|
12519
|
+
import { FC } from 'react';
|
|
12520
|
+
export interface Dashboard {
|
|
12521
|
+
name: string;
|
|
12522
|
+
title: string;
|
|
12523
|
+
url: string;
|
|
12524
|
+
}
|
|
12525
|
+
export const DashboardPage: FC<{
|
|
12526
|
+
dashboard: Dashboard;
|
|
12527
|
+
}>;
|
|
12528
|
+
}
|
|
12529
|
+
declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
|
|
12530
|
+
import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
|
|
12531
|
+
export function useDashboards(): Dashboard[];
|
|
12532
|
+
export function hasDashboards(): boolean;
|
|
12533
|
+
}
|
|
12534
|
+
declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
|
|
12535
|
+
import { FC } from 'react';
|
|
12536
|
+
export const AnalyticsSidebarMenu: FC;
|
|
12537
|
+
}
|
|
12118
12538
|
declare module "apps/reach-app/src/app/chrome/PageMenu" {
|
|
12119
12539
|
import { FC } from 'react';
|
|
12120
12540
|
interface Props {
|