@livetiles/reach-components-react 0.5.0-preview.331 → 0.5.0-preview.332
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/PublishableItemGrid.d.ts +2 -3
- package/PublishableItemList.d.ts +2 -3
- package/ReachContext.d.ts +0 -12
- package/SharedItemDetailPreview.d.ts +9 -0
- package/da.async.esm2.esm.js +1 -1
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +31 -56
- package/index.esm.js +1 -1
- package/index.esm2.js +17 -32
- package/index.umd.js +21 -71
- package/package.json +1 -1
- package/AnalyticsDummyContextProvider.d.ts +0 -2
- package/ajs-destination-4IEK7JCF.esm.js +0 -35
- package/auto-track-PVC3RKAW.esm.js +0 -1
- package/chunk-IZB43MSE.esm.js +0 -1
- package/chunk-NYVNK6O3.esm.js +0 -1
- package/da.async.esm3.esm.js +0 -1
- package/da.esm.js +0 -1
- package/index.umd-EZCVDQQZ.esm.js +0 -1
- package/legacy-video-plugins-DALJOR7Y.esm.js +0 -1
- package/middleware-K6A3D7OK.esm.js +0 -1
- package/query-string-LUA3AQWQ.esm.js +0 -1
- package/remote-middleware-C2NOE7LS.esm.js +0 -1
- package/schema-filter-7TQKEETH.esm.js +0 -1
package/index.d.ts
CHANGED
|
@@ -13,18 +13,6 @@ 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
|
-
};
|
|
28
16
|
};
|
|
29
17
|
declare const ReachContextProvider: FC<ReachContextProps>;
|
|
30
18
|
|
|
@@ -486,19 +474,6 @@ interface BaseItem {
|
|
|
486
474
|
id?: string;
|
|
487
475
|
statistics?: ItemStatistics;
|
|
488
476
|
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;
|
|
502
477
|
}
|
|
503
478
|
interface Poll {
|
|
504
479
|
questions: PollQuestion[];
|
|
@@ -533,6 +508,7 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
533
508
|
headline?: string;
|
|
534
509
|
intro?: string;
|
|
535
510
|
body?: string;
|
|
511
|
+
bodyRaw?: string;
|
|
536
512
|
customProperties?: {
|
|
537
513
|
[key: string]: any;
|
|
538
514
|
};
|
|
@@ -787,7 +763,6 @@ interface PageItem extends PublishableItem {
|
|
|
787
763
|
isUnlinked?: boolean;
|
|
788
764
|
pageType?: PageType;
|
|
789
765
|
firstChildId?: string;
|
|
790
|
-
isGroupInheritanceBroken?: boolean;
|
|
791
766
|
}
|
|
792
767
|
interface ContentsSummary {
|
|
793
768
|
[lang: string]: TitleContent & {
|
|
@@ -991,31 +966,11 @@ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFi
|
|
|
991
966
|
includeExpired?: boolean;
|
|
992
967
|
}
|
|
993
968
|
|
|
994
|
-
interface
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
groupId: string;
|
|
998
|
-
content: string;
|
|
999
|
-
permalink?: string;
|
|
1000
|
-
author: Account;
|
|
1001
|
-
publishingDate: string;
|
|
1002
|
-
modified?: string;
|
|
1003
|
-
statistics: ItemStatistics;
|
|
1004
|
-
keywords?: {
|
|
1005
|
-
[key: string]: Keyword[];
|
|
1006
|
-
};
|
|
1007
|
-
contentLanguageCode?: string;
|
|
1008
|
-
isLiked?: boolean;
|
|
1009
|
-
isUnread?: boolean;
|
|
1010
|
-
isDemoContent?: boolean;
|
|
1011
|
-
isFollowing?: boolean;
|
|
969
|
+
interface TargetLinkOverrideContextProps {
|
|
970
|
+
onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
971
|
+
onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1012
972
|
}
|
|
1013
|
-
|
|
1014
|
-
token?: string;
|
|
1015
|
-
pageSize?: string;
|
|
1016
|
-
search?: string;
|
|
1017
|
-
keywords?: FilterWithLogicalOperator;
|
|
1018
|
-
}
|
|
973
|
+
declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
|
|
1019
974
|
|
|
1020
975
|
interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
1021
976
|
contacts?: string[];
|
|
@@ -1031,12 +986,6 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
|
|
|
1031
986
|
pastEventsOnly?: boolean;
|
|
1032
987
|
}
|
|
1033
988
|
|
|
1034
|
-
interface TargetLinkOverrideContextProps {
|
|
1035
|
-
onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1036
|
-
onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1037
|
-
}
|
|
1038
|
-
declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
|
|
1039
|
-
|
|
1040
989
|
interface KeywordPickerProps {
|
|
1041
990
|
value?: Keyword[] | string[];
|
|
1042
991
|
onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
|
|
@@ -1057,6 +1006,32 @@ interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
|
1057
1006
|
pageType?: PageType;
|
|
1058
1007
|
}
|
|
1059
1008
|
|
|
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
|
+
|
|
1060
1035
|
interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
1061
1036
|
}
|
|
1062
1037
|
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{ah as AuthorFilter,ag as AuthorToolbarFilter,C as Avatar,a9 as ChannelFilter,am as ChannelSelector,aa as ChannelToolbarFilter,ad as ClearAllFiltersButton,aG as ContactToolbarFilter,aw as EditorToolbarIndicators,aH as EventDatesToolbarFilter,E as EventDetail,a1 as EventDetailPreview,aM as EventEditor,aN as EventEditorContextProvider,aO as EventEditorPanel,aQ as EventEditorToolbarRecurringControls,aP as EventEditorToolbarStateActions,X as EventItemContextProvider,a4 as EventItemPreviewContextProvider,al as EventView,G as EventsEditorDashboard,z as EventsGrid,A as EventsList,ai as FilterSearch,aB as GroupNotificationsSettings,I as ItemLayoutMode,ar as ItemResourceTypes,au as KeywordPicker,ae as KeywordsFilter,af as KeywordsToolbarFilter,aI as LogicalOperator,M as ManageChannels,N as NewsDetail,$ as NewsDetailPreview,an as NewsEditor,ao as NewsEditorContextProvider,F as NewsEditorDashboard,at as NewsEditorPanel,as as NewsEditorToolbarStateActions,y as NewsGrid,D as NewsHero,V as NewsItemContextProvider,a2 as NewsItemPreviewContextProvider,x as NewsList,v as PageDetail,a0 as PageDetailPreview,aS as PageEditor,aR as PageEditorContextProvider,aU as PageEditorPanel,aT as PageEditorToolbarStateActions,W as PageItemContextProvider,a3 as PageItemPreviewContextProvider,aL as PageType,ap as PageViewTrackerSettingsContextProvider,aJ as PagesGrid,aK as PagesList,w as PostDetail,aA as PostGroupSelector,aD as PostGroupSelectorButton,az as PostGroupsPicker,ax as PostInputBox,ay as PostList,t as PostListContextProvider,ac as PublishingDateFilter,ab as PublishingDateToolbarFilter,R as ReachContextProvider,av as ReachDialog,aq as TargetLinkOverrideContextProvider,H as Toolbar,L as ToolbarChannelSelector,S as ToolbarCloseButton,ak as ToolbarEventViewSelector,a6 as ToolbarFilterModal,a7 as ToolbarFilterModalButton,a5 as ToolbarFilterPanel,aj as ToolbarFilterSearch,aE as ToolbarFilterToggleButton,J as ToolbarIconButton,Y as ToolbarLanguageSelector,Z as ToolbarManageNewsItemButton,O as ToolbarMarkAllEventsAsReadButton,Q as ToolbarMarkAllNewsAsReadButton,Y as ToolbarNewsLanguageSelector,aC as ToolbarPostNotificationButton,K as ToolbarUnreadItemsButton,U as UserDetails,a8 as VerticalFilterPanel,aF as isFilterActive,B 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";
|