@livetiles/reach-plugin-types 0.4.0-preview.353 → 0.4.0-preview.354
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 +147 -136
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2299,134 +2299,15 @@ declare module "libs/reach/util/common/src/plugins/usePluginApi" {
|
|
|
2299
2299
|
unlinkPlugin: (pluginId: string) => Promise<any>;
|
|
2300
2300
|
};
|
|
2301
2301
|
}
|
|
2302
|
-
declare module "libs/reach/util/common/src/content/GraphQLAttachmentType" {
|
|
2303
|
-
export enum GraphQLAttachmentType {
|
|
2304
|
-
Image = "IMAGE",
|
|
2305
|
-
File = "FILE",
|
|
2306
|
-
YouTubeVideo = "YOU_TUBE_VIDEO",
|
|
2307
|
-
VimeoVideo = "VIMEO_VIDEO",
|
|
2308
|
-
News = "NEWS",
|
|
2309
|
-
Event = "EVENT",
|
|
2310
|
-
Page = "PAGE",
|
|
2311
|
-
Post = "POST",
|
|
2312
|
-
Giphy = "GIPHY"
|
|
2313
|
-
}
|
|
2314
|
-
}
|
|
2315
|
-
declare module "libs/reach/util/common/src/Models" {
|
|
2316
|
-
import { BaseAttachment } from "libs/reach/util/common/src/content/Attachment";
|
|
2317
|
-
import { GraphQLAttachmentType } from "libs/reach/util/common/src/content/GraphQLAttachmentType";
|
|
2318
|
-
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2319
|
-
export interface ColorStyleDefinition {
|
|
2320
|
-
backgroundColor: string;
|
|
2321
|
-
color: string;
|
|
2322
|
-
}
|
|
2323
|
-
export interface PageNavigationNodeProps {
|
|
2324
|
-
title?: string;
|
|
2325
|
-
iconName?: string;
|
|
2326
|
-
to?: string;
|
|
2327
|
-
onClick?: () => void;
|
|
2328
|
-
isActive?: boolean;
|
|
2329
|
-
exact?: boolean;
|
|
2330
|
-
cannotBeActive?: boolean;
|
|
2331
|
-
submenuContents?: JSX.Element;
|
|
2332
|
-
submenuStyleDefinition?: ColorStyleDefinition;
|
|
2333
|
-
badgeInfo?: number | boolean;
|
|
2334
|
-
domIdentifier?: string;
|
|
2335
|
-
secondaryIconName?: string;
|
|
2336
|
-
secondaryIconTooltipResourceKey?: string;
|
|
2337
|
-
onSecondaryIconClick?: () => void;
|
|
2338
|
-
iconColor?: string;
|
|
2339
|
-
className?: string;
|
|
2340
|
-
}
|
|
2341
|
-
export interface Chat {
|
|
2342
|
-
id: string;
|
|
2343
|
-
members: (Account & ChatMember)[];
|
|
2344
|
-
memberIds: string[];
|
|
2345
|
-
groupName?: string;
|
|
2346
|
-
lastMessageInfo?: {
|
|
2347
|
-
received: string;
|
|
2348
|
-
senderId: string;
|
|
2349
|
-
content?: string;
|
|
2350
|
-
attachments: ChatAttachment[];
|
|
2351
|
-
deleteDate?: string;
|
|
2352
|
-
deleteState?: DeleteState;
|
|
2353
|
-
messageType?: ChatMessageType;
|
|
2354
|
-
messageValues?: {
|
|
2355
|
-
groupName?: string;
|
|
2356
|
-
userId?: string;
|
|
2357
|
-
};
|
|
2358
|
-
};
|
|
2359
|
-
messages: ChatMessage[];
|
|
2360
|
-
hasNewMessages: boolean;
|
|
2361
|
-
fileAccessToken: string;
|
|
2362
|
-
}
|
|
2363
|
-
export enum DeleteState {
|
|
2364
|
-
NotDeleted = "NOT_DELETED",
|
|
2365
|
-
RecycleBin = "RECYCLE_BIN",
|
|
2366
|
-
Deleted = "DELETED"
|
|
2367
|
-
}
|
|
2368
|
-
export enum ChatMessageType {
|
|
2369
|
-
Default = "DEFAULT",
|
|
2370
|
-
GroupNameChange = "GROUP_NAME_CHANGE",
|
|
2371
|
-
UserLeftGroup = "USER_LEFT_GROUP"
|
|
2372
|
-
}
|
|
2373
|
-
export enum MemberStatus {
|
|
2374
|
-
Normal = "NORMAL",
|
|
2375
|
-
LeftGroupChat = "LEFT_GROUP_CHAT",
|
|
2376
|
-
LeftOneToOneChat = "LEFT_ONE_TO_ONE_CHAT"
|
|
2377
|
-
}
|
|
2378
|
-
export interface ChatMember {
|
|
2379
|
-
id?: string;
|
|
2380
|
-
status?: MemberStatus;
|
|
2381
|
-
joinDate?: string;
|
|
2382
|
-
leftDate?: string;
|
|
2383
|
-
}
|
|
2384
|
-
export interface ChatMessage {
|
|
2385
|
-
itemId: string;
|
|
2386
|
-
content: string;
|
|
2387
|
-
senderId?: string;
|
|
2388
|
-
chatId?: string;
|
|
2389
|
-
received?: string;
|
|
2390
|
-
attachments?: ChatAttachment[];
|
|
2391
|
-
attachmentContainerId?: string;
|
|
2392
|
-
fileAccessToken?: string;
|
|
2393
|
-
deleteDate?: string;
|
|
2394
|
-
deleteState?: DeleteState;
|
|
2395
|
-
modifiedDate?: string;
|
|
2396
|
-
chat?: Chat;
|
|
2397
|
-
messageType?: ChatMessageType;
|
|
2398
|
-
messageValues?: {
|
|
2399
|
-
groupName?: string;
|
|
2400
|
-
};
|
|
2401
|
-
}
|
|
2402
|
-
export interface ChatIsTypingInfo {
|
|
2403
|
-
sender: Account;
|
|
2404
|
-
chatId: string;
|
|
2405
|
-
sentOn: string;
|
|
2406
|
-
}
|
|
2407
|
-
export interface ChatView {
|
|
2408
|
-
chatId: string;
|
|
2409
|
-
timestamp: Date;
|
|
2410
|
-
isActive: boolean;
|
|
2411
|
-
}
|
|
2412
|
-
export interface ChatAttachment extends BaseAttachment {
|
|
2413
|
-
type: GraphQLAttachmentType;
|
|
2414
|
-
}
|
|
2415
|
-
}
|
|
2416
2302
|
declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
2417
2303
|
import { PluginExtension, WebPluginDefinition } from "libs/reach/util/common/src/user/Subscription";
|
|
2418
|
-
import { PageNavigationNodeProps } from "libs/reach/util/common/src/Models";
|
|
2419
2304
|
export enum ExtensionArea {
|
|
2420
2305
|
global = "Global",
|
|
2421
2306
|
page = "Page",
|
|
2422
2307
|
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
2423
2308
|
eventDetailViewSection = "EventDetailViewSection"
|
|
2424
2309
|
}
|
|
2425
|
-
export
|
|
2426
|
-
navigationNodeProps?: PageNavigationNodeProps;
|
|
2427
|
-
renderNavigationNode?: (navigationNodeProps: PageNavigationNodeProps) => JSX.Element;
|
|
2428
|
-
}
|
|
2429
|
-
export type PluginProps = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
2310
|
+
export type PluginAndExtension = Omit<WebPluginDefinition, 'extensions'> & PluginExtension;
|
|
2430
2311
|
type DevPlugin = {
|
|
2431
2312
|
pluginId: string;
|
|
2432
2313
|
port: number;
|
|
@@ -2434,15 +2315,18 @@ declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
|
|
|
2434
2315
|
linkPlugin?: boolean;
|
|
2435
2316
|
};
|
|
2436
2317
|
export function usePlugins(): WebPluginDefinition[];
|
|
2437
|
-
export function usePluginExtensions(area?: ExtensionArea):
|
|
2318
|
+
export function usePluginExtensions(area?: ExtensionArea): PluginAndExtension[];
|
|
2438
2319
|
export function removeInjectedRemotePlugin(pluginId: string): void;
|
|
2439
2320
|
export function useInjectedRemotePlugins(): DevPlugin[];
|
|
2440
2321
|
export function useRemotePlugins(): WebPluginDefinition[];
|
|
2441
2322
|
}
|
|
2442
2323
|
declare module "libs/reach/util/common/src/plugins/PluginWrapper" {
|
|
2443
2324
|
import { FC } from 'react';
|
|
2444
|
-
import {
|
|
2445
|
-
export const PluginWrapper: FC<
|
|
2325
|
+
import { PluginAndExtension } from "libs/reach/util/common/src/plugins/usePluginExtensions";
|
|
2326
|
+
export const PluginWrapper: FC<PluginAndExtension & {
|
|
2327
|
+
navigationNodeProps?: any;
|
|
2328
|
+
renderNavigationNode?: (navigationNodeProps: any) => JSX.Element;
|
|
2329
|
+
}>;
|
|
2446
2330
|
}
|
|
2447
2331
|
declare module "libs/reach/util/common/src/plugins/Plugins" {
|
|
2448
2332
|
import { FC } from 'react';
|
|
@@ -2594,6 +2478,19 @@ declare module "libs/reach/util/common/src/theme/index" {
|
|
|
2594
2478
|
export * from "libs/reach/util/common/src/theme/ThemeService";
|
|
2595
2479
|
export * from "libs/reach/util/common/src/theme/ColorGenerator";
|
|
2596
2480
|
}
|
|
2481
|
+
declare module "libs/reach/util/common/src/content/GraphQLAttachmentType" {
|
|
2482
|
+
export enum GraphQLAttachmentType {
|
|
2483
|
+
Image = "IMAGE",
|
|
2484
|
+
File = "FILE",
|
|
2485
|
+
YouTubeVideo = "YOU_TUBE_VIDEO",
|
|
2486
|
+
VimeoVideo = "VIMEO_VIDEO",
|
|
2487
|
+
News = "NEWS",
|
|
2488
|
+
Event = "EVENT",
|
|
2489
|
+
Page = "PAGE",
|
|
2490
|
+
Post = "POST",
|
|
2491
|
+
Giphy = "GIPHY"
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2597
2494
|
declare module "libs/reach/util/common/src/content/EventItem" {
|
|
2598
2495
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2599
2496
|
import { PollResult } from "libs/reach/util/common/src/content/BaseItem";
|
|
@@ -3059,6 +2956,85 @@ declare module "libs/reach/util/common/src/MainContentPanelContext" {
|
|
|
3059
2956
|
}
|
|
3060
2957
|
export const MainContentPanelContext: import("react").Context<MainPanelContextType>;
|
|
3061
2958
|
}
|
|
2959
|
+
declare module "libs/reach/util/common/src/Models" {
|
|
2960
|
+
import { BaseAttachment } from "libs/reach/util/common/src/content/Attachment";
|
|
2961
|
+
import { GraphQLAttachmentType } from "libs/reach/util/common/src/content/GraphQLAttachmentType";
|
|
2962
|
+
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
2963
|
+
export interface Chat {
|
|
2964
|
+
id: string;
|
|
2965
|
+
members: (Account & ChatMember)[];
|
|
2966
|
+
memberIds: string[];
|
|
2967
|
+
groupName?: string;
|
|
2968
|
+
lastMessageInfo?: {
|
|
2969
|
+
received: string;
|
|
2970
|
+
senderId: string;
|
|
2971
|
+
content?: string;
|
|
2972
|
+
attachments: ChatAttachment[];
|
|
2973
|
+
deleteDate?: string;
|
|
2974
|
+
deleteState?: DeleteState;
|
|
2975
|
+
messageType?: ChatMessageType;
|
|
2976
|
+
messageValues?: {
|
|
2977
|
+
groupName?: string;
|
|
2978
|
+
userId?: string;
|
|
2979
|
+
};
|
|
2980
|
+
};
|
|
2981
|
+
messages: ChatMessage[];
|
|
2982
|
+
hasNewMessages: boolean;
|
|
2983
|
+
fileAccessToken: string;
|
|
2984
|
+
}
|
|
2985
|
+
export enum DeleteState {
|
|
2986
|
+
NotDeleted = "NOT_DELETED",
|
|
2987
|
+
RecycleBin = "RECYCLE_BIN",
|
|
2988
|
+
Deleted = "DELETED"
|
|
2989
|
+
}
|
|
2990
|
+
export enum ChatMessageType {
|
|
2991
|
+
Default = "DEFAULT",
|
|
2992
|
+
GroupNameChange = "GROUP_NAME_CHANGE",
|
|
2993
|
+
UserLeftGroup = "USER_LEFT_GROUP"
|
|
2994
|
+
}
|
|
2995
|
+
export enum MemberStatus {
|
|
2996
|
+
Normal = "NORMAL",
|
|
2997
|
+
LeftGroupChat = "LEFT_GROUP_CHAT",
|
|
2998
|
+
LeftOneToOneChat = "LEFT_ONE_TO_ONE_CHAT"
|
|
2999
|
+
}
|
|
3000
|
+
export interface ChatMember {
|
|
3001
|
+
id?: string;
|
|
3002
|
+
status?: MemberStatus;
|
|
3003
|
+
joinDate?: string;
|
|
3004
|
+
leftDate?: string;
|
|
3005
|
+
}
|
|
3006
|
+
export interface ChatMessage {
|
|
3007
|
+
itemId: string;
|
|
3008
|
+
content: string;
|
|
3009
|
+
senderId?: string;
|
|
3010
|
+
chatId?: string;
|
|
3011
|
+
received?: string;
|
|
3012
|
+
attachments?: ChatAttachment[];
|
|
3013
|
+
attachmentContainerId?: string;
|
|
3014
|
+
fileAccessToken?: string;
|
|
3015
|
+
deleteDate?: string;
|
|
3016
|
+
deleteState?: DeleteState;
|
|
3017
|
+
modifiedDate?: string;
|
|
3018
|
+
chat?: Chat;
|
|
3019
|
+
messageType?: ChatMessageType;
|
|
3020
|
+
messageValues?: {
|
|
3021
|
+
groupName?: string;
|
|
3022
|
+
};
|
|
3023
|
+
}
|
|
3024
|
+
export interface ChatIsTypingInfo {
|
|
3025
|
+
sender: Account;
|
|
3026
|
+
chatId: string;
|
|
3027
|
+
sentOn: string;
|
|
3028
|
+
}
|
|
3029
|
+
export interface ChatView {
|
|
3030
|
+
chatId: string;
|
|
3031
|
+
timestamp: Date;
|
|
3032
|
+
isActive: boolean;
|
|
3033
|
+
}
|
|
3034
|
+
export interface ChatAttachment extends BaseAttachment {
|
|
3035
|
+
type: GraphQLAttachmentType;
|
|
3036
|
+
}
|
|
3037
|
+
}
|
|
3062
3038
|
declare module "libs/reach/util/common/src/PagingService" {
|
|
3063
3039
|
import { Observable } from 'rxjs';
|
|
3064
3040
|
export const onPageScroll: Observable<number>;
|
|
@@ -3245,7 +3221,7 @@ declare module "libs/reach/ui/common/src/PeoplePicker" {
|
|
|
3245
3221
|
export const PeoplePicker: FC<Props>;
|
|
3246
3222
|
}
|
|
3247
3223
|
declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
3248
|
-
import { Account, AccountType,
|
|
3224
|
+
import { Account, AccountType, useCurrentUser, useNotificationContext, usePluginSettings, usePluginStorage, useReachApiEndPoints, useSubscriptionHandlePathBuilder, useTheme } from "libs/reach/util/common/src/index";
|
|
3249
3225
|
import { LinkContext, ResourceContext } from "libs/reach/util/context/src/index";
|
|
3250
3226
|
import { useAuthenticationContext } from "libs/shared/util/authentication/src/index";
|
|
3251
3227
|
import { createId, logger } from "libs/shared/util/common/src/index";
|
|
@@ -3259,7 +3235,7 @@ declare module "libs/reach/ui/common/src/plugins/reach-core" {
|
|
|
3259
3235
|
import { PeoplePicker } from "libs/reach/ui/common/src/PeoplePicker";
|
|
3260
3236
|
import { useAccountApi } from "libs/reach/util/common/src/index";
|
|
3261
3237
|
export { useCurrentUser, useAccountApi, useAuthenticationContext, useEnvironmentConfig, useNotificationContext, usePromise, LinkContext, TextLink, logger, createId, ResourceContext, usePluginSettings, usePluginStorage, useReachApiEndPoints, AccountType, PeoplePicker, GutterToggle, EditorSettingsDialogWithFixedWidth as EditorSettingsDialog, Spinner, SelectionMode, EditorHighlight, useTheme, useSubscriptionHandlePathBuilder, };
|
|
3262
|
-
export type { Account
|
|
3238
|
+
export type { Account };
|
|
3263
3239
|
}
|
|
3264
3240
|
declare module "libs/reach/ui/common/src/content-keyword-utils" {
|
|
3265
3241
|
import { CurrentUser, Keyword, KeywordGroup, KeywordsByGroupId } from "libs/reach/util/common/src/index";
|
|
@@ -3628,8 +3604,10 @@ declare module "libs/reach/ui/common/src/common/KeywordTitle" {
|
|
|
3628
3604
|
groupName?: string;
|
|
3629
3605
|
groupId?: string;
|
|
3630
3606
|
keywordName?: string;
|
|
3607
|
+
keywordId?: string;
|
|
3631
3608
|
language?: string;
|
|
3632
3609
|
underlined?: boolean;
|
|
3610
|
+
onClick?: (keyword: string) => unknown;
|
|
3633
3611
|
}
|
|
3634
3612
|
export const KeywordTitle: FC<Props>;
|
|
3635
3613
|
export const GridKeywordTitle: FC<{
|
|
@@ -3940,6 +3918,7 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelList" {
|
|
|
3940
3918
|
language: string;
|
|
3941
3919
|
channelStyleDefinition?: ChannelStyleDefinition;
|
|
3942
3920
|
visibleChannelsCount?: number;
|
|
3921
|
+
onChannelClick?: (channel: string) => unknown;
|
|
3943
3922
|
className?: string;
|
|
3944
3923
|
}>;
|
|
3945
3924
|
}
|
|
@@ -3971,6 +3950,7 @@ declare module "libs/reach/ui/common/src/common/channels/ClickableChannelTitles"
|
|
|
3971
3950
|
buildChannelFilterUrl?: (channelName: string) => string;
|
|
3972
3951
|
language?: string;
|
|
3973
3952
|
channelBackgroundColor?: string;
|
|
3953
|
+
onClick?: (channel: string) => unknown;
|
|
3974
3954
|
className?: string;
|
|
3975
3955
|
}>;
|
|
3976
3956
|
}
|
|
@@ -6053,19 +6033,22 @@ declare module "apps/reach-app/src/app/chrome/BaseSidebarItem" {
|
|
|
6053
6033
|
}
|
|
6054
6034
|
declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
6055
6035
|
import { FC } from 'react';
|
|
6056
|
-
|
|
6036
|
+
export interface StyleDefinition {
|
|
6037
|
+
backgroundColor: string;
|
|
6038
|
+
color: string;
|
|
6039
|
+
}
|
|
6057
6040
|
export const SidebarItemSection: FC<{
|
|
6058
|
-
styleDefinition?:
|
|
6041
|
+
styleDefinition?: StyleDefinition;
|
|
6059
6042
|
}>;
|
|
6060
6043
|
}
|
|
6061
6044
|
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
6062
6045
|
import { FC, ReactNode } from 'react';
|
|
6063
6046
|
import { PrimitiveType } from 'intl-messageformat';
|
|
6064
6047
|
import './SidebarItem.scss';
|
|
6048
|
+
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
6065
6049
|
import { LocationDescriptor } from 'history';
|
|
6066
|
-
import { ColorStyleDefinition } from "libs/reach/util/common/src/index";
|
|
6067
6050
|
interface CommonSidebarItemProps {
|
|
6068
|
-
title?:
|
|
6051
|
+
title?: any;
|
|
6069
6052
|
titleResource?: string;
|
|
6070
6053
|
icon?: ReactNode;
|
|
6071
6054
|
iconName?: string;
|
|
@@ -6077,13 +6060,14 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
6077
6060
|
reverse?: boolean;
|
|
6078
6061
|
notHighlightable?: boolean;
|
|
6079
6062
|
onClick?: () => void;
|
|
6063
|
+
children?: any;
|
|
6080
6064
|
className?: string;
|
|
6081
6065
|
isActive?: boolean;
|
|
6082
6066
|
activeClassName?: string;
|
|
6083
6067
|
readOnly?: boolean;
|
|
6084
6068
|
submenu?: JSX.Element;
|
|
6085
6069
|
submenuClassName?: string;
|
|
6086
|
-
submenuStyleDefinition?:
|
|
6070
|
+
submenuStyleDefinition?: StyleDefinition;
|
|
6087
6071
|
badgeInfo?: number | boolean;
|
|
6088
6072
|
domIdentifier?: string;
|
|
6089
6073
|
}
|
|
@@ -6372,7 +6356,6 @@ declare module "libs/reach/feature/content/src/comments/FollowComments" {
|
|
|
6372
6356
|
declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
6373
6357
|
import { ReactNode } from 'react';
|
|
6374
6358
|
import { Account } from "libs/reach/util/common/src/index";
|
|
6375
|
-
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
6376
6359
|
export interface UserSuggestion {
|
|
6377
6360
|
id: string;
|
|
6378
6361
|
upn: string;
|
|
@@ -6392,13 +6375,16 @@ declare module "libs/reach/feature/content/src/comments/CommentInput" {
|
|
|
6392
6375
|
onCtrlEnter?: () => unknown;
|
|
6393
6376
|
onChange?: (value: string) => void;
|
|
6394
6377
|
onFocus?: () => void;
|
|
6395
|
-
buttons?:
|
|
6378
|
+
buttons?: {
|
|
6379
|
+
leftSide?: ReactNode;
|
|
6380
|
+
rightSide?: ReactNode;
|
|
6381
|
+
};
|
|
6396
6382
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
6397
|
-
inputTheme?: CommentInputTheme;
|
|
6398
6383
|
placeHolderStringResourceKey?: string;
|
|
6399
6384
|
placeHolderStringResourceValues?: {
|
|
6400
6385
|
[key: string]: string | number | boolean | Date;
|
|
6401
6386
|
};
|
|
6387
|
+
disableBoxShadow?: boolean;
|
|
6402
6388
|
}
|
|
6403
6389
|
export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
6404
6390
|
}
|
|
@@ -6970,6 +6956,7 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
|
|
|
6970
6956
|
filterBaseUrl?: string;
|
|
6971
6957
|
className?: string;
|
|
6972
6958
|
useGridKeywordTitle?: boolean;
|
|
6959
|
+
onClick?: (keyword: string) => unknown;
|
|
6973
6960
|
}>, import("styled-components").DefaultTheme, {}, never>;
|
|
6974
6961
|
}
|
|
6975
6962
|
declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
@@ -7716,6 +7703,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7716
7703
|
buttons?: ReactNode;
|
|
7717
7704
|
openTargetInNewWindow?: boolean;
|
|
7718
7705
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7706
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7707
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
7719
7708
|
styleDefinition?: StyleDefinition;
|
|
7720
7709
|
readOnly?: boolean;
|
|
7721
7710
|
className?: string;
|
|
@@ -7849,6 +7838,7 @@ declare module "libs/reach/feature/content/src/comments/CreateComment" {
|
|
|
7849
7838
|
defaultKeywords?: Keyword[];
|
|
7850
7839
|
mandatoryKeywords?: Keyword[];
|
|
7851
7840
|
};
|
|
7841
|
+
disableBoxShadow?: boolean;
|
|
7852
7842
|
}
|
|
7853
7843
|
interface Props extends BaseProps {
|
|
7854
7844
|
allowAttachments?: boolean;
|
|
@@ -7939,7 +7929,6 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7939
7929
|
deletedFileUrls?: string[];
|
|
7940
7930
|
onCancel?: () => void;
|
|
7941
7931
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
7942
|
-
inputTheme?: CommentInputTheme;
|
|
7943
7932
|
onAttachmentAdded?: (attachments: ClientAttachment[]) => void;
|
|
7944
7933
|
onDeleteAttachment?: (attachment: ClientAttachment) => void;
|
|
7945
7934
|
}
|
|
@@ -7957,6 +7946,7 @@ declare module "libs/reach/feature/content/src/comments/EditComment" {
|
|
|
7957
7946
|
allowSaveWithoutContent?: boolean;
|
|
7958
7947
|
saveOnEnter?: boolean;
|
|
7959
7948
|
saveOnCtrlEnter?: boolean;
|
|
7949
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7960
7950
|
}
|
|
7961
7951
|
export const EditComment: FC<Props>;
|
|
7962
7952
|
}
|
|
@@ -7978,6 +7968,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7978
7968
|
import { ClientAttachment } from "libs/reach/feature/content/src/comments/RichCommentInput";
|
|
7979
7969
|
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
7980
7970
|
import { Keyword } from "libs/reach/util/common/src/index";
|
|
7971
|
+
import { CommentInputTheme } from "libs/reach/ui/common/src/index";
|
|
7981
7972
|
interface Props extends CreateCommentProps {
|
|
7982
7973
|
onSave: (newContent: string, attachments?: Attachment[], keywords?: {
|
|
7983
7974
|
[key: string]: Keyword[];
|
|
@@ -7993,6 +7984,7 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
7993
7984
|
allowSaveWithoutContent?: boolean;
|
|
7994
7985
|
saveOnEnter?: boolean;
|
|
7995
7986
|
saveOnCtrlEnter?: boolean;
|
|
7987
|
+
attachmentPreviewTheme?: CommentInputTheme;
|
|
7996
7988
|
}
|
|
7997
7989
|
export const EditCommentWithAttachments: FC<Props>;
|
|
7998
7990
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
@@ -11196,8 +11188,27 @@ declare module "apps/reach-app/src/app/EnforcedSubscriptionContextProvider" {
|
|
|
11196
11188
|
}
|
|
11197
11189
|
declare module "apps/reach-app/src/app/chrome/PageMenuActionItem" {
|
|
11198
11190
|
import { FC } from 'react';
|
|
11199
|
-
import {
|
|
11200
|
-
export
|
|
11191
|
+
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
11192
|
+
export interface PageAction {
|
|
11193
|
+
key?: string | number;
|
|
11194
|
+
title?: string;
|
|
11195
|
+
iconName?: string;
|
|
11196
|
+
to?: string;
|
|
11197
|
+
onClick?: () => void;
|
|
11198
|
+
isActive?: boolean;
|
|
11199
|
+
exact?: boolean;
|
|
11200
|
+
cannotBeActive?: boolean;
|
|
11201
|
+
submenuContents?: JSX.Element;
|
|
11202
|
+
submenuStyleDefinition?: StyleDefinition;
|
|
11203
|
+
badgeInfo?: number | boolean;
|
|
11204
|
+
domIdentifier?: string;
|
|
11205
|
+
secondaryIconName?: string;
|
|
11206
|
+
secondaryIconTooltipResourceKey?: string;
|
|
11207
|
+
onSecondaryIconClick?: () => void;
|
|
11208
|
+
iconColor?: string;
|
|
11209
|
+
className?: string;
|
|
11210
|
+
}
|
|
11211
|
+
export const PageMenuActionItem: FC<PageAction>;
|
|
11201
11212
|
}
|
|
11202
11213
|
declare module "apps/reach-app/src/app/admin/ManagePluginsPage" {
|
|
11203
11214
|
import { FC } from 'react';
|