@livetiles/reach-components-react 0.4.0-preview.748 → 0.4.0-preview.751
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/ToolbarFilterToggleButton.d.ts +1 -0
- package/da.async.esm.esm.js +1 -1
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +9 -30
- package/index.esm.js +1 -1
- package/index.esm2.js +13 -13
- package/index.umd.js +22 -22
- package/package.json +1 -1
- package/ToolbarMarkAllEventsAsReadButton.d.ts +0 -8
- package/ToolbarMarkAllNewsAsReadButton.d.ts +0 -8
- package/da.async.esm2.esm.js +0 -1
- package/da.esm.js +0 -1
package/index.d.ts
CHANGED
|
@@ -446,19 +446,6 @@ interface BaseItem {
|
|
|
446
446
|
id?: string;
|
|
447
447
|
statistics?: ItemStatistics;
|
|
448
448
|
poll?: Poll;
|
|
449
|
-
searchHighlights?: SearchHighlightSummary;
|
|
450
|
-
}
|
|
451
|
-
interface SearchHighlightSummary {
|
|
452
|
-
title: SearchHighlight[];
|
|
453
|
-
content: SearchHighlight[];
|
|
454
|
-
}
|
|
455
|
-
interface SearchHighlight {
|
|
456
|
-
language: string;
|
|
457
|
-
texts: {
|
|
458
|
-
value: string;
|
|
459
|
-
type: 'text' | 'hit';
|
|
460
|
-
}[];
|
|
461
|
-
score: number;
|
|
462
449
|
}
|
|
463
450
|
interface Poll {
|
|
464
451
|
questions: PollQuestion[];
|
|
@@ -493,6 +480,7 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
493
480
|
headline?: string;
|
|
494
481
|
intro?: string;
|
|
495
482
|
body?: string;
|
|
483
|
+
bodyRaw?: string;
|
|
496
484
|
customProperties?: {
|
|
497
485
|
[key: string]: any;
|
|
498
486
|
};
|
|
@@ -788,7 +776,9 @@ interface ToolbarMarkAllItemsAsReadButtonProps {
|
|
|
788
776
|
onMarkAsReadFinished?: () => unknown;
|
|
789
777
|
disabled?: boolean;
|
|
790
778
|
unreadCount?: number;
|
|
791
|
-
}
|
|
779
|
+
}
|
|
780
|
+
declare const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
781
|
+
declare const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkAllItemsAsReadButtonProps>;
|
|
792
782
|
|
|
793
783
|
declare const ToolbarUnreadItemsButton: FC<{
|
|
794
784
|
onClick: () => unknown;
|
|
@@ -873,8 +863,8 @@ interface FilterWithLogicalOperator {
|
|
|
873
863
|
operator?: LogicalOperator;
|
|
874
864
|
}
|
|
875
865
|
declare enum LogicalOperator {
|
|
876
|
-
Or = "
|
|
877
|
-
And = "
|
|
866
|
+
Or = "or",
|
|
867
|
+
And = "and"
|
|
878
868
|
}
|
|
879
869
|
|
|
880
870
|
interface AuthorFilterDefinition extends IndexableFilterDefinition {
|
|
@@ -1156,18 +1146,6 @@ interface NewsEditorProps {
|
|
|
1156
1146
|
}
|
|
1157
1147
|
declare const NewsEditor: FC<NewsEditorProps>;
|
|
1158
1148
|
|
|
1159
|
-
interface ToolbarMarkNewsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1160
|
-
filter?: LibNewsFilterDefinition;
|
|
1161
|
-
searchText?: string;
|
|
1162
|
-
}
|
|
1163
|
-
declare const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkNewsItemsAsReadButtonProps>;
|
|
1164
|
-
|
|
1165
|
-
interface ToolbarMarkEventsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1166
|
-
filter?: EventFilterDefinition;
|
|
1167
|
-
searchText?: string;
|
|
1168
|
-
}
|
|
1169
|
-
declare const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkEventsItemsAsReadButtonProps>;
|
|
1170
|
-
|
|
1171
1149
|
interface EditorToolbarIndicatorsProps {
|
|
1172
1150
|
className?: string;
|
|
1173
1151
|
}
|
|
@@ -1232,6 +1210,7 @@ declare const PostGroupSelectorButton: FC;
|
|
|
1232
1210
|
declare const ToolbarFilterToggleButton: FC<{
|
|
1233
1211
|
filter?: any;
|
|
1234
1212
|
onClick?: () => void;
|
|
1235
|
-
}>;
|
|
1213
|
+
}>;
|
|
1214
|
+
declare function isFilterActive(filter: any): boolean;
|
|
1236
1215
|
|
|
1237
|
-
export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, EditorToolbarIndicators, EditorToolbarIndicatorsProps, EventDetail, EventDetailProps, EventGridProps, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, GroupNotificationsSettings, GroupNotificationsSettingsProps, ItemLayoutMode, ItemResourceTypes, Keyword, ScrollableKeywordPicker as KeywordPicker, KeywordPickerProps, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailPreviewProps, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, PageDetail, PageDetailProps, PageViewTrackerSettings, PageViewTrackerSettingsContextProvider, PostDetail, PostDetailProps, PostGroupSelector, PostGroupSelectorButton, PostGroupSelectorProps, PostGroupsPicker, PostGroupsPickerProps, PostInputBox, PostInputBoxProps, PostList, PostListContextProvider, PostListContextProviderProps, PostListProps, PublishableItem, PublishingDateFilter, PublishingDateToolbarFilter, ReachContextProps, ReachContextProvider, Dialog as ReachDialog, TargetLinkOverrideContextProvider, Toolbar, ToolbarChannelSelector, ToolbarChannelSelectorOption, ToolbarChannelSelectorProps, ToolbarCloseButton, ToolbarCloseButtonProps, ToolbarEventViewSelector, ToolbarEventViewSelectorProps, ToolbarFilterModal, ToolbarFilterModalButton, ToolbarFilterModalProps, ToolbarFilterPanel, ToolbarFilterSearch, ToolbarFilterToggleButton, ToolbarIconButton, ToolbarIconButtonProps, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton,
|
|
1216
|
+
export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, EditorToolbarIndicators, EditorToolbarIndicatorsProps, EventDetail, EventDetailProps, EventGridProps, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, GroupNotificationsSettings, GroupNotificationsSettingsProps, ItemLayoutMode, ItemResourceTypes, Keyword, ScrollableKeywordPicker as KeywordPicker, KeywordPickerProps, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailPreviewProps, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, PageDetail, PageDetailProps, PageViewTrackerSettings, PageViewTrackerSettingsContextProvider, PostDetail, PostDetailProps, PostGroupSelector, PostGroupSelectorButton, PostGroupSelectorProps, PostGroupsPicker, PostGroupsPickerProps, PostInputBox, PostInputBoxProps, PostList, PostListContextProvider, PostListContextProviderProps, PostListProps, PublishableItem, PublishingDateFilter, PublishingDateToolbarFilter, ReachContextProps, ReachContextProvider, Dialog as ReachDialog, TargetLinkOverrideContextProvider, Toolbar, ToolbarChannelSelector, ToolbarChannelSelectorOption, ToolbarChannelSelectorProps, ToolbarCloseButton, ToolbarCloseButtonProps, ToolbarEventViewSelector, ToolbarEventViewSelectorProps, ToolbarFilterModal, ToolbarFilterModalButton, ToolbarFilterModalProps, ToolbarFilterPanel, ToolbarFilterSearch, ToolbarFilterToggleButton, ToolbarIconButton, ToolbarIconButtonProps, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllItemsAsReadButtonProps, ToolbarMarkAllNewsAsReadButton, ToolbarNewsLanguageSelector, ToolbarPostNotificationButton, ToolbarProps, ToolbarSearchProps, ToolbarUnreadItemsButton, UserDetails, UserDetailsProps, VerticalFilterPanel, VerticalFilterPanelProps, isFilterActive, useCurrentUser };
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a0 as AuthorFilter,$ as AuthorToolbarFilter,A as Avatar,O as ChannelFilter,a5 as ChannelSelector,Q as ChannelToolbarFilter,X as ClearAllFiltersButton,
|
|
1
|
+
export{a0 as AuthorFilter,$ as AuthorToolbarFilter,A as Avatar,O as ChannelFilter,a5 as ChannelSelector,Q as ChannelToolbarFilter,X as ClearAllFiltersButton,af as EditorToolbarIndicators,E as EventDetail,a4 as EventView,s as EventsEditorDashboard,n as EventsGrid,o as EventsList,a1 as FilterSearch,ak as GroupNotificationsSettings,I as ItemLayoutMode,aa as ItemResourceTypes,ad as KeywordPicker,Y as KeywordsFilter,Z as KeywordsToolbarFilter,M as ManageChannels,N as NewsDetail,G as NewsDetailPreview,a6 as NewsEditor,a7 as NewsEditorContextProvider,r as NewsEditorDashboard,ac as NewsEditorPanel,ab as NewsEditorToolbarStateActions,l as NewsGrid,q as NewsHero,C as NewsItemContextProvider,H as NewsItemPreviewContextProvider,k as NewsList,i as PageDetail,a8 as PageViewTrackerSettingsContextProvider,j as PostDetail,aj as PostGroupSelector,am as PostGroupSelectorButton,ai as PostGroupsPicker,ag as PostInputBox,ah as PostList,h as PostListContextProvider,W as PublishingDateFilter,S as PublishingDateToolbarFilter,R as ReachContextProvider,ae as ReachDialog,a9 as TargetLinkOverrideContextProvider,t as Toolbar,x as ToolbarChannelSelector,B as ToolbarCloseButton,a3 as ToolbarEventViewSelector,K as ToolbarFilterModal,L as ToolbarFilterModalButton,J as ToolbarFilterPanel,a2 as ToolbarFilterSearch,an as ToolbarFilterToggleButton,v as ToolbarIconButton,F as ToolbarManageNewsItemButton,y as ToolbarMarkAllEventsAsReadButton,z as ToolbarMarkAllNewsAsReadButton,D as ToolbarNewsLanguageSelector,al as ToolbarPostNotificationButton,w as ToolbarUnreadItemsButton,U as UserDetails,V as VerticalFilterPanel,ao as isFilterActive,p as useCurrentUser}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";
|