@livetiles/reach-plugin-types 0.4.0-preview.456 → 0.4.0-preview.457
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +374 -376
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -8268,6 +8268,352 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8268
8268
|
}>;
|
|
8269
8269
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
8270
8270
|
}
|
|
8271
|
+
declare module "libs/reach/feature/content/src/common/cards/CardBanner" {
|
|
8272
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8273
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8274
|
+
interface Props {
|
|
8275
|
+
id: string;
|
|
8276
|
+
item: PublishableItem;
|
|
8277
|
+
itemResourceType: ItemResourceTypes;
|
|
8278
|
+
}
|
|
8279
|
+
export const CardBanner: React.FC<Props>;
|
|
8280
|
+
}
|
|
8281
|
+
declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
8282
|
+
import { FC, ReactNode } from 'react';
|
|
8283
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8284
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8285
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
8286
|
+
interface CardProps {
|
|
8287
|
+
item: PublishableItem;
|
|
8288
|
+
itemResourceType: ItemResourceTypes;
|
|
8289
|
+
additionalMetadata?: ReactNode;
|
|
8290
|
+
highlight?: boolean;
|
|
8291
|
+
className?: string;
|
|
8292
|
+
}
|
|
8293
|
+
export const Card: FC<CardProps>;
|
|
8294
|
+
export interface CardItem<TItem = PublishableItem> {
|
|
8295
|
+
item: TItem;
|
|
8296
|
+
language: string;
|
|
8297
|
+
}
|
|
8298
|
+
export function getCardItems<TItem extends PublishableItem>(items: TItem[], user: CurrentUser): CardItem<TItem>[];
|
|
8299
|
+
}
|
|
8300
|
+
declare module "libs/reach/feature/content/src/common/cards/CardStyles" {
|
|
8301
|
+
export const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8302
|
+
export const Intro: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
8303
|
+
}
|
|
8304
|
+
declare module "libs/reach/feature/content/src/pages/SearchHighlighter" {
|
|
8305
|
+
import { FC } from 'react';
|
|
8306
|
+
import { SearchHighlight } from "libs/reach/util/common/src/index";
|
|
8307
|
+
export const SearchHighlighter: FC<{
|
|
8308
|
+
highlight: SearchHighlight;
|
|
8309
|
+
}>;
|
|
8310
|
+
export function tryGetHighlight(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight;
|
|
8311
|
+
export function tryGetAllHighlights(highlights: SearchHighlight[], preferredLanguage: string): SearchHighlight[];
|
|
8312
|
+
}
|
|
8313
|
+
declare module "libs/reach/feature/content/src/pages/PageTitle" {
|
|
8314
|
+
import { FC } from 'react';
|
|
8315
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8316
|
+
export const PageTitle: FC<{
|
|
8317
|
+
page: PageItem;
|
|
8318
|
+
title: string;
|
|
8319
|
+
search?: string;
|
|
8320
|
+
className?: string;
|
|
8321
|
+
}>;
|
|
8322
|
+
export const PageClickableOverlay: FC<{
|
|
8323
|
+
page: PageItem;
|
|
8324
|
+
baseRoute: string;
|
|
8325
|
+
title: string;
|
|
8326
|
+
}>;
|
|
8327
|
+
}
|
|
8328
|
+
declare module "libs/reach/feature/content/src/pages/PageCard" {
|
|
8329
|
+
import { FC } from 'react';
|
|
8330
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8331
|
+
interface PagesCardProps {
|
|
8332
|
+
item: PageItem;
|
|
8333
|
+
baseRoute: string;
|
|
8334
|
+
language: string;
|
|
8335
|
+
className?: string;
|
|
8336
|
+
}
|
|
8337
|
+
export const PageCard: FC<PagesCardProps>;
|
|
8338
|
+
}
|
|
8339
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb" {
|
|
8340
|
+
import { FC } from 'react';
|
|
8341
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8342
|
+
export const PageBreadcrumb: FC<{
|
|
8343
|
+
page: PageItem;
|
|
8344
|
+
target?: string;
|
|
8345
|
+
language?: string;
|
|
8346
|
+
hideCurrentPageNode?: boolean;
|
|
8347
|
+
className?: string;
|
|
8348
|
+
}>;
|
|
8349
|
+
}
|
|
8350
|
+
declare module "libs/reach/feature/content/src/pages/PageListItemBody" {
|
|
8351
|
+
import { FC } from 'react';
|
|
8352
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8353
|
+
export const PageListItemBody: FC<{
|
|
8354
|
+
page: PageItem;
|
|
8355
|
+
search?: string;
|
|
8356
|
+
}>;
|
|
8357
|
+
}
|
|
8358
|
+
declare module "libs/reach/feature/content/src/pages/PageListItem" {
|
|
8359
|
+
import { FC } from 'react';
|
|
8360
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
8361
|
+
export const PageListItem: FC<{
|
|
8362
|
+
page: PageItem;
|
|
8363
|
+
baseLink: string;
|
|
8364
|
+
search?: string;
|
|
8365
|
+
className?: string;
|
|
8366
|
+
}>;
|
|
8367
|
+
}
|
|
8368
|
+
declare module "libs/reach/feature/content/src/pages/PageTocSearch" {
|
|
8369
|
+
import { FC } from 'react';
|
|
8370
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
8371
|
+
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8372
|
+
export const PageTocSearch: FC<{
|
|
8373
|
+
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8374
|
+
onSearchResultChange: (pages: PageNavigationNode[]) => unknown;
|
|
8375
|
+
}>;
|
|
8376
|
+
}
|
|
8377
|
+
declare module "libs/reach/feature/content/src/pages/pageTocUtils" {
|
|
8378
|
+
import { PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8379
|
+
export function filterChildren(page: PageNavigationNode, activePage: PageNavigationNode): boolean;
|
|
8380
|
+
}
|
|
8381
|
+
declare module "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton" {
|
|
8382
|
+
import { FC, MouseEvent } from 'react';
|
|
8383
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8384
|
+
import { PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8385
|
+
export const ExternalPagesLinkButton: FC<{
|
|
8386
|
+
item: PublishableItem | PageNavigationNode;
|
|
8387
|
+
disabled?: boolean;
|
|
8388
|
+
onClick?: (e: MouseEvent) => unknown;
|
|
8389
|
+
className?: string;
|
|
8390
|
+
}>;
|
|
8391
|
+
}
|
|
8392
|
+
declare module "libs/reach/feature/content/src/pages/PageTocNode" {
|
|
8393
|
+
import { FC } from 'react';
|
|
8394
|
+
import { PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8395
|
+
export const PageNode: FC<{
|
|
8396
|
+
node: PageNavigationNode;
|
|
8397
|
+
basePath?: string;
|
|
8398
|
+
activePage?: PageNavigationNode;
|
|
8399
|
+
navigationContext?: PageNavigationContext;
|
|
8400
|
+
loadChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
8401
|
+
path: string[];
|
|
8402
|
+
className?: string;
|
|
8403
|
+
isRootNode: boolean;
|
|
8404
|
+
hide?: boolean;
|
|
8405
|
+
onPageSelected?: (pageId: string) => unknown;
|
|
8406
|
+
selectedPageId?: string;
|
|
8407
|
+
}>;
|
|
8408
|
+
}
|
|
8409
|
+
declare module "libs/reach/feature/content/src/pages/PageTableOfContents" {
|
|
8410
|
+
import { FC } from 'react';
|
|
8411
|
+
import { PageItem, PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8412
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
8413
|
+
export const PageTableOfContents: FC<{
|
|
8414
|
+
basePath?: string;
|
|
8415
|
+
activePageId?: string;
|
|
8416
|
+
navigationContext: PageNavigationContext;
|
|
8417
|
+
loadChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
8418
|
+
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8419
|
+
onPageSelected?: (pageId: string) => unknown;
|
|
8420
|
+
className?: string;
|
|
8421
|
+
selectedPageId?: string;
|
|
8422
|
+
isLoading?: boolean;
|
|
8423
|
+
disableScrollableList?: boolean;
|
|
8424
|
+
}>;
|
|
8425
|
+
export const PageTableOfContentsInPanel: FC<{
|
|
8426
|
+
basePath?: string;
|
|
8427
|
+
activePageId?: string;
|
|
8428
|
+
navigationContext: PageNavigationContext;
|
|
8429
|
+
loadChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
8430
|
+
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8431
|
+
isLoading?: boolean;
|
|
8432
|
+
}>;
|
|
8433
|
+
}
|
|
8434
|
+
declare module "libs/reach/feature/content/src/pages/PageTableOfContentsDialog" {
|
|
8435
|
+
import { FC } from 'react';
|
|
8436
|
+
import { PageItem, PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8437
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
8438
|
+
export const PageTableOfContentsDialog: FC<{
|
|
8439
|
+
isOpen: boolean;
|
|
8440
|
+
navigationContext: PageNavigationContext;
|
|
8441
|
+
activePageId?: string;
|
|
8442
|
+
loadChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
8443
|
+
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8444
|
+
onDismiss: () => void;
|
|
8445
|
+
basePath: string;
|
|
8446
|
+
}>;
|
|
8447
|
+
}
|
|
8448
|
+
declare module "libs/reach/feature/content/src/pages/PageTableOfContentsButton" {
|
|
8449
|
+
import { FC } from 'react';
|
|
8450
|
+
import { PageItem, PageNavigationContext, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
8451
|
+
import { PaginatedList } from "libs/reach/util/common/src/index";
|
|
8452
|
+
export const PageTableOfContentsButton: FC<{
|
|
8453
|
+
activePageId?: string;
|
|
8454
|
+
navigationContext: PageNavigationContext;
|
|
8455
|
+
loadChildren: (id: string) => Promise<PageNavigationNode[]>;
|
|
8456
|
+
onSearch: (value: string) => Promise<PaginatedList<PageItem>>;
|
|
8457
|
+
basePath: string;
|
|
8458
|
+
className?: string;
|
|
8459
|
+
}>;
|
|
8460
|
+
}
|
|
8461
|
+
declare module "libs/reach/feature/content/src/pages/PagesDetailViewNavigation" {
|
|
8462
|
+
import { FC } from 'react';
|
|
8463
|
+
import { PageNavigationContext } from "libs/reach/util/common/src/index";
|
|
8464
|
+
interface Props {
|
|
8465
|
+
basePath: string;
|
|
8466
|
+
activePageId: string;
|
|
8467
|
+
navigationContext: PageNavigationContext;
|
|
8468
|
+
className?: string;
|
|
8469
|
+
}
|
|
8470
|
+
export const PagesDetailViewNavigation: FC<Props>;
|
|
8471
|
+
}
|
|
8472
|
+
declare module "libs/reach/feature/content/src/pages/PagesGroupsSelector" {
|
|
8473
|
+
import { FC } from 'react';
|
|
8474
|
+
import { UserGroup } from "libs/reach/util/common/src/index";
|
|
8475
|
+
export const PagesGroupsSelector: FC<{
|
|
8476
|
+
groups: UserGroup[];
|
|
8477
|
+
}>;
|
|
8478
|
+
}
|
|
8479
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords" {
|
|
8480
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
8481
|
+
export function useLoadPublishedItemsByKeywords(keywords: string[], showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
8482
|
+
}
|
|
8483
|
+
declare module "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId" {
|
|
8484
|
+
import { PageItem, PageType, PaginatedList } from "libs/reach/util/common/src/index";
|
|
8485
|
+
export function useLoadPublishedItemsByPageId(pageId: string, showPagesAndDocuments: boolean, pageType?: PageType): (pageSize: number, token: string) => Promise<PaginatedList<PageItem>>;
|
|
8486
|
+
}
|
|
8487
|
+
declare module "libs/reach/feature/content/src/pages/usePagesStringResources" {
|
|
8488
|
+
export function usePagesStringResources(): {
|
|
8489
|
+
getTitleTypes: (operatorKey: string) => string;
|
|
8490
|
+
getTypes: (operatorKey: string) => string;
|
|
8491
|
+
getTitleSubTypes: (operatorKey: string) => string;
|
|
8492
|
+
getSubTypes: (operatorKey: string) => string;
|
|
8493
|
+
};
|
|
8494
|
+
}
|
|
8495
|
+
declare module "libs/reach/feature/content/src/pages/index" {
|
|
8496
|
+
export * from "libs/reach/feature/content/src/pages/PageCard";
|
|
8497
|
+
export * from "libs/reach/feature/content/src/pages/PageFilterDefinition";
|
|
8498
|
+
export * from "libs/reach/feature/content/src/pages/PageListItem";
|
|
8499
|
+
export * from "libs/reach/feature/content/src/pages/PageTableOfContents";
|
|
8500
|
+
export * from "libs/reach/feature/content/src/pages/PageTableOfContentsButton";
|
|
8501
|
+
export * from "libs/reach/feature/content/src/pages/PageTableOfContentsDialog";
|
|
8502
|
+
export * from "libs/reach/feature/content/src/pages/PagesDetailViewNavigation";
|
|
8503
|
+
export * from "libs/reach/feature/content/src/pages/PagesGroupsSelector";
|
|
8504
|
+
export * from "libs/reach/feature/content/src/pages/useLoadPublishedItemsByKeywords";
|
|
8505
|
+
export * from "libs/reach/feature/content/src/pages/useLoadPublishedItemsByPageId";
|
|
8506
|
+
export * from "libs/reach/feature/content/src/pages/usePagesApi";
|
|
8507
|
+
export * from "libs/reach/feature/content/src/pages/usePagesClickHandler";
|
|
8508
|
+
export * from "libs/reach/feature/content/src/pages/usePagesStringResources";
|
|
8509
|
+
export * from "libs/reach/feature/content/src/pages/utils";
|
|
8510
|
+
}
|
|
8511
|
+
declare module "libs/reach/feature/content/src/news/DateInfo" {
|
|
8512
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8513
|
+
interface DateInfoProps {
|
|
8514
|
+
item: Partial<PublishableItem>;
|
|
8515
|
+
dateMode: DateMode;
|
|
8516
|
+
expiryDate?: string;
|
|
8517
|
+
className?: string;
|
|
8518
|
+
}
|
|
8519
|
+
export enum DateMode {
|
|
8520
|
+
Published = 0,
|
|
8521
|
+
Modified = 1
|
|
8522
|
+
}
|
|
8523
|
+
export const DateInfo: React.FC<DateInfoProps>;
|
|
8524
|
+
}
|
|
8525
|
+
declare module "libs/reach/feature/content/src/news/ItemMetaInfo" {
|
|
8526
|
+
import { SchedulableItemChannel } from "libs/reach/util/common/src/index";
|
|
8527
|
+
import { DateMode } from "libs/reach/feature/content/src/news/DateInfo";
|
|
8528
|
+
import { Account } from "libs/reach/util/common/src/index";
|
|
8529
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8530
|
+
export const getAuthor: (item: Partial<PublishableItem>) => Account;
|
|
8531
|
+
export const ItemMetaInfo: React.FC<{
|
|
8532
|
+
item: Partial<PublishableItem>;
|
|
8533
|
+
className?: string;
|
|
8534
|
+
expiryDate?: string;
|
|
8535
|
+
channels?: SchedulableItemChannel[];
|
|
8536
|
+
showChannels?: boolean;
|
|
8537
|
+
dateMode: DateMode;
|
|
8538
|
+
readOnly?: boolean;
|
|
8539
|
+
hideAvatar?: boolean;
|
|
8540
|
+
hideDisplayName?: boolean;
|
|
8541
|
+
language?: string;
|
|
8542
|
+
buildChannelFilterUrl?: (channelName: string) => string;
|
|
8543
|
+
clickableAvatar?: boolean;
|
|
8544
|
+
}>;
|
|
8545
|
+
}
|
|
8546
|
+
declare module "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton" {
|
|
8547
|
+
import { FC } from 'react';
|
|
8548
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8549
|
+
export const ExternalNewsLinkButton: FC<{
|
|
8550
|
+
item: PublishableItem;
|
|
8551
|
+
disabled?: boolean;
|
|
8552
|
+
onClick?: (e: React.MouseEvent<unknown>) => unknown;
|
|
8553
|
+
className?: string;
|
|
8554
|
+
}>;
|
|
8555
|
+
}
|
|
8556
|
+
declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
|
|
8557
|
+
import { FC } from 'react';
|
|
8558
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8559
|
+
interface NewsCardProps {
|
|
8560
|
+
item: NewsItem;
|
|
8561
|
+
baseRoute: string;
|
|
8562
|
+
language: string;
|
|
8563
|
+
showComments: boolean;
|
|
8564
|
+
highlight: boolean;
|
|
8565
|
+
className?: string;
|
|
8566
|
+
}
|
|
8567
|
+
export const NewsCard: FC<NewsCardProps>;
|
|
8568
|
+
}
|
|
8569
|
+
declare module "libs/reach/feature/content/src/news/list-view/EmptyChannelsView" {
|
|
8570
|
+
import { FC } from 'react';
|
|
8571
|
+
export const EmptyChannelsView: FC;
|
|
8572
|
+
}
|
|
8573
|
+
declare module "libs/reach/feature/content/src/news/list-view/PromotedNewsItem" {
|
|
8574
|
+
import { FC } from 'react';
|
|
8575
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8576
|
+
interface Props {
|
|
8577
|
+
item: NewsItem;
|
|
8578
|
+
iconName: string;
|
|
8579
|
+
iconTooltipStringResource: string;
|
|
8580
|
+
baseItemRoute: string;
|
|
8581
|
+
msColorName: string;
|
|
8582
|
+
}
|
|
8583
|
+
export const PromotedNewsItem: FC<Props>;
|
|
8584
|
+
}
|
|
8585
|
+
declare module "libs/reach/feature/content/src/news/list-view/NewsList" {
|
|
8586
|
+
import { FC } from 'react';
|
|
8587
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
8588
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
8589
|
+
export const NewsList: FC<{
|
|
8590
|
+
items: NewsItem[];
|
|
8591
|
+
baseItemRoute: string;
|
|
8592
|
+
isLoading: boolean;
|
|
8593
|
+
isLastPage: boolean;
|
|
8594
|
+
unreadOnly?: boolean;
|
|
8595
|
+
filter?: NewsFilterDefinition;
|
|
8596
|
+
}>;
|
|
8597
|
+
}
|
|
8598
|
+
declare module "libs/reach/feature/content/src/news/useTranslateApi" {
|
|
8599
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8600
|
+
import { PublishableItemContent } from "libs/reach/util/common/src/index";
|
|
8601
|
+
export function useTranslateApi(): {
|
|
8602
|
+
translateContents: (type: ItemResourceTypes, itemId: string, language: string) => Promise<PublishableItemContent>;
|
|
8603
|
+
};
|
|
8604
|
+
}
|
|
8605
|
+
declare module "libs/reach/feature/content/src/news/index" {
|
|
8606
|
+
export * from "libs/reach/feature/content/src/news/DateInfo";
|
|
8607
|
+
export * from "libs/reach/feature/content/src/news/ItemMetaInfo";
|
|
8608
|
+
export * from "libs/reach/feature/content/src/news/NewsService";
|
|
8609
|
+
export * from "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton";
|
|
8610
|
+
export * from "libs/reach/feature/content/src/news/list-view/ExternalNewsLinkButton";
|
|
8611
|
+
export * from "libs/reach/feature/content/src/news/list-view/ExternalPagesLinkButton";
|
|
8612
|
+
export * from "libs/reach/feature/content/src/news/list-view/NewsCard";
|
|
8613
|
+
export * from "libs/reach/feature/content/src/news/list-view/NewsList";
|
|
8614
|
+
export * from "libs/reach/feature/content/src/news/useNewsApi";
|
|
8615
|
+
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
8616
|
+
}
|
|
8271
8617
|
declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
|
|
8272
8618
|
import { FC, ReactNode } from 'react';
|
|
8273
8619
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
@@ -8277,14 +8623,12 @@ declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
|
|
|
8277
8623
|
noShadow?: boolean;
|
|
8278
8624
|
channelsBackgroundColor?: string;
|
|
8279
8625
|
bannerDefaultWidth?: number;
|
|
8280
|
-
showChannelsToTheRight?: boolean;
|
|
8281
8626
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
8282
8627
|
}
|
|
8283
8628
|
interface Props {
|
|
8284
8629
|
item: EventItem;
|
|
8285
8630
|
baseRoute: string;
|
|
8286
8631
|
layoutMode?: ItemTileLayoutMode;
|
|
8287
|
-
dateLabelResourceKey?: string;
|
|
8288
8632
|
buttons?: ReactNode;
|
|
8289
8633
|
openTargetInNewWindow?: boolean;
|
|
8290
8634
|
onClick?: (event: React.MouseEvent<unknown>) => unknown;
|
|
@@ -8943,175 +9287,43 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8943
9287
|
export const EventDetailViewFeedbackSection: FC<{
|
|
8944
9288
|
hideLikes?: boolean;
|
|
8945
9289
|
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;
|
|
9290
|
+
hideProfileUrl?: boolean;
|
|
9291
|
+
disableLoginForPublicUser?: boolean;
|
|
9092
9292
|
}>;
|
|
9093
9293
|
}
|
|
9094
|
-
declare module "libs/reach/feature/content/src/
|
|
9294
|
+
declare module "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins" {
|
|
9095
9295
|
import { FC } from 'react';
|
|
9096
|
-
import {
|
|
9097
|
-
|
|
9098
|
-
|
|
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;
|
|
9296
|
+
import { EventItem } from "libs/reach/util/common/src/index";
|
|
9297
|
+
export const EventDetailViewPlugins: FC<{
|
|
9298
|
+
eventItem: EventItem;
|
|
9105
9299
|
}>;
|
|
9106
9300
|
}
|
|
9301
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewMetaInfo" {
|
|
9302
|
+
import { FC } from 'react';
|
|
9303
|
+
export const PageDetailViewMetaInfo: FC;
|
|
9304
|
+
}
|
|
9305
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
9306
|
+
import { FC } from 'react';
|
|
9307
|
+
export const PageDetailViewFeedbackSection: FC<{
|
|
9308
|
+
hideLikes?: boolean;
|
|
9309
|
+
hideComments?: boolean;
|
|
9310
|
+
hideProfileUrl?: boolean;
|
|
9311
|
+
disableLoginForPublicUser?: boolean;
|
|
9312
|
+
}>;
|
|
9313
|
+
}
|
|
9314
|
+
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
9315
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
9316
|
+
import * as H from 'history';
|
|
9317
|
+
export function usePageDetailSearchHandler(baseRoute: string, page: PageItem, history: H.History): {
|
|
9318
|
+
showSearch: boolean;
|
|
9319
|
+
handleSearchTextChange: (searchText: string) => void;
|
|
9320
|
+
redirectToSearchPage: (searchText: string) => void;
|
|
9321
|
+
};
|
|
9322
|
+
}
|
|
9107
9323
|
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewTableOfContentsButton" {
|
|
9108
9324
|
import { FC } from 'react';
|
|
9109
9325
|
export const PageDetailViewTableOfContentsButton: FC;
|
|
9110
9326
|
}
|
|
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
9327
|
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByKeywords" {
|
|
9116
9328
|
import { FC } from 'react';
|
|
9117
9329
|
export const InlinePageListByKeywords: FC<{
|
|
@@ -9120,10 +9332,6 @@ declare module "libs/reach/feature/content/src/common/body/inline-page-list/Inli
|
|
|
9120
9332
|
showPages?: boolean;
|
|
9121
9333
|
}>;
|
|
9122
9334
|
}
|
|
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
9335
|
declare module "libs/reach/feature/content/src/common/body/inline-page-list/InlinePageListByPageId" {
|
|
9128
9336
|
import { FC } from 'react';
|
|
9129
9337
|
export const InlinePageListByPageId: FC<{
|
|
@@ -9155,17 +9363,6 @@ declare module "libs/reach/feature/content/src/common/body/InlinePageList" {
|
|
|
9155
9363
|
}>;
|
|
9156
9364
|
export const InlinePageListMapper: HtmlComponentMapper;
|
|
9157
9365
|
}
|
|
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
9366
|
declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload" {
|
|
9170
9367
|
import { FC } from 'react';
|
|
9171
9368
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
@@ -9177,35 +9374,6 @@ declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPag
|
|
|
9177
9374
|
basePath?: string;
|
|
9178
9375
|
}>;
|
|
9179
9376
|
}
|
|
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
9377
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
9210
9378
|
import { FC } from 'react';
|
|
9211
9379
|
interface LanguageSelectorProps {
|
|
@@ -9610,176 +9778,6 @@ declare module "libs/reach/feature/content/src/forms/index" {
|
|
|
9610
9778
|
export * from "libs/reach/feature/content/src/forms/PeoplePickerDialog";
|
|
9611
9779
|
export * from "libs/reach/feature/content/src/forms/videos/VideoView";
|
|
9612
9780
|
}
|
|
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
9781
|
declare module "libs/reach/feature/content/src/posts/GroupNotificationsSettings" {
|
|
9784
9782
|
import { FC } from 'react';
|
|
9785
9783
|
export const GroupNotificationsSettings: FC<{
|