@livetiles/reach-components-react 0.4.34 → 0.4.36
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/auto-track-TSL25GIN.esm.js +1 -0
- package/chunk-B3FF5TYY.esm.js +1 -0
- package/chunk-YNMH7CLT.esm.js +1 -0
- package/de.async.esm2.esm.js +1 -1
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +42 -30
- package/index.esm.js +1 -1
- package/index.esm2.js +32 -17
- package/index.umd-6F4DRWJX.esm.js +1 -0
- package/index.umd.js +69 -19
- package/legacy-video-plugins-3RS3BA6L.esm.js +1 -0
- package/middleware-INPMLAH5.esm.js +1 -0
- package/package.json +1 -1
- package/query-string-UWL6P5OP.esm.js +1 -0
- package/remote-middleware-K76YRMHC.esm.js +1 -0
- package/schema-filter-IFKPYTUM.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
|
|
|
@@ -966,11 +978,31 @@ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFi
|
|
|
966
978
|
includeExpired?: boolean;
|
|
967
979
|
}
|
|
968
980
|
|
|
969
|
-
interface
|
|
970
|
-
|
|
971
|
-
|
|
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;
|
|
972
999
|
}
|
|
973
|
-
|
|
1000
|
+
interface PostFilterDefinition {
|
|
1001
|
+
token?: string;
|
|
1002
|
+
pageSize?: string;
|
|
1003
|
+
search?: string;
|
|
1004
|
+
keywords?: FilterWithLogicalOperator;
|
|
1005
|
+
}
|
|
974
1006
|
|
|
975
1007
|
interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
976
1008
|
contacts?: string[];
|
|
@@ -986,6 +1018,12 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
|
|
|
986
1018
|
pastEventsOnly?: boolean;
|
|
987
1019
|
}
|
|
988
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
|
+
|
|
989
1027
|
interface KeywordPickerProps {
|
|
990
1028
|
value?: Keyword[] | string[];
|
|
991
1029
|
onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
|
|
@@ -1006,32 +1044,6 @@ interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
|
1006
1044
|
pageType?: PageType;
|
|
1007
1045
|
}
|
|
1008
1046
|
|
|
1009
|
-
interface Post extends BaseItem, ItemWithAttachments {
|
|
1010
|
-
id: string;
|
|
1011
|
-
comments?: PaginatedList<Comment>;
|
|
1012
|
-
groupId: string;
|
|
1013
|
-
content: string;
|
|
1014
|
-
permalink?: string;
|
|
1015
|
-
author: Account;
|
|
1016
|
-
publishingDate: string;
|
|
1017
|
-
modified?: string;
|
|
1018
|
-
statistics: ItemStatistics;
|
|
1019
|
-
keywords?: {
|
|
1020
|
-
[key: string]: Keyword[];
|
|
1021
|
-
};
|
|
1022
|
-
contentLanguageCode?: string;
|
|
1023
|
-
isLiked?: boolean;
|
|
1024
|
-
isUnread?: boolean;
|
|
1025
|
-
isDemoContent?: boolean;
|
|
1026
|
-
isFollowing?: boolean;
|
|
1027
|
-
}
|
|
1028
|
-
interface PostFilterDefinition {
|
|
1029
|
-
token?: string;
|
|
1030
|
-
pageSize?: string;
|
|
1031
|
-
search?: string;
|
|
1032
|
-
keywords?: FilterWithLogicalOperator;
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
1047
|
interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
1036
1048
|
}
|
|
1037
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,aV 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,aT 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,aS as NewsEditorPanel,aR 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,aU 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";
|