@livetiles/reach-components-react 0.5.0-preview.295 → 0.5.0-preview.296
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/EventDetail.d.ts +0 -6
- package/NewsDetailPreview.d.ts +7 -0
- package/PageDetail.d.ts +0 -6
- package/PageTableOfContents.d.ts +0 -1
- package/ReachContext.d.ts +0 -4
- package/da.async.esm2.esm.js +1 -1
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +39 -64
- package/index.esm.js +1 -1
- package/index.esm2.js +32 -17
- package/index.umd.js +36 -56
- package/package.json +1 -1
- package/AnalyticsDummyContextProvider.d.ts +0 -2
- package/EventItemPreviewContextProvider.d.ts +0 -5
- package/PageItemPreviewContextProvider.d.ts +0 -5
- package/SharedItemDetailPreview.d.ts +0 -16
- package/ajs-destination-4IEK7JCF.esm.js +0 -35
- package/auto-track-PVC3RKAW.esm.js +0 -1
- package/chunk-IZB43MSE.esm.js +0 -1
- package/chunk-NYVNK6O3.esm.js +0 -1
- package/da.async.esm3.esm.js +0 -1
- package/da.esm.js +0 -1
- package/index.umd-EZCVDQQZ.esm.js +0 -1
- package/legacy-video-plugins-DALJOR7Y.esm.js +0 -1
- package/middleware-K6A3D7OK.esm.js +0 -1
- package/query-string-LUA3AQWQ.esm.js +0 -1
- package/remote-middleware-C2NOE7LS.esm.js +0 -1
- package/schema-filter-7TQKEETH.esm.js +0 -1
package/index.d.ts
CHANGED
|
@@ -13,10 +13,6 @@ declare type ReachContextProps = {
|
|
|
13
13
|
subscriptionId: string;
|
|
14
14
|
language?: string;
|
|
15
15
|
disableUiFabricThemeOverwrite?: boolean;
|
|
16
|
-
analyticsProps?: {
|
|
17
|
-
disableAnalytics?: boolean;
|
|
18
|
-
appName?: string;
|
|
19
|
-
};
|
|
20
16
|
};
|
|
21
17
|
declare const ReachContextProvider: FC<ReachContextProps>;
|
|
22
18
|
|
|
@@ -456,6 +452,11 @@ interface NewsItem extends SchedulableItem {
|
|
|
456
452
|
knownState: KnownNewsState;
|
|
457
453
|
hasNewComments?: boolean;
|
|
458
454
|
isLiked?: boolean;
|
|
455
|
+
shareToken?: ShareToken;
|
|
456
|
+
}
|
|
457
|
+
interface ShareToken {
|
|
458
|
+
published?: string;
|
|
459
|
+
preview?: string;
|
|
459
460
|
}
|
|
460
461
|
interface NewsItemAlertOptions {
|
|
461
462
|
duration?: string;
|
|
@@ -478,19 +479,6 @@ interface BaseItem {
|
|
|
478
479
|
id?: string;
|
|
479
480
|
statistics?: ItemStatistics;
|
|
480
481
|
poll?: Poll;
|
|
481
|
-
searchHighlights?: SearchHighlightSummary;
|
|
482
|
-
}
|
|
483
|
-
interface SearchHighlightSummary {
|
|
484
|
-
title: SearchHighlight[];
|
|
485
|
-
content: SearchHighlight[];
|
|
486
|
-
}
|
|
487
|
-
interface SearchHighlight {
|
|
488
|
-
language: string;
|
|
489
|
-
texts: {
|
|
490
|
-
value: string;
|
|
491
|
-
type: 'text' | 'hit';
|
|
492
|
-
}[];
|
|
493
|
-
score: number;
|
|
494
482
|
}
|
|
495
483
|
interface Poll {
|
|
496
484
|
questions: PollQuestion[];
|
|
@@ -525,6 +513,7 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
525
513
|
headline?: string;
|
|
526
514
|
intro?: string;
|
|
527
515
|
body?: string;
|
|
516
|
+
bodyRaw?: string;
|
|
528
517
|
customProperties?: {
|
|
529
518
|
[key: string]: any;
|
|
530
519
|
};
|
|
@@ -981,31 +970,11 @@ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFi
|
|
|
981
970
|
includeExpired?: boolean;
|
|
982
971
|
}
|
|
983
972
|
|
|
984
|
-
interface
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
groupId: string;
|
|
988
|
-
content: string;
|
|
989
|
-
permalink?: string;
|
|
990
|
-
author: Account;
|
|
991
|
-
publishingDate: string;
|
|
992
|
-
modified?: string;
|
|
993
|
-
statistics: ItemStatistics;
|
|
994
|
-
keywords?: {
|
|
995
|
-
[key: string]: Keyword[];
|
|
996
|
-
};
|
|
997
|
-
contentLanguageCode?: string;
|
|
998
|
-
isLiked?: boolean;
|
|
999
|
-
isUnread?: boolean;
|
|
1000
|
-
isDemoContent?: boolean;
|
|
1001
|
-
isFollowing?: boolean;
|
|
973
|
+
interface TargetLinkOverrideContextProps {
|
|
974
|
+
onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
975
|
+
onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1002
976
|
}
|
|
1003
|
-
|
|
1004
|
-
token?: string;
|
|
1005
|
-
pageSize?: string;
|
|
1006
|
-
search?: string;
|
|
1007
|
-
keywords?: FilterWithLogicalOperator;
|
|
1008
|
-
}
|
|
977
|
+
declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
|
|
1009
978
|
|
|
1010
979
|
interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
1011
980
|
contacts?: string[];
|
|
@@ -1021,12 +990,6 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
|
|
|
1021
990
|
pastEventsOnly?: boolean;
|
|
1022
991
|
}
|
|
1023
992
|
|
|
1024
|
-
interface TargetLinkOverrideContextProps {
|
|
1025
|
-
onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1026
|
-
onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1027
|
-
}
|
|
1028
|
-
declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
|
|
1029
|
-
|
|
1030
993
|
interface KeywordPickerProps {
|
|
1031
994
|
value?: Keyword[] | string[];
|
|
1032
995
|
onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
|
|
@@ -1047,6 +1010,32 @@ interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
|
1047
1010
|
pageType?: PageType;
|
|
1048
1011
|
}
|
|
1049
1012
|
|
|
1013
|
+
interface Post extends BaseItem, ItemWithAttachments {
|
|
1014
|
+
id: string;
|
|
1015
|
+
comments?: PaginatedList<Comment>;
|
|
1016
|
+
groupId: string;
|
|
1017
|
+
content: string;
|
|
1018
|
+
permalink?: string;
|
|
1019
|
+
author: Account;
|
|
1020
|
+
publishingDate: string;
|
|
1021
|
+
modified?: string;
|
|
1022
|
+
statistics: ItemStatistics;
|
|
1023
|
+
keywords?: {
|
|
1024
|
+
[key: string]: Keyword[];
|
|
1025
|
+
};
|
|
1026
|
+
contentLanguageCode?: string;
|
|
1027
|
+
isLiked?: boolean;
|
|
1028
|
+
isUnread?: boolean;
|
|
1029
|
+
isDemoContent?: boolean;
|
|
1030
|
+
isFollowing?: boolean;
|
|
1031
|
+
}
|
|
1032
|
+
interface PostFilterDefinition {
|
|
1033
|
+
token?: string;
|
|
1034
|
+
pageSize?: string;
|
|
1035
|
+
search?: string;
|
|
1036
|
+
keywords?: FilterWithLogicalOperator;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1050
1039
|
interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
1051
1040
|
}
|
|
1052
1041
|
|
|
@@ -1196,32 +1185,18 @@ declare const ToolbarManageNewsItemButton: FC<{
|
|
|
1196
1185
|
onClick?: (itemId: string) => unknown;
|
|
1197
1186
|
}>;
|
|
1198
1187
|
|
|
1199
|
-
interface
|
|
1188
|
+
interface NewsDetailPreviewProps {
|
|
1200
1189
|
itemId?: string;
|
|
1201
1190
|
versionId?: string;
|
|
1202
1191
|
className?: string;
|
|
1203
|
-
hideLikes?: boolean;
|
|
1204
|
-
hideComments?: boolean;
|
|
1205
1192
|
}
|
|
1206
|
-
declare const NewsDetailPreview: FC<
|
|
1207
|
-
declare const PageDetailPreview: FC<SharedItemDetailPreviewProps>;
|
|
1208
|
-
declare const EventDetailPreview: FC<SharedItemDetailPreviewProps>;
|
|
1193
|
+
declare const NewsDetailPreview: FC<NewsDetailPreviewProps>;
|
|
1209
1194
|
|
|
1210
1195
|
declare const NewsItemPreviewContextProvider: FC<{
|
|
1211
1196
|
itemId: string;
|
|
1212
1197
|
versionId?: string;
|
|
1213
1198
|
}>;
|
|
1214
1199
|
|
|
1215
|
-
declare const PageItemPreviewContextProvider: FC<{
|
|
1216
|
-
itemId: string;
|
|
1217
|
-
versionId?: string;
|
|
1218
|
-
}>;
|
|
1219
|
-
|
|
1220
|
-
declare const EventItemPreviewContextProvider: FC<{
|
|
1221
|
-
itemId: string;
|
|
1222
|
-
versionId?: string;
|
|
1223
|
-
}>;
|
|
1224
|
-
|
|
1225
1200
|
interface FilterProps {
|
|
1226
1201
|
filter: IndexableFilterDefinition;
|
|
1227
1202
|
onChange: (filter: Partial<IndexableFilterDefinition> | null) => void;
|
|
@@ -1446,4 +1421,4 @@ interface PageEditorPanelProps {
|
|
|
1446
1421
|
}
|
|
1447
1422
|
declare const PageEditorPanel: FC<PageEditorPanelProps>;
|
|
1448
1423
|
|
|
1449
|
-
export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, ContactToolbarFilter, EditorToolbarIndicators, EditorToolbarIndicatorsProps, EventDatesToolbarFilter, EventDatesToolbarFilterProps, EventDetail,
|
|
1424
|
+
export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, ContactToolbarFilter, EditorToolbarIndicators, EditorToolbarIndicatorsProps, EventDatesToolbarFilter, EventDatesToolbarFilterProps, EventDetail, EventDetailProps, EventEditor, EventEditorContextProvider, EventEditorContextProviderProps, EventEditorPanel, EventEditorPanelProps, EventEditorProps, EventEditorToolbarRecurringControls, EventEditorToolbarRecurringControlsProps, EventEditorToolbarStateActions, EventGridProps, EventItemContextProvider, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, FilterWithLogicalOperator, GroupNotificationsSettings, GroupNotificationsSettingsProps, ItemLayoutMode, ItemResourceTypes, Keyword, ScrollableKeywordPicker as KeywordPicker, KeywordPickerProps, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, LogicalOperator, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailPreviewProps, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorPanelProps, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, PageDetail, PageDetailProps, PageEditor, PageEditorContextProvider, PageEditorContextProviderProps, PageEditorPanel, PageEditorPanelProps, PageEditorProps, PageEditorToolbarStateActions, PageItemContextProvider, PageType, PageViewTrackerSettings, PageViewTrackerSettingsContextProvider, PagesGrid, PagesGridProps, PagesList, PagesListProps, 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, ToolbarLanguageSelector, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllNewsAsReadButton, ToolbarMarkEventsItemsAsReadButtonProps, ToolbarMarkNewsItemsAsReadButtonProps, ToolbarLanguageSelector as ToolbarNewsLanguageSelector, ToolbarPostNotificationButton, ToolbarProps, ToolbarSearchProps, ToolbarUnreadItemsButton, UserDetails, UserDetailsProps, VerticalFilterPanel, VerticalFilterPanelProps, isFilterActive, useCurrentUser };
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{ad as AuthorFilter,ac as AuthorToolbarFilter,C as Avatar,a5 as ChannelFilter,ai as ChannelSelector,a6 as ChannelToolbarFilter,a9 as ClearAllFiltersButton,aC as ContactToolbarFilter,as as EditorToolbarIndicators,aD as EventDatesToolbarFilter,E as EventDetail,aI as EventEditor,aJ as EventEditorContextProvider,aK as EventEditorPanel,aM as EventEditorToolbarRecurringControls,aL as EventEditorToolbarStateActions,X as EventItemContextProvider,ah as EventView,G as EventsEditorDashboard,z as EventsGrid,A as EventsList,ae as FilterSearch,ax as GroupNotificationsSettings,I as ItemLayoutMode,an as ItemResourceTypes,aq as KeywordPicker,aa as KeywordsFilter,ab as KeywordsToolbarFilter,aE as LogicalOperator,M as ManageChannels,N as NewsDetail,$ as NewsDetailPreview,aj as NewsEditor,ak as NewsEditorContextProvider,F as NewsEditorDashboard,ap as NewsEditorPanel,ao as NewsEditorToolbarStateActions,y as NewsGrid,D as NewsHero,V as NewsItemContextProvider,a0 as NewsItemPreviewContextProvider,x as NewsList,v as PageDetail,aO as PageEditor,aN as PageEditorContextProvider,aQ as PageEditorPanel,aP as PageEditorToolbarStateActions,W as PageItemContextProvider,aH as PageType,al as PageViewTrackerSettingsContextProvider,aF as PagesGrid,aG as PagesList,w as PostDetail,aw as PostGroupSelector,az as PostGroupSelectorButton,av as PostGroupsPicker,at as PostInputBox,au as PostList,t as PostListContextProvider,a8 as PublishingDateFilter,a7 as PublishingDateToolbarFilter,R as ReachContextProvider,ar as ReachDialog,am as TargetLinkOverrideContextProvider,H as Toolbar,L as ToolbarChannelSelector,S as ToolbarCloseButton,ag as ToolbarEventViewSelector,a2 as ToolbarFilterModal,a3 as ToolbarFilterModalButton,a1 as ToolbarFilterPanel,af as ToolbarFilterSearch,aA as ToolbarFilterToggleButton,J as ToolbarIconButton,Y as ToolbarLanguageSelector,Z as ToolbarManageNewsItemButton,O as ToolbarMarkAllEventsAsReadButton,Q as ToolbarMarkAllNewsAsReadButton,Y as ToolbarNewsLanguageSelector,ay as ToolbarPostNotificationButton,K as ToolbarUnreadItemsButton,U as UserDetails,a4 as VerticalFilterPanel,aB as isFilterActive,B 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";
|