@livetiles/reach-components-react 0.5.0-preview.248 → 0.5.0-preview.249
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/EmojiPicker.esm.esm.js +1 -1
- package/PageTableOfContents.d.ts +2 -1
- package/da.async.esm2.esm.js +1 -1
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +31 -43
- package/index.esm.js +1 -1
- package/index.esm2.js +17 -32
- package/index.umd.js +20 -70
- package/package.json +1 -1
- package/AnalyticsContextProvider-dummy.d.ts +0 -2
- 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
|
@@ -479,19 +479,6 @@ interface BaseItem {
|
|
|
479
479
|
id?: string;
|
|
480
480
|
statistics?: ItemStatistics;
|
|
481
481
|
poll?: Poll;
|
|
482
|
-
searchHighlights?: SearchHighlightSummary;
|
|
483
|
-
}
|
|
484
|
-
interface SearchHighlightSummary {
|
|
485
|
-
title: SearchHighlight[];
|
|
486
|
-
content: SearchHighlight[];
|
|
487
|
-
}
|
|
488
|
-
interface SearchHighlight {
|
|
489
|
-
language: string;
|
|
490
|
-
texts: {
|
|
491
|
-
value: string;
|
|
492
|
-
type: 'text' | 'hit';
|
|
493
|
-
}[];
|
|
494
|
-
score: number;
|
|
495
482
|
}
|
|
496
483
|
interface Poll {
|
|
497
484
|
questions: PollQuestion[];
|
|
@@ -526,6 +513,7 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
526
513
|
headline?: string;
|
|
527
514
|
intro?: string;
|
|
528
515
|
body?: string;
|
|
516
|
+
bodyRaw?: string;
|
|
529
517
|
customProperties?: {
|
|
530
518
|
[key: string]: any;
|
|
531
519
|
};
|
|
@@ -982,31 +970,11 @@ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFi
|
|
|
982
970
|
includeExpired?: boolean;
|
|
983
971
|
}
|
|
984
972
|
|
|
985
|
-
interface
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
groupId: string;
|
|
989
|
-
content: string;
|
|
990
|
-
permalink?: string;
|
|
991
|
-
author: Account;
|
|
992
|
-
publishingDate: string;
|
|
993
|
-
modified?: string;
|
|
994
|
-
statistics: ItemStatistics;
|
|
995
|
-
keywords?: {
|
|
996
|
-
[key: string]: Keyword[];
|
|
997
|
-
};
|
|
998
|
-
contentLanguageCode?: string;
|
|
999
|
-
isLiked?: boolean;
|
|
1000
|
-
isUnread?: boolean;
|
|
1001
|
-
isDemoContent?: boolean;
|
|
1002
|
-
isFollowing?: boolean;
|
|
973
|
+
interface TargetLinkOverrideContextProps {
|
|
974
|
+
onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
975
|
+
onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1003
976
|
}
|
|
1004
|
-
|
|
1005
|
-
token?: string;
|
|
1006
|
-
pageSize?: string;
|
|
1007
|
-
search?: string;
|
|
1008
|
-
keywords?: FilterWithLogicalOperator;
|
|
1009
|
-
}
|
|
977
|
+
declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
|
|
1010
978
|
|
|
1011
979
|
interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
1012
980
|
contacts?: string[];
|
|
@@ -1022,12 +990,6 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
|
|
|
1022
990
|
pastEventsOnly?: boolean;
|
|
1023
991
|
}
|
|
1024
992
|
|
|
1025
|
-
interface TargetLinkOverrideContextProps {
|
|
1026
|
-
onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1027
|
-
onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1028
|
-
}
|
|
1029
|
-
declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
|
|
1030
|
-
|
|
1031
993
|
interface KeywordPickerProps {
|
|
1032
994
|
value?: Keyword[] | string[];
|
|
1033
995
|
onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
|
|
@@ -1048,6 +1010,32 @@ interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
|
1048
1010
|
pageType?: PageType;
|
|
1049
1011
|
}
|
|
1050
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
|
+
|
|
1051
1039
|
interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
1052
1040
|
}
|
|
1053
1041
|
|
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";
|