@livetiles/reach-components-react 0.5.0-preview.23 → 0.5.0-preview.27
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/da.async.esm.esm.js +1 -1
- package/da.async.esm2.esm.js +1 -0
- package/da.esm.js +1 -0
- package/editor/EventEditor.d.ts +5 -0
- package/editor/EventEditorContextProvider.d.ts +10 -0
- package/editor/EventEditorPanel.d.ts +6 -0
- package/editor/NewsEditorPanel.d.ts +3 -2
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +48 -15
- package/index.esm.js +1 -1
- package/index.esm2.js +18 -18
- package/index.umd.js +22 -22
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -447,6 +447,19 @@ interface BaseItem {
|
|
|
447
447
|
id?: string;
|
|
448
448
|
statistics?: ItemStatistics;
|
|
449
449
|
poll?: Poll;
|
|
450
|
+
searchHighlights?: SearchHighlightSummary;
|
|
451
|
+
}
|
|
452
|
+
interface SearchHighlightSummary {
|
|
453
|
+
title: SearchHighlight[];
|
|
454
|
+
content: SearchHighlight[];
|
|
455
|
+
}
|
|
456
|
+
interface SearchHighlight {
|
|
457
|
+
language: string;
|
|
458
|
+
texts: {
|
|
459
|
+
value: string;
|
|
460
|
+
type: 'text' | 'hit';
|
|
461
|
+
}[];
|
|
462
|
+
score: number;
|
|
450
463
|
}
|
|
451
464
|
interface Poll {
|
|
452
465
|
questions: PollQuestion[];
|
|
@@ -481,7 +494,6 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
481
494
|
headline?: string;
|
|
482
495
|
intro?: string;
|
|
483
496
|
body?: string;
|
|
484
|
-
bodyRaw?: string;
|
|
485
497
|
customProperties?: {
|
|
486
498
|
[key: string]: any;
|
|
487
499
|
};
|
|
@@ -1213,6 +1225,18 @@ interface NewsEditorProps {
|
|
|
1213
1225
|
}
|
|
1214
1226
|
declare const NewsEditor: FC<NewsEditorProps>;
|
|
1215
1227
|
|
|
1228
|
+
interface ToolbarMarkNewsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1229
|
+
filter?: LibNewsFilterDefinition;
|
|
1230
|
+
searchText?: string;
|
|
1231
|
+
}
|
|
1232
|
+
declare const ToolbarMarkAllNewsAsReadButton: FC<ToolbarMarkNewsItemsAsReadButtonProps>;
|
|
1233
|
+
|
|
1234
|
+
interface ToolbarMarkEventsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1235
|
+
filter?: EventFilterDefinition;
|
|
1236
|
+
searchText?: string;
|
|
1237
|
+
}
|
|
1238
|
+
declare const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkEventsItemsAsReadButtonProps>;
|
|
1239
|
+
|
|
1216
1240
|
interface EditorToolbarIndicatorsProps {
|
|
1217
1241
|
className?: string;
|
|
1218
1242
|
}
|
|
@@ -1229,21 +1253,10 @@ declare const NewsEditorContextProvider: FC<NewsEditorContextProviderProps>;
|
|
|
1229
1253
|
|
|
1230
1254
|
declare const NewsEditorToolbarStateActions: FC;
|
|
1231
1255
|
|
|
1232
|
-
|
|
1256
|
+
interface NewsEditorPanelProps {
|
|
1233
1257
|
className?: string;
|
|
1234
|
-
}>;
|
|
1235
|
-
|
|
1236
|
-
interface ToolbarMarkNewsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1237
|
-
filter?: LibNewsFilterDefinition;
|
|
1238
|
-
searchText?: string;
|
|
1239
1258
|
}
|
|
1240
|
-
declare const
|
|
1241
|
-
|
|
1242
|
-
interface ToolbarMarkEventsItemsAsReadButtonProps extends ToolbarMarkAllItemsAsReadButtonProps {
|
|
1243
|
-
filter?: EventFilterDefinition;
|
|
1244
|
-
searchText?: string;
|
|
1245
|
-
}
|
|
1246
|
-
declare const ToolbarMarkAllEventsAsReadButton: FC<ToolbarMarkEventsItemsAsReadButtonProps>;
|
|
1259
|
+
declare const NewsEditorPanel: FC<NewsEditorPanelProps>;
|
|
1247
1260
|
|
|
1248
1261
|
interface PostInputBoxProps {
|
|
1249
1262
|
onBeforeSave?: (post: Post) => void;
|
|
@@ -1325,4 +1338,24 @@ interface PagesListProps {
|
|
|
1325
1338
|
}
|
|
1326
1339
|
declare const PagesList: FC<PagesListProps>;
|
|
1327
1340
|
|
|
1328
|
-
|
|
1341
|
+
interface EventEditorProps {
|
|
1342
|
+
className?: string;
|
|
1343
|
+
}
|
|
1344
|
+
declare const EventEditor: FC<EventEditorProps>;
|
|
1345
|
+
|
|
1346
|
+
interface EventEditorContextProviderProps {
|
|
1347
|
+
itemId?: string;
|
|
1348
|
+
groupId?: string;
|
|
1349
|
+
onSuccessfulCreate?: (itemId: string) => void;
|
|
1350
|
+
onSuccessfulDelete?: (itemId: number | string, status: WorkflowStatus) => void;
|
|
1351
|
+
onSuccessfulDeletePermanently?: (itemId: number | string) => void;
|
|
1352
|
+
}
|
|
1353
|
+
declare const EventEditorContextProvider: FC<EventEditorContextProviderProps>;
|
|
1354
|
+
|
|
1355
|
+
interface EventEditorPanelProps {
|
|
1356
|
+
onDelete?: (eventId?: string) => void;
|
|
1357
|
+
className?: string;
|
|
1358
|
+
}
|
|
1359
|
+
declare const EventEditorPanel: FC<EventEditorPanelProps>;
|
|
1360
|
+
|
|
1361
|
+
export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, ContactToolbarFilter, EditorToolbarIndicators, EditorToolbarIndicatorsProps, EventDatesToolbarFilter, EventDatesToolbarFilterProps, EventDetail, EventDetailProps, EventEditor, EventEditorContextProvider, EventEditorContextProviderProps, EventEditorPanel, EventEditorPanelProps, EventEditorProps, EventGridProps, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, FilterWithLogicalOperator, GroupNotificationsSettings, GroupNotificationsSettingsProps, ItemLayoutMode, ItemResourceTypes, Keyword, ScrollableKeywordPicker as KeywordPicker, KeywordPickerProps, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, LogicalOperator, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailPreviewProps, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorPanelProps, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, PageDetail, PageDetailProps, PageType, PageViewTrackerSettings, PageViewTrackerSettingsContextProvider, PagesGrid, PagesGridProps, PagesList, PagesListProps, PostDetail, PostDetailProps, PostGroupSelector, PostGroupSelectorButton, PostGroupSelectorProps, PostGroupsPicker, PostGroupsPickerProps, PostInputBox, PostInputBoxProps, PostList, PostListContextProvider, PostListContextProviderProps, PostListProps, PublishableItem, PublishingDateFilter, PublishingDateToolbarFilter, ReachContextProps, ReachContextProvider, Dialog as ReachDialog, TargetLinkOverrideContextProvider, Toolbar, ToolbarChannelSelector, ToolbarChannelSelectorOption, ToolbarChannelSelectorProps, ToolbarCloseButton, ToolbarCloseButtonProps, ToolbarEventViewSelector, ToolbarEventViewSelectorProps, ToolbarFilterModal, ToolbarFilterModalButton, ToolbarFilterModalProps, ToolbarFilterPanel, ToolbarFilterSearch, ToolbarFilterToggleButton, ToolbarIconButton, ToolbarIconButtonProps, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllNewsAsReadButton, ToolbarMarkEventsItemsAsReadButtonProps, ToolbarMarkNewsItemsAsReadButtonProps, ToolbarNewsLanguageSelector, ToolbarPostNotificationButton, ToolbarProps, ToolbarSearchProps, ToolbarUnreadItemsButton, UserDetails, UserDetailsProps, VerticalFilterPanel, VerticalFilterPanelProps, isFilterActive, useCurrentUser };
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a0 as AuthorFilter,$ as AuthorToolbarFilter,A as Avatar,O as ChannelFilter,a5 as ChannelSelector,Q as ChannelToolbarFilter,X as ClearAllFiltersButton,ap as ContactToolbarFilter,
|
|
1
|
+
export{a0 as AuthorFilter,$ as AuthorToolbarFilter,A as Avatar,O as ChannelFilter,a5 as ChannelSelector,Q as ChannelToolbarFilter,X as ClearAllFiltersButton,ap as ContactToolbarFilter,ad as EditorToolbarIndicators,aq as EventDatesToolbarFilter,E as EventDetail,av as EventEditor,aw as EventEditorContextProvider,ax as EventEditorPanel,a4 as EventView,s as EventsEditorDashboard,n as EventsGrid,o as EventsList,a1 as FilterSearch,ak as GroupNotificationsSettings,I as ItemLayoutMode,aa as ItemResourceTypes,ab as KeywordPicker,Y as KeywordsFilter,Z as KeywordsToolbarFilter,ar as LogicalOperator,M as ManageChannels,N as NewsDetail,G as NewsDetailPreview,a6 as NewsEditor,a7 as NewsEditorContextProvider,r as NewsEditorDashboard,af as NewsEditorPanel,ae as NewsEditorToolbarStateActions,l as NewsGrid,q as NewsHero,C as NewsItemContextProvider,H as NewsItemPreviewContextProvider,k as NewsList,i as PageDetail,au as PageType,a8 as PageViewTrackerSettingsContextProvider,as as PagesGrid,at as PagesList,j as PostDetail,aj as PostGroupSelector,am as PostGroupSelectorButton,ai as PostGroupsPicker,ag as PostInputBox,ah as PostList,h as PostListContextProvider,W as PublishingDateFilter,S as PublishingDateToolbarFilter,R as ReachContextProvider,ac as ReachDialog,a9 as TargetLinkOverrideContextProvider,t as Toolbar,x as ToolbarChannelSelector,B as ToolbarCloseButton,a3 as ToolbarEventViewSelector,K as ToolbarFilterModal,L as ToolbarFilterModalButton,J as ToolbarFilterPanel,a2 as ToolbarFilterSearch,an as ToolbarFilterToggleButton,v as ToolbarIconButton,F as ToolbarManageNewsItemButton,y as ToolbarMarkAllEventsAsReadButton,z as ToolbarMarkAllNewsAsReadButton,D as ToolbarNewsLanguageSelector,al as ToolbarPostNotificationButton,w as ToolbarUnreadItemsButton,U as UserDetails,V as VerticalFilterPanel,ao as isFilterActive,p 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";
|