@livetiles/reach-components-react 0.5.0-preview.310 → 0.5.0-preview.311
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/PublishableItemGrid.d.ts +3 -2
- package/PublishableItemList.d.ts +3 -2
- package/ReachContext.d.ts +12 -0
- package/SharedItemDetailPreview.d.ts +0 -9
- package/ajs-destination-PLHOLJSV.esm.js +35 -0
- package/asn1.esm.js +1 -0
- package/auto-track-TSL25GIN.esm.js +1 -0
- package/chunk-B3FF5TYY.esm.js +1 -0
- package/chunk-YNMH7CLT.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 +57 -32
- package/index.esm.js +1 -1
- package/index.esm2.js +32 -17
- package/index.umd-6F4DRWJX.esm.js +1 -0
- package/index.umd.js +71 -21
- package/javascript.esm.js +1 -0
- package/legacy-video-plugins-3RS3BA6L.esm.js +1 -0
- package/middleware-INPMLAH5.esm.js +1 -0
- package/mllike.esm.js +1 -0
- package/package.json +1 -1
- package/python.esm.js +1 -0
- package/query-string-UWL6P5OP.esm.js +1 -0
- package/remote-middleware-K76YRMHC.esm.js +1 -0
- package/rpm.esm.js +1 -0
- package/schema-filter-IFKPYTUM.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,18 @@ declare type ReachContextProps = {
|
|
|
13
13
|
subscriptionId: string;
|
|
14
14
|
language?: string;
|
|
15
15
|
disableUiFabricThemeOverwrite?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* These properties can be used to define the behavior of the analytics module.
|
|
18
|
+
*
|
|
19
|
+
* With `disableAnalytics` you can completely disable all analytics tracking.
|
|
20
|
+
* The `appName` is optional but highly encouraged to be set,
|
|
21
|
+
* in order to know where the components are used in. The value must be a non-empty string,
|
|
22
|
+
* only containing alphabetical letters and dashes (-). Should not be longer than 30 characters.
|
|
23
|
+
*/
|
|
24
|
+
analyticsProps?: {
|
|
25
|
+
disableAnalytics?: boolean;
|
|
26
|
+
appName?: string;
|
|
27
|
+
};
|
|
16
28
|
};
|
|
17
29
|
declare const ReachContextProvider: FC<ReachContextProps>;
|
|
18
30
|
|
|
@@ -474,6 +486,19 @@ interface BaseItem {
|
|
|
474
486
|
id?: string;
|
|
475
487
|
statistics?: ItemStatistics;
|
|
476
488
|
poll?: Poll;
|
|
489
|
+
searchHighlights?: SearchHighlightSummary;
|
|
490
|
+
}
|
|
491
|
+
interface SearchHighlightSummary {
|
|
492
|
+
title: SearchHighlight[];
|
|
493
|
+
content: SearchHighlight[];
|
|
494
|
+
}
|
|
495
|
+
interface SearchHighlight {
|
|
496
|
+
language: string;
|
|
497
|
+
texts: {
|
|
498
|
+
value: string;
|
|
499
|
+
type: 'text' | 'hit';
|
|
500
|
+
}[];
|
|
501
|
+
score: number;
|
|
477
502
|
}
|
|
478
503
|
interface Poll {
|
|
479
504
|
questions: PollQuestion[];
|
|
@@ -508,7 +533,6 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
508
533
|
headline?: string;
|
|
509
534
|
intro?: string;
|
|
510
535
|
body?: string;
|
|
511
|
-
bodyRaw?: string;
|
|
512
536
|
customProperties?: {
|
|
513
537
|
[key: string]: any;
|
|
514
538
|
};
|
|
@@ -888,8 +912,9 @@ declare const ToolbarEventViewSelector: FC<ToolbarEventViewSelectorProps>;
|
|
|
888
912
|
interface Props extends IPersonaProps {
|
|
889
913
|
upn: string;
|
|
890
914
|
tenantId?: string;
|
|
891
|
-
className?: string;
|
|
892
915
|
displayName?: string;
|
|
916
|
+
forceShowSecondaryText?: boolean;
|
|
917
|
+
className?: string;
|
|
893
918
|
}
|
|
894
919
|
declare const Avatar: FC<Props>;
|
|
895
920
|
|
|
@@ -965,11 +990,31 @@ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFi
|
|
|
965
990
|
includeExpired?: boolean;
|
|
966
991
|
}
|
|
967
992
|
|
|
968
|
-
interface
|
|
969
|
-
|
|
970
|
-
|
|
993
|
+
interface Post extends BaseItem, ItemWithAttachments {
|
|
994
|
+
id: string;
|
|
995
|
+
comments?: PaginatedList<Comment>;
|
|
996
|
+
groupId: string;
|
|
997
|
+
content: string;
|
|
998
|
+
permalink?: string;
|
|
999
|
+
author: Account;
|
|
1000
|
+
publishingDate: string;
|
|
1001
|
+
modified?: string;
|
|
1002
|
+
statistics: ItemStatistics;
|
|
1003
|
+
keywords?: {
|
|
1004
|
+
[key: string]: Keyword[];
|
|
1005
|
+
};
|
|
1006
|
+
contentLanguageCode?: string;
|
|
1007
|
+
isLiked?: boolean;
|
|
1008
|
+
isUnread?: boolean;
|
|
1009
|
+
isDemoContent?: boolean;
|
|
1010
|
+
isFollowing?: boolean;
|
|
971
1011
|
}
|
|
972
|
-
|
|
1012
|
+
interface PostFilterDefinition {
|
|
1013
|
+
token?: string;
|
|
1014
|
+
pageSize?: string;
|
|
1015
|
+
search?: string;
|
|
1016
|
+
keywords?: FilterWithLogicalOperator;
|
|
1017
|
+
}
|
|
973
1018
|
|
|
974
1019
|
interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
975
1020
|
contacts?: string[];
|
|
@@ -985,6 +1030,12 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
|
|
|
985
1030
|
pastEventsOnly?: boolean;
|
|
986
1031
|
}
|
|
987
1032
|
|
|
1033
|
+
interface TargetLinkOverrideContextProps {
|
|
1034
|
+
onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1035
|
+
onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1036
|
+
}
|
|
1037
|
+
declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
|
|
1038
|
+
|
|
988
1039
|
interface KeywordPickerProps {
|
|
989
1040
|
value?: Keyword[] | string[];
|
|
990
1041
|
onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
|
|
@@ -1005,32 +1056,6 @@ interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
|
1005
1056
|
pageType?: PageType;
|
|
1006
1057
|
}
|
|
1007
1058
|
|
|
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
1059
|
interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
1035
1060
|
}
|
|
1036
1061
|
|
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";
|