@livetiles/reach-components-react 0.5.0-preview.475 → 0.5.0-preview.476
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/EventGridCard.d.ts +4 -4
- package/NewsGridCard.d.ts +5 -5
- package/common/hero/Hero.d.ts +2 -3
- package/da.async.esm2.esm.js +1 -1
- package/da.async.esm3.esm.js +1 -0
- package/da.esm.js +1 -0
- package/index.d.ts +22 -13
- package/index.esm.js +1 -1
- package/index.esm2.js +17 -18
- package/index.umd.js +62 -63
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -414,14 +414,6 @@ declare enum FieldMode {
|
|
|
414
414
|
Hidden = 3
|
|
415
415
|
}
|
|
416
416
|
|
|
417
|
-
interface Channel {
|
|
418
|
-
id: string;
|
|
419
|
-
name: string;
|
|
420
|
-
translations?: {
|
|
421
|
-
[key: string]: string;
|
|
422
|
-
};
|
|
423
|
-
}
|
|
424
|
-
|
|
425
417
|
interface KeywordGroup {
|
|
426
418
|
id: string;
|
|
427
419
|
name: string;
|
|
@@ -470,10 +462,18 @@ declare enum KnownNewsState {
|
|
|
470
462
|
Alert = 2
|
|
471
463
|
}
|
|
472
464
|
|
|
465
|
+
interface Channel {
|
|
466
|
+
id: string;
|
|
467
|
+
name: string;
|
|
468
|
+
translations?: {
|
|
469
|
+
[key: string]: string;
|
|
470
|
+
};
|
|
471
|
+
}
|
|
472
|
+
|
|
473
473
|
declare type VersionId = string;
|
|
474
474
|
interface SchedulableItem extends PublishableItem {
|
|
475
475
|
metadata?: NewsMetadata;
|
|
476
|
-
channels?:
|
|
476
|
+
channels?: Channel[];
|
|
477
477
|
}
|
|
478
478
|
interface NewsItem extends SchedulableItem {
|
|
479
479
|
source?: string;
|
|
@@ -487,9 +487,6 @@ interface NewsItemAlertOptions {
|
|
|
487
487
|
duration?: string;
|
|
488
488
|
endDate?: Date;
|
|
489
489
|
expireAfter?: boolean;
|
|
490
|
-
}
|
|
491
|
-
interface SchedulableItemChannel {
|
|
492
|
-
name: string;
|
|
493
490
|
}
|
|
494
491
|
|
|
495
492
|
declare enum VideoSource {
|
|
@@ -504,6 +501,19 @@ interface BaseItem {
|
|
|
504
501
|
id?: string;
|
|
505
502
|
statistics?: ItemStatistics;
|
|
506
503
|
poll?: Poll;
|
|
504
|
+
searchHighlights?: SearchHighlightSummary;
|
|
505
|
+
}
|
|
506
|
+
interface SearchHighlightSummary {
|
|
507
|
+
title: SearchHighlight[];
|
|
508
|
+
content: SearchHighlight[];
|
|
509
|
+
}
|
|
510
|
+
interface SearchHighlight {
|
|
511
|
+
language: string;
|
|
512
|
+
texts: {
|
|
513
|
+
value: string;
|
|
514
|
+
type: 'text' | 'hit';
|
|
515
|
+
}[];
|
|
516
|
+
score: number;
|
|
507
517
|
}
|
|
508
518
|
interface Poll {
|
|
509
519
|
questions: PollQuestion[];
|
|
@@ -538,7 +548,6 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
538
548
|
headline?: string;
|
|
539
549
|
intro?: string;
|
|
540
550
|
body?: string;
|
|
541
|
-
bodyRaw?: string;
|
|
542
551
|
customProperties?: {
|
|
543
552
|
[key: string]: any;
|
|
544
553
|
};
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{aI as AuthorFilter,aH as AuthorToolbarFilter,aa as Avatar,aA as ChannelFilter,aN as ChannelSelector,aB as ChannelToolbarFilter,aE as ClearAllFiltersButton,b5 as ContactToolbarFilter,
|
|
1
|
+
export{aI as AuthorFilter,aH as AuthorToolbarFilter,aa as Avatar,aA as ChannelFilter,aN as ChannelSelector,aB as ChannelToolbarFilter,aE as ClearAllFiltersButton,b5 as ContactToolbarFilter,aV as EditorToolbarIndicators,bl as ErrorType,bk as ErrorWrapper,b6 as EventDatesToolbarFilter,$ as EventDetail,as as EventDetailPreview,bb as EventEditor,bc as EventEditorContextProvider,bd as EventEditorPanel,bf as EventEditorToolbarRecurringControls,be as EventEditorToolbarStateActions,an as EventItemContextProvider,av as EventItemPreviewContextProvider,aM as EventView,ad as EventsEditorDashboard,a4 as EventsGrid,a5 as EventsList,aJ as FilterSearch,b0 as GroupNotificationsSettings,a2 as ItemLayoutMode,aS as ItemResourceTypes,aT as KeywordPicker,aF as KeywordsFilter,aG as KeywordsToolbarFilter,b7 as LogicalOperator,a6 as ManageChannels,X as NewsDetail,aq as NewsDetailPreview,aO as NewsEditor,aP as NewsEditorContextProvider,ac as NewsEditorDashboard,aX as NewsEditorPanel,aW as NewsEditorToolbarStateActions,a3 as NewsGrid,ab as NewsHero,al as NewsItemContextProvider,at as NewsItemPreviewContextProvider,a1 as NewsList,Z as PageDetail,ar as PageDetailPreview,bh as PageEditor,bg as PageEditorContextProvider,bj as PageEditorPanel,bi as PageEditorToolbarStateActions,am as PageItemContextProvider,au as PageItemPreviewContextProvider,ba as PageType,aQ as PageViewTrackerSettingsContextProvider,b8 as PagesGrid,b9 as PagesList,a0 as PostDetail,a$ as PostGroupSelector,b2 as PostGroupSelectorButton,a_ as PostGroupsPicker,aY as PostInputBox,aZ as PostList,W as PostListContextProvider,aD as PublishingDateFilter,aC as PublishingDateToolbarFilter,V as ReachContextProvider,aU as ReachDialog,aR as TargetLinkOverrideContextProvider,ae as Toolbar,ah as ToolbarChannelSelector,ak as ToolbarCloseButton,aL as ToolbarEventViewSelector,ax as ToolbarFilterModal,ay as ToolbarFilterModalButton,aw as ToolbarFilterPanel,aK as ToolbarFilterSearch,b3 as ToolbarFilterToggleButton,af as ToolbarIconButton,ao as ToolbarLanguageSelector,ap as ToolbarManageNewsItemButton,ai as ToolbarMarkAllEventsAsReadButton,aj as ToolbarMarkAllNewsAsReadButton,ao as ToolbarNewsLanguageSelector,b1 as ToolbarPostNotificationButton,ag as ToolbarUnreadItemsButton,a9 as UserDetails,az as VerticalFilterPanel,b4 as isFilterActive,a7 as useCurrentUser,a8 as useLazySubscriptionContext}from"./index.esm2.js";import"react/jsx-runtime";import"events";import"react";import"office-ui-fabric-react";import"react-router-dom";import"react-is";import"styled-components";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";
|