@livetiles/reach-plugin-types 0.4.0-preview.454 → 0.4.0-preview.457

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 +399 -374
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -8268,6 +8268,376 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
8268
8268
  }>;
8269
8269
  export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
8270
8270
  }
8271
+ declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
8272
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8273
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8274
+ interface Props {
8275
+ id: string;
8276
+ item: PublishableItem;
8277
+ itemResourceType: ItemResourceTypes;
8278
+ }
8279
+ export const CardBanner: React.FC<Props>;
8280
+ }
8281
+ declare module "libs/reach/feature/content/src/common/cards/Card" {
8282
+ import { FC, ReactNode } from 'react';
8283
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8284
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8285
+ import { CurrentUser } from "libs/reach/util/common/src/index";
8286
+ interface CardProps {
8287
+ item: PublishableItem;
8288
+ itemResourceType: ItemResourceTypes;
8289
+ additionalMetadata?: ReactNode;
8290
+ highlight?: boolean;
8291
+ className?: string;
8292
+ }
8293
+ export const Card: FC<CardProps>;
8294
+ export interface CardItem<TItem = PublishableItem> {
8295
+ item: TItem;
8296
+ language: string;
8297
+ }
8298
+ export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
8299
+ }
8300
+ declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
8301
+ export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8302
+ export const Intro: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
8303
+ }
8304
+ declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
8305
+ import { FC } from 'react';
8306
+ import { SearchHighlight } from "libs/reach/util/common/src/index";
8307
+ export const SearchHighlighter: FC<{
8308
+ highlight: SearchHighlight;
8309
+ }>;
8310
+ export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
8311
+ export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
8312
+ }
8313
+ declare module "libs/reach/feature/content/src/pages/PageTitle" {
8314
+ import { FC } from 'react';
8315
+ import { PageItem } from "libs/reach/util/common/src/index";
8316
+ export const PageTitle: FC<{
8317
+ page: PageItem;
8318
+ title: string;
8319
+ search?: string;
8320
+ className?: string;
8321
+ }>;
8322
+ export const PageClickableOverlay: FC<{
8323
+ page: PageItem;
8324
+ baseRoute: string;
8325
+ title: string;
8326
+ }>;
8327
+ }
8328
+ declare module "libs/reach/feature/content/src/pages/PageCard" {
8329
+ import { FC } from 'react';
8330
+ import { PageItem } from "libs/reach/util/common/src/index";
8331
+ interface PagesCardProps {
8332
+ item: PageItem;
8333
+ baseRoute: string;
8334
+ language: string;
8335
+ className?: string;
8336
+ }
8337
+ export const PageCard: FC<PagesCardProps>;
8338
+ }
8339
+ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
8340
+ import { FC } from 'react';
8341
+ import { PageItem } from "libs/reach/util/common/src/index";
8342
+ export const PageBreadcrumb: FC<{
8343
+ page: PageItem;
8344
+ target?: string;
8345
+ language?: string;
8346
+ hideCurrentPageNode?: boolean;
8347
+ className?: string;
8348
+ }>;
8349
+ }
8350
+ declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
8351
+ import { FC } from 'react';
8352
+ import { PageItem } from "libs/reach/util/common/src/index";
8353
+ export const PageListItemBody: FC<{
8354
+ page: PageItem;
8355
+ search?: string;
8356
+ }>;
8357
+ }
8358
+ declare module "libs/reach/feature/content/src/pages/PageListItem" {
8359
+ import { FC } from 'react';
8360
+ import { PageItem } from "libs/reach/util/common/src/index";
8361
+ export const PageListItem: FC<{
8362
+ page: PageItem;
8363
+ baseLink: string;
8364
+ search?: string;
8365
+ className?: string;
8366
+ }>;
8367
+ }
8368
+ declare module "libs/reach/feature/content/src/pages/PageTocSearch" {
8369
+ import { FC } from 'react';
8370
+ import { PaginatedList } from "libs/reach/util/common/src/index";
8371
+ import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
8372
+ export const PageTocSearch: FC<{
8373
+ onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8374
+ onSearchResultChange: (pages: PageNavigationNode[]) => unknown;
8375
+ }>;
8376
+ }
8377
+ declare module "libs/reach/feature/content/src/pages/pageTocUtils" {
8378
+ import { PageNavigationNode } from "libs/reach/util/common/src/index";
8379
+ export function filterChildren(page: PageNavigationNode, activePage: PageNavigationNode): boolean;
8380
+ }
8381
+ declare module "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton" {
8382
+ import { FC, MouseEvent } from 'react';
8383
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8384
+ import { PageNavigationNode } from "libs/reach/util/common/src/index";
8385
+ export const ExternalPagesLinkButton: FC<{
8386
+ item: PublishableItem | PageNavigationNode;
8387
+ disabled?: boolean;
8388
+ onClick?: (e: MouseEvent) => unknown;
8389
+ className?: string;
8390
+ }>;
8391
+ }
8392
+ declare module "libs/reach/feature/content/src/pages/PageTocNode" {
8393
+ import { FC } from 'react';
8394
+ import { PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
8395
+ export const PageNode: FC<{
8396
+ node: PageNavigationNode;
8397
+ basePath?: string;
8398
+ activePage?: PageNavigationNode;
8399
+ navigationContext?: PageNavigationContext;
8400
+ loadChildren: (id: string) => Promise<PageNavigationNode[]>;
8401
+ path: string[];
8402
+ className?: string;
8403
+ isRootNode: boolean;
8404
+ hide?: boolean;
8405
+ onPageSelected?: (pageId: string) => unknown;
8406
+ selectedPageId?: string;
8407
+ }>;
8408
+ }
8409
+ declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
8410
+ import { FC } from 'react';
8411
+ import { PageItem, PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
8412
+ import { PaginatedList } from "libs/reach/util/common/src/index";
8413
+ export const PageTableOfContents: FC<{
8414
+ basePath?: string;
8415
+ activePageId?: string;
8416
+ navigationContext: PageNavigationContext;
8417
+ loadChildren: (id: string) => Promise<PageNavigationNode[]>;
8418
+ onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8419
+ onPageSelected?: (pageId: string) => unknown;
8420
+ className?: string;
8421
+ selectedPageId?: string;
8422
+ isLoading?: boolean;
8423
+ disableScrollableList?: boolean;
8424
+ }>;
8425
+ export const PageTableOfContentsInPanel: FC<{
8426
+ basePath?: string;
8427
+ activePageId?: string;
8428
+ navigationContext: PageNavigationContext;
8429
+ loadChildren: (id: string) => Promise<PageNavigationNode[]>;
8430
+ onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8431
+ isLoading?: boolean;
8432
+ }>;
8433
+ }
8434
+ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog" {
8435
+ import { FC } from 'react';
8436
+ import { PageItem, PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
8437
+ import { PaginatedList } from "libs/reach/util/common/src/index";
8438
+ export const PageTableOfContentsDialog: FC<{
8439
+ isOpen: boolean;
8440
+ navigationContext: PageNavigationContext;
8441
+ activePageId?: string;
8442
+ loadChildren: (id: string) => Promise<PageNavigationNode[]>;
8443
+ onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8444
+ onDismiss: () => void;
8445
+ basePath: string;
8446
+ }>;
8447
+ }
8448
+ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
8449
+ import { FC } from 'react';
8450
+ import { PageItem, PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
8451
+ import { PaginatedList } from "libs/reach/util/common/src/index";
8452
+ export const PageTableOfContentsButton: FC<{
8453
+ activePageId?: string;
8454
+ navigationContext: PageNavigationContext;
8455
+ loadChildren: (id: string) => Promise<PageNavigationNode[]>;
8456
+ onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8457
+ basePath: string;
8458
+ className?: string;
8459
+ }>;
8460
+ }
8461
+ declare module "libs/reach/feature/content/src/pages/PagesDetailViewNavigation" {
8462
+ import { FC } from 'react';
8463
+ import { PageNavigationContext } from "libs/reach/util/common/src/index";
8464
+ interface Props {
8465
+ basePath: string;
8466
+ activePageId: string;
8467
+ navigationContext: PageNavigationContext;
8468
+ className?: string;
8469
+ }
8470
+ export const PagesDetailViewNavigation: FC<Props>;
8471
+ }
8472
+ declare module "libs/reach/feature/content/src/pages/PagesGroupsSelector" {
8473
+ import { FC } from 'react';
8474
+ import { UserGroup } from "libs/reach/util/common/src/index";
8475
+ export const PagesGroupsSelector: FC<{
8476
+ groups: UserGroup[];
8477
+ }>;
8478
+ }
8479
+ declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
8480
+ import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
8481
+ export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
8482
+ }
8483
+ declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
8484
+ import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
8485
+ export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
8486
+ }
8487
+ declare module "libs/reach/feature/content/src/pages/usePagesStringResources" {
8488
+ export function usePagesStringResources(): {
8489
+ getTitleTypes: (operatorKey: string) => string;
8490
+ getTypes: (operatorKey: string) => string;
8491
+ getTitleSubTypes: (operatorKey: string) => string;
8492
+ getSubTypes: (operatorKey: string) => string;
8493
+ };
8494
+ }
8495
+ declare module "libs/reach/feature/content/src/pages/index" {
8496
+ export * from "libs/reach/feature/content/src/pages/PageCard";
8497
+ export * from "libs/reach/feature/content/src/pages/PageFilterDefinition";
8498
+ export * from "libs/reach/feature/content/src/pages/PageListItem";
8499
+ export * from "libs/reach/feature/content/src/pages/PageTableOfContents";
8500
+ export * from "libs/reach/feature/content/src/pages/PageTableOfContentsButton";
8501
+ export * from "libs/reach/feature/content/src/pages/PageTableOfContentsDialog";
8502
+ export * from "libs/reach/feature/content/src/pages/PagesDetailViewNavigation";
8503
+ export * from "libs/reach/feature/content/src/pages/PagesGroupsSelector";
8504
+ export * from "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords";
8505
+ export * from "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId";
8506
+ export * from "libs/reach/feature/content/src/pages/usePagesApi";
8507
+ export * from "libs/reach/feature/content/src/pages/usePagesClickHandler";
8508
+ export * from "libs/reach/feature/content/src/pages/usePagesStringResources";
8509
+ export * from "libs/reach/feature/content/src/pages/utils";
8510
+ }
8511
+ declare module "libs/reach/feature/content/src/news/DateInfo" {
8512
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8513
+ interface DateInfoProps {
8514
+ item: Partial<PublishableItem>;
8515
+ dateMode: DateMode;
8516
+ expiryDate?: string;
8517
+ className?: string;
8518
+ }
8519
+ export enum DateMode {
8520
+ Published = 0,
8521
+ Modified = 1
8522
+ }
8523
+ export const DateInfo: React.FC<DateInfoProps>;
8524
+ }
8525
+ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
8526
+ import { SchedulableItemChannel } from "libs/reach/util/common/src/index";
8527
+ import { DateMode } from "libs/reach/feature/content/src/news/DateInfo";
8528
+ import { Account } from "libs/reach/util/common/src/index";
8529
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8530
+ export const getAuthor: (item: Partial<PublishableItem>) => Account;
8531
+ export const ItemMetaInfo: React.FC<{
8532
+ item: Partial<PublishableItem>;
8533
+ className?: string;
8534
+ expiryDate?: string;
8535
+ channels?: SchedulableItemChannel[];
8536
+ showChannels?: boolean;
8537
+ dateMode: DateMode;
8538
+ readOnly?: boolean;
8539
+ hideAvatar?: boolean;
8540
+ hideDisplayName?: boolean;
8541
+ language?: string;
8542
+ buildChannelFilterUrl?: (channelName: string) => string;
8543
+ clickableAvatar?: boolean;
8544
+ }>;
8545
+ }
8546
+ declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
8547
+ import { FC } from 'react';
8548
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8549
+ export const ExternalNewsLinkButton: FC<{
8550
+ item: PublishableItem;
8551
+ disabled?: boolean;
8552
+ onClick?: (e: React.MouseEvent<unknown>) => unknown;
8553
+ className?: string;
8554
+ }>;
8555
+ }
8556
+ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
8557
+ import { FC } from 'react';
8558
+ import { NewsItem } from "libs/reach/util/common/src/index";
8559
+ interface NewsCardProps {
8560
+ item: NewsItem;
8561
+ baseRoute: string;
8562
+ language: string;
8563
+ showComments: boolean;
8564
+ highlight: boolean;
8565
+ className?: string;
8566
+ }
8567
+ export const NewsCard: FC<NewsCardProps>;
8568
+ }
8569
+ declare module "libs/reach/feature/content/src/news/list-view/EmptyChannelsView" {
8570
+ import { FC } from 'react';
8571
+ export const EmptyChannelsView: FC;
8572
+ }
8573
+ declare module "libs/reach/feature/content/src/news/list-view/PromotedNewsItem" {
8574
+ import { FC } from 'react';
8575
+ import { NewsItem } from "libs/reach/util/common/src/index";
8576
+ interface Props {
8577
+ item: NewsItem;
8578
+ iconName: string;
8579
+ iconTooltipStringResource: string;
8580
+ baseItemRoute: string;
8581
+ msColorName: string;
8582
+ }
8583
+ export const PromotedNewsItem: FC<Props>;
8584
+ }
8585
+ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
8586
+ import { FC } from 'react';
8587
+ import { NewsItem } from "libs/reach/util/common/src/index";
8588
+ import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
8589
+ export const NewsList: FC<{
8590
+ items: NewsItem[];
8591
+ baseItemRoute: string;
8592
+ isLoading: boolean;
8593
+ isLastPage: boolean;
8594
+ unreadOnly?: boolean;
8595
+ filter?: NewsFilterDefinition;
8596
+ }>;
8597
+ }
8598
+ declare module "libs/reach/feature/content/src/news/useTranslateApi" {
8599
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8600
+ import { PublishableItemContent } from "libs/reach/util/common/src/index";
8601
+ export function useTranslateApi(): {
8602
+ translateContents: (type: ItemResourceTypes, itemId: string, language: string) => Promise<PublishableItemContent>;
8603
+ };
8604
+ }
8605
+ declare module "libs/reach/feature/content/src/news/index" {
8606
+ export * from "libs/reach/feature/content/src/news/DateInfo";
8607
+ export * from "libs/reach/feature/content/src/news/ItemMetaInfo";
8608
+ export * from "libs/reach/feature/content/src/news/NewsService";
8609
+ export * from "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton";
8610
+ export * from "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton";
8611
+ export * from "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton";
8612
+ export * from "libs/reach/feature/content/src/news/list-view/NewsCard";
8613
+ export * from "libs/reach/feature/content/src/news/list-view/NewsList";
8614
+ export * from "libs/reach/feature/content/src/news/useNewsApi";
8615
+ export * from "libs/reach/feature/content/src/news/useTranslateApi";
8616
+ }
8617
+ declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
8618
+ import { FC, ReactNode } from 'react';
8619
+ import { EventItem } from "libs/reach/util/common/src/index";
8620
+ import { ItemTileLayoutMode } from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
8621
+ interface StyleDefinition {
8622
+ backgroundColor?: string;
8623
+ noShadow?: boolean;
8624
+ channelsBackgroundColor?: string;
8625
+ bannerDefaultWidth?: number;
8626
+ showPlaceholderIfNoBannerInfo?: boolean;
8627
+ }
8628
+ interface Props {
8629
+ item: EventItem;
8630
+ baseRoute: string;
8631
+ layoutMode?: ItemTileLayoutMode;
8632
+ buttons?: ReactNode;
8633
+ openTargetInNewWindow?: boolean;
8634
+ onClick?: (event: React.MouseEvent<unknown>) => unknown;
8635
+ onChannelClick?: (channel: string) => unknown;
8636
+ styleDefinition?: StyleDefinition;
8637
+ className?: string;
8638
+ }
8639
+ export const EventItemTile: FC<Props>;
8640
+ }
8271
8641
  declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
8272
8642
  import { FC } from 'react';
8273
8643
  import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
@@ -8917,175 +9287,43 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
8917
9287
  export const EventDetailViewFeedbackSection: FC<{
8918
9288
  hideLikes?: boolean;
8919
9289
  hideComments?: boolean;
8920
- hideProfileUrl?: boolean;
8921
- disableLoginForPublicUser?: boolean;
8922
- }>;
8923
- }
8924
- declare module "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins" {
8925
- import { FC } from 'react';
8926
- import { EventItem } from "libs/reach/util/common/src/index";
8927
- export const EventDetailViewPlugins: FC<{
8928
- eventItem: EventItem;
8929
- }>;
8930
- }
8931
- declare module "libs/reach/feature/content/src/news/DateInfo" {
8932
- import { PublishableItem } from "libs/reach/util/common/src/index";
8933
- interface DateInfoProps {
8934
- item: Partial<PublishableItem>;
8935
- dateMode: DateMode;
8936
- expiryDate?: string;
8937
- className?: string;
8938
- }
8939
- export enum DateMode {
8940
- Published = 0,
8941
- Modified = 1
8942
- }
8943
- export const DateInfo: React.FC<DateInfoProps>;
8944
- }
8945
- declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
8946
- import { SchedulableItemChannel } from "libs/reach/util/common/src/index";
8947
- import { DateMode } from "libs/reach/feature/content/src/news/DateInfo";
8948
- import { Account } from "libs/reach/util/common/src/index";
8949
- import { PublishableItem } from "libs/reach/util/common/src/index";
8950
- export const getAuthor: (item: Partial<PublishableItem>) => Account;
8951
- export const ItemMetaInfo: React.FC<{
8952
- item: Partial<PublishableItem>;
8953
- className?: string;
8954
- expiryDate?: string;
8955
- channels?: SchedulableItemChannel[];
8956
- showChannels?: boolean;
8957
- dateMode: DateMode;
8958
- readOnly?: boolean;
8959
- hideAvatar?: boolean;
8960
- hideDisplayName?: boolean;
8961
- language?: string;
8962
- buildChannelFilterUrl?: (channelName: string) => string;
8963
- clickableAvatar?: boolean;
8964
- }>;
8965
- }
8966
- declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo" {
8967
- import { FC } from 'react';
8968
- export const PageDetailViewMetaInfo: FC;
8969
- }
8970
- declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
8971
- import { FC } from 'react';
8972
- export const PageDetailViewFeedbackSection: FC<{
8973
- hideLikes?: boolean;
8974
- hideComments?: boolean;
8975
- hideProfileUrl?: boolean;
8976
- disableLoginForPublicUser?: boolean;
8977
- }>;
8978
- }
8979
- declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
8980
- import { PageItem } from "libs/reach/util/common/src/index";
8981
- import * as H from 'history';
8982
- export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
8983
- showSearch: boolean;
8984
- handleSearchTextChange: (searchText: string) => void;
8985
- redirectToSearchPage: (searchText: string) => void;
8986
- };
8987
- }
8988
- declare module "libs/reach/feature/content/src/pages/PageTocSearch" {
8989
- import { FC } from 'react';
8990
- import { PaginatedList } from "libs/reach/util/common/src/index";
8991
- import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
8992
- export const PageTocSearch: FC<{
8993
- onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8994
- onSearchResultChange: (pages: PageNavigationNode[]) => unknown;
8995
- }>;
8996
- }
8997
- declare module "libs/reach/feature/content/src/pages/pageTocUtils" {
8998
- import { PageNavigationNode } from "libs/reach/util/common/src/index";
8999
- export function filterChildren(page: PageNavigationNode, activePage: PageNavigationNode): boolean;
9000
- }
9001
- declare module "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton" {
9002
- import { FC, MouseEvent } from 'react';
9003
- import { PublishableItem } from "libs/reach/util/common/src/index";
9004
- import { PageNavigationNode } from "libs/reach/util/common/src/index";
9005
- export const ExternalPagesLinkButton: FC<{
9006
- item: PublishableItem | PageNavigationNode;
9007
- disabled?: boolean;
9008
- onClick?: (e: MouseEvent) => unknown;
9009
- className?: string;
9010
- }>;
9011
- }
9012
- declare module "libs/reach/feature/content/src/pages/PageTocNode" {
9013
- import { FC } from 'react';
9014
- import { PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
9015
- export const PageNode: FC<{
9016
- node: PageNavigationNode;
9017
- basePath?: string;
9018
- activePage?: PageNavigationNode;
9019
- navigationContext?: PageNavigationContext;
9020
- loadChildren: (id: string) => Promise<PageNavigationNode[]>;
9021
- path: string[];
9022
- className?: string;
9023
- isRootNode: boolean;
9024
- hide?: boolean;
9025
- onPageSelected?: (pageId: string) => unknown;
9026
- selectedPageId?: string;
9027
- }>;
9028
- }
9029
- declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
9030
- import { FC } from 'react';
9031
- import { PageItem, PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
9032
- import { PaginatedList } from "libs/reach/util/common/src/index";
9033
- export const PageTableOfContents: FC<{
9034
- basePath?: string;
9035
- activePageId?: string;
9036
- navigationContext: PageNavigationContext;
9037
- loadChildren: (id: string) => Promise<PageNavigationNode[]>;
9038
- onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
9039
- onPageSelected?: (pageId: string) => unknown;
9040
- className?: string;
9041
- selectedPageId?: string;
9042
- isLoading?: boolean;
9043
- disableScrollableList?: boolean;
9044
- }>;
9045
- export const PageTableOfContentsInPanel: FC<{
9046
- basePath?: string;
9047
- activePageId?: string;
9048
- navigationContext: PageNavigationContext;
9049
- loadChildren: (id: string) => Promise<PageNavigationNode[]>;
9050
- onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
9051
- isLoading?: boolean;
9052
- }>;
9053
- }
9054
- declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog" {
9055
- import { FC } from 'react';
9056
- import { PageItem, PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
9057
- import { PaginatedList } from "libs/reach/util/common/src/index";
9058
- export const PageTableOfContentsDialog: FC<{
9059
- isOpen: boolean;
9060
- navigationContext: PageNavigationContext;
9061
- activePageId?: string;
9062
- loadChildren: (id: string) => Promise<PageNavigationNode[]>;
9063
- onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
9064
- onDismiss: () => void;
9065
- basePath: string;
9290
+ hideProfileUrl?: boolean;
9291
+ disableLoginForPublicUser?: boolean;
9066
9292
  }>;
9067
9293
  }
9068
- declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
9294
+ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins" {
9069
9295
  import { FC } from 'react';
9070
- import { PageItem, PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
9071
- import { PaginatedList } from "libs/reach/util/common/src/index";
9072
- export const PageTableOfContentsButton: FC<{
9073
- activePageId?: string;
9074
- navigationContext: PageNavigationContext;
9075
- loadChildren: (id: string) => Promise<PageNavigationNode[]>;
9076
- onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
9077
- basePath: string;
9078
- className?: string;
9296
+ import { EventItem } from "libs/reach/util/common/src/index";
9297
+ export const EventDetailViewPlugins: FC<{
9298
+ eventItem: EventItem;
9079
9299
  }>;
9080
9300
  }
9301
+ declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo" {
9302
+ import { FC } from 'react';
9303
+ export const PageDetailViewMetaInfo: FC;
9304
+ }
9305
+ declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
9306
+ import { FC } from 'react';
9307
+ export const PageDetailViewFeedbackSection: FC<{
9308
+ hideLikes?: boolean;
9309
+ hideComments?: boolean;
9310
+ hideProfileUrl?: boolean;
9311
+ disableLoginForPublicUser?: boolean;
9312
+ }>;
9313
+ }
9314
+ declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
9315
+ import { PageItem } from "libs/reach/util/common/src/index";
9316
+ import * as H from 'history';
9317
+ export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
9318
+ showSearch: boolean;
9319
+ handleSearchTextChange: (searchText: string) => void;
9320
+ redirectToSearchPage: (searchText: string) => void;
9321
+ };
9322
+ }
9081
9323
  declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton" {
9082
9324
  import { FC } from 'react';
9083
9325
  export const PageDetailViewTableOfContentsButton: FC;
9084
9326
  }
9085
- declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
9086
- import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
9087
- export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
9088
- }
9089
9327
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
9090
9328
  import { FC } from 'react';
9091
9329
  export const InlinePageListByKeywords: FC<{
@@ -9094,10 +9332,6 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
9094
9332
  showPages?: boolean;
9095
9333
  }>;
9096
9334
  }
9097
- declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
9098
- import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
9099
- export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
9100
- }
9101
9335
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
9102
9336
  import { FC } from 'react';
9103
9337
  export const InlinePageListByPageId: FC<{
@@ -9129,17 +9363,6 @@ declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
9129
9363
  }>;
9130
9364
  export const InlinePageListMapper: HtmlComponentMapper;
9131
9365
  }
9132
- declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
9133
- import { FC } from 'react';
9134
- import { PageItem } from "libs/reach/util/common/src/index";
9135
- export const PageBreadcrumb: FC<{
9136
- page: PageItem;
9137
- target?: string;
9138
- language?: string;
9139
- hideCurrentPageNode?: boolean;
9140
- className?: string;
9141
- }>;
9142
- }
9143
9366
  declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
9144
9367
  import { FC } from 'react';
9145
9368
  import { PageItem } from "libs/reach/util/common/src/index";
@@ -9151,35 +9374,6 @@ declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPag
9151
9374
  basePath?: string;
9152
9375
  }>;
9153
9376
  }
9154
- declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
9155
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9156
- import { PublishableItem } from "libs/reach/util/common/src/index";
9157
- interface Props {
9158
- id: string;
9159
- item: PublishableItem;
9160
- itemResourceType: ItemResourceTypes;
9161
- }
9162
- export const CardBanner: React.FC<Props>;
9163
- }
9164
- declare module "libs/reach/feature/content/src/common/cards/Card" {
9165
- import { FC, ReactNode } from 'react';
9166
- import { PublishableItem } from "libs/reach/util/common/src/index";
9167
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9168
- import { CurrentUser } from "libs/reach/util/common/src/index";
9169
- interface CardProps {
9170
- item: PublishableItem;
9171
- itemResourceType: ItemResourceTypes;
9172
- additionalMetadata?: ReactNode;
9173
- highlight?: boolean;
9174
- className?: string;
9175
- }
9176
- export const Card: FC<CardProps>;
9177
- export interface CardItem<TItem = PublishableItem> {
9178
- item: TItem;
9179
- language: string;
9180
- }
9181
- export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
9182
- }
9183
9377
  declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
9184
9378
  import { FC } from 'react';
9185
9379
  interface LanguageSelectorProps {
@@ -9328,6 +9522,7 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
9328
9522
  declare module "libs/reach/feature/content/src/common/index" {
9329
9523
  export * from "libs/reach/feature/content/src/common/cards/CardFooter";
9330
9524
  export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
9525
+ export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
9331
9526
  export * from "libs/reach/feature/content/src/common/item-tile/Title";
9332
9527
  export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
9333
9528
  export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
@@ -9583,176 +9778,6 @@ declare module "libs/reach/feature/content/src/forms/index" {
9583
9778
  export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
9584
9779
  export * from "libs/reach/feature/content/src/forms/videos/VideoView";
9585
9780
  }
9586
- declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
9587
- import { FC } from 'react';
9588
- import { PublishableItem } from "libs/reach/util/common/src/index";
9589
- export const ExternalNewsLinkButton: FC<{
9590
- item: PublishableItem;
9591
- disabled?: boolean;
9592
- onClick?: (e: React.MouseEvent<unknown>) => unknown;
9593
- className?: string;
9594
- }>;
9595
- }
9596
- declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
9597
- export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
9598
- export const Intro: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
9599
- }
9600
- declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
9601
- import { FC } from 'react';
9602
- import { NewsItem } from "libs/reach/util/common/src/index";
9603
- interface NewsCardProps {
9604
- item: NewsItem;
9605
- baseRoute: string;
9606
- language: string;
9607
- showComments: boolean;
9608
- highlight: boolean;
9609
- className?: string;
9610
- }
9611
- export const NewsCard: FC<NewsCardProps>;
9612
- }
9613
- declare module "libs/reach/feature/content/src/news/list-view/EmptyChannelsView" {
9614
- import { FC } from 'react';
9615
- export const EmptyChannelsView: FC;
9616
- }
9617
- declare module "libs/reach/feature/content/src/news/list-view/PromotedNewsItem" {
9618
- import { FC } from 'react';
9619
- import { NewsItem } from "libs/reach/util/common/src/index";
9620
- interface Props {
9621
- item: NewsItem;
9622
- iconName: string;
9623
- iconTooltipStringResource: string;
9624
- baseItemRoute: string;
9625
- msColorName: string;
9626
- }
9627
- export const PromotedNewsItem: FC<Props>;
9628
- }
9629
- declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
9630
- import { FC } from 'react';
9631
- import { NewsItem } from "libs/reach/util/common/src/index";
9632
- import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
9633
- export const NewsList: FC<{
9634
- items: NewsItem[];
9635
- baseItemRoute: string;
9636
- isLoading: boolean;
9637
- isLastPage: boolean;
9638
- unreadOnly?: boolean;
9639
- filter?: NewsFilterDefinition;
9640
- }>;
9641
- }
9642
- declare module "libs/reach/feature/content/src/news/useTranslateApi" {
9643
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9644
- import { PublishableItemContent } from "libs/reach/util/common/src/index";
9645
- export function useTranslateApi(): {
9646
- translateContents: (type: ItemResourceTypes, itemId: string, language: string) => Promise<PublishableItemContent>;
9647
- };
9648
- }
9649
- declare module "libs/reach/feature/content/src/news/index" {
9650
- export * from "libs/reach/feature/content/src/news/DateInfo";
9651
- export * from "libs/reach/feature/content/src/news/ItemMetaInfo";
9652
- export * from "libs/reach/feature/content/src/news/NewsService";
9653
- export * from "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton";
9654
- export * from "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton";
9655
- export * from "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton";
9656
- export * from "libs/reach/feature/content/src/news/list-view/NewsCard";
9657
- export * from "libs/reach/feature/content/src/news/list-view/NewsList";
9658
- export * from "libs/reach/feature/content/src/news/useNewsApi";
9659
- export * from "libs/reach/feature/content/src/news/useTranslateApi";
9660
- }
9661
- declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
9662
- import { FC } from 'react';
9663
- import { SearchHighlight } from "libs/reach/util/common/src/index";
9664
- export const SearchHighlighter: FC<{
9665
- highlight: SearchHighlight;
9666
- }>;
9667
- export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
9668
- export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
9669
- }
9670
- declare module "libs/reach/feature/content/src/pages/PageTitle" {
9671
- import { FC } from 'react';
9672
- import { PageItem } from "libs/reach/util/common/src/index";
9673
- export const PageTitle: FC<{
9674
- page: PageItem;
9675
- title: string;
9676
- search?: string;
9677
- className?: string;
9678
- }>;
9679
- export const PageClickableOverlay: FC<{
9680
- page: PageItem;
9681
- baseRoute: string;
9682
- title: string;
9683
- }>;
9684
- }
9685
- declare module "libs/reach/feature/content/src/pages/PageCard" {
9686
- import { FC } from 'react';
9687
- import { PageItem } from "libs/reach/util/common/src/index";
9688
- interface PagesCardProps {
9689
- item: PageItem;
9690
- baseRoute: string;
9691
- language: string;
9692
- className?: string;
9693
- }
9694
- export const PageCard: FC<PagesCardProps>;
9695
- }
9696
- declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
9697
- import { FC } from 'react';
9698
- import { PageItem } from "libs/reach/util/common/src/index";
9699
- export const PageListItemBody: FC<{
9700
- page: PageItem;
9701
- search?: string;
9702
- }>;
9703
- }
9704
- declare module "libs/reach/feature/content/src/pages/PageListItem" {
9705
- import { FC } from 'react';
9706
- import { PageItem } from "libs/reach/util/common/src/index";
9707
- export const PageListItem: FC<{
9708
- page: PageItem;
9709
- baseLink: string;
9710
- search?: string;
9711
- className?: string;
9712
- }>;
9713
- }
9714
- declare module "libs/reach/feature/content/src/pages/PagesDetailViewNavigation" {
9715
- import { FC } from 'react';
9716
- import { PageNavigationContext } from "libs/reach/util/common/src/index";
9717
- interface Props {
9718
- basePath: string;
9719
- activePageId: string;
9720
- navigationContext: PageNavigationContext;
9721
- className?: string;
9722
- }
9723
- export const PagesDetailViewNavigation: FC<Props>;
9724
- }
9725
- declare module "libs/reach/feature/content/src/pages/PagesGroupsSelector" {
9726
- import { FC } from 'react';
9727
- import { UserGroup } from "libs/reach/util/common/src/index";
9728
- export const PagesGroupsSelector: FC<{
9729
- groups: UserGroup[];
9730
- }>;
9731
- }
9732
- declare module "libs/reach/feature/content/src/pages/usePagesStringResources" {
9733
- export function usePagesStringResources(): {
9734
- getTitleTypes: (operatorKey: string) => string;
9735
- getTypes: (operatorKey: string) => string;
9736
- getTitleSubTypes: (operatorKey: string) => string;
9737
- getSubTypes: (operatorKey: string) => string;
9738
- };
9739
- }
9740
- declare module "libs/reach/feature/content/src/pages/index" {
9741
- export * from "libs/reach/feature/content/src/pages/PageCard";
9742
- export * from "libs/reach/feature/content/src/pages/PageFilterDefinition";
9743
- export * from "libs/reach/feature/content/src/pages/PageListItem";
9744
- export * from "libs/reach/feature/content/src/pages/PageTableOfContents";
9745
- export * from "libs/reach/feature/content/src/pages/PageTableOfContentsButton";
9746
- export * from "libs/reach/feature/content/src/pages/PageTableOfContentsDialog";
9747
- export * from "libs/reach/feature/content/src/pages/PagesDetailViewNavigation";
9748
- export * from "libs/reach/feature/content/src/pages/PagesGroupsSelector";
9749
- export * from "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords";
9750
- export * from "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId";
9751
- export * from "libs/reach/feature/content/src/pages/usePagesApi";
9752
- export * from "libs/reach/feature/content/src/pages/usePagesClickHandler";
9753
- export * from "libs/reach/feature/content/src/pages/usePagesStringResources";
9754
- export * from "libs/reach/feature/content/src/pages/utils";
9755
- }
9756
9781
  declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
9757
9782
  import { FC } from 'react';
9758
9783
  export const GroupNotificationsSettings: FC<{
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.0-preview.454",
7
+ "version": "0.4.0-preview.457",
8
8
  "dependencies": {}
9
9
  }