@livetiles/reach-plugin-types 0.5.0-preview.549 → 0.5.0-preview.550
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 +176 -152
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2672,6 +2672,7 @@ declare module "libs/reach/util/common/src/user/content-languages-util" {
|
|
|
2672
2672
|
export const defaultFallbackContentLanguage = "en";
|
|
2673
2673
|
export const contentLanguagesWithoutAutomaticTranslation: string[];
|
|
2674
2674
|
export const allAvailableContentLanguages: string[];
|
|
2675
|
+
export const rtlLanguages: string[];
|
|
2675
2676
|
}
|
|
2676
2677
|
declare module "libs/reach/util/common/src/user/LanguageUtils" {
|
|
2677
2678
|
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
@@ -2684,6 +2685,8 @@ declare module "libs/reach/util/common/src/user/LanguageUtils" {
|
|
|
2684
2685
|
englishName: string;
|
|
2685
2686
|
code: string;
|
|
2686
2687
|
}[];
|
|
2688
|
+
export function isRtlLanguage(lang: string): boolean;
|
|
2689
|
+
export type LanguageDirection = 'auto' | 'rtl' | 'ltr';
|
|
2687
2690
|
}
|
|
2688
2691
|
declare module "libs/reach/util/common/src/content/content-keyword-utils" {
|
|
2689
2692
|
import { KeywordsByGroupId } from "libs/reach/util/common/src/keywords/useKeywordsApi";
|
|
@@ -6816,6 +6819,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
6816
6819
|
import { EventItem, EventLocation } from "libs/reach/util/common/src/index";
|
|
6817
6820
|
export const EventLocationInfo: FC<{
|
|
6818
6821
|
locations: EventLocation[];
|
|
6822
|
+
itemId: string;
|
|
6819
6823
|
className?: string;
|
|
6820
6824
|
}>;
|
|
6821
6825
|
export const EventPeopleInfo: FC<{
|
|
@@ -6833,6 +6837,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
6833
6837
|
channelBackgroundColor?: string;
|
|
6834
6838
|
onChannelClick?: (channel: string) => unknown;
|
|
6835
6839
|
}>;
|
|
6840
|
+
export const RTLMetaInfoStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
6836
6841
|
}
|
|
6837
6842
|
declare module "libs/reach/feature/content/src/feedback/FeedbackCountButton" {
|
|
6838
6843
|
import { FC } from 'react';
|
|
@@ -7291,6 +7296,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
7291
7296
|
itemId?: string;
|
|
7292
7297
|
isOverrideLink: boolean;
|
|
7293
7298
|
icon?: string;
|
|
7299
|
+
language?: string;
|
|
7294
7300
|
}>;
|
|
7295
7301
|
}
|
|
7296
7302
|
declare module "libs/reach/feature/content/src/common/ContentUtils" {
|
|
@@ -7313,7 +7319,7 @@ declare module "libs/reach/feature/content/src/common/ContentUtils" {
|
|
|
7313
7319
|
}
|
|
7314
7320
|
declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemTileWrapper" {
|
|
7315
7321
|
import { FC, MouseEvent, ReactNode } from 'react';
|
|
7316
|
-
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
7322
|
+
import { ItemResourceTypes, LanguageDirection, PublishableItem } from "libs/reach/util/common/src/index";
|
|
7317
7323
|
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/index";
|
|
7318
7324
|
interface StyleDefinition {
|
|
7319
7325
|
backgroundColor?: string;
|
|
@@ -7337,6 +7343,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
7337
7343
|
enableModalRouting?: boolean;
|
|
7338
7344
|
showBanner?: boolean;
|
|
7339
7345
|
showBannerAlwaysOnTheLeft?: boolean;
|
|
7346
|
+
languageDirection?: LanguageDirection;
|
|
7340
7347
|
className?: string;
|
|
7341
7348
|
}
|
|
7342
7349
|
export const PublishableItemTileWrapper: FC<Props>;
|
|
@@ -8240,155 +8247,6 @@ declare module "libs/reach/feature/content/src/pages/index" {
|
|
|
8240
8247
|
export * from "libs/reach/feature/content/src/pages/utils";
|
|
8241
8248
|
export * from "libs/reach/feature/content/src/pages/DocumentDownloadButton";
|
|
8242
8249
|
}
|
|
8243
|
-
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8244
|
-
import { FC } from 'react';
|
|
8245
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8246
|
-
interface DateInfoProps {
|
|
8247
|
-
item: Partial<PublishableItem>;
|
|
8248
|
-
dateMode: DateMode;
|
|
8249
|
-
expiryDate?: string;
|
|
8250
|
-
className?: string;
|
|
8251
|
-
}
|
|
8252
|
-
export enum DateMode {
|
|
8253
|
-
Published = 0,
|
|
8254
|
-
Modified = 1
|
|
8255
|
-
}
|
|
8256
|
-
export const DateInfo: FC<DateInfoProps>;
|
|
8257
|
-
}
|
|
8258
|
-
declare module "libs/reach/feature/content/src/common/AuthorAvatar" {
|
|
8259
|
-
import { Account, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8260
|
-
import { FC } from 'react';
|
|
8261
|
-
export const AuthorAvatar: FC<{
|
|
8262
|
-
item: Partial<PublishableItem>;
|
|
8263
|
-
hidePersonaDetails?: boolean;
|
|
8264
|
-
hideSecondaryText?: boolean;
|
|
8265
|
-
readOnly?: boolean;
|
|
8266
|
-
size?: number;
|
|
8267
|
-
className?: string;
|
|
8268
|
-
}>;
|
|
8269
|
-
export const getAuthor: (item: Partial<PublishableItem>) => Account;
|
|
8270
|
-
}
|
|
8271
|
-
declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
8272
|
-
import { FC } from 'react';
|
|
8273
|
-
import { DateMode } from "libs/reach/feature/content/src/news/DateInfo";
|
|
8274
|
-
import { Channel, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8275
|
-
export const ItemMetaInfo: FC<{
|
|
8276
|
-
item: Partial<PublishableItem>;
|
|
8277
|
-
className?: string;
|
|
8278
|
-
expiryDate?: string;
|
|
8279
|
-
channels?: Channel[];
|
|
8280
|
-
showChannels?: boolean;
|
|
8281
|
-
dateMode: DateMode;
|
|
8282
|
-
readOnly?: boolean;
|
|
8283
|
-
hideAvatar?: boolean;
|
|
8284
|
-
hideDisplayName?: boolean;
|
|
8285
|
-
language?: string;
|
|
8286
|
-
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8287
|
-
clickableAvatar?: boolean;
|
|
8288
|
-
onChannelClick?: (channel: string) => unknown;
|
|
8289
|
-
}>;
|
|
8290
|
-
}
|
|
8291
|
-
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
8292
|
-
import { FC } from 'react';
|
|
8293
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8294
|
-
export const ExternalNewsLinkButton: FC<{
|
|
8295
|
-
item: PublishableItem;
|
|
8296
|
-
disabled?: boolean;
|
|
8297
|
-
onClick?: (e: React.MouseEvent<unknown>) => unknown;
|
|
8298
|
-
className?: string;
|
|
8299
|
-
}>;
|
|
8300
|
-
}
|
|
8301
|
-
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8302
|
-
import { FC } from 'react';
|
|
8303
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8304
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8305
|
-
interface Props {
|
|
8306
|
-
id: string;
|
|
8307
|
-
item: PublishableItem;
|
|
8308
|
-
itemResourceType: ItemResourceTypes;
|
|
8309
|
-
}
|
|
8310
|
-
export const CardBanner: FC<Props>;
|
|
8311
|
-
}
|
|
8312
|
-
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8313
|
-
import { FC, ReactNode } from 'react';
|
|
8314
|
-
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8315
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8316
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8317
|
-
interface CardProps {
|
|
8318
|
-
item: PublishableItem;
|
|
8319
|
-
itemResourceType: ItemResourceTypes;
|
|
8320
|
-
additionalMetadata?: ReactNode;
|
|
8321
|
-
highlight?: boolean;
|
|
8322
|
-
className?: string;
|
|
8323
|
-
}
|
|
8324
|
-
export const Card: FC<CardProps>;
|
|
8325
|
-
export interface CardItem<TItem = PublishableItem> {
|
|
8326
|
-
item: TItem;
|
|
8327
|
-
language: string;
|
|
8328
|
-
}
|
|
8329
|
-
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8330
|
-
}
|
|
8331
|
-
declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
|
|
8332
|
-
import { FC } from 'react';
|
|
8333
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8334
|
-
interface NewsCardProps {
|
|
8335
|
-
item: NewsItem;
|
|
8336
|
-
baseRoute: string;
|
|
8337
|
-
language: string;
|
|
8338
|
-
highlight: boolean;
|
|
8339
|
-
className?: string;
|
|
8340
|
-
}
|
|
8341
|
-
export const NewsCard: FC<NewsCardProps>;
|
|
8342
|
-
}
|
|
8343
|
-
declare module "libs/reach/feature/content/src/news/list-view/EmptyChannelsView" {
|
|
8344
|
-
import { FC } from 'react';
|
|
8345
|
-
export const EmptyChannelsView: FC;
|
|
8346
|
-
}
|
|
8347
|
-
declare module "libs/reach/feature/content/src/news/list-view/PromotedNewsItem" {
|
|
8348
|
-
import { FC } from 'react';
|
|
8349
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8350
|
-
interface Props {
|
|
8351
|
-
item: NewsItem;
|
|
8352
|
-
iconName: string;
|
|
8353
|
-
iconTooltipStringResource: string;
|
|
8354
|
-
baseItemRoute: string;
|
|
8355
|
-
msColorName: string;
|
|
8356
|
-
}
|
|
8357
|
-
export const PromotedNewsItem: FC<Props>;
|
|
8358
|
-
}
|
|
8359
|
-
declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
|
|
8360
|
-
import { FC } from 'react';
|
|
8361
|
-
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8362
|
-
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
8363
|
-
export const NewsList: FC<{
|
|
8364
|
-
items: NewsItem[];
|
|
8365
|
-
baseItemRoute: string;
|
|
8366
|
-
isLoading: boolean;
|
|
8367
|
-
isLastPage: boolean;
|
|
8368
|
-
unreadOnly?: boolean;
|
|
8369
|
-
filter?: NewsFilterDefinition;
|
|
8370
|
-
activeChannel?: string;
|
|
8371
|
-
}>;
|
|
8372
|
-
}
|
|
8373
|
-
declare module "libs/reach/feature/content/src/news/useTranslateApi" {
|
|
8374
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8375
|
-
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
8376
|
-
export function useTranslateApi(): {
|
|
8377
|
-
translateContents: (type: ItemResourceTypes, itemId: string, language: string) => Promise<PublishableItemContent>;
|
|
8378
|
-
};
|
|
8379
|
-
}
|
|
8380
|
-
declare module "libs/reach/feature/content/src/news/index" {
|
|
8381
|
-
export * from "libs/reach/feature/content/src/news/DateInfo";
|
|
8382
|
-
export * from "libs/reach/feature/content/src/news/ItemMetaInfo";
|
|
8383
|
-
export * from "libs/reach/feature/content/src/news/newsUtils";
|
|
8384
|
-
export * from "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton";
|
|
8385
|
-
export * from "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton";
|
|
8386
|
-
export * from "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton";
|
|
8387
|
-
export * from "libs/reach/feature/content/src/news/list-view/NewsCard";
|
|
8388
|
-
export * from "libs/reach/feature/content/src/news/list-view/NewsList";
|
|
8389
|
-
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
8390
|
-
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
8391
|
-
}
|
|
8392
8250
|
declare module "libs/reach/feature/content/src/events/index" {
|
|
8393
8251
|
export * from "libs/reach/feature/content/src/events/EventLocationLink";
|
|
8394
8252
|
export * from "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfo";
|
|
@@ -9016,6 +8874,156 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemComments"
|
|
|
9016
8874
|
disableLoginForPublicUser?: boolean;
|
|
9017
8875
|
}>;
|
|
9018
8876
|
}
|
|
8877
|
+
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8878
|
+
import { FC } from 'react';
|
|
8879
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8880
|
+
interface DateInfoProps {
|
|
8881
|
+
item: Partial<PublishableItem>;
|
|
8882
|
+
dateMode: DateMode;
|
|
8883
|
+
expiryDate?: string;
|
|
8884
|
+
className?: string;
|
|
8885
|
+
}
|
|
8886
|
+
export enum DateMode {
|
|
8887
|
+
Published = 0,
|
|
8888
|
+
Modified = 1
|
|
8889
|
+
}
|
|
8890
|
+
export const DateInfo: FC<DateInfoProps>;
|
|
8891
|
+
}
|
|
8892
|
+
declare module "libs/reach/feature/content/src/common/AuthorAvatar" {
|
|
8893
|
+
import { Account, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8894
|
+
import { FC } from 'react';
|
|
8895
|
+
export const AuthorAvatar: FC<{
|
|
8896
|
+
item: Partial<PublishableItem>;
|
|
8897
|
+
hidePersonaDetails?: boolean;
|
|
8898
|
+
hideSecondaryText?: boolean;
|
|
8899
|
+
readOnly?: boolean;
|
|
8900
|
+
size?: number;
|
|
8901
|
+
className?: string;
|
|
8902
|
+
}>;
|
|
8903
|
+
export const getAuthor: (item: Partial<PublishableItem>) => Account;
|
|
8904
|
+
}
|
|
8905
|
+
declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
8906
|
+
import { FC } from 'react';
|
|
8907
|
+
import { DateMode } from "libs/reach/feature/content/src/news/DateInfo";
|
|
8908
|
+
import { Channel, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8909
|
+
export const ItemMetaInfo: FC<{
|
|
8910
|
+
item: Partial<PublishableItem>;
|
|
8911
|
+
className?: string;
|
|
8912
|
+
expiryDate?: string;
|
|
8913
|
+
channels?: Channel[];
|
|
8914
|
+
showChannels?: boolean;
|
|
8915
|
+
dateMode: DateMode;
|
|
8916
|
+
readOnly?: boolean;
|
|
8917
|
+
hideAvatar?: boolean;
|
|
8918
|
+
hideDisplayName?: boolean;
|
|
8919
|
+
language?: string;
|
|
8920
|
+
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8921
|
+
clickableAvatar?: boolean;
|
|
8922
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8923
|
+
}>;
|
|
8924
|
+
}
|
|
8925
|
+
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
8926
|
+
import { FC } from 'react';
|
|
8927
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8928
|
+
export const ExternalNewsLinkButton: FC<{
|
|
8929
|
+
item: PublishableItem;
|
|
8930
|
+
disabled?: boolean;
|
|
8931
|
+
onClick?: (e: React.MouseEvent<unknown>) => unknown;
|
|
8932
|
+
className?: string;
|
|
8933
|
+
}>;
|
|
8934
|
+
}
|
|
8935
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8936
|
+
import { FC } from 'react';
|
|
8937
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8938
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8939
|
+
interface Props {
|
|
8940
|
+
id: string;
|
|
8941
|
+
item: PublishableItem;
|
|
8942
|
+
itemResourceType: ItemResourceTypes;
|
|
8943
|
+
}
|
|
8944
|
+
export const CardBanner: FC<Props>;
|
|
8945
|
+
}
|
|
8946
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8947
|
+
import { FC, ReactNode } from 'react';
|
|
8948
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8949
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8950
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8951
|
+
interface CardProps {
|
|
8952
|
+
item: PublishableItem;
|
|
8953
|
+
itemResourceType: ItemResourceTypes;
|
|
8954
|
+
additionalMetadata?: ReactNode;
|
|
8955
|
+
highlight?: boolean;
|
|
8956
|
+
languageDirection?: string;
|
|
8957
|
+
className?: string;
|
|
8958
|
+
}
|
|
8959
|
+
export const Card: FC<CardProps>;
|
|
8960
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
8961
|
+
item: TItem;
|
|
8962
|
+
language: string;
|
|
8963
|
+
}
|
|
8964
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8965
|
+
}
|
|
8966
|
+
declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
|
|
8967
|
+
import { FC } from 'react';
|
|
8968
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8969
|
+
interface NewsCardProps {
|
|
8970
|
+
item: NewsItem;
|
|
8971
|
+
baseRoute: string;
|
|
8972
|
+
language: string;
|
|
8973
|
+
highlight: boolean;
|
|
8974
|
+
className?: string;
|
|
8975
|
+
}
|
|
8976
|
+
export const NewsCard: FC<NewsCardProps>;
|
|
8977
|
+
}
|
|
8978
|
+
declare module "libs/reach/feature/content/src/news/list-view/EmptyChannelsView" {
|
|
8979
|
+
import { FC } from 'react';
|
|
8980
|
+
export const EmptyChannelsView: FC;
|
|
8981
|
+
}
|
|
8982
|
+
declare module "libs/reach/feature/content/src/news/list-view/PromotedNewsItem" {
|
|
8983
|
+
import { FC } from 'react';
|
|
8984
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8985
|
+
interface Props {
|
|
8986
|
+
item: NewsItem;
|
|
8987
|
+
iconName: string;
|
|
8988
|
+
iconTooltipStringResource: string;
|
|
8989
|
+
baseItemRoute: string;
|
|
8990
|
+
msColorName: string;
|
|
8991
|
+
}
|
|
8992
|
+
export const PromotedNewsItem: FC<Props>;
|
|
8993
|
+
}
|
|
8994
|
+
declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
|
|
8995
|
+
import { FC } from 'react';
|
|
8996
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8997
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/index";
|
|
8998
|
+
export const NewsList: FC<{
|
|
8999
|
+
items: NewsItem[];
|
|
9000
|
+
baseItemRoute: string;
|
|
9001
|
+
isLoading: boolean;
|
|
9002
|
+
isLastPage: boolean;
|
|
9003
|
+
unreadOnly?: boolean;
|
|
9004
|
+
filter?: NewsFilterDefinition;
|
|
9005
|
+
activeChannel?: string;
|
|
9006
|
+
}>;
|
|
9007
|
+
}
|
|
9008
|
+
declare module "libs/reach/feature/content/src/news/useTranslateApi" {
|
|
9009
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
9010
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
9011
|
+
export function useTranslateApi(): {
|
|
9012
|
+
translateContents: (type: ItemResourceTypes, itemId: string, language: string) => Promise<PublishableItemContent>;
|
|
9013
|
+
};
|
|
9014
|
+
}
|
|
9015
|
+
declare module "libs/reach/feature/content/src/news/index" {
|
|
9016
|
+
export * from "libs/reach/feature/content/src/news/DateInfo";
|
|
9017
|
+
export * from "libs/reach/feature/content/src/news/ItemMetaInfo";
|
|
9018
|
+
export * from "libs/reach/feature/content/src/news/newsUtils";
|
|
9019
|
+
export * from "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton";
|
|
9020
|
+
export * from "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton";
|
|
9021
|
+
export * from "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton";
|
|
9022
|
+
export * from "libs/reach/feature/content/src/news/list-view/NewsCard";
|
|
9023
|
+
export * from "libs/reach/feature/content/src/news/list-view/NewsList";
|
|
9024
|
+
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
9025
|
+
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
9026
|
+
}
|
|
9019
9027
|
declare module "libs/reach/feature/content/src/feedback/ItemStatisticsContext" {
|
|
9020
9028
|
import { FC } from 'react';
|
|
9021
9029
|
import { Feedback, FeedbackSettings, ItemResourceTypes, ItemStatistics, PublishableItem } from "libs/reach/util/common/src/index";
|
|
@@ -9083,7 +9091,7 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
|
|
|
9083
9091
|
}
|
|
9084
9092
|
declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
|
|
9085
9093
|
import { FC, ReactNode } from 'react';
|
|
9086
|
-
import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9094
|
+
import { FeedbackSettings, ItemResourceTypes, LanguageDirection, PublishableItem } from "libs/reach/util/common/src/index";
|
|
9087
9095
|
export const FeedbackSection: FC<{
|
|
9088
9096
|
item: PublishableItem;
|
|
9089
9097
|
buttons: ReactNode[];
|
|
@@ -9094,6 +9102,7 @@ declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
|
|
|
9094
9102
|
disableLoginForPublicUser?: boolean;
|
|
9095
9103
|
isReadOnly?: boolean;
|
|
9096
9104
|
warningMessage?: ReactNode;
|
|
9105
|
+
languageDirection?: LanguageDirection;
|
|
9097
9106
|
className?: string;
|
|
9098
9107
|
}>;
|
|
9099
9108
|
}
|
|
@@ -9166,11 +9175,13 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackFollowBu
|
|
|
9166
9175
|
}
|
|
9167
9176
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection" {
|
|
9168
9177
|
import { FC } from 'react';
|
|
9178
|
+
import { LanguageDirection } from "libs/reach/util/common/src/index";
|
|
9169
9179
|
export const EventDetailViewFeedbackSection: FC<{
|
|
9170
9180
|
hideLikes?: boolean;
|
|
9171
9181
|
hideComments?: boolean;
|
|
9172
9182
|
hideProfileUrl?: boolean;
|
|
9173
9183
|
disableLoginForPublicUser?: boolean;
|
|
9184
|
+
languageDirection?: LanguageDirection;
|
|
9174
9185
|
}>;
|
|
9175
9186
|
}
|
|
9176
9187
|
declare module "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins" {
|
|
@@ -9186,11 +9197,13 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
9186
9197
|
}
|
|
9187
9198
|
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
9188
9199
|
import { FC } from 'react';
|
|
9200
|
+
import { LanguageDirection } from "libs/reach/util/common/src/index";
|
|
9189
9201
|
export const PageDetailViewFeedbackSection: FC<{
|
|
9190
9202
|
hideLikes?: boolean;
|
|
9191
9203
|
hideComments?: boolean;
|
|
9192
9204
|
hideProfileUrl?: boolean;
|
|
9193
9205
|
disableLoginForPublicUser?: boolean;
|
|
9206
|
+
languageDirection?: LanguageDirection;
|
|
9194
9207
|
}>;
|
|
9195
9208
|
}
|
|
9196
9209
|
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
@@ -9292,8 +9305,11 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9292
9305
|
}
|
|
9293
9306
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
9294
9307
|
import { FC } from 'react';
|
|
9308
|
+
import { LanguageDirection } from "libs/reach/util/common/src/index";
|
|
9295
9309
|
export const DetailMainSection: FC<{
|
|
9296
9310
|
isMobilePreview?: boolean;
|
|
9311
|
+
contentLanguage: string;
|
|
9312
|
+
languageDirection?: LanguageDirection;
|
|
9297
9313
|
}>;
|
|
9298
9314
|
}
|
|
9299
9315
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
@@ -9327,7 +9343,10 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9327
9343
|
}
|
|
9328
9344
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
9329
9345
|
import { FC } from 'react';
|
|
9330
|
-
|
|
9346
|
+
import { LanguageDirection } from "libs/reach/util/common/src/index";
|
|
9347
|
+
export const DetailViewConfirmations: FC<{
|
|
9348
|
+
languageDirection?: LanguageDirection;
|
|
9349
|
+
}>;
|
|
9331
9350
|
}
|
|
9332
9351
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
9333
9352
|
import { FC } from 'react';
|
|
@@ -9341,11 +9360,13 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBo
|
|
|
9341
9360
|
}
|
|
9342
9361
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
9343
9362
|
import { FC } from 'react';
|
|
9363
|
+
import { LanguageDirection } from "libs/reach/util/common/src/index";
|
|
9344
9364
|
export const NewsDetailViewFeedbackSection: FC<{
|
|
9345
9365
|
hideLikes?: boolean;
|
|
9346
9366
|
hideComments?: boolean;
|
|
9347
9367
|
hideProfileUrl?: boolean;
|
|
9348
9368
|
disableLoginForPublicUser?: boolean;
|
|
9369
|
+
languageDirection?: LanguageDirection;
|
|
9349
9370
|
}>;
|
|
9350
9371
|
}
|
|
9351
9372
|
declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
@@ -9696,6 +9717,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
9696
9717
|
streamPageType?: string;
|
|
9697
9718
|
path?: (PageNavigationNode & {
|
|
9698
9719
|
parentId?: string;
|
|
9720
|
+
contentsList: StreamPublishableItemContents[];
|
|
9699
9721
|
})[];
|
|
9700
9722
|
}
|
|
9701
9723
|
interface StreamPublishableItemContents {
|
|
@@ -9856,6 +9878,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
9856
9878
|
streamPageType?: string;
|
|
9857
9879
|
path?: (PageNavigationNode & {
|
|
9858
9880
|
parentId?: string;
|
|
9881
|
+
contentsList: StreamPublishableItemContents[];
|
|
9859
9882
|
})[];
|
|
9860
9883
|
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
9861
9884
|
parentId?: string;
|
|
@@ -10424,6 +10447,7 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
10424
10447
|
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
10425
10448
|
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
10426
10449
|
inputType?: string;
|
|
10450
|
+
languageDirection?: string;
|
|
10427
10451
|
}
|
|
10428
10452
|
/**
|
|
10429
10453
|
* Textarea that expands vertically to fit content.
|