@livetiles/reach-components-react 0.5.0-preview.294 → 0.5.0-preview.295
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 +4 -0
- package/SharedItemDetailPreview.d.ts +0 -9
- 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 +47 -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,10 @@ declare type ReachContextProps = {
|
|
|
13
13
|
subscriptionId: string;
|
|
14
14
|
language?: string;
|
|
15
15
|
disableUiFabricThemeOverwrite?: boolean;
|
|
16
|
+
analyticsProps?: {
|
|
17
|
+
disableAnalytics?: boolean;
|
|
18
|
+
appName?: string;
|
|
19
|
+
};
|
|
16
20
|
};
|
|
17
21
|
declare const ReachContextProvider: FC<ReachContextProps>;
|
|
18
22
|
|
|
@@ -474,6 +478,19 @@ interface BaseItem {
|
|
|
474
478
|
id?: string;
|
|
475
479
|
statistics?: ItemStatistics;
|
|
476
480
|
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;
|
|
477
494
|
}
|
|
478
495
|
interface Poll {
|
|
479
496
|
questions: PollQuestion[];
|
|
@@ -508,7 +525,6 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
508
525
|
headline?: string;
|
|
509
526
|
intro?: string;
|
|
510
527
|
body?: string;
|
|
511
|
-
bodyRaw?: string;
|
|
512
528
|
customProperties?: {
|
|
513
529
|
[key: string]: any;
|
|
514
530
|
};
|
|
@@ -965,11 +981,31 @@ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFi
|
|
|
965
981
|
includeExpired?: boolean;
|
|
966
982
|
}
|
|
967
983
|
|
|
968
|
-
interface
|
|
969
|
-
|
|
970
|
-
|
|
984
|
+
interface Post extends BaseItem, ItemWithAttachments {
|
|
985
|
+
id: string;
|
|
986
|
+
comments?: PaginatedList<Comment>;
|
|
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;
|
|
971
1002
|
}
|
|
972
|
-
|
|
1003
|
+
interface PostFilterDefinition {
|
|
1004
|
+
token?: string;
|
|
1005
|
+
pageSize?: string;
|
|
1006
|
+
search?: string;
|
|
1007
|
+
keywords?: FilterWithLogicalOperator;
|
|
1008
|
+
}
|
|
973
1009
|
|
|
974
1010
|
interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
975
1011
|
contacts?: string[];
|
|
@@ -985,6 +1021,12 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
|
|
|
985
1021
|
pastEventsOnly?: boolean;
|
|
986
1022
|
}
|
|
987
1023
|
|
|
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
|
+
|
|
988
1030
|
interface KeywordPickerProps {
|
|
989
1031
|
value?: Keyword[] | string[];
|
|
990
1032
|
onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
|
|
@@ -1005,32 +1047,6 @@ interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
|
1005
1047
|
pageType?: PageType;
|
|
1006
1048
|
}
|
|
1007
1049
|
|
|
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
1050
|
interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
1035
1051
|
}
|
|
1036
1052
|
|
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";
|