@livetiles/reach-components-react 0.5.0-preview.282 → 0.5.0-preview.284
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/AnalyticsDummyContextProvider.d.ts +2 -0
- package/ReachContext.d.ts +1 -0
- package/ajs-destination-4IEK7JCF.esm.js +35 -0
- package/asn1.esm.js +1 -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 +44 -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 +56 -21
- package/javascript.esm.js +1 -0
- package/legacy-video-plugins-DALJOR7Y.esm.js +1 -0
- package/middleware-K6A3D7OK.esm.js +1 -0
- package/mllike.esm.js +1 -0
- package/package.json +1 -1
- package/python.esm.js +1 -0
- package/query-string-LUA3AQWQ.esm.js +1 -0
- package/remote-middleware-C2NOE7LS.esm.js +1 -0
- package/rpm.esm.js +1 -0
- package/schema-filter-7TQKEETH.esm.js +1 -0
- package/sql.esm.js +1 -0
- package/ttcn-cfg.esm.js +1 -0
package/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ declare type ReachContextProps = {
|
|
|
13
13
|
subscriptionId: string;
|
|
14
14
|
language?: string;
|
|
15
15
|
disableUiFabricThemeOverwrite?: boolean;
|
|
16
|
+
disableAnalytics?: boolean;
|
|
16
17
|
};
|
|
17
18
|
declare const ReachContextProvider: FC<ReachContextProps>;
|
|
18
19
|
|
|
@@ -474,6 +475,19 @@ interface BaseItem {
|
|
|
474
475
|
id?: string;
|
|
475
476
|
statistics?: ItemStatistics;
|
|
476
477
|
poll?: Poll;
|
|
478
|
+
searchHighlights?: SearchHighlightSummary;
|
|
479
|
+
}
|
|
480
|
+
interface SearchHighlightSummary {
|
|
481
|
+
title: SearchHighlight[];
|
|
482
|
+
content: SearchHighlight[];
|
|
483
|
+
}
|
|
484
|
+
interface SearchHighlight {
|
|
485
|
+
language: string;
|
|
486
|
+
texts: {
|
|
487
|
+
value: string;
|
|
488
|
+
type: 'text' | 'hit';
|
|
489
|
+
}[];
|
|
490
|
+
score: number;
|
|
477
491
|
}
|
|
478
492
|
interface Poll {
|
|
479
493
|
questions: PollQuestion[];
|
|
@@ -508,7 +522,6 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
508
522
|
headline?: string;
|
|
509
523
|
intro?: string;
|
|
510
524
|
body?: string;
|
|
511
|
-
bodyRaw?: string;
|
|
512
525
|
customProperties?: {
|
|
513
526
|
[key: string]: any;
|
|
514
527
|
};
|
|
@@ -965,11 +978,31 @@ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFi
|
|
|
965
978
|
includeExpired?: boolean;
|
|
966
979
|
}
|
|
967
980
|
|
|
968
|
-
interface
|
|
969
|
-
|
|
970
|
-
|
|
981
|
+
interface Post extends BaseItem, ItemWithAttachments {
|
|
982
|
+
id: string;
|
|
983
|
+
comments?: PaginatedList<Comment>;
|
|
984
|
+
groupId: string;
|
|
985
|
+
content: string;
|
|
986
|
+
permalink?: string;
|
|
987
|
+
author: Account;
|
|
988
|
+
publishingDate: string;
|
|
989
|
+
modified?: string;
|
|
990
|
+
statistics: ItemStatistics;
|
|
991
|
+
keywords?: {
|
|
992
|
+
[key: string]: Keyword[];
|
|
993
|
+
};
|
|
994
|
+
contentLanguageCode?: string;
|
|
995
|
+
isLiked?: boolean;
|
|
996
|
+
isUnread?: boolean;
|
|
997
|
+
isDemoContent?: boolean;
|
|
998
|
+
isFollowing?: boolean;
|
|
971
999
|
}
|
|
972
|
-
|
|
1000
|
+
interface PostFilterDefinition {
|
|
1001
|
+
token?: string;
|
|
1002
|
+
pageSize?: string;
|
|
1003
|
+
search?: string;
|
|
1004
|
+
keywords?: FilterWithLogicalOperator;
|
|
1005
|
+
}
|
|
973
1006
|
|
|
974
1007
|
interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
975
1008
|
contacts?: string[];
|
|
@@ -985,6 +1018,12 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
|
|
|
985
1018
|
pastEventsOnly?: boolean;
|
|
986
1019
|
}
|
|
987
1020
|
|
|
1021
|
+
interface TargetLinkOverrideContextProps {
|
|
1022
|
+
onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1023
|
+
onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1024
|
+
}
|
|
1025
|
+
declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
|
|
1026
|
+
|
|
988
1027
|
interface KeywordPickerProps {
|
|
989
1028
|
value?: Keyword[] | string[];
|
|
990
1029
|
onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
|
|
@@ -1005,32 +1044,6 @@ interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
|
1005
1044
|
pageType?: PageType;
|
|
1006
1045
|
}
|
|
1007
1046
|
|
|
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
1047
|
interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
1035
1048
|
}
|
|
1036
1049
|
|
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";
|