@livetiles/reach-plugin-types 0.4.0-preview.456 → 0.4.0-preview.459

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 +525 -520
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -2530,7 +2530,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginUserStore" {
2530
2530
  isLoading: boolean;
2531
2531
  error: any;
2532
2532
  refresh: () => void;
2533
- remove: () => Promise<any>;
2533
+ remove: () => Promise<unknown>;
2534
2534
  };
2535
2535
  export function getPluginUserStoreWrapper(pluginId: string, api: Api): PluginStore;
2536
2536
  }
@@ -2545,7 +2545,7 @@ declare module "libs/reach/util/common/src/plugins/usePluginSubscriptionStore" {
2545
2545
  isLoading: boolean;
2546
2546
  error: any;
2547
2547
  refresh: () => void;
2548
- remove: () => Promise<any>;
2548
+ remove: () => Promise<unknown>;
2549
2549
  };
2550
2550
  export function getPluginSubscriptionStoreWrapper(pluginId: string, api: Api): PluginStore;
2551
2551
  }
@@ -7825,13 +7825,20 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
7825
7825
  export const PageItemTile: FC<Props>;
7826
7826
  }
7827
7827
  declare module "libs/reach/feature/content/src/common/ContentUtils" {
7828
- import { ImageDetails, NewsItem } from "libs/reach/util/common/src/index";
7828
+ import { EventItem, ImageDetails, NewsItem } from "libs/reach/util/common/src/index";
7829
7829
  import { IntlShape } from 'react-intl';
7830
7830
  export function getMaxImageWidth(defaultMaxWidth?: number): number;
7831
7831
  export function getImageWidth(image: ImageDetails | string): number;
7832
7832
  export function getNewsCardIcon(item: NewsItem, intl: IntlShape): {
7833
7833
  name: string;
7834
7834
  backgroundColor: string;
7835
+ color: string;
7836
+ tooltipText: string;
7837
+ };
7838
+ export function getEventCardIcon(item: EventItem, intl: IntlShape): {
7839
+ name: string;
7840
+ color: string;
7841
+ backgroundColor: string;
7835
7842
  tooltipText: string;
7836
7843
  };
7837
7844
  }
@@ -8268,180 +8275,524 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
8268
8275
  }>;
8269
8276
  export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
8270
8277
  }
8271
- declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
8272
- import { FC, ReactNode } from 'react';
8273
- import { EventItem } from "libs/reach/util/common/src/index";
8274
- import { ItemTileLayoutMode } from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
8275
- interface StyleDefinition {
8276
- backgroundColor?: string;
8277
- noShadow?: boolean;
8278
- channelsBackgroundColor?: string;
8279
- bannerDefaultWidth?: number;
8280
- showChannelsToTheRight?: boolean;
8281
- showPlaceholderIfNoBannerInfo?: boolean;
8282
- }
8278
+ declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
8279
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8280
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8283
8281
  interface Props {
8284
- item: EventItem;
8285
- baseRoute: string;
8286
- layoutMode?: ItemTileLayoutMode;
8287
- dateLabelResourceKey?: string;
8288
- buttons?: ReactNode;
8289
- openTargetInNewWindow?: boolean;
8290
- onClick?: (event: React.MouseEvent<unknown>) => unknown;
8291
- onChannelClick?: (channel: string) => unknown;
8292
- styleDefinition?: StyleDefinition;
8293
- className?: string;
8282
+ id: string;
8283
+ item: PublishableItem;
8284
+ itemResourceType: ItemResourceTypes;
8294
8285
  }
8295
- export const EventItemTile: FC<Props>;
8296
- }
8297
- declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
8298
- import { FC } from 'react';
8299
- import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
8300
- export const DetailViewContextProvider: FC<{
8301
- itemId: string;
8302
- type?: ItemResourceTypes;
8303
- loadItemFunc: (itemId: string) => Promise<PublishableItem>;
8304
- isEditorPreview?: boolean;
8305
- }>;
8286
+ export const CardBanner: React.FC<Props>;
8306
8287
  }
8307
- declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
8308
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8309
- export interface EmbeddedObjectPreviewData {
8310
- itemId: string;
8311
- type: string;
8312
- subscriptionIdentifier: string;
8288
+ declare module "libs/reach/feature/content/src/common/cards/Card" {
8289
+ import { FC, ReactNode } from 'react';
8290
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8291
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8292
+ import { CurrentUser } from "libs/reach/util/common/src/index";
8293
+ interface CardProps {
8294
+ item: PublishableItem;
8295
+ itemResourceType: ItemResourceTypes;
8296
+ additionalMetadata?: ReactNode;
8297
+ highlight?: boolean;
8298
+ className?: string;
8313
8299
  }
8314
- export const InlineUrlPreviewMapper: HtmlComponentMapper;
8300
+ export const Card: FC<CardProps>;
8301
+ export interface CardItem<TItem = PublishableItem> {
8302
+ item: TItem;
8303
+ language: string;
8304
+ }
8305
+ export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
8315
8306
  }
8316
- declare module "libs/reach/feature/content/src/common/body/InlineImage" {
8317
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8318
- export const InlineImageMapper: HtmlComponentMapper;
8307
+ declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
8308
+ export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8309
+ export const Intro: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
8319
8310
  }
8320
- declare module "libs/reach/feature/content/src/common/body/InlineContact" {
8321
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8322
- export interface ContactDetails {
8323
- id: string;
8324
- upn?: string;
8325
- tenantId?: string;
8326
- properties?: {
8327
- [key: string]: {
8328
- value: string;
8329
- shouldAutoLoad?: boolean;
8330
- };
8331
- };
8332
- }
8333
- export const InlineContactMapper: HtmlComponentMapper;
8311
+ declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
8312
+ import { FC } from 'react';
8313
+ import { SearchHighlight } from "libs/reach/util/common/src/index";
8314
+ export const SearchHighlighter: FC<{
8315
+ highlight: SearchHighlight;
8316
+ }>;
8317
+ export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
8318
+ export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
8334
8319
  }
8335
- declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
8320
+ declare module "libs/reach/feature/content/src/pages/PageTitle" {
8336
8321
  import { FC } from 'react';
8337
- import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
8338
- export const InlineContactViewer: FC<{
8339
- contact: ContactDetails;
8322
+ import { PageItem } from "libs/reach/util/common/src/index";
8323
+ export const PageTitle: FC<{
8324
+ page: PageItem;
8325
+ title: string;
8326
+ search?: string;
8327
+ className?: string;
8328
+ }>;
8329
+ export const PageClickableOverlay: FC<{
8330
+ page: PageItem;
8331
+ baseRoute: string;
8332
+ title: string;
8340
8333
  }>;
8341
8334
  }
8342
- declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
8343
- import { Account } from "libs/reach/util/common/src/index";
8344
- export interface QuoteDetails {
8345
- id: string;
8346
- text: string;
8347
- author?: Account;
8348
- showAvatar?: boolean;
8349
- index?: number;
8335
+ declare module "libs/reach/feature/content/src/pages/PageCard" {
8336
+ import { FC } from 'react';
8337
+ import { PageItem } from "libs/reach/util/common/src/index";
8338
+ interface PagesCardProps {
8339
+ item: PageItem;
8340
+ baseRoute: string;
8341
+ language: string;
8342
+ className?: string;
8350
8343
  }
8344
+ export const PageCard: FC<PagesCardProps>;
8351
8345
  }
8352
- declare module "libs/reach/feature/content/src/common/body/InlineQuoteViewer" {
8346
+ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
8353
8347
  import { FC } from 'react';
8354
- import { QuoteDetails } from "libs/reach/feature/content/src/common/body/QuoteDetails";
8355
- export const InlineQuoteViewer: FC<{
8356
- quoteDetails: QuoteDetails;
8357
- onClick?: () => void;
8348
+ import { PageItem } from "libs/reach/util/common/src/index";
8349
+ export const PageBreadcrumb: FC<{
8350
+ page: PageItem;
8351
+ target?: string;
8352
+ language?: string;
8353
+ hideCurrentPageNode?: boolean;
8358
8354
  className?: string;
8359
8355
  }>;
8360
8356
  }
8361
- declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
8362
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8363
- export const InlineQuoteMapper: HtmlComponentMapper;
8364
- }
8365
- declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
8366
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8367
- export const InlineVideoMapper: HtmlComponentMapper;
8368
- }
8369
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
8357
+ declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
8370
8358
  import { FC } from 'react';
8371
8359
  import { PageItem } from "libs/reach/util/common/src/index";
8372
- export const InlinePageListViewer: FC<{
8373
- items: PageItem[];
8374
- baseRoute: string;
8375
- filterBaseUrl?: string;
8376
- isInitialLoading?: boolean;
8360
+ export const PageListItemBody: FC<{
8361
+ page: PageItem;
8362
+ search?: string;
8377
8363
  }>;
8378
8364
  }
8379
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
8365
+ declare module "libs/reach/feature/content/src/pages/PageListItem" {
8380
8366
  import { FC } from 'react';
8381
8367
  import { PageItem } from "libs/reach/util/common/src/index";
8382
- export interface ListPagingProps {
8383
- getNextPage: () => unknown;
8384
- getPrevPage: () => unknown;
8385
- getFirstPage: () => unknown;
8386
- isLoadingNextPage: boolean;
8387
- isInitialLoading: boolean;
8388
- isFirstPage: boolean;
8389
- hideNextButton: boolean;
8390
- }
8391
- export const InlinePageListWithPaging: FC<{
8392
- pages: PageItem[];
8393
- baseRoute: string;
8394
- pagingProps?: ListPagingProps;
8395
- filterBaseUrl?: string;
8368
+ export const PageListItem: FC<{
8369
+ page: PageItem;
8370
+ baseLink: string;
8371
+ search?: string;
8372
+ className?: string;
8396
8373
  }>;
8397
8374
  }
8398
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
8399
- import { DependencyList } from 'react';
8400
- import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
8401
- export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
8402
- showPages: boolean;
8403
- showDocuments: boolean;
8404
- }, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
8405
- pageItems: any[];
8406
- pagingProps: {
8407
- hideNextButton: boolean;
8408
- isInitialLoading: boolean;
8409
- isLoadingNextPage: boolean;
8410
- error: any;
8411
- getFirstPage: () => void;
8412
- getPrevPage: () => void;
8413
- getNextPage: () => Promise<void>;
8414
- isFirstPage: boolean;
8415
- isLastPage: boolean;
8416
- isEmpty: boolean;
8417
- };
8418
- };
8419
- }
8420
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
8375
+ declare module "libs/reach/feature/content/src/pages/PageTocSearch" {
8421
8376
  import { FC } from 'react';
8422
- export const InlinePageListSkeleton: FC<{
8423
- isDataLoaded: boolean;
8424
- pageSize?: number;
8377
+ import { PaginatedList } from "libs/reach/util/common/src/index";
8378
+ import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
8379
+ export const PageTocSearch: FC<{
8380
+ onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8381
+ onSearchResultChange: (pages: PageNavigationNode[]) => unknown;
8425
8382
  }>;
8426
8383
  }
8427
- declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
8428
- export interface CodeDetails {
8429
- id: string;
8430
- html: string;
8431
- javascript: string;
8432
- index?: number;
8433
- }
8384
+ declare module "libs/reach/feature/content/src/pages/pageTocUtils" {
8385
+ import { PageNavigationNode } from "libs/reach/util/common/src/index";
8386
+ export function filterChildren(page: PageNavigationNode, activePage: PageNavigationNode): boolean;
8434
8387
  }
8435
- declare module "libs/reach/feature/content/src/common/body/InlineCodeViewer" {
8388
+ declare module "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton" {
8389
+ import { FC, MouseEvent } from 'react';
8390
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8391
+ import { PageNavigationNode } from "libs/reach/util/common/src/index";
8392
+ export const ExternalPagesLinkButton: FC<{
8393
+ item: PublishableItem | PageNavigationNode;
8394
+ disabled?: boolean;
8395
+ onClick?: (e: MouseEvent) => unknown;
8396
+ className?: string;
8397
+ }>;
8398
+ }
8399
+ declare module "libs/reach/feature/content/src/pages/PageTocNode" {
8436
8400
  import { FC } from 'react';
8437
- import { CodeDetails } from "libs/reach/feature/content/src/common/body/CodeDetails";
8438
- export const InlineCodeViewer: FC<{
8439
- codeDetails: CodeDetails;
8440
- showJsPlaceholder?: boolean;
8441
- readOnly?: boolean;
8401
+ import { PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
8402
+ export const PageNode: FC<{
8403
+ node: PageNavigationNode;
8404
+ basePath?: string;
8405
+ activePage?: PageNavigationNode;
8406
+ navigationContext?: PageNavigationContext;
8407
+ loadChildren: (id: string) => Promise<PageNavigationNode[]>;
8408
+ path: string[];
8409
+ className?: string;
8410
+ isRootNode: boolean;
8411
+ hide?: boolean;
8412
+ onPageSelected?: (pageId: string) => unknown;
8413
+ selectedPageId?: string;
8442
8414
  }>;
8443
8415
  }
8444
- declare module "libs/reach/feature/content/src/common/body/InlineCode" {
8416
+ declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
8417
+ import { FC } from 'react';
8418
+ import { PageItem, PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
8419
+ import { PaginatedList } from "libs/reach/util/common/src/index";
8420
+ export const PageTableOfContents: FC<{
8421
+ basePath?: string;
8422
+ activePageId?: string;
8423
+ navigationContext: PageNavigationContext;
8424
+ loadChildren: (id: string) => Promise<PageNavigationNode[]>;
8425
+ onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8426
+ onPageSelected?: (pageId: string) => unknown;
8427
+ className?: string;
8428
+ selectedPageId?: string;
8429
+ isLoading?: boolean;
8430
+ disableScrollableList?: boolean;
8431
+ }>;
8432
+ export const PageTableOfContentsInPanel: FC<{
8433
+ basePath?: string;
8434
+ activePageId?: string;
8435
+ navigationContext: PageNavigationContext;
8436
+ loadChildren: (id: string) => Promise<PageNavigationNode[]>;
8437
+ onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8438
+ isLoading?: boolean;
8439
+ }>;
8440
+ }
8441
+ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog" {
8442
+ import { FC } from 'react';
8443
+ import { PageItem, PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
8444
+ import { PaginatedList } from "libs/reach/util/common/src/index";
8445
+ export const PageTableOfContentsDialog: FC<{
8446
+ isOpen: boolean;
8447
+ navigationContext: PageNavigationContext;
8448
+ activePageId?: string;
8449
+ loadChildren: (id: string) => Promise<PageNavigationNode[]>;
8450
+ onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8451
+ onDismiss: () => void;
8452
+ basePath: string;
8453
+ }>;
8454
+ }
8455
+ declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
8456
+ import { FC } from 'react';
8457
+ import { PageItem, PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
8458
+ import { PaginatedList } from "libs/reach/util/common/src/index";
8459
+ export const PageTableOfContentsButton: FC<{
8460
+ activePageId?: string;
8461
+ navigationContext: PageNavigationContext;
8462
+ loadChildren: (id: string) => Promise<PageNavigationNode[]>;
8463
+ onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
8464
+ basePath: string;
8465
+ className?: string;
8466
+ }>;
8467
+ }
8468
+ declare module "libs/reach/feature/content/src/pages/PagesDetailViewNavigation" {
8469
+ import { FC } from 'react';
8470
+ import { PageNavigationContext } from "libs/reach/util/common/src/index";
8471
+ interface Props {
8472
+ basePath: string;
8473
+ activePageId: string;
8474
+ navigationContext: PageNavigationContext;
8475
+ className?: string;
8476
+ }
8477
+ export const PagesDetailViewNavigation: FC<Props>;
8478
+ }
8479
+ declare module "libs/reach/feature/content/src/pages/PagesGroupsSelector" {
8480
+ import { FC } from 'react';
8481
+ import { UserGroup } from "libs/reach/util/common/src/index";
8482
+ export const PagesGroupsSelector: FC<{
8483
+ groups: UserGroup[];
8484
+ }>;
8485
+ }
8486
+ declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
8487
+ import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
8488
+ export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
8489
+ }
8490
+ declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
8491
+ import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
8492
+ export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
8493
+ }
8494
+ declare module "libs/reach/feature/content/src/pages/usePagesStringResources" {
8495
+ export function usePagesStringResources(): {
8496
+ getTitleTypes: (operatorKey: string) => string;
8497
+ getTypes: (operatorKey: string) => string;
8498
+ getTitleSubTypes: (operatorKey: string) => string;
8499
+ getSubTypes: (operatorKey: string) => string;
8500
+ };
8501
+ }
8502
+ declare module "libs/reach/feature/content/src/pages/index" {
8503
+ export * from "libs/reach/feature/content/src/pages/PageCard";
8504
+ export * from "libs/reach/feature/content/src/pages/PageFilterDefinition";
8505
+ export * from "libs/reach/feature/content/src/pages/PageListItem";
8506
+ export * from "libs/reach/feature/content/src/pages/PageTableOfContents";
8507
+ export * from "libs/reach/feature/content/src/pages/PageTableOfContentsButton";
8508
+ export * from "libs/reach/feature/content/src/pages/PageTableOfContentsDialog";
8509
+ export * from "libs/reach/feature/content/src/pages/PagesDetailViewNavigation";
8510
+ export * from "libs/reach/feature/content/src/pages/PagesGroupsSelector";
8511
+ export * from "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords";
8512
+ export * from "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId";
8513
+ export * from "libs/reach/feature/content/src/pages/usePagesApi";
8514
+ export * from "libs/reach/feature/content/src/pages/usePagesClickHandler";
8515
+ export * from "libs/reach/feature/content/src/pages/usePagesStringResources";
8516
+ export * from "libs/reach/feature/content/src/pages/utils";
8517
+ }
8518
+ declare module "libs/reach/feature/content/src/news/DateInfo" {
8519
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8520
+ interface DateInfoProps {
8521
+ item: Partial<PublishableItem>;
8522
+ dateMode: DateMode;
8523
+ expiryDate?: string;
8524
+ className?: string;
8525
+ }
8526
+ export enum DateMode {
8527
+ Published = 0,
8528
+ Modified = 1
8529
+ }
8530
+ export const DateInfo: React.FC<DateInfoProps>;
8531
+ }
8532
+ declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
8533
+ import { SchedulableItemChannel } from "libs/reach/util/common/src/index";
8534
+ import { DateMode } from "libs/reach/feature/content/src/news/DateInfo";
8535
+ import { Account } from "libs/reach/util/common/src/index";
8536
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8537
+ export const getAuthor: (item: Partial<PublishableItem>) => Account;
8538
+ export const ItemMetaInfo: React.FC<{
8539
+ item: Partial<PublishableItem>;
8540
+ className?: string;
8541
+ expiryDate?: string;
8542
+ channels?: SchedulableItemChannel[];
8543
+ showChannels?: boolean;
8544
+ dateMode: DateMode;
8545
+ readOnly?: boolean;
8546
+ hideAvatar?: boolean;
8547
+ hideDisplayName?: boolean;
8548
+ language?: string;
8549
+ buildChannelFilterUrl?: (channelName: string) => string;
8550
+ clickableAvatar?: boolean;
8551
+ }>;
8552
+ }
8553
+ declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
8554
+ import { FC } from 'react';
8555
+ import { PublishableItem } from "libs/reach/util/common/src/index";
8556
+ export const ExternalNewsLinkButton: FC<{
8557
+ item: PublishableItem;
8558
+ disabled?: boolean;
8559
+ onClick?: (e: React.MouseEvent<unknown>) => unknown;
8560
+ className?: string;
8561
+ }>;
8562
+ }
8563
+ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
8564
+ import { FC } from 'react';
8565
+ import { NewsItem } from "libs/reach/util/common/src/index";
8566
+ interface NewsCardProps {
8567
+ item: NewsItem;
8568
+ baseRoute: string;
8569
+ language: string;
8570
+ showComments: boolean;
8571
+ highlight: boolean;
8572
+ className?: string;
8573
+ }
8574
+ export const NewsCard: FC<NewsCardProps>;
8575
+ }
8576
+ declare module "libs/reach/feature/content/src/news/list-view/EmptyChannelsView" {
8577
+ import { FC } from 'react';
8578
+ export const EmptyChannelsView: FC;
8579
+ }
8580
+ declare module "libs/reach/feature/content/src/news/list-view/PromotedNewsItem" {
8581
+ import { FC } from 'react';
8582
+ import { NewsItem } from "libs/reach/util/common/src/index";
8583
+ interface Props {
8584
+ item: NewsItem;
8585
+ iconName: string;
8586
+ iconTooltipStringResource: string;
8587
+ baseItemRoute: string;
8588
+ msColorName: string;
8589
+ }
8590
+ export const PromotedNewsItem: FC<Props>;
8591
+ }
8592
+ declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
8593
+ import { FC } from 'react';
8594
+ import { NewsItem } from "libs/reach/util/common/src/index";
8595
+ import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
8596
+ export const NewsList: FC<{
8597
+ items: NewsItem[];
8598
+ baseItemRoute: string;
8599
+ isLoading: boolean;
8600
+ isLastPage: boolean;
8601
+ unreadOnly?: boolean;
8602
+ filter?: NewsFilterDefinition;
8603
+ }>;
8604
+ }
8605
+ declare module "libs/reach/feature/content/src/news/useTranslateApi" {
8606
+ import { ItemResourceTypes } from "libs/reach/util/common/src/index";
8607
+ import { PublishableItemContent } from "libs/reach/util/common/src/index";
8608
+ export function useTranslateApi(): {
8609
+ translateContents: (type: ItemResourceTypes, itemId: string, language: string) => Promise<PublishableItemContent>;
8610
+ };
8611
+ }
8612
+ declare module "libs/reach/feature/content/src/news/index" {
8613
+ export * from "libs/reach/feature/content/src/news/DateInfo";
8614
+ export * from "libs/reach/feature/content/src/news/ItemMetaInfo";
8615
+ export * from "libs/reach/feature/content/src/news/NewsService";
8616
+ export * from "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton";
8617
+ export * from "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton";
8618
+ export * from "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton";
8619
+ export * from "libs/reach/feature/content/src/news/list-view/NewsCard";
8620
+ export * from "libs/reach/feature/content/src/news/list-view/NewsList";
8621
+ export * from "libs/reach/feature/content/src/news/useNewsApi";
8622
+ export * from "libs/reach/feature/content/src/news/useTranslateApi";
8623
+ }
8624
+ declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
8625
+ import { FC, ReactNode } from 'react';
8626
+ import { EventItem } from "libs/reach/util/common/src/index";
8627
+ import { ItemTileLayoutMode } from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
8628
+ interface StyleDefinition {
8629
+ backgroundColor?: string;
8630
+ noShadow?: boolean;
8631
+ channelsBackgroundColor?: string;
8632
+ bannerDefaultWidth?: number;
8633
+ showPlaceholderIfNoBannerInfo?: boolean;
8634
+ }
8635
+ interface Props {
8636
+ item: EventItem;
8637
+ baseRoute: string;
8638
+ layoutMode?: ItemTileLayoutMode;
8639
+ buttons?: ReactNode;
8640
+ openTargetInNewWindow?: boolean;
8641
+ onClick?: (event: React.MouseEvent<unknown>) => unknown;
8642
+ onChannelClick?: (channel: string) => unknown;
8643
+ styleDefinition?: StyleDefinition;
8644
+ className?: string;
8645
+ }
8646
+ export const EventItemTile: FC<Props>;
8647
+ }
8648
+ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextProvider" {
8649
+ import { FC } from 'react';
8650
+ import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
8651
+ export const DetailViewContextProvider: FC<{
8652
+ itemId: string;
8653
+ type?: ItemResourceTypes;
8654
+ loadItemFunc: (itemId: string) => Promise<PublishableItem>;
8655
+ isEditorPreview?: boolean;
8656
+ }>;
8657
+ }
8658
+ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
8659
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8660
+ export interface EmbeddedObjectPreviewData {
8661
+ itemId: string;
8662
+ type: string;
8663
+ subscriptionIdentifier: string;
8664
+ }
8665
+ export const InlineUrlPreviewMapper: HtmlComponentMapper;
8666
+ }
8667
+ declare module "libs/reach/feature/content/src/common/body/InlineImage" {
8668
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8669
+ export const InlineImageMapper: HtmlComponentMapper;
8670
+ }
8671
+ declare module "libs/reach/feature/content/src/common/body/InlineContact" {
8672
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8673
+ export interface ContactDetails {
8674
+ id: string;
8675
+ upn?: string;
8676
+ tenantId?: string;
8677
+ properties?: {
8678
+ [key: string]: {
8679
+ value: string;
8680
+ shouldAutoLoad?: boolean;
8681
+ };
8682
+ };
8683
+ }
8684
+ export const InlineContactMapper: HtmlComponentMapper;
8685
+ }
8686
+ declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
8687
+ import { FC } from 'react';
8688
+ import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
8689
+ export const InlineContactViewer: FC<{
8690
+ contact: ContactDetails;
8691
+ }>;
8692
+ }
8693
+ declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
8694
+ import { Account } from "libs/reach/util/common/src/index";
8695
+ export interface QuoteDetails {
8696
+ id: string;
8697
+ text: string;
8698
+ author?: Account;
8699
+ showAvatar?: boolean;
8700
+ index?: number;
8701
+ }
8702
+ }
8703
+ declare module "libs/reach/feature/content/src/common/body/InlineQuoteViewer" {
8704
+ import { FC } from 'react';
8705
+ import { QuoteDetails } from "libs/reach/feature/content/src/common/body/QuoteDetails";
8706
+ export const InlineQuoteViewer: FC<{
8707
+ quoteDetails: QuoteDetails;
8708
+ onClick?: () => void;
8709
+ className?: string;
8710
+ }>;
8711
+ }
8712
+ declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
8713
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8714
+ export const InlineQuoteMapper: HtmlComponentMapper;
8715
+ }
8716
+ declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
8717
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8718
+ export const InlineVideoMapper: HtmlComponentMapper;
8719
+ }
8720
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
8721
+ import { FC } from 'react';
8722
+ import { PageItem } from "libs/reach/util/common/src/index";
8723
+ export const InlinePageListViewer: FC<{
8724
+ items: PageItem[];
8725
+ baseRoute: string;
8726
+ filterBaseUrl?: string;
8727
+ isInitialLoading?: boolean;
8728
+ }>;
8729
+ }
8730
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
8731
+ import { FC } from 'react';
8732
+ import { PageItem } from "libs/reach/util/common/src/index";
8733
+ export interface ListPagingProps {
8734
+ getNextPage: () => unknown;
8735
+ getPrevPage: () => unknown;
8736
+ getFirstPage: () => unknown;
8737
+ isLoadingNextPage: boolean;
8738
+ isInitialLoading: boolean;
8739
+ isFirstPage: boolean;
8740
+ hideNextButton: boolean;
8741
+ }
8742
+ export const InlinePageListWithPaging: FC<{
8743
+ pages: PageItem[];
8744
+ baseRoute: string;
8745
+ pagingProps?: ListPagingProps;
8746
+ filterBaseUrl?: string;
8747
+ }>;
8748
+ }
8749
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
8750
+ import { DependencyList } from 'react';
8751
+ import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
8752
+ export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
8753
+ showPages: boolean;
8754
+ showDocuments: boolean;
8755
+ }, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
8756
+ pageItems: any[];
8757
+ pagingProps: {
8758
+ hideNextButton: boolean;
8759
+ isInitialLoading: boolean;
8760
+ isLoadingNextPage: boolean;
8761
+ error: any;
8762
+ getFirstPage: () => void;
8763
+ getPrevPage: () => void;
8764
+ getNextPage: () => Promise<void>;
8765
+ isFirstPage: boolean;
8766
+ isLastPage: boolean;
8767
+ isEmpty: boolean;
8768
+ };
8769
+ };
8770
+ }
8771
+ declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
8772
+ import { FC } from 'react';
8773
+ export const InlinePageListSkeleton: FC<{
8774
+ isDataLoaded: boolean;
8775
+ pageSize?: number;
8776
+ }>;
8777
+ }
8778
+ declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
8779
+ export interface CodeDetails {
8780
+ id: string;
8781
+ html: string;
8782
+ javascript: string;
8783
+ index?: number;
8784
+ }
8785
+ }
8786
+ declare module "libs/reach/feature/content/src/common/body/InlineCodeViewer" {
8787
+ import { FC } from 'react';
8788
+ import { CodeDetails } from "libs/reach/feature/content/src/common/body/CodeDetails";
8789
+ export const InlineCodeViewer: FC<{
8790
+ codeDetails: CodeDetails;
8791
+ showJsPlaceholder?: boolean;
8792
+ readOnly?: boolean;
8793
+ }>;
8794
+ }
8795
+ declare module "libs/reach/feature/content/src/common/body/InlineCode" {
8445
8796
  import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8446
8797
  export const InlineCodeMapper: HtmlComponentMapper;
8447
8798
  }
@@ -8943,175 +9294,43 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
8943
9294
  export const EventDetailViewFeedbackSection: FC<{
8944
9295
  hideLikes?: boolean;
8945
9296
  hideComments?: boolean;
8946
- hideProfileUrl?: boolean;
8947
- disableLoginForPublicUser?: boolean;
8948
- }>;
8949
- }
8950
- declare module "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins" {
8951
- import { FC } from 'react';
8952
- import { EventItem } from "libs/reach/util/common/src/index";
8953
- export const EventDetailViewPlugins: FC<{
8954
- eventItem: EventItem;
8955
- }>;
8956
- }
8957
- declare module "libs/reach/feature/content/src/news/DateInfo" {
8958
- import { PublishableItem } from "libs/reach/util/common/src/index";
8959
- interface DateInfoProps {
8960
- item: Partial<PublishableItem>;
8961
- dateMode: DateMode;
8962
- expiryDate?: string;
8963
- className?: string;
8964
- }
8965
- export enum DateMode {
8966
- Published = 0,
8967
- Modified = 1
8968
- }
8969
- export const DateInfo: React.FC<DateInfoProps>;
8970
- }
8971
- declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
8972
- import { SchedulableItemChannel } from "libs/reach/util/common/src/index";
8973
- import { DateMode } from "libs/reach/feature/content/src/news/DateInfo";
8974
- import { Account } from "libs/reach/util/common/src/index";
8975
- import { PublishableItem } from "libs/reach/util/common/src/index";
8976
- export const getAuthor: (item: Partial<PublishableItem>) => Account;
8977
- export const ItemMetaInfo: React.FC<{
8978
- item: Partial<PublishableItem>;
8979
- className?: string;
8980
- expiryDate?: string;
8981
- channels?: SchedulableItemChannel[];
8982
- showChannels?: boolean;
8983
- dateMode: DateMode;
8984
- readOnly?: boolean;
8985
- hideAvatar?: boolean;
8986
- hideDisplayName?: boolean;
8987
- language?: string;
8988
- buildChannelFilterUrl?: (channelName: string) => string;
8989
- clickableAvatar?: boolean;
8990
- }>;
8991
- }
8992
- declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo" {
8993
- import { FC } from 'react';
8994
- export const PageDetailViewMetaInfo: FC;
8995
- }
8996
- declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
8997
- import { FC } from 'react';
8998
- export const PageDetailViewFeedbackSection: FC<{
8999
- hideLikes?: boolean;
9000
- hideComments?: boolean;
9001
- hideProfileUrl?: boolean;
9002
- disableLoginForPublicUser?: boolean;
9003
- }>;
9004
- }
9005
- declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
9006
- import { PageItem } from "libs/reach/util/common/src/index";
9007
- import * as H from 'history';
9008
- export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
9009
- showSearch: boolean;
9010
- handleSearchTextChange: (searchText: string) => void;
9011
- redirectToSearchPage: (searchText: string) => void;
9012
- };
9013
- }
9014
- declare module "libs/reach/feature/content/src/pages/PageTocSearch" {
9015
- import { FC } from 'react';
9016
- import { PaginatedList } from "libs/reach/util/common/src/index";
9017
- import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
9018
- export const PageTocSearch: FC<{
9019
- onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
9020
- onSearchResultChange: (pages: PageNavigationNode[]) => unknown;
9021
- }>;
9022
- }
9023
- declare module "libs/reach/feature/content/src/pages/pageTocUtils" {
9024
- import { PageNavigationNode } from "libs/reach/util/common/src/index";
9025
- export function filterChildren(page: PageNavigationNode, activePage: PageNavigationNode): boolean;
9026
- }
9027
- declare module "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton" {
9028
- import { FC, MouseEvent } from 'react';
9029
- import { PublishableItem } from "libs/reach/util/common/src/index";
9030
- import { PageNavigationNode } from "libs/reach/util/common/src/index";
9031
- export const ExternalPagesLinkButton: FC<{
9032
- item: PublishableItem | PageNavigationNode;
9033
- disabled?: boolean;
9034
- onClick?: (e: MouseEvent) => unknown;
9035
- className?: string;
9036
- }>;
9037
- }
9038
- declare module "libs/reach/feature/content/src/pages/PageTocNode" {
9039
- import { FC } from 'react';
9040
- import { PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
9041
- export const PageNode: FC<{
9042
- node: PageNavigationNode;
9043
- basePath?: string;
9044
- activePage?: PageNavigationNode;
9045
- navigationContext?: PageNavigationContext;
9046
- loadChildren: (id: string) => Promise<PageNavigationNode[]>;
9047
- path: string[];
9048
- className?: string;
9049
- isRootNode: boolean;
9050
- hide?: boolean;
9051
- onPageSelected?: (pageId: string) => unknown;
9052
- selectedPageId?: string;
9053
- }>;
9054
- }
9055
- declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
9056
- import { FC } from 'react';
9057
- import { PageItem, PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
9058
- import { PaginatedList } from "libs/reach/util/common/src/index";
9059
- export const PageTableOfContents: FC<{
9060
- basePath?: string;
9061
- activePageId?: string;
9062
- navigationContext: PageNavigationContext;
9063
- loadChildren: (id: string) => Promise<PageNavigationNode[]>;
9064
- onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
9065
- onPageSelected?: (pageId: string) => unknown;
9066
- className?: string;
9067
- selectedPageId?: string;
9068
- isLoading?: boolean;
9069
- disableScrollableList?: boolean;
9070
- }>;
9071
- export const PageTableOfContentsInPanel: FC<{
9072
- basePath?: string;
9073
- activePageId?: string;
9074
- navigationContext: PageNavigationContext;
9075
- loadChildren: (id: string) => Promise<PageNavigationNode[]>;
9076
- onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
9077
- isLoading?: boolean;
9078
- }>;
9079
- }
9080
- declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog" {
9081
- import { FC } from 'react';
9082
- import { PageItem, PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
9083
- import { PaginatedList } from "libs/reach/util/common/src/index";
9084
- export const PageTableOfContentsDialog: FC<{
9085
- isOpen: boolean;
9086
- navigationContext: PageNavigationContext;
9087
- activePageId?: string;
9088
- loadChildren: (id: string) => Promise<PageNavigationNode[]>;
9089
- onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
9090
- onDismiss: () => void;
9091
- basePath: string;
9297
+ hideProfileUrl?: boolean;
9298
+ disableLoginForPublicUser?: boolean;
9092
9299
  }>;
9093
9300
  }
9094
- declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
9301
+ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins" {
9095
9302
  import { FC } from 'react';
9096
- import { PageItem, PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
9097
- import { PaginatedList } from "libs/reach/util/common/src/index";
9098
- export const PageTableOfContentsButton: FC<{
9099
- activePageId?: string;
9100
- navigationContext: PageNavigationContext;
9101
- loadChildren: (id: string) => Promise<PageNavigationNode[]>;
9102
- onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
9103
- basePath: string;
9104
- className?: string;
9303
+ import { EventItem } from "libs/reach/util/common/src/index";
9304
+ export const EventDetailViewPlugins: FC<{
9305
+ eventItem: EventItem;
9105
9306
  }>;
9106
9307
  }
9308
+ declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo" {
9309
+ import { FC } from 'react';
9310
+ export const PageDetailViewMetaInfo: FC;
9311
+ }
9312
+ declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
9313
+ import { FC } from 'react';
9314
+ export const PageDetailViewFeedbackSection: FC<{
9315
+ hideLikes?: boolean;
9316
+ hideComments?: boolean;
9317
+ hideProfileUrl?: boolean;
9318
+ disableLoginForPublicUser?: boolean;
9319
+ }>;
9320
+ }
9321
+ declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
9322
+ import { PageItem } from "libs/reach/util/common/src/index";
9323
+ import * as H from 'history';
9324
+ export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
9325
+ showSearch: boolean;
9326
+ handleSearchTextChange: (searchText: string) => void;
9327
+ redirectToSearchPage: (searchText: string) => void;
9328
+ };
9329
+ }
9107
9330
  declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton" {
9108
9331
  import { FC } from 'react';
9109
9332
  export const PageDetailViewTableOfContentsButton: FC;
9110
9333
  }
9111
- declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
9112
- import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
9113
- export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
9114
- }
9115
9334
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
9116
9335
  import { FC } from 'react';
9117
9336
  export const InlinePageListByKeywords: FC<{
@@ -9120,10 +9339,6 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
9120
9339
  showPages?: boolean;
9121
9340
  }>;
9122
9341
  }
9123
- declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
9124
- import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
9125
- export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
9126
- }
9127
9342
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
9128
9343
  import { FC } from 'react';
9129
9344
  export const InlinePageListByPageId: FC<{
@@ -9155,17 +9370,6 @@ declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
9155
9370
  }>;
9156
9371
  export const InlinePageListMapper: HtmlComponentMapper;
9157
9372
  }
9158
- declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
9159
- import { FC } from 'react';
9160
- import { PageItem } from "libs/reach/util/common/src/index";
9161
- export const PageBreadcrumb: FC<{
9162
- page: PageItem;
9163
- target?: string;
9164
- language?: string;
9165
- hideCurrentPageNode?: boolean;
9166
- className?: string;
9167
- }>;
9168
- }
9169
9373
  declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
9170
9374
  import { FC } from 'react';
9171
9375
  import { PageItem } from "libs/reach/util/common/src/index";
@@ -9177,35 +9381,6 @@ declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPag
9177
9381
  basePath?: string;
9178
9382
  }>;
9179
9383
  }
9180
- declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
9181
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9182
- import { PublishableItem } from "libs/reach/util/common/src/index";
9183
- interface Props {
9184
- id: string;
9185
- item: PublishableItem;
9186
- itemResourceType: ItemResourceTypes;
9187
- }
9188
- export const CardBanner: React.FC<Props>;
9189
- }
9190
- declare module "libs/reach/feature/content/src/common/cards/Card" {
9191
- import { FC, ReactNode } from 'react';
9192
- import { PublishableItem } from "libs/reach/util/common/src/index";
9193
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9194
- import { CurrentUser } from "libs/reach/util/common/src/index";
9195
- interface CardProps {
9196
- item: PublishableItem;
9197
- itemResourceType: ItemResourceTypes;
9198
- additionalMetadata?: ReactNode;
9199
- highlight?: boolean;
9200
- className?: string;
9201
- }
9202
- export const Card: FC<CardProps>;
9203
- export interface CardItem<TItem = PublishableItem> {
9204
- item: TItem;
9205
- language: string;
9206
- }
9207
- export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
9208
- }
9209
9384
  declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
9210
9385
  import { FC } from 'react';
9211
9386
  interface LanguageSelectorProps {
@@ -9610,176 +9785,6 @@ declare module "libs/reach/feature/content/src/forms/index" {
9610
9785
  export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
9611
9786
  export * from "libs/reach/feature/content/src/forms/videos/VideoView";
9612
9787
  }
9613
- declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
9614
- import { FC } from 'react';
9615
- import { PublishableItem } from "libs/reach/util/common/src/index";
9616
- export const ExternalNewsLinkButton: FC<{
9617
- item: PublishableItem;
9618
- disabled?: boolean;
9619
- onClick?: (e: React.MouseEvent<unknown>) => unknown;
9620
- className?: string;
9621
- }>;
9622
- }
9623
- declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
9624
- export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
9625
- export const Intro: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
9626
- }
9627
- declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
9628
- import { FC } from 'react';
9629
- import { NewsItem } from "libs/reach/util/common/src/index";
9630
- interface NewsCardProps {
9631
- item: NewsItem;
9632
- baseRoute: string;
9633
- language: string;
9634
- showComments: boolean;
9635
- highlight: boolean;
9636
- className?: string;
9637
- }
9638
- export const NewsCard: FC<NewsCardProps>;
9639
- }
9640
- declare module "libs/reach/feature/content/src/news/list-view/EmptyChannelsView" {
9641
- import { FC } from 'react';
9642
- export const EmptyChannelsView: FC;
9643
- }
9644
- declare module "libs/reach/feature/content/src/news/list-view/PromotedNewsItem" {
9645
- import { FC } from 'react';
9646
- import { NewsItem } from "libs/reach/util/common/src/index";
9647
- interface Props {
9648
- item: NewsItem;
9649
- iconName: string;
9650
- iconTooltipStringResource: string;
9651
- baseItemRoute: string;
9652
- msColorName: string;
9653
- }
9654
- export const PromotedNewsItem: FC<Props>;
9655
- }
9656
- declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
9657
- import { FC } from 'react';
9658
- import { NewsItem } from "libs/reach/util/common/src/index";
9659
- import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
9660
- export const NewsList: FC<{
9661
- items: NewsItem[];
9662
- baseItemRoute: string;
9663
- isLoading: boolean;
9664
- isLastPage: boolean;
9665
- unreadOnly?: boolean;
9666
- filter?: NewsFilterDefinition;
9667
- }>;
9668
- }
9669
- declare module "libs/reach/feature/content/src/news/useTranslateApi" {
9670
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9671
- import { PublishableItemContent } from "libs/reach/util/common/src/index";
9672
- export function useTranslateApi(): {
9673
- translateContents: (type: ItemResourceTypes, itemId: string, language: string) => Promise<PublishableItemContent>;
9674
- };
9675
- }
9676
- declare module "libs/reach/feature/content/src/news/index" {
9677
- export * from "libs/reach/feature/content/src/news/DateInfo";
9678
- export * from "libs/reach/feature/content/src/news/ItemMetaInfo";
9679
- export * from "libs/reach/feature/content/src/news/NewsService";
9680
- export * from "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton";
9681
- export * from "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton";
9682
- export * from "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton";
9683
- export * from "libs/reach/feature/content/src/news/list-view/NewsCard";
9684
- export * from "libs/reach/feature/content/src/news/list-view/NewsList";
9685
- export * from "libs/reach/feature/content/src/news/useNewsApi";
9686
- export * from "libs/reach/feature/content/src/news/useTranslateApi";
9687
- }
9688
- declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
9689
- import { FC } from 'react';
9690
- import { SearchHighlight } from "libs/reach/util/common/src/index";
9691
- export const SearchHighlighter: FC<{
9692
- highlight: SearchHighlight;
9693
- }>;
9694
- export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
9695
- export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
9696
- }
9697
- declare module "libs/reach/feature/content/src/pages/PageTitle" {
9698
- import { FC } from 'react';
9699
- import { PageItem } from "libs/reach/util/common/src/index";
9700
- export const PageTitle: FC<{
9701
- page: PageItem;
9702
- title: string;
9703
- search?: string;
9704
- className?: string;
9705
- }>;
9706
- export const PageClickableOverlay: FC<{
9707
- page: PageItem;
9708
- baseRoute: string;
9709
- title: string;
9710
- }>;
9711
- }
9712
- declare module "libs/reach/feature/content/src/pages/PageCard" {
9713
- import { FC } from 'react';
9714
- import { PageItem } from "libs/reach/util/common/src/index";
9715
- interface PagesCardProps {
9716
- item: PageItem;
9717
- baseRoute: string;
9718
- language: string;
9719
- className?: string;
9720
- }
9721
- export const PageCard: FC<PagesCardProps>;
9722
- }
9723
- declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
9724
- import { FC } from 'react';
9725
- import { PageItem } from "libs/reach/util/common/src/index";
9726
- export const PageListItemBody: FC<{
9727
- page: PageItem;
9728
- search?: string;
9729
- }>;
9730
- }
9731
- declare module "libs/reach/feature/content/src/pages/PageListItem" {
9732
- import { FC } from 'react';
9733
- import { PageItem } from "libs/reach/util/common/src/index";
9734
- export const PageListItem: FC<{
9735
- page: PageItem;
9736
- baseLink: string;
9737
- search?: string;
9738
- className?: string;
9739
- }>;
9740
- }
9741
- declare module "libs/reach/feature/content/src/pages/PagesDetailViewNavigation" {
9742
- import { FC } from 'react';
9743
- import { PageNavigationContext } from "libs/reach/util/common/src/index";
9744
- interface Props {
9745
- basePath: string;
9746
- activePageId: string;
9747
- navigationContext: PageNavigationContext;
9748
- className?: string;
9749
- }
9750
- export const PagesDetailViewNavigation: FC<Props>;
9751
- }
9752
- declare module "libs/reach/feature/content/src/pages/PagesGroupsSelector" {
9753
- import { FC } from 'react';
9754
- import { UserGroup } from "libs/reach/util/common/src/index";
9755
- export const PagesGroupsSelector: FC<{
9756
- groups: UserGroup[];
9757
- }>;
9758
- }
9759
- declare module "libs/reach/feature/content/src/pages/usePagesStringResources" {
9760
- export function usePagesStringResources(): {
9761
- getTitleTypes: (operatorKey: string) => string;
9762
- getTypes: (operatorKey: string) => string;
9763
- getTitleSubTypes: (operatorKey: string) => string;
9764
- getSubTypes: (operatorKey: string) => string;
9765
- };
9766
- }
9767
- declare module "libs/reach/feature/content/src/pages/index" {
9768
- export * from "libs/reach/feature/content/src/pages/PageCard";
9769
- export * from "libs/reach/feature/content/src/pages/PageFilterDefinition";
9770
- export * from "libs/reach/feature/content/src/pages/PageListItem";
9771
- export * from "libs/reach/feature/content/src/pages/PageTableOfContents";
9772
- export * from "libs/reach/feature/content/src/pages/PageTableOfContentsButton";
9773
- export * from "libs/reach/feature/content/src/pages/PageTableOfContentsDialog";
9774
- export * from "libs/reach/feature/content/src/pages/PagesDetailViewNavigation";
9775
- export * from "libs/reach/feature/content/src/pages/PagesGroupsSelector";
9776
- export * from "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords";
9777
- export * from "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId";
9778
- export * from "libs/reach/feature/content/src/pages/usePagesApi";
9779
- export * from "libs/reach/feature/content/src/pages/usePagesClickHandler";
9780
- export * from "libs/reach/feature/content/src/pages/usePagesStringResources";
9781
- export * from "libs/reach/feature/content/src/pages/utils";
9782
- }
9783
9788
  declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
9784
9789
  import { FC } from 'react';
9785
9790
  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.456",
7
+ "version": "0.4.0-preview.459",
8
8
  "dependencies": {}
9
9
  }