@livetiles/reach-plugin-types 0.4.44 → 0.4.46

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +368 -352
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -3808,7 +3808,7 @@ declare module "libs/reach/ui/common/src/Tooltip" {
3808
3808
  text?: string | JSX.Element;
3809
3809
  resourceKey?: string;
3810
3810
  values?: {
3811
- [key: string]: string | number | boolean | Date;
3811
+ [key: string]: string | number | boolean | Date | any;
3812
3812
  };
3813
3813
  width?: number;
3814
3814
  onClick?: () => unknown;
@@ -6904,9 +6904,6 @@ declare module "libs/reach/feature/content/src/comments/ContentDisplay" {
6904
6904
  children?: (content: string, index: number) => JSX.Element;
6905
6905
  }>;
6906
6906
  }
6907
- declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
6908
- export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
6909
- }
6910
6907
  declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6911
6908
  import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
6912
6909
  export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
@@ -6953,6 +6950,13 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
6953
6950
  likeCount: number;
6954
6951
  static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
6955
6952
  }
6953
+ export class AutoFollowItemTriggerAction implements AppTriggerAction {
6954
+ static type: string;
6955
+ type: string;
6956
+ recurrenceSeriesId: string;
6957
+ isFollowed: boolean;
6958
+ static create(recurrenceSeriesId: string, isFollowed: boolean): AutoFollowItemTriggerAction;
6959
+ }
6956
6960
  export class DeletedItemsTriggerAction implements AppTriggerAction {
6957
6961
  static type: string;
6958
6962
  type: string;
@@ -7018,103 +7022,27 @@ declare module "libs/reach/feature/content/src/comments/useCommentApi" {
7018
7022
  onCommentCreated$: import("rxjs").Observable<string>;
7019
7023
  };
7020
7024
  }
7021
- declare module "libs/reach/feature/content/src/comments/FollowComments" {
7022
- import { FC } from 'react';
7023
- import { ConversationScope } from "libs/reach/util/common/src/index";
7024
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7025
- interface Props {
7026
- type: ItemResourceTypes;
7027
- itemId: string;
7028
- className?: string;
7029
- scope: ConversationScope;
7030
- hideProfileUrl?: boolean;
7031
- }
7032
- export const FollowComments: FC<Props>;
7025
+ declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
7026
+ export const NeutralCheckBox: import("styled-components").StyledComponent<import("react").FunctionComponent<import("office-ui-fabric-react").ICheckboxProps>, import("styled-components").DefaultTheme, {}, never>;
7033
7027
  }
7034
- declare module "libs/reach/feature/content/src/comments/CommentInput" {
7035
- import { ReactNode } from 'react';
7036
- import { Account } from "libs/reach/util/common/src/index";
7037
- export interface UserSuggestion {
7038
- id: string;
7039
- upn: string;
7040
- displayName: string;
7041
- display: string;
7042
- }
7043
- export interface SuggestionArgs {
7044
- searchText: string;
7045
- updateSuggestions: (suggestions: UserSuggestion[]) => any;
7046
- }
7047
- export interface CommentInputProps {
7048
- className?: string;
7049
- content: string;
7028
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
7029
+ import { FC } from 'react';
7030
+ export const ConfirmationBox: FC<{
7050
7031
  disabled?: boolean;
7051
- autoFocus?: boolean;
7052
- onEnter?: () => void;
7053
- onCtrlEnter?: () => unknown;
7054
- onChange?: (value: string) => void;
7055
- onFocus?: () => void;
7056
- additionalInputControl?: ReactNode;
7057
- buttons?: {
7058
- leftSide?: ReactNode;
7059
- rightSide?: ReactNode;
7060
- };
7061
- mentionSearchHandler: (searchText: string) => Promise<Account[]>;
7062
- placeHolderStringResourceKey?: string;
7063
- placeHolderStringResourceValues?: {
7064
- [key: string]: string | number | boolean | Date;
7065
- };
7066
- disableBoxShadow?: boolean;
7067
- ariaLabel?: string;
7068
- }
7069
- export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
7032
+ onChange?: (value: boolean) => void;
7033
+ checked: boolean;
7034
+ }>;
7070
7035
  }
7071
- declare module "libs/reach/feature/content/src/comments/DropInfo" {
7072
- import { FC } from 'react';
7073
- export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
7036
+ declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
7037
+ import { FC, ReactNode } from 'react';
7038
+ export const GutterMarkerIcon: FC<{
7039
+ iconName: string;
7040
+ children: ReactNode;
7074
7041
  isActive: boolean;
7075
- }, never>;
7076
- export const DropInfo: FC;
7077
- }
7078
- declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
7079
- import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
7080
- export interface KalturaProperties {
7081
- sp?: string;
7082
- uiconfId?: string;
7083
- partnerId?: string;
7084
- entryId?: string;
7085
- }
7086
- export class VideoUrlParser {
7087
- private url;
7088
- private static ytRegex;
7089
- private static vimeoRegex;
7090
- private static microsoftStreamRegex;
7091
- private static vimeoDirectLinkRegex;
7092
- private static vimeoRedirectLinkRegex;
7093
- private static kalturaRegex;
7094
- readonly source: VideoSource | null;
7095
- readonly id: string | null;
7096
- readonly isDirectVideoUrl: boolean;
7097
- readonly videoProperties: any;
7098
- readonly thumbnailUrl: string;
7099
- constructor(url: string);
7100
- isValid(features: FeatureSet): boolean;
7101
- }
7102
- export function getVideoSources(features: FeatureSet): any[];
7103
- export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
7104
- export function getAllVideoSources(features: FeatureSet): any[];
7105
- }
7106
- declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
7107
- import { AttachmentType } from "libs/reach/util/common/src/index";
7108
- export function getAllVideosFromString(content: string): Generator<{
7109
- url: string;
7110
- type: AttachmentType;
7111
- }, void, unknown>;
7112
- export function getEmbeddedObjectsFromString(content: string): Generator<{
7113
- url: string;
7114
- subscriptionIdentifier: string;
7115
- type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
7116
- id: string;
7117
- }, void, unknown>;
7042
+ color: string;
7043
+ tooltipResourceKey?: string;
7044
+ className?: string;
7045
+ }>;
7118
7046
  }
7119
7047
  declare module "libs/reach/feature/content/src/filter/OwnerFilterDefinition" {
7120
7048
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
@@ -7168,6 +7096,49 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
7168
7096
  And = "AND"
7169
7097
  }
7170
7098
  }
7099
+ declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
7100
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7101
+ export interface AuthorFilterDefinition extends IndexableFilterDefinition {
7102
+ author?: string;
7103
+ }
7104
+ }
7105
+ declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
7106
+ import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7107
+ export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
7108
+ channels?: FilterWithLogicalOperator;
7109
+ }
7110
+ }
7111
+ declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
7112
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7113
+ import { WorkflowStatus } from "libs/reach/util/common/src/index";
7114
+ export interface StateFilterDefinition extends IndexableFilterDefinition {
7115
+ state?: WorkflowStatus;
7116
+ }
7117
+ }
7118
+ declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
7119
+ import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
7120
+ import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7121
+ import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
7122
+ import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
7123
+ export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
7124
+ groupId?: string;
7125
+ bookmarksOnly?: boolean;
7126
+ unreadOnly?: boolean;
7127
+ includeExpired?: boolean;
7128
+ }
7129
+ }
7130
+ declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
7131
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7132
+ export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
7133
+ afterDate?: string;
7134
+ }
7135
+ }
7136
+ declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
7137
+ import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7138
+ export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
7139
+ contacts?: string[];
7140
+ }
7141
+ }
7171
7142
  declare module "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder" {
7172
7143
  import { SortDirection } from "libs/reach/util/common/src/index";
7173
7144
  export class SortFieldsDefinitionBuilder<T extends string> {
@@ -7183,18 +7154,6 @@ declare module "libs/reach/feature/content/src/filter/EventsStartDateFilterDefin
7183
7154
  startsBefore?: string;
7184
7155
  }
7185
7156
  }
7186
- declare module "libs/reach/feature/content/src/filter/EventContactsFilterDefinition" {
7187
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7188
- export interface EventContactsFilterDefinition extends IndexableFilterDefinition {
7189
- contacts?: string[];
7190
- }
7191
- }
7192
- declare module "libs/reach/feature/content/src/filter/ChannelsFilterDefinition" {
7193
- import { FilterWithLogicalOperator, IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7194
- export interface ChannelsFilterDefinition extends IndexableFilterDefinition {
7195
- channels?: FilterWithLogicalOperator;
7196
- }
7197
- }
7198
7157
  declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
7199
7158
  import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7200
7159
  import { SortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
@@ -7211,18 +7170,6 @@ declare module "libs/reach/feature/content/src/filter/EventFilterDefinition" {
7211
7170
  }
7212
7171
  export const eventsPastViewSortDefinition: EventSortFieldsDefinitionBuilder;
7213
7172
  }
7214
- declare module "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition" {
7215
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7216
- export interface AfterPublishingDateFilterDefinition extends IndexableFilterDefinition {
7217
- afterDate?: string;
7218
- }
7219
- }
7220
- declare module "libs/reach/feature/content/src/filter/AuthorFilterDefinition" {
7221
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7222
- export interface AuthorFilterDefinition extends IndexableFilterDefinition {
7223
- author?: string;
7224
- }
7225
- }
7226
7173
  declare module "libs/reach/feature/content/src/filter/FilteringProps" {
7227
7174
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7228
7175
  export interface FilteringProps {
@@ -7232,25 +7179,6 @@ declare module "libs/reach/feature/content/src/filter/FilteringProps" {
7232
7179
  isFilterActive?: boolean;
7233
7180
  }
7234
7181
  }
7235
- declare module "libs/reach/feature/content/src/filter/StateFilterDefinition" {
7236
- import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7237
- import { WorkflowStatus } from "libs/reach/util/common/src/index";
7238
- export interface StateFilterDefinition extends IndexableFilterDefinition {
7239
- state?: WorkflowStatus;
7240
- }
7241
- }
7242
- declare module "libs/reach/feature/content/src/filter/NewsFilterDefinition" {
7243
- import { AuthorFilterDefinition } from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
7244
- import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7245
- import { ChannelsFilterDefinition } from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
7246
- import { StateFilterDefinition } from "libs/reach/feature/content/src/filter/StateFilterDefinition";
7247
- export interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
7248
- groupId?: string;
7249
- bookmarksOnly?: boolean;
7250
- unreadOnly?: boolean;
7251
- includeExpired?: boolean;
7252
- }
7253
- }
7254
7182
  declare module "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition" {
7255
7183
  import { IndexableFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7256
7184
  export enum ItemTypeFilterFlag {
@@ -7298,39 +7226,297 @@ declare module "libs/reach/feature/content/src/filter/useFilter" {
7298
7226
  showFilterSidebar?: boolean;
7299
7227
  }
7300
7228
  }
7301
- declare module "libs/reach/feature/content/src/filter/index" {
7302
- export * from "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition";
7303
- export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
7304
- export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7305
- export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
7306
- export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
7307
- export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
7308
- export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
7309
- export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
7310
- export * from "libs/reach/feature/content/src/filter/FilteringProps";
7311
- export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
7312
- export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
7313
- export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
7314
- export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
7315
- export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
7316
- export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
7317
- export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
7318
- export * from "libs/reach/feature/content/src/filter/useFilter";
7319
- export * from "libs/reach/feature/content/src/filter/utils";
7229
+ declare module "libs/reach/feature/content/src/filter/index" {
7230
+ export * from "libs/reach/feature/content/src/filter/AfterPublishingDateFilterDefinition";
7231
+ export * from "libs/reach/feature/content/src/filter/AuthorFilterDefinition";
7232
+ export * from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7233
+ export * from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
7234
+ export * from "libs/reach/feature/content/src/filter/ChannelsFilterDefinition";
7235
+ export * from "libs/reach/feature/content/src/filter/EventContactsFilterDefinition";
7236
+ export * from "libs/reach/feature/content/src/filter/EventFilterDefinition";
7237
+ export * from "libs/reach/feature/content/src/filter/EventsStartDateFilterDefinition";
7238
+ export * from "libs/reach/feature/content/src/filter/FilteringProps";
7239
+ export * from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
7240
+ export * from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
7241
+ export * from "libs/reach/feature/content/src/filter/OwnerFilterDefinition";
7242
+ export * from "libs/reach/feature/content/src/filter/SortFieldsDefinitionBuilder";
7243
+ export * from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
7244
+ export * from "libs/reach/feature/content/src/filter/StateFilterDefinition";
7245
+ export * from "libs/reach/feature/content/src/filter/ItemTypeFilterDefinition";
7246
+ export * from "libs/reach/feature/content/src/filter/useFilter";
7247
+ export * from "libs/reach/feature/content/src/filter/utils";
7248
+ }
7249
+ declare module "libs/reach/feature/content/src/filter/utils" {
7250
+ import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
7251
+ export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
7252
+ channels?: undefined;
7253
+ } | {
7254
+ channels: string;
7255
+ };
7256
+ export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
7257
+ keywords?: undefined;
7258
+ } | {
7259
+ keywords: string;
7260
+ };
7261
+ export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
7262
+ }
7263
+ declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
7264
+ import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
7265
+ import { Observable } from 'rxjs';
7266
+ import { PaginatedList } from "libs/reach/util/common/src/index";
7267
+ import { NewsItem } from "libs/reach/util/common/src/index";
7268
+ import { Api } from 'restful.js';
7269
+ import { Storage } from "libs/reach/util/context/src/index";
7270
+ export function fetchNewsItems(path: string, cacheKey: string, api: Api, storage: Storage, paginationToken?: string, filterDefinition?: NewsFilterDefinition, isArray?: boolean): Observable<PaginatedList<NewsItem>>;
7271
+ }
7272
+ declare module "libs/reach/feature/content/src/news/NewsStatisticsSummary" {
7273
+ export default interface NewsStatisticsSummary {
7274
+ readCount: number;
7275
+ bookmarkCount: number;
7276
+ commentCount: number;
7277
+ feedbackCounts: {
7278
+ [key: string]: number;
7279
+ };
7280
+ replyCount: number;
7281
+ }
7282
+ }
7283
+ declare module "libs/reach/feature/content/src/news/NewsApiService" {
7284
+ import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
7285
+ import { Observable } from 'rxjs';
7286
+ import { PaginatedList } from "libs/reach/util/common/src/index";
7287
+ import { NewsItem } from "libs/reach/util/common/src/index";
7288
+ import { ItemStatistics } from "libs/reach/util/common/src/index";
7289
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7290
+ import { ClientFactoryInstance } from "libs/reach/util/api-factory/src/index";
7291
+ import { Storage } from "libs/reach/util/context/src/index";
7292
+ export class NewsApiService {
7293
+ private factory;
7294
+ private storage;
7295
+ private static readonly bookmarksCacheKey;
7296
+ private static readonly newsItemsCacheKey;
7297
+ private static readonly newsCacheKey;
7298
+ private static readonly allNewsCacheKey;
7299
+ private static readonly myUnreadNewsCacheKey;
7300
+ private api;
7301
+ constructor(factory: ClientFactoryInstance, subscriptionId: string, storage: Storage);
7302
+ trackExternalItem: (itemId: string, itemType: ItemResourceTypes) => Promise<unknown>;
7303
+ getAllNews: (filterDefinition?: NewsFilterDefinition, paginationToken?: string) => Observable<PaginatedList<NewsItem>>;
7304
+ getAllUnreadNews: (filterDefinition?: NewsFilterDefinition, paginationToken?: string) => Observable<PaginatedList<NewsItem>>;
7305
+ getMyNews: (filterDefinition?: NewsFilterDefinition, paginationToken?: string) => Observable<PaginatedList<NewsItem>>;
7306
+ getMyUnreadNews: (filterDefinition?: NewsFilterDefinition, paginationToken?: string) => Observable<PaginatedList<NewsItem>>;
7307
+ getBookmarks: (filterDefinition?: NewsFilterDefinition) => Observable<PaginatedList<NewsItem>>;
7308
+ private getNewsFromCache;
7309
+ get: (newsId: string) => Observable<NewsItem>;
7310
+ getImageUrlWithToken: (token: string, itemId: string, subscriptionId: string, resourceType: ItemResourceTypes, imageIdentifier: string, width: number | 'default', height?: number) => string;
7311
+ getStatistics: (newsId: string) => Promise<ItemStatistics>;
7312
+ refreshStatistics: (itemId: string, delta: Partial<ItemStatistics>) => Promise<void>;
7313
+ private static getUpdatedStatistics;
7314
+ private tryUpdateStatisticsInCache;
7315
+ getExternalItemRoute: (resourceType: ItemResourceTypes, itemId: string, accessToken: string) => string;
7316
+ }
7317
+ }
7318
+ declare module "libs/reach/feature/content/src/news/useNewsApi" {
7319
+ import { NewsApiService } from "libs/reach/feature/content/src/news/NewsApiService";
7320
+ export function useNewsApi(): NewsApiService;
7321
+ }
7322
+ declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
7323
+ import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7324
+ export default interface FeedbackSummary {
7325
+ records: FeedbackItem[];
7326
+ }
7327
+ export enum FeedbackItemType {
7328
+ comment = "comment",
7329
+ like = "like",
7330
+ confirm = "confirm",
7331
+ poll = "poll",
7332
+ eventRegistration = "eventRegistration"
7333
+ }
7334
+ export interface FeedbackItem {
7335
+ type: FeedbackItemType;
7336
+ timestamp: string;
7337
+ }
7338
+ export interface PollFeedbackItem extends FeedbackItem {
7339
+ type: FeedbackItemType.poll;
7340
+ answers: PollQuestionAnswer[];
7341
+ }
7342
+ }
7343
+ declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
7344
+ import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
7345
+ import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7346
+ import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7347
+ export const feedbackCache: {
7348
+ [newsId: string]: Promise<FeedbackSummary>;
7349
+ };
7350
+ export function useFeedbackApi(): {
7351
+ getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
7352
+ setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7353
+ unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7354
+ updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
7355
+ getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
7356
+ getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
7357
+ };
7358
+ }
7359
+ declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
7360
+ import { FC } from 'react';
7361
+ import { NewsItem } from "libs/reach/util/common/src/index";
7362
+ export const ConfirmationSection: FC<{
7363
+ item?: NewsItem;
7364
+ showDescription: boolean;
7365
+ readOnly?: boolean;
7366
+ className?: string;
7367
+ }>;
7368
+ }
7369
+ declare module "libs/reach/feature/content/src/news/NewsService" {
7370
+ import { CurrentUser } from "libs/reach/util/common/src/index";
7371
+ import { LanguageBase } from "libs/reach/util/common/src/index";
7372
+ import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
7373
+ export class NewsService {
7374
+ static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7375
+ static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7376
+ static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
7377
+ static getContentLanguages(contents: {
7378
+ [lang: string]: ContentDefinition;
7379
+ }, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
7380
+ static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7381
+ static getLanguageForContent(contents: {
7382
+ [lang: string]: ContentDefinition;
7383
+ }, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7384
+ static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
7385
+ }
7386
+ }
7387
+ declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
7388
+ import { FC } from 'react';
7389
+ import { PublishableItemContents } from "libs/reach/util/common/src/index";
7390
+ export interface TranslationItem {
7391
+ language: string;
7392
+ id: string;
7393
+ text: string;
7394
+ }
7395
+ export const PollTranslationContext: import("react").Context<{
7396
+ getTranslation: (id: string) => string;
7397
+ getAllTranslations: (id: string) => TranslationItem[];
7398
+ }>;
7399
+ export const PollTranslationContextProvider: FC<{
7400
+ contents?: PublishableItemContents;
7401
+ language: string;
7402
+ additionalTranslations?: TranslationItem[];
7403
+ }>;
7404
+ }
7405
+ declare module "libs/reach/feature/content/src/feedback/utils" {
7406
+ import { CurrentUser, FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
7407
+ export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
7408
+ export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
7409
+ export function hasDisabledCommentsNotificationSettings(user: CurrentUser): boolean;
7410
+ }
7411
+ declare module "libs/reach/feature/content/src/feedback/index" {
7412
+ export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
7413
+ export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
7414
+ export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
7415
+ export * from "libs/reach/feature/content/src/feedback/utils";
7416
+ }
7417
+ declare module "libs/reach/feature/content/src/comments/FollowComments" {
7418
+ import { FC } from 'react';
7419
+ import { ConversationScope, ItemResourceTypes } from "libs/reach/util/common/src/index";
7420
+ export interface Props {
7421
+ type: ItemResourceTypes;
7422
+ itemId: string;
7423
+ recurrenceSeriesId?: string;
7424
+ className?: string;
7425
+ scope: ConversationScope;
7426
+ hideProfileUrl?: boolean;
7427
+ onToggleFollow?: (isFollowed: boolean) => void;
7428
+ isReadOnly?: boolean;
7429
+ }
7430
+ export const FollowComments: FC<Props>;
7431
+ export const FollowCommentsNotificationWarning: FC<{
7432
+ hideProfileUrl?: boolean;
7433
+ className?: string;
7434
+ }>;
7435
+ }
7436
+ declare module "libs/reach/feature/content/src/comments/CommentInput" {
7437
+ import { ReactNode } from 'react';
7438
+ import { Account } from "libs/reach/util/common/src/index";
7439
+ export interface UserSuggestion {
7440
+ id: string;
7441
+ upn: string;
7442
+ displayName: string;
7443
+ display: string;
7444
+ }
7445
+ export interface SuggestionArgs {
7446
+ searchText: string;
7447
+ updateSuggestions: (suggestions: UserSuggestion[]) => any;
7448
+ }
7449
+ export interface CommentInputProps {
7450
+ className?: string;
7451
+ content: string;
7452
+ disabled?: boolean;
7453
+ autoFocus?: boolean;
7454
+ onEnter?: () => void;
7455
+ onCtrlEnter?: () => unknown;
7456
+ onChange?: (value: string) => void;
7457
+ onFocus?: () => void;
7458
+ additionalInputControl?: ReactNode;
7459
+ buttons?: {
7460
+ leftSide?: ReactNode;
7461
+ rightSide?: ReactNode;
7462
+ };
7463
+ mentionSearchHandler: (searchText: string) => Promise<Account[]>;
7464
+ placeHolderStringResourceKey?: string;
7465
+ placeHolderStringResourceValues?: {
7466
+ [key: string]: string | number | boolean | Date;
7467
+ };
7468
+ disableBoxShadow?: boolean;
7469
+ ariaLabel?: string;
7470
+ }
7471
+ export const CommentInput: import("react").ForwardRefExoticComponent<CommentInputProps & import("react").RefAttributes<HTMLInputElement>>;
7472
+ }
7473
+ declare module "libs/reach/feature/content/src/comments/DropInfo" {
7474
+ import { FC } from 'react';
7475
+ export const DropTargetOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
7476
+ isActive: boolean;
7477
+ }, never>;
7478
+ export const DropInfo: FC;
7479
+ }
7480
+ declare module "libs/reach/feature/content/src/forms/videos/VideoUrlParser" {
7481
+ import { FeatureSet, VideoSource } from "libs/reach/util/common/src/index";
7482
+ export interface KalturaProperties {
7483
+ sp?: string;
7484
+ uiconfId?: string;
7485
+ partnerId?: string;
7486
+ entryId?: string;
7487
+ }
7488
+ export class VideoUrlParser {
7489
+ private url;
7490
+ private static ytRegex;
7491
+ private static vimeoRegex;
7492
+ private static microsoftStreamRegex;
7493
+ private static vimeoDirectLinkRegex;
7494
+ private static vimeoRedirectLinkRegex;
7495
+ private static kalturaRegex;
7496
+ readonly source: VideoSource | null;
7497
+ readonly id: string | null;
7498
+ readonly isDirectVideoUrl: boolean;
7499
+ readonly videoProperties: any;
7500
+ readonly thumbnailUrl: string;
7501
+ constructor(url: string);
7502
+ isValid(features: FeatureSet): boolean;
7503
+ }
7504
+ export function getVideoSources(features: FeatureSet): any[];
7505
+ export function getAdditionalVideoSources(): import("@livetiles/shared/util/environment").VideoSource[];
7506
+ export function getAllVideoSources(features: FeatureSet): any[];
7320
7507
  }
7321
- declare module "libs/reach/feature/content/src/filter/utils" {
7322
- import { FilterWithLogicalOperator, LogicalOperator } from "libs/reach/feature/content/src/filter/index";
7323
- export function getCommaSeparatedChannelsString(channels: FilterWithLogicalOperator): {
7324
- channels?: undefined;
7325
- } | {
7326
- channels: string;
7327
- };
7328
- export function getCommaSeparatedKeywordsString(keywords: FilterWithLogicalOperator): {
7329
- keywords?: undefined;
7330
- } | {
7331
- keywords: string;
7332
- };
7333
- export function convertToFilterWithLogicalOperator(value: string, operator?: LogicalOperator): FilterWithLogicalOperator;
7508
+ declare module "libs/reach/feature/content/src/comments/UrlMatcher" {
7509
+ import { AttachmentType } from "libs/reach/util/common/src/index";
7510
+ export function getAllVideosFromString(content: string): Generator<{
7511
+ url: string;
7512
+ type: AttachmentType;
7513
+ }, void, unknown>;
7514
+ export function getEmbeddedObjectsFromString(content: string): Generator<{
7515
+ url: string;
7516
+ subscriptionIdentifier: string;
7517
+ type: AttachmentType.News | AttachmentType.Event | AttachmentType.Page | AttachmentType.Post;
7518
+ id: string;
7519
+ }, void, unknown>;
7334
7520
  }
7335
7521
  declare module "libs/reach/feature/content/src/events/useEventsApi" {
7336
7522
  import { EventFilterDefinition, EventSortFieldsDefinitionBuilder } from "libs/reach/feature/content/src/filter/EventFilterDefinition";
@@ -7342,65 +7528,6 @@ declare module "libs/reach/feature/content/src/events/useEventsApi" {
7342
7528
  getEventRecurrences: (eventId: string, from: string, to: string) => Promise<EventRecurrenceInfo[]>;
7343
7529
  };
7344
7530
  }
7345
- declare module "libs/reach/feature/content/src/news/fetchNewsItems" {
7346
- import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
7347
- import { Observable } from 'rxjs';
7348
- import { PaginatedList } from "libs/reach/util/common/src/index";
7349
- import { NewsItem } from "libs/reach/util/common/src/index";
7350
- import { Api } from 'restful.js';
7351
- import { Storage } from "libs/reach/util/context/src/index";
7352
- export function fetchNewsItems(path: string, cacheKey: string, api: Api, storage: Storage, paginationToken?: string, filterDefinition?: NewsFilterDefinition, isArray?: boolean): Observable<PaginatedList<NewsItem>>;
7353
- }
7354
- declare module "libs/reach/feature/content/src/news/NewsStatisticsSummary" {
7355
- export default interface NewsStatisticsSummary {
7356
- readCount: number;
7357
- bookmarkCount: number;
7358
- commentCount: number;
7359
- feedbackCounts: {
7360
- [key: string]: number;
7361
- };
7362
- replyCount: number;
7363
- }
7364
- }
7365
- declare module "libs/reach/feature/content/src/news/NewsApiService" {
7366
- import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
7367
- import { Observable } from 'rxjs';
7368
- import { PaginatedList } from "libs/reach/util/common/src/index";
7369
- import { NewsItem } from "libs/reach/util/common/src/index";
7370
- import { ItemStatistics } from "libs/reach/util/common/src/index";
7371
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
7372
- import { ClientFactoryInstance } from "libs/reach/util/api-factory/src/index";
7373
- import { Storage } from "libs/reach/util/context/src/index";
7374
- export class NewsApiService {
7375
- private factory;
7376
- private storage;
7377
- private static readonly bookmarksCacheKey;
7378
- private static readonly newsItemsCacheKey;
7379
- private static readonly newsCacheKey;
7380
- private static readonly allNewsCacheKey;
7381
- private static readonly myUnreadNewsCacheKey;
7382
- private api;
7383
- constructor(factory: ClientFactoryInstance, subscriptionId: string, storage: Storage);
7384
- trackExternalItem: (itemId: string, itemType: ItemResourceTypes) => Promise<unknown>;
7385
- getAllNews: (filterDefinition?: NewsFilterDefinition, paginationToken?: string) => Observable<PaginatedList<NewsItem>>;
7386
- getAllUnreadNews: (filterDefinition?: NewsFilterDefinition, paginationToken?: string) => Observable<PaginatedList<NewsItem>>;
7387
- getMyNews: (filterDefinition?: NewsFilterDefinition, paginationToken?: string) => Observable<PaginatedList<NewsItem>>;
7388
- getMyUnreadNews: (filterDefinition?: NewsFilterDefinition, paginationToken?: string) => Observable<PaginatedList<NewsItem>>;
7389
- getBookmarks: (filterDefinition?: NewsFilterDefinition) => Observable<PaginatedList<NewsItem>>;
7390
- private getNewsFromCache;
7391
- get: (newsId: string) => Observable<NewsItem>;
7392
- getImageUrlWithToken: (token: string, itemId: string, subscriptionId: string, resourceType: ItemResourceTypes, imageIdentifier: string, width: number | 'default', height?: number) => string;
7393
- getStatistics: (newsId: string) => Promise<ItemStatistics>;
7394
- refreshStatistics: (itemId: string, delta: Partial<ItemStatistics>) => Promise<void>;
7395
- private static getUpdatedStatistics;
7396
- private tryUpdateStatisticsInCache;
7397
- getExternalItemRoute: (resourceType: ItemResourceTypes, itemId: string, accessToken: string) => string;
7398
- }
7399
- }
7400
- declare module "libs/reach/feature/content/src/news/useNewsApi" {
7401
- import { NewsApiService } from "libs/reach/feature/content/src/news/NewsApiService";
7402
- export function useNewsApi(): NewsApiService;
7403
- }
7404
7531
  declare module "libs/reach/feature/content/src/pages/PageFilterDefinition" {
7405
7532
  import { PublishableItemFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7406
7533
  import { PageType } from "libs/reach/util/common/src/index";
@@ -7460,43 +7587,6 @@ declare module "libs/reach/feature/content/src/posts/utils" {
7460
7587
  export function getPostsBaseRoute(post: Post, user: CurrentUser, baseUrl?: string, includeGroupId?: boolean): string;
7461
7588
  export function getPostsHashtagFilterRoute(post: Post, user: CurrentUser, hashtag: string): string;
7462
7589
  }
7463
- declare module "libs/reach/feature/content/src/feedback/FeedbackSummary" {
7464
- import { PollQuestionAnswer } from "libs/reach/util/common/src/index";
7465
- export default interface FeedbackSummary {
7466
- records: FeedbackItem[];
7467
- }
7468
- export enum FeedbackItemType {
7469
- comment = "comment",
7470
- like = "like",
7471
- confirm = "confirm",
7472
- poll = "poll",
7473
- eventRegistration = "eventRegistration"
7474
- }
7475
- export interface FeedbackItem {
7476
- type: FeedbackItemType;
7477
- timestamp: string;
7478
- }
7479
- export interface PollFeedbackItem extends FeedbackItem {
7480
- type: FeedbackItemType.poll;
7481
- answers: PollQuestionAnswer[];
7482
- }
7483
- }
7484
- declare module "libs/reach/feature/content/src/feedback/useFeedbackApi" {
7485
- import { Account, ItemResourceTypes, PaginatedList, PollQuestionAnswer, PollResult } from "libs/reach/util/common/src/index";
7486
- import FeedbackSummary from "libs/reach/feature/content/src/feedback/FeedbackSummary";
7487
- import { BaseFilterDefinition } from "libs/reach/feature/content/src/filter/BaseFilterDefinition";
7488
- export const feedbackCache: {
7489
- [newsId: string]: Promise<FeedbackSummary>;
7490
- };
7491
- export function useFeedbackApi(): {
7492
- getFeedback: (type: ItemResourceTypes, itemId: string, onBehalfOfUpn?: string) => Promise<FeedbackSummary>;
7493
- setFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7494
- unsetFeedback: (type: ItemResourceTypes, itemId: string, feedbackType: string) => Promise<void>;
7495
- updatePollAnswers: (type: ItemResourceTypes, itemId: string, answers: PollQuestionAnswer[]) => Promise<unknown>;
7496
- getPollResult: (type: ItemResourceTypes, itemId: string) => Promise<PollResult>;
7497
- getLikers: (type: ItemResourceTypes, itemId: string, filter: Partial<BaseFilterDefinition>) => Promise<PaginatedList<Account>>;
7498
- };
7499
- }
7500
7590
  declare module "libs/reach/feature/content/src/posts/usePostsApi" {
7501
7591
  import { PaginatedList } from "libs/reach/util/common/src/index";
7502
7592
  import { Attachment } from "libs/reach/util/common/src/index";
@@ -7663,24 +7753,6 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
7663
7753
  showAllKeywordsInCallout?: boolean;
7664
7754
  }>;
7665
7755
  }
7666
- declare module "libs/reach/feature/content/src/news/NewsService" {
7667
- import { CurrentUser } from "libs/reach/util/common/src/index";
7668
- import { LanguageBase } from "libs/reach/util/common/src/index";
7669
- import { ContentDefinition, PublishableItem, PublishableItemContent } from "libs/reach/util/common/src/index";
7670
- export class NewsService {
7671
- static getNewsRouteWithRedirect(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7672
- static getNewsRoute(baseRoute: string, newsId: string, newsTitle: string, isExternalContent?: boolean): string;
7673
- static getItemContentLanguages(item: PublishableItem, languages: LanguageBase[]): string[];
7674
- static getContentLanguages(contents: {
7675
- [lang: string]: ContentDefinition;
7676
- }, languages: LanguageBase[], contentValidator?: (c: PublishableItemContent) => boolean): string[];
7677
- static getLanguageForPublishableItem(item: PublishableItem, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7678
- static getLanguageForContent(contents: {
7679
- [lang: string]: ContentDefinition;
7680
- }, user: CurrentUser, contentValidator?: (c: PublishableItemContent) => boolean): string;
7681
- static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
7682
- }
7683
- }
7684
7756
  declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
7685
7757
  import { FC, MouseEvent } from 'react';
7686
7758
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
@@ -7931,24 +8003,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
7931
8003
  isRegistered?: boolean;
7932
8004
  }, never>;
7933
8005
  }
7934
- declare module "libs/reach/feature/content/src/feedback/PollTranslationContext" {
7935
- import { FC } from 'react';
7936
- import { PublishableItemContents } from "libs/reach/util/common/src/index";
7937
- export interface TranslationItem {
7938
- language: string;
7939
- id: string;
7940
- text: string;
7941
- }
7942
- export const PollTranslationContext: import("react").Context<{
7943
- getTranslation: (id: string) => string;
7944
- getAllTranslations: (id: string) => TranslationItem[];
7945
- }>;
7946
- export const PollTranslationContextProvider: FC<{
7947
- contents?: PublishableItemContents;
7948
- language: string;
7949
- additionalTranslations?: TranslationItem[];
7950
- }>;
7951
- }
7952
8006
  declare module "libs/reach/feature/content/src/events/eventUtils" {
7953
8007
  import { EventItem, PollQuestion, PollResult } from "libs/reach/util/common/src/index";
7954
8008
  import { MessageDescriptor } from 'react-intl';
@@ -8079,11 +8133,6 @@ declare module "libs/reach/feature/content/src/feedback/LikeButton" {
8079
8133
  className?: string;
8080
8134
  }>;
8081
8135
  }
8082
- declare module "libs/reach/feature/content/src/feedback/utils" {
8083
- import { FeedbackSettings, ItemResourceTypes } from "libs/reach/util/common/src/index";
8084
- export function hasFeedbackType(feedbackSettings: FeedbackSettings, feedbackType: string): boolean;
8085
- export function getCommentAndReplyCountTooltipResource(itemType: ItemResourceTypes, replyToComments: boolean): string;
8086
- }
8087
8136
  declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
8088
8137
  import { ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
8089
8138
  import { FC } from 'react';
@@ -9850,14 +9899,12 @@ declare module "libs/reach/feature/content/src/public-user/PublicUserFullAccessB
9850
9899
  }
9851
9900
  declare module "libs/reach/feature/content/src/comments/PublishableItemComments" {
9852
9901
  import { FC } from 'react';
9853
- import { PublishableItem } from "libs/reach/util/common/src/index";
9854
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9902
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9855
9903
  export const PublishableItemComments: FC<{
9856
9904
  item: PublishableItem;
9857
9905
  readOnly?: boolean;
9858
9906
  loadInReadOnlyMode?: boolean;
9859
9907
  type: ItemResourceTypes;
9860
- hideProfileUrl?: boolean;
9861
9908
  disableLoginForPublicUser?: boolean;
9862
9909
  }>;
9863
9910
  }
@@ -9867,6 +9914,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
9867
9914
  import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9868
9915
  import { PublishableItem } from "libs/reach/util/common/src/index";
9869
9916
  import { Feedback } from "libs/reach/util/common/src/index";
9917
+ import { ReactNode } from 'hoist-non-react-statics/node_modules/@types/react';
9870
9918
  export const FeedbackButtonContext: import("react").Context<{
9871
9919
  statistics: ItemStatistics;
9872
9920
  item: PublishableItem;
@@ -9879,6 +9927,7 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtons"
9879
9927
  item: PublishableItem;
9880
9928
  hasFeedbackEnabled: (feedbackType: Feedback) => boolean;
9881
9929
  language: string;
9930
+ warningMessage?: ReactNode;
9882
9931
  className?: string;
9883
9932
  }>;
9884
9933
  }
@@ -9917,19 +9966,18 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
9917
9966
  }>;
9918
9967
  }
9919
9968
  declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
9920
- import { FC } from 'react';
9921
- import { FeedbackSettings } from "libs/reach/util/common/src/index";
9922
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9923
- import { PublishableItem } from "libs/reach/util/common/src/index";
9969
+ import { FC, ReactNode } from 'react';
9970
+ import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
9924
9971
  export const FeedbackSection: FC<{
9925
9972
  item: PublishableItem;
9973
+ buttons: ReactNode[];
9926
9974
  language: string;
9927
9975
  type: ItemResourceTypes;
9928
9976
  feedbackSettings: FeedbackSettings;
9929
9977
  hideComments?: boolean;
9930
- hideProfileUrl?: boolean;
9931
9978
  disableLoginForPublicUser?: boolean;
9932
9979
  isReadOnly?: boolean;
9980
+ warningMessage?: ReactNode;
9933
9981
  className?: string;
9934
9982
  }>;
9935
9983
  }
@@ -9998,6 +10046,9 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonCo
9998
10046
  isReadOnly?: boolean;
9999
10047
  }>;
10000
10048
  }
10049
+ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackFollowButton" {
10050
+ export const FeedbackFollowButton: import("styled-components").StyledComponent<import("react").FC<import("libs/reach/feature/content/src/comments/FollowComments").Props>, import("styled-components").DefaultTheme, {}, never>;
10051
+ }
10001
10052
  declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection" {
10002
10053
  import { FC } from 'react';
10003
10054
  export const EventDetailViewFeedbackSection: FC<{
@@ -10139,17 +10190,6 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
10139
10190
  isMobilePreview?: boolean;
10140
10191
  }>;
10141
10192
  }
10142
- declare module "libs/reach/feature/content/src/feedback/GutterMakerIcon" {
10143
- import { FC, ReactNode } from 'react';
10144
- export const GutterMarkerIcon: FC<{
10145
- iconName: string;
10146
- children: ReactNode;
10147
- isActive: boolean;
10148
- color: string;
10149
- tooltipResourceKey?: string;
10150
- className?: string;
10151
- }>;
10152
- }
10153
10193
  declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
10154
10194
  import { FC } from 'react';
10155
10195
  export const DetailViewTitle: FC;
@@ -10175,24 +10215,6 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
10175
10215
  onKeywordClick?: (keyword: string) => unknown;
10176
10216
  }>;
10177
10217
  }
10178
- declare module "libs/reach/feature/content/src/feedback/ConfirmationBox" {
10179
- import { FC } from 'react';
10180
- export const ConfirmationBox: FC<{
10181
- disabled?: boolean;
10182
- onChange?: (value: boolean) => void;
10183
- checked: boolean;
10184
- }>;
10185
- }
10186
- declare module "libs/reach/feature/content/src/feedback/ConfirmationSection" {
10187
- import { FC } from 'react';
10188
- import { NewsItem } from "libs/reach/util/common/src/index";
10189
- export const ConfirmationSection: FC<{
10190
- item?: NewsItem;
10191
- showDescription: boolean;
10192
- readOnly?: boolean;
10193
- className?: string;
10194
- }>;
10195
- }
10196
10218
  declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
10197
10219
  import { FC } from 'react';
10198
10220
  export const DetailViewConfirmations: FC;
@@ -11592,12 +11614,6 @@ declare module "libs/reach/feature/content/src/comments/index" {
11592
11614
  export * from "libs/reach/feature/content/src/comments/RichCommentInputWithAttachmentList";
11593
11615
  export * from "libs/reach/feature/content/src/comments/CommentInput";
11594
11616
  }
11595
- declare module "libs/reach/feature/content/src/feedback/index" {
11596
- export * from "libs/reach/feature/content/src/feedback/ConfirmationSection";
11597
- export * from "libs/reach/feature/content/src/feedback/GutterMakerIcon";
11598
- export * from "libs/reach/feature/content/src/feedback/PollTranslationContext";
11599
- export * from "libs/reach/feature/content/src/feedback/utils";
11600
- }
11601
11617
  declare module "libs/reach/feature/content/src/forms/KeywordDialog" {
11602
11618
  import { FC, ReactNode } from 'react';
11603
11619
  import { Keyword } from "libs/reach/util/common/src/index";
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.4.44",
7
+ "version": "0.4.46",
8
8
  "dependencies": {}
9
9
  }