@livetiles/reach-components-react 0.5.0-preview.271 → 0.5.0-preview.273
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/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/en.async.esm.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/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/index.d.ts
CHANGED
|
@@ -474,6 +474,19 @@ interface BaseItem {
|
|
|
474
474
|
id?: string;
|
|
475
475
|
statistics?: ItemStatistics;
|
|
476
476
|
poll?: Poll;
|
|
477
|
+
searchHighlights?: SearchHighlightSummary;
|
|
478
|
+
}
|
|
479
|
+
interface SearchHighlightSummary {
|
|
480
|
+
title: SearchHighlight[];
|
|
481
|
+
content: SearchHighlight[];
|
|
482
|
+
}
|
|
483
|
+
interface SearchHighlight {
|
|
484
|
+
language: string;
|
|
485
|
+
texts: {
|
|
486
|
+
value: string;
|
|
487
|
+
type: 'text' | 'hit';
|
|
488
|
+
}[];
|
|
489
|
+
score: number;
|
|
477
490
|
}
|
|
478
491
|
interface Poll {
|
|
479
492
|
questions: PollQuestion[];
|
|
@@ -508,7 +521,6 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
508
521
|
headline?: string;
|
|
509
522
|
intro?: string;
|
|
510
523
|
body?: string;
|
|
511
|
-
bodyRaw?: string;
|
|
512
524
|
customProperties?: {
|
|
513
525
|
[key: string]: any;
|
|
514
526
|
};
|
|
@@ -965,11 +977,31 @@ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFi
|
|
|
965
977
|
includeExpired?: boolean;
|
|
966
978
|
}
|
|
967
979
|
|
|
968
|
-
interface
|
|
969
|
-
|
|
970
|
-
|
|
980
|
+
interface Post extends BaseItem, ItemWithAttachments {
|
|
981
|
+
id: string;
|
|
982
|
+
comments?: PaginatedList<Comment>;
|
|
983
|
+
groupId: string;
|
|
984
|
+
content: string;
|
|
985
|
+
permalink?: string;
|
|
986
|
+
author: Account;
|
|
987
|
+
publishingDate: string;
|
|
988
|
+
modified?: string;
|
|
989
|
+
statistics: ItemStatistics;
|
|
990
|
+
keywords?: {
|
|
991
|
+
[key: string]: Keyword[];
|
|
992
|
+
};
|
|
993
|
+
contentLanguageCode?: string;
|
|
994
|
+
isLiked?: boolean;
|
|
995
|
+
isUnread?: boolean;
|
|
996
|
+
isDemoContent?: boolean;
|
|
997
|
+
isFollowing?: boolean;
|
|
971
998
|
}
|
|
972
|
-
|
|
999
|
+
interface PostFilterDefinition {
|
|
1000
|
+
token?: string;
|
|
1001
|
+
pageSize?: string;
|
|
1002
|
+
search?: string;
|
|
1003
|
+
keywords?: FilterWithLogicalOperator;
|
|
1004
|
+
}
|
|
973
1005
|
|
|
974
1006
|
interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
975
1007
|
contacts?: string[];
|
|
@@ -985,6 +1017,12 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
|
|
|
985
1017
|
pastEventsOnly?: boolean;
|
|
986
1018
|
}
|
|
987
1019
|
|
|
1020
|
+
interface TargetLinkOverrideContextProps {
|
|
1021
|
+
onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1022
|
+
onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1023
|
+
}
|
|
1024
|
+
declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
|
|
1025
|
+
|
|
988
1026
|
interface KeywordPickerProps {
|
|
989
1027
|
value?: Keyword[] | string[];
|
|
990
1028
|
onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
|
|
@@ -1005,32 +1043,6 @@ interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
|
1005
1043
|
pageType?: PageType;
|
|
1006
1044
|
}
|
|
1007
1045
|
|
|
1008
|
-
interface Post extends BaseItem, ItemWithAttachments {
|
|
1009
|
-
id: string;
|
|
1010
|
-
comments?: PaginatedList<Comment>;
|
|
1011
|
-
groupId: string;
|
|
1012
|
-
content: string;
|
|
1013
|
-
permalink?: string;
|
|
1014
|
-
author: Account;
|
|
1015
|
-
publishingDate: string;
|
|
1016
|
-
modified?: string;
|
|
1017
|
-
statistics: ItemStatistics;
|
|
1018
|
-
keywords?: {
|
|
1019
|
-
[key: string]: Keyword[];
|
|
1020
|
-
};
|
|
1021
|
-
contentLanguageCode?: string;
|
|
1022
|
-
isLiked?: boolean;
|
|
1023
|
-
isUnread?: boolean;
|
|
1024
|
-
isDemoContent?: boolean;
|
|
1025
|
-
isFollowing?: boolean;
|
|
1026
|
-
}
|
|
1027
|
-
interface PostFilterDefinition {
|
|
1028
|
-
token?: string;
|
|
1029
|
-
pageSize?: string;
|
|
1030
|
-
search?: string;
|
|
1031
|
-
keywords?: FilterWithLogicalOperator;
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
1046
|
interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
1035
1047
|
}
|
|
1036
1048
|
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{aG as AuthorFilter,aF as AuthorToolbarFilter,a8 as Avatar,ay as ChannelFilter,aL as ChannelSelector,az as ChannelToolbarFilter,aC as ClearAllFiltersButton,b3 as ContactToolbarFilter,aT as EditorToolbarIndicators,b4 as EventDatesToolbarFilter,Y as EventDetail,aq as EventDetailPreview,b9 as EventEditor,ba as EventEditorContextProvider,bb as EventEditorPanel,bd as EventEditorToolbarRecurringControls,bc as EventEditorToolbarStateActions,al as EventItemContextProvider,at as EventItemPreviewContextProvider,aK as EventView,ab as EventsEditorDashboard,a3 as EventsGrid,a4 as EventsList,aH as FilterSearch,a_ as GroupNotificationsSettings,a1 as ItemLayoutMode,aQ as ItemResourceTypes,aR as KeywordPicker,aD as KeywordsFilter,aE as KeywordsToolbarFilter,b5 as LogicalOperator,a5 as ManageChannels,V as NewsDetail,ao as NewsDetailPreview,aM as NewsEditor,aN as NewsEditorContextProvider,aa as NewsEditorDashboard,aV as NewsEditorPanel,aU as NewsEditorToolbarStateActions,a2 as NewsGrid,a9 as NewsHero,aj as NewsItemContextProvider,ar as NewsItemPreviewContextProvider,a0 as NewsList,X as PageDetail,ap as PageDetailPreview,bf as PageEditor,be as PageEditorContextProvider,bh as PageEditorPanel,bg as PageEditorToolbarStateActions,ak as PageItemContextProvider,as as PageItemPreviewContextProvider,b8 as PageType,aO as PageViewTrackerSettingsContextProvider,b6 as PagesGrid,b7 as PagesList,Z as PostDetail,aZ as PostGroupSelector,b0 as PostGroupSelectorButton,aY as PostGroupsPicker,aW as PostInputBox,aX as PostList,U as PostListContextProvider,aB as PublishingDateFilter,aA as PublishingDateToolbarFilter,S as ReachContextProvider,aS as ReachDialog,aP as TargetLinkOverrideContextProvider,ac as Toolbar,af as ToolbarChannelSelector,ai as ToolbarCloseButton,aJ as ToolbarEventViewSelector,av as ToolbarFilterModal,aw as ToolbarFilterModalButton,au as ToolbarFilterPanel,aI as ToolbarFilterSearch,b1 as ToolbarFilterToggleButton,ad as ToolbarIconButton,am as ToolbarLanguageSelector,an as ToolbarManageNewsItemButton,ag as ToolbarMarkAllEventsAsReadButton,ah as ToolbarMarkAllNewsAsReadButton,am as ToolbarNewsLanguageSelector,a$ as ToolbarPostNotificationButton,ae as ToolbarUnreadItemsButton,a7 as UserDetails,ax as VerticalFilterPanel,b2 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";
|