@livetiles/reach-components-react 0.5.0-preview.292 → 0.5.0-preview.294
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/ReachContext.d.ts +0 -4
- package/da.async.esm2.esm.js +1 -1
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +31 -47
- package/index.esm.js +1 -1
- package/index.esm2.js +17 -17
- package/index.umd.js +21 -56
- package/package.json +1 -1
- package/AnalyticsDummyContextProvider.d.ts +0 -2
- package/ajs-destination-4IEK7JCF.esm.js +0 -35
- package/asn1.esm.js +0 -1
- 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/javascript.esm.js +0 -1
- package/legacy-video-plugins-DALJOR7Y.esm.js +0 -1
- package/middleware-K6A3D7OK.esm.js +0 -1
- package/mllike.esm.js +0 -1
- package/python.esm.js +0 -1
- package/query-string-LUA3AQWQ.esm.js +0 -1
- package/remote-middleware-C2NOE7LS.esm.js +0 -1
- package/rpm.esm.js +0 -1
- package/schema-filter-7TQKEETH.esm.js +0 -1
- package/sql.esm.js +0 -1
- package/ttcn-cfg.esm.js +0 -1
package/index.d.ts
CHANGED
|
@@ -13,10 +13,6 @@ declare type ReachContextProps = {
|
|
|
13
13
|
subscriptionId: string;
|
|
14
14
|
language?: string;
|
|
15
15
|
disableUiFabricThemeOverwrite?: boolean;
|
|
16
|
-
analyticsProps?: {
|
|
17
|
-
disableAnalytics?: boolean;
|
|
18
|
-
appName?: string;
|
|
19
|
-
};
|
|
20
16
|
};
|
|
21
17
|
declare const ReachContextProvider: FC<ReachContextProps>;
|
|
22
18
|
|
|
@@ -478,19 +474,6 @@ interface BaseItem {
|
|
|
478
474
|
id?: string;
|
|
479
475
|
statistics?: ItemStatistics;
|
|
480
476
|
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;
|
|
494
477
|
}
|
|
495
478
|
interface Poll {
|
|
496
479
|
questions: PollQuestion[];
|
|
@@ -525,6 +508,7 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
525
508
|
headline?: string;
|
|
526
509
|
intro?: string;
|
|
527
510
|
body?: string;
|
|
511
|
+
bodyRaw?: string;
|
|
528
512
|
customProperties?: {
|
|
529
513
|
[key: string]: any;
|
|
530
514
|
};
|
|
@@ -981,31 +965,11 @@ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFi
|
|
|
981
965
|
includeExpired?: boolean;
|
|
982
966
|
}
|
|
983
967
|
|
|
984
|
-
interface
|
|
985
|
-
|
|
986
|
-
|
|
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;
|
|
968
|
+
interface TargetLinkOverrideContextProps {
|
|
969
|
+
onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
970
|
+
onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1002
971
|
}
|
|
1003
|
-
|
|
1004
|
-
token?: string;
|
|
1005
|
-
pageSize?: string;
|
|
1006
|
-
search?: string;
|
|
1007
|
-
keywords?: FilterWithLogicalOperator;
|
|
1008
|
-
}
|
|
972
|
+
declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
|
|
1009
973
|
|
|
1010
974
|
interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
1011
975
|
contacts?: string[];
|
|
@@ -1021,12 +985,6 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
|
|
|
1021
985
|
pastEventsOnly?: boolean;
|
|
1022
986
|
}
|
|
1023
987
|
|
|
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
|
-
|
|
1030
988
|
interface KeywordPickerProps {
|
|
1031
989
|
value?: Keyword[] | string[];
|
|
1032
990
|
onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
|
|
@@ -1047,6 +1005,32 @@ interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
|
1047
1005
|
pageType?: PageType;
|
|
1048
1006
|
}
|
|
1049
1007
|
|
|
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
|
+
|
|
1050
1034
|
interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
1051
1035
|
}
|
|
1052
1036
|
|
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";
|