@livetiles/reach-components-react 0.5.0-preview.22 → 0.5.0-preview.26
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/editor/EventEditorContextProvider.d.ts +10 -0
- package/editor/EventEditorPanel.d.ts +6 -0
- package/editor/NewsEditorPanel.d.ts +3 -2
- package/index.d.ts +19 -3
- package/index.esm.js +1 -1
- package/index.esm2.js +9 -9
- package/index.umd.js +12 -12
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { WorkflowStatus } from '@livetiles/reach/util/common';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
export interface EventEditorContextProviderProps {
|
|
4
|
+
itemId?: string;
|
|
5
|
+
groupId?: string;
|
|
6
|
+
onSuccessfulCreate?: (itemId: string) => void;
|
|
7
|
+
onSuccessfulDelete?: (itemId: number | string, status: WorkflowStatus) => void;
|
|
8
|
+
onSuccessfulDeletePermanently?: (itemId: number | string) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const EventEditorContextProvider: FC<EventEditorContextProviderProps>;
|
package/index.d.ts
CHANGED
|
@@ -1253,9 +1253,10 @@ declare const NewsEditorContextProvider: FC<NewsEditorContextProviderProps>;
|
|
|
1253
1253
|
|
|
1254
1254
|
declare const NewsEditorToolbarStateActions: FC;
|
|
1255
1255
|
|
|
1256
|
-
|
|
1256
|
+
interface NewsEditorPanelProps {
|
|
1257
1257
|
className?: string;
|
|
1258
|
-
}
|
|
1258
|
+
}
|
|
1259
|
+
declare const NewsEditorPanel: FC<NewsEditorPanelProps>;
|
|
1259
1260
|
|
|
1260
1261
|
interface PostInputBoxProps {
|
|
1261
1262
|
onBeforeSave?: (post: Post) => void;
|
|
@@ -1342,4 +1343,19 @@ interface EventEditorProps {
|
|
|
1342
1343
|
}
|
|
1343
1344
|
declare const EventEditor: FC<EventEditorProps>;
|
|
1344
1345
|
|
|
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,ad as EditorToolbarIndicators,aq as EventDatesToolbarFilter,E as EventDetail,av as EventEditor,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";
|
|
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";
|