@livetiles/reach-plugin-types 0.4.0-preview.455 → 0.4.0-preview.458

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 +548 -516
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -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,176 +8275,546 @@ 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/detail/DetailViewContextProvider" {
8272
- import { FC } from 'react';
8273
- import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
8274
- export const DetailViewContextProvider: FC<{
8275
- itemId: string;
8276
- type?: ItemResourceTypes;
8277
- loadItemFunc: (itemId: string) => Promise<PublishableItem>;
8278
- isEditorPreview?: boolean;
8279
- }>;
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";
8281
+ interface Props {
8282
+ id: string;
8283
+ item: PublishableItem;
8284
+ itemResourceType: ItemResourceTypes;
8285
+ }
8286
+ export const CardBanner: React.FC<Props>;
8280
8287
  }
8281
- declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
8282
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8283
- export interface EmbeddedObjectPreviewData {
8284
- itemId: string;
8285
- type: string;
8286
- 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;
8287
8299
  }
8288
- 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>[];
8289
8306
  }
8290
- declare module "libs/reach/feature/content/src/common/body/InlineImage" {
8291
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8292
- 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>;
8293
8310
  }
8294
- declare module "libs/reach/feature/content/src/common/body/InlineContact" {
8295
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8296
- export interface ContactDetails {
8297
- id: string;
8298
- upn?: string;
8299
- tenantId?: string;
8300
- properties?: {
8301
- [key: string]: {
8302
- value: string;
8303
- shouldAutoLoad?: boolean;
8304
- };
8305
- };
8306
- }
8307
- 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[];
8308
8319
  }
8309
- declare module "libs/reach/feature/content/src/common/body/InlineContactViewer" {
8320
+ declare module "libs/reach/feature/content/src/pages/PageTitle" {
8310
8321
  import { FC } from 'react';
8311
- import { ContactDetails } from "libs/reach/feature/content/src/common/body/InlineContact";
8312
- export const InlineContactViewer: FC<{
8313
- 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;
8314
8333
  }>;
8315
8334
  }
8316
- declare module "libs/reach/feature/content/src/common/body/QuoteDetails" {
8317
- import { Account } from "libs/reach/util/common/src/index";
8318
- export interface QuoteDetails {
8319
- id: string;
8320
- text: string;
8321
- author?: Account;
8322
- showAvatar?: boolean;
8323
- 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;
8324
8343
  }
8344
+ export const PageCard: FC<PagesCardProps>;
8325
8345
  }
8326
- declare module "libs/reach/feature/content/src/common/body/InlineQuoteViewer" {
8346
+ declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
8327
8347
  import { FC } from 'react';
8328
- import { QuoteDetails } from "libs/reach/feature/content/src/common/body/QuoteDetails";
8329
- export const InlineQuoteViewer: FC<{
8330
- quoteDetails: QuoteDetails;
8331
- 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;
8332
8354
  className?: string;
8333
8355
  }>;
8334
8356
  }
8335
- declare module "libs/reach/feature/content/src/common/body/InlineQuote" {
8336
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8337
- export const InlineQuoteMapper: HtmlComponentMapper;
8338
- }
8339
- declare module "libs/reach/feature/content/src/common/body/InlineVideo" {
8340
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8341
- export const InlineVideoMapper: HtmlComponentMapper;
8342
- }
8343
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListViewer" {
8357
+ declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
8344
8358
  import { FC } from 'react';
8345
8359
  import { PageItem } from "libs/reach/util/common/src/index";
8346
- export const InlinePageListViewer: FC<{
8347
- items: PageItem[];
8348
- baseRoute: string;
8349
- filterBaseUrl?: string;
8350
- isInitialLoading?: boolean;
8360
+ export const PageListItemBody: FC<{
8361
+ page: PageItem;
8362
+ search?: string;
8351
8363
  }>;
8352
8364
  }
8353
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListWithPaging" {
8365
+ declare module "libs/reach/feature/content/src/pages/PageListItem" {
8354
8366
  import { FC } from 'react';
8355
8367
  import { PageItem } from "libs/reach/util/common/src/index";
8356
- export interface ListPagingProps {
8357
- getNextPage: () => unknown;
8358
- getPrevPage: () => unknown;
8359
- getFirstPage: () => unknown;
8360
- isLoadingNextPage: boolean;
8361
- isInitialLoading: boolean;
8362
- isFirstPage: boolean;
8363
- hideNextButton: boolean;
8364
- }
8365
- export const InlinePageListWithPaging: FC<{
8366
- pages: PageItem[];
8367
- baseRoute: string;
8368
- pagingProps?: ListPagingProps;
8369
- filterBaseUrl?: string;
8368
+ export const PageListItem: FC<{
8369
+ page: PageItem;
8370
+ baseLink: string;
8371
+ search?: string;
8372
+ className?: string;
8370
8373
  }>;
8371
8374
  }
8372
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/useItemLoaderByCurrentPage" {
8373
- import { DependencyList } from 'react';
8374
- import { PageItem, PageNavigationContext, PageType } from "libs/reach/util/common/src/index";
8375
- export function useItemLoaderByCurrentPage(currentPageId: string, pageSize: number, navigationContext: PageNavigationContext, settings: {
8376
- showPages: boolean;
8377
- showDocuments: boolean;
8378
- }, getAllItemsHandler: (id: string, pageType?: PageType) => Promise<PageItem[]>, deps?: DependencyList): {
8379
- pageItems: any[];
8380
- pagingProps: {
8381
- hideNextButton: boolean;
8382
- isInitialLoading: boolean;
8383
- isLoadingNextPage: boolean;
8384
- error: any;
8385
- getFirstPage: () => void;
8386
- getPrevPage: () => void;
8387
- getNextPage: () => Promise<void>;
8388
- isFirstPage: boolean;
8389
- isLastPage: boolean;
8390
- isEmpty: boolean;
8391
- };
8392
- };
8393
- }
8394
- declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListSkeleton" {
8375
+ declare module "libs/reach/feature/content/src/pages/PageTocSearch" {
8395
8376
  import { FC } from 'react';
8396
- export const InlinePageListSkeleton: FC<{
8397
- isDataLoaded: boolean;
8398
- 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;
8399
8382
  }>;
8400
8383
  }
8401
- declare module "libs/reach/feature/content/src/common/body/CodeDetails" {
8402
- export interface CodeDetails {
8403
- id: string;
8404
- html: string;
8405
- javascript: string;
8406
- index?: number;
8407
- }
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;
8408
8387
  }
8409
- declare module "libs/reach/feature/content/src/common/body/InlineCodeViewer" {
8410
- import { FC } from 'react';
8411
- import { CodeDetails } from "libs/reach/feature/content/src/common/body/CodeDetails";
8412
- export const InlineCodeViewer: FC<{
8413
- codeDetails: CodeDetails;
8414
- showJsPlaceholder?: boolean;
8415
- readOnly?: boolean;
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;
8416
8397
  }>;
8417
8398
  }
8418
- declare module "libs/reach/feature/content/src/common/body/InlineCode" {
8419
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8420
- export const InlineCodeMapper: HtmlComponentMapper;
8399
+ declare module "libs/reach/feature/content/src/pages/PageTocNode" {
8400
+ import { FC } from 'react';
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;
8414
+ }>;
8421
8415
  }
8422
- declare module "libs/reach/feature/content/src/common/body/InlineTable" {
8423
- import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8424
- import { CSSProperties } from 'react';
8425
- export interface CellStyle {
8426
- isBold?: boolean;
8427
- isItalic?: boolean;
8428
- textAlign?: 'left' | 'center' | 'right';
8429
- fontColor?: string;
8430
- backgroundColor?: string;
8431
- }
8432
- export interface TableCell {
8433
- value: string;
8434
- style?: CellStyle;
8435
- cellId: string;
8436
- isMultiline?: boolean;
8437
- url?: string;
8438
- }
8439
- export interface TableRow {
8440
- rowId: string;
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" {
8796
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8797
+ export const InlineCodeMapper: HtmlComponentMapper;
8798
+ }
8799
+ declare module "libs/reach/feature/content/src/common/body/InlineTable" {
8800
+ import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
8801
+ import { CSSProperties } from 'react';
8802
+ export interface CellStyle {
8803
+ isBold?: boolean;
8804
+ isItalic?: boolean;
8805
+ textAlign?: 'left' | 'center' | 'right';
8806
+ fontColor?: string;
8807
+ backgroundColor?: string;
8808
+ }
8809
+ export interface TableCell {
8810
+ value: string;
8811
+ style?: CellStyle;
8812
+ cellId: string;
8813
+ isMultiline?: boolean;
8814
+ url?: string;
8815
+ }
8816
+ export interface TableRow {
8817
+ rowId: string;
8441
8818
  cells: TableCell[];
8442
8819
  }
8443
8820
  export type TableFormat = {
@@ -8917,175 +9294,43 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
8917
9294
  export const EventDetailViewFeedbackSection: FC<{
8918
9295
  hideLikes?: boolean;
8919
9296
  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;
9297
+ hideProfileUrl?: boolean;
9298
+ disableLoginForPublicUser?: boolean;
9066
9299
  }>;
9067
9300
  }
9068
- declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
9301
+ declare module "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins" {
9069
9302
  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;
9303
+ import { EventItem } from "libs/reach/util/common/src/index";
9304
+ export const EventDetailViewPlugins: FC<{
9305
+ eventItem: EventItem;
9079
9306
  }>;
9080
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
+ }
9081
9330
  declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton" {
9082
9331
  import { FC } from 'react';
9083
9332
  export const PageDetailViewTableOfContentsButton: FC;
9084
9333
  }
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
9334
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
9090
9335
  import { FC } from 'react';
9091
9336
  export const InlinePageListByKeywords: FC<{
@@ -9094,10 +9339,6 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
9094
9339
  showPages?: boolean;
9095
9340
  }>;
9096
9341
  }
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
9342
  declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
9102
9343
  import { FC } from 'react';
9103
9344
  export const InlinePageListByPageId: FC<{
@@ -9129,17 +9370,6 @@ declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
9129
9370
  }>;
9130
9371
  export const InlinePageListMapper: HtmlComponentMapper;
9131
9372
  }
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
9373
  declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
9144
9374
  import { FC } from 'react';
9145
9375
  import { PageItem } from "libs/reach/util/common/src/index";
@@ -9151,35 +9381,6 @@ declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPag
9151
9381
  basePath?: string;
9152
9382
  }>;
9153
9383
  }
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
9384
  declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
9184
9385
  import { FC } from 'react';
9185
9386
  interface LanguageSelectorProps {
@@ -9328,6 +9529,7 @@ declare module "libs/reach/feature/content/src/common/useCommonEditorApi" {
9328
9529
  declare module "libs/reach/feature/content/src/common/index" {
9329
9530
  export * from "libs/reach/feature/content/src/common/cards/CardFooter";
9330
9531
  export * from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
9532
+ export * from "libs/reach/feature/content/src/common/item-tile/EventItemTile";
9331
9533
  export * from "libs/reach/feature/content/src/common/item-tile/Title";
9332
9534
  export * from "libs/reach/feature/content/src/common/detail/DetailViewContextProvider";
9333
9535
  export * from "libs/reach/feature/content/src/common/body/InlineUrlPreview";
@@ -9583,176 +9785,6 @@ declare module "libs/reach/feature/content/src/forms/index" {
9583
9785
  export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
9584
9786
  export * from "libs/reach/feature/content/src/forms/videos/VideoView";
9585
9787
  }
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
9788
  declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
9757
9789
  import { FC } from 'react';
9758
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.455",
7
+ "version": "0.4.0-preview.458",
8
8
  "dependencies": {}
9
9
  }