@livetiles/reach-components-react 0.5.0-preview.536 → 0.5.0-preview.539
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/SharedItemDetailPreview.d.ts +1 -1
- package/common/CommentCountIconWithTooltip.d.ts +1 -3
- package/common/hero/Hero.d.ts +3 -2
- package/da.async.esm2.esm.js +1 -1
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +29 -41
- package/index.esm.js +1 -1
- package/index.esm2.js +20 -90
- package/index.umd-3ae1841e.esm.js +1 -1
- package/index.umd.js +64 -150
- package/package.json +1 -1
- package/da.async.esm3.esm.js +0 -1
- package/da.esm.js +0 -1
- package/index10.esm.js +0 -4
- package/input-shims.esm.js +0 -4
- package/ios.transition.esm.js +0 -4
- package/md.transition.esm.js +0 -4
- package/status-tap.esm.js +0 -4
- package/swipe-back.esm.js +0 -4
- package/swiper.bundle.esm.js +0 -4
package/index.d.ts
CHANGED
|
@@ -415,6 +415,14 @@ declare enum FieldMode {
|
|
|
415
415
|
Hidden = 3
|
|
416
416
|
}
|
|
417
417
|
|
|
418
|
+
interface Channel {
|
|
419
|
+
id: string;
|
|
420
|
+
name: string;
|
|
421
|
+
translations?: {
|
|
422
|
+
[key: string]: string;
|
|
423
|
+
};
|
|
424
|
+
}
|
|
425
|
+
|
|
418
426
|
interface KeywordGroup {
|
|
419
427
|
id: string;
|
|
420
428
|
name: string;
|
|
@@ -463,14 +471,6 @@ declare enum KnownNewsState {
|
|
|
463
471
|
Alert = 2
|
|
464
472
|
}
|
|
465
473
|
|
|
466
|
-
interface Channel {
|
|
467
|
-
id: string;
|
|
468
|
-
name: string;
|
|
469
|
-
translations?: {
|
|
470
|
-
[key: string]: string;
|
|
471
|
-
};
|
|
472
|
-
}
|
|
473
|
-
|
|
474
474
|
declare type VersionId = string;
|
|
475
475
|
interface SchedulableItem extends PublishableItem {
|
|
476
476
|
metadata?: NewsMetadata;
|
|
@@ -482,6 +482,7 @@ interface NewsItem extends SchedulableItem {
|
|
|
482
482
|
expiryDate?: string;
|
|
483
483
|
knownState: KnownNewsState;
|
|
484
484
|
hasNewComments?: boolean;
|
|
485
|
+
isLiked?: boolean;
|
|
485
486
|
}
|
|
486
487
|
interface NewsItemAlertOptions {
|
|
487
488
|
duration?: string;
|
|
@@ -501,19 +502,6 @@ interface BaseItem {
|
|
|
501
502
|
id?: string;
|
|
502
503
|
statistics?: ItemStatistics;
|
|
503
504
|
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;
|
|
517
505
|
}
|
|
518
506
|
interface Poll {
|
|
519
507
|
questions: PollQuestion[];
|
|
@@ -548,6 +536,7 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
548
536
|
headline?: string;
|
|
549
537
|
intro?: string;
|
|
550
538
|
body?: string;
|
|
539
|
+
bodyRaw?: string;
|
|
551
540
|
customProperties?: {
|
|
552
541
|
[key: string]: any;
|
|
553
542
|
};
|
|
@@ -612,7 +601,6 @@ interface PublishableItem extends BaseItem {
|
|
|
612
601
|
statistics?: ItemStatistics;
|
|
613
602
|
useExternalContent?: boolean;
|
|
614
603
|
isDemoContent?: boolean;
|
|
615
|
-
isLiked?: boolean;
|
|
616
604
|
}
|
|
617
605
|
interface PollTranslation {
|
|
618
606
|
questions: QuestionTranslations[];
|
|
@@ -1031,6 +1019,25 @@ declare enum LogicalOperator {
|
|
|
1031
1019
|
And = "AND"
|
|
1032
1020
|
}
|
|
1033
1021
|
|
|
1022
|
+
interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
1023
|
+
author?: string;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
1027
|
+
channels?: FilterWithLogicalOperator;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
interface StateFilterDefinition extends IndexableFilterDefinition {
|
|
1031
|
+
state?: WorkflowStatus;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
1035
|
+
groupId?: string;
|
|
1036
|
+
bookmarksOnly?: boolean;
|
|
1037
|
+
unreadOnly?: boolean;
|
|
1038
|
+
includeExpired?: boolean;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1034
1041
|
interface Post extends BaseItem, ItemWithAttachments {
|
|
1035
1042
|
id: string;
|
|
1036
1043
|
comments?: PaginatedList<Comment>;
|
|
@@ -1057,14 +1064,6 @@ interface PostFilterDefinition {
|
|
|
1057
1064
|
keywords?: FilterWithLogicalOperator;
|
|
1058
1065
|
}
|
|
1059
1066
|
|
|
1060
|
-
interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
1061
|
-
author?: string;
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
interface ChannelsFilterDefinition extends IndexableFilterDefinition {
|
|
1065
|
-
channels?: FilterWithLogicalOperator;
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
1067
|
interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
1069
1068
|
contacts?: string[];
|
|
1070
1069
|
}
|
|
@@ -1079,17 +1078,6 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
|
|
|
1079
1078
|
pastEventsOnly?: boolean;
|
|
1080
1079
|
}
|
|
1081
1080
|
|
|
1082
|
-
interface StateFilterDefinition extends IndexableFilterDefinition {
|
|
1083
|
-
state?: WorkflowStatus;
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFilterDefinition, ChannelsFilterDefinition, StateFilterDefinition {
|
|
1087
|
-
groupId?: string;
|
|
1088
|
-
bookmarksOnly?: boolean;
|
|
1089
|
-
unreadOnly?: boolean;
|
|
1090
|
-
includeExpired?: boolean;
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
1081
|
declare enum StreamEventResponse {
|
|
1094
1082
|
NotSet = "NOTSET",
|
|
1095
1083
|
Registered = "REGISTERED",
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
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,aX 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,aV as KeywordPicker,aF as KeywordsFilter,aG as KeywordsToolbarFilter,b7 as LogicalOperator,a6 as ManageChannels,Y as NewsDetail,aq as NewsDetailPreview,aO as NewsEditor,aP as NewsEditorContextProvider,ac as NewsEditorDashboard,aU as NewsEditorPanel,aT 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,aW 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,bo as useEventsStreamDataLoader,a8 as useLazySubscriptionContext,bp as useNewsStreamDataLoader,bm as usePagesStreamDataLoader,bn as usePostsStreamDataLoader}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";
|