@livetiles/reach-components-react 0.5.0-preview.249 → 0.5.0-preview.251
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/AnalyticsContextProvider-dummy.d.ts +2 -0
- package/EmojiPicker.esm.esm.js +1 -1
- package/PageTableOfContents.d.ts +1 -2
- package/ajs-destination-4IEK7JCF.esm.js +35 -0
- package/auto-track-PVC3RKAW.esm.js +1 -0
- package/chunk-IZB43MSE.esm.js +1 -0
- package/chunk-NYVNK6O3.esm.js +1 -0
- package/da.async.esm2.esm.js +1 -1
- package/da.async.esm3.esm.js +1 -0
- package/da.esm.js +1 -0
- package/de.async.esm2.esm.js +1 -1
- package/en.async.esm.esm.js +1 -1
- package/es.async.esm2.esm.js +1 -1
- package/fr.async.esm2.esm.js +1 -1
- package/index.d.ts +43 -31
- package/index.esm.js +1 -1
- package/index.esm2.js +17 -17
- package/index.umd-EZCVDQQZ.esm.js +1 -0
- package/index.umd.js +55 -20
- package/it.async.esm2.esm.js +1 -1
- package/ja.async.esm2.esm.js +1 -1
- package/legacy-video-plugins-DALJOR7Y.esm.js +1 -0
- package/middleware-K6A3D7OK.esm.js +1 -0
- package/package.json +1 -1
- package/query-string-LUA3AQWQ.esm.js +1 -0
- package/remote-middleware-C2NOE7LS.esm.js +1 -0
- package/schema-filter-7TQKEETH.esm.js +1 -0
- package/tr.async.esm2.esm.js +1 -1
- package/zh-CN.async.esm2.esm.js +1 -1
- package/zh-TW.async.esm2.esm.js +1 -1
package/index.d.ts
CHANGED
|
@@ -479,6 +479,19 @@ 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;
|
|
482
495
|
}
|
|
483
496
|
interface Poll {
|
|
484
497
|
questions: PollQuestion[];
|
|
@@ -513,7 +526,6 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
513
526
|
headline?: string;
|
|
514
527
|
intro?: string;
|
|
515
528
|
body?: string;
|
|
516
|
-
bodyRaw?: string;
|
|
517
529
|
customProperties?: {
|
|
518
530
|
[key: string]: any;
|
|
519
531
|
};
|
|
@@ -970,11 +982,31 @@ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFi
|
|
|
970
982
|
includeExpired?: boolean;
|
|
971
983
|
}
|
|
972
984
|
|
|
973
|
-
interface
|
|
974
|
-
|
|
975
|
-
|
|
985
|
+
interface Post extends BaseItem, ItemWithAttachments {
|
|
986
|
+
id: string;
|
|
987
|
+
comments?: PaginatedList<Comment>;
|
|
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;
|
|
976
1003
|
}
|
|
977
|
-
|
|
1004
|
+
interface PostFilterDefinition {
|
|
1005
|
+
token?: string;
|
|
1006
|
+
pageSize?: string;
|
|
1007
|
+
search?: string;
|
|
1008
|
+
keywords?: FilterWithLogicalOperator;
|
|
1009
|
+
}
|
|
978
1010
|
|
|
979
1011
|
interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
980
1012
|
contacts?: string[];
|
|
@@ -990,6 +1022,12 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
|
|
|
990
1022
|
pastEventsOnly?: boolean;
|
|
991
1023
|
}
|
|
992
1024
|
|
|
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
|
+
|
|
993
1031
|
interface KeywordPickerProps {
|
|
994
1032
|
value?: Keyword[] | string[];
|
|
995
1033
|
onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
|
|
@@ -1010,32 +1048,6 @@ interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
|
1010
1048
|
pageType?: PageType;
|
|
1011
1049
|
}
|
|
1012
1050
|
|
|
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
|
-
|
|
1039
1051
|
interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
1040
1052
|
}
|
|
1041
1053
|
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{aC as AuthorFilter,aB as AuthorToolbarFilter,a8 as Avatar,au as ChannelFilter,aH as ChannelSelector,av as ChannelToolbarFilter,ay as ClearAllFiltersButton,a$ as ContactToolbarFilter,aP as EditorToolbarIndicators,b0 as EventDatesToolbarFilter,Y as EventDetail,b5 as EventEditor,b6 as EventEditorContextProvider,b7 as EventEditorPanel,b9 as EventEditorToolbarRecurringControls,b8 as EventEditorToolbarStateActions,al as EventItemContextProvider,aG as EventView,ab as EventsEditorDashboard,a3 as EventsGrid,a4 as EventsList,aD as FilterSearch,aW as GroupNotificationsSettings,a1 as ItemLayoutMode,aM as ItemResourceTypes,aN as KeywordPicker,az as KeywordsFilter,aA as KeywordsToolbarFilter,b1 as LogicalOperator,a5 as ManageChannels,V as NewsDetail,ao as NewsDetailPreview,aI as NewsEditor,aJ as NewsEditorContextProvider,aa as NewsEditorDashboard,aR as NewsEditorPanel,aQ as NewsEditorToolbarStateActions,a2 as NewsGrid,a9 as NewsHero,aj as NewsItemContextProvider,ap as NewsItemPreviewContextProvider,a0 as NewsList,X as PageDetail,bb as PageEditor,ba as PageEditorContextProvider,bd as PageEditorPanel,bc as PageEditorToolbarStateActions,ak as PageItemContextProvider,b4 as PageType,aK as PageViewTrackerSettingsContextProvider,b2 as PagesGrid,b3 as PagesList,Z as PostDetail,aV as PostGroupSelector,aY as PostGroupSelectorButton,aU as PostGroupsPicker,aS as PostInputBox,aT as PostList,U as PostListContextProvider,ax as PublishingDateFilter,aw as PublishingDateToolbarFilter,S as ReachContextProvider,aO as ReachDialog,aL as TargetLinkOverrideContextProvider,ac as Toolbar,af as ToolbarChannelSelector,ai as ToolbarCloseButton,aF as ToolbarEventViewSelector,ar as ToolbarFilterModal,as as ToolbarFilterModalButton,aq as ToolbarFilterPanel,aE as ToolbarFilterSearch,aZ as ToolbarFilterToggleButton,ad as ToolbarIconButton,am as ToolbarLanguageSelector,an as ToolbarManageNewsItemButton,ag as ToolbarMarkAllEventsAsReadButton,ah as ToolbarMarkAllNewsAsReadButton,am as ToolbarNewsLanguageSelector,aX as ToolbarPostNotificationButton,ae as ToolbarUnreadItemsButton,a7 as UserDetails,at as VerticalFilterPanel,a_ as isFilterActive,a6 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";
|