@livetiles/reach-components-react 0.5.0-preview.133 → 0.5.0-preview.134
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/PageTableOfContents.d.ts +0 -2
- package/da.async.esm2.esm.js +1 -1
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +6 -65
- package/index.esm.js +1 -1
- package/index.esm2.js +20 -15
- package/index.umd.js +24 -19
- package/package.json +1 -1
- package/da.async.esm3.esm.js +0 -1
- package/da.esm.js +0 -1
- package/editor/PageEditor.d.ts +0 -6
- package/editor/PageEditorContextProvider.d.ts +0 -10
- package/editor/PageEditorPanel.d.ts +0 -5
- package/editor/PageEditorToolbarStateActions.d.ts +0 -2
package/index.d.ts
CHANGED
|
@@ -156,8 +156,6 @@ interface NotificationTypeSettings {
|
|
|
156
156
|
pluginNotifications: {
|
|
157
157
|
[key: string]: NotificationType;
|
|
158
158
|
};
|
|
159
|
-
newsEditor: NotificationType;
|
|
160
|
-
eventEditor: NotificationType;
|
|
161
159
|
}
|
|
162
160
|
interface CurrentUser extends Account {
|
|
163
161
|
isEmailVerificationPending?: boolean;
|
|
@@ -316,19 +314,9 @@ interface WebPluginDefinition {
|
|
|
316
314
|
subscriptionId?: string;
|
|
317
315
|
environment?: string;
|
|
318
316
|
}
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
323
|
-
eventDetailViewSection = "EventDetailViewSection",
|
|
324
|
-
itemEditor = "ItemEditor"
|
|
325
|
-
}
|
|
326
|
-
declare type InlinePlugin = {
|
|
327
|
-
area: ExtensionArea.itemEditor;
|
|
328
|
-
objectButton: PluginObjectButton;
|
|
329
|
-
};
|
|
330
|
-
declare type PagePlugin = {
|
|
331
|
-
area: ExtensionArea.page;
|
|
317
|
+
interface PluginExtension {
|
|
318
|
+
area: string;
|
|
319
|
+
componentName: string;
|
|
332
320
|
route: string;
|
|
333
321
|
navigationNode?: {
|
|
334
322
|
componentName?: string;
|
|
@@ -338,20 +326,7 @@ declare type PagePlugin = {
|
|
|
338
326
|
[key: string]: string;
|
|
339
327
|
};
|
|
340
328
|
};
|
|
341
|
-
}
|
|
342
|
-
declare type PluginExtension = {
|
|
343
|
-
area: ExtensionArea;
|
|
344
|
-
componentName: string;
|
|
345
|
-
} & (InlinePlugin | PagePlugin);
|
|
346
|
-
declare type PluginObjectButton = {
|
|
347
|
-
buttonLabel: {
|
|
348
|
-
defaultLabel: string;
|
|
349
|
-
translations?: {
|
|
350
|
-
[key: string]: string;
|
|
351
|
-
};
|
|
352
|
-
};
|
|
353
|
-
iconName: string;
|
|
354
|
-
};
|
|
329
|
+
}
|
|
355
330
|
interface PluginNotificationDefinitions {
|
|
356
331
|
key: string;
|
|
357
332
|
title: string;
|
|
@@ -472,19 +447,6 @@ interface BaseItem {
|
|
|
472
447
|
id?: string;
|
|
473
448
|
statistics?: ItemStatistics;
|
|
474
449
|
poll?: Poll;
|
|
475
|
-
searchHighlights?: SearchHighlightSummary;
|
|
476
|
-
}
|
|
477
|
-
interface SearchHighlightSummary {
|
|
478
|
-
title: SearchHighlight[];
|
|
479
|
-
content: SearchHighlight[];
|
|
480
|
-
}
|
|
481
|
-
interface SearchHighlight {
|
|
482
|
-
language: string;
|
|
483
|
-
texts: {
|
|
484
|
-
value: string;
|
|
485
|
-
type: 'text' | 'hit';
|
|
486
|
-
}[];
|
|
487
|
-
score: number;
|
|
488
450
|
}
|
|
489
451
|
interface Poll {
|
|
490
452
|
questions: PollQuestion[];
|
|
@@ -519,6 +481,7 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
519
481
|
headline?: string;
|
|
520
482
|
intro?: string;
|
|
521
483
|
body?: string;
|
|
484
|
+
bodyRaw?: string;
|
|
522
485
|
customProperties?: {
|
|
523
486
|
[key: string]: any;
|
|
524
487
|
};
|
|
@@ -1395,26 +1358,4 @@ interface EventEditorToolbarRecurringControlsProps {
|
|
|
1395
1358
|
}
|
|
1396
1359
|
declare const EventEditorToolbarRecurringControls: FC<EventEditorToolbarRecurringControlsProps>;
|
|
1397
1360
|
|
|
1398
|
-
|
|
1399
|
-
itemId?: string;
|
|
1400
|
-
groupId?: string;
|
|
1401
|
-
onSuccessfulCreate?: (itemId: string) => void;
|
|
1402
|
-
onSuccessfulDelete?: (itemId: number | string, status: WorkflowStatus) => void;
|
|
1403
|
-
onSuccessfulDeletePermanently?: (itemId: number | string) => void;
|
|
1404
|
-
}
|
|
1405
|
-
declare const PageEditorContextProvider: FC<PageEditorContextProviderProps>;
|
|
1406
|
-
|
|
1407
|
-
interface PageEditorProps {
|
|
1408
|
-
onPageRedirect?: (id: string, groupId?: string) => void;
|
|
1409
|
-
className?: string;
|
|
1410
|
-
}
|
|
1411
|
-
declare const PageEditor: FC<PageEditorProps>;
|
|
1412
|
-
|
|
1413
|
-
declare const PageEditorToolbarStateActions: FC;
|
|
1414
|
-
|
|
1415
|
-
interface PageEditorPanelProps {
|
|
1416
|
-
className?: string;
|
|
1417
|
-
}
|
|
1418
|
-
declare const PageEditorPanel: FC<PageEditorPanelProps>;
|
|
1419
|
-
|
|
1420
|
-
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, EventEditorToolbarRecurringControls, EventEditorToolbarRecurringControlsProps, EventEditorToolbarStateActions, 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, PageEditor, PageEditorContextProvider, PageEditorContextProviderProps, PageEditorPanel, PageEditorPanelProps, PageEditorProps, PageEditorToolbarStateActions, 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 };
|
|
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, EventEditorToolbarRecurringControls, EventEditorToolbarRecurringControlsProps, EventEditorToolbarStateActions, 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{ab as AuthorFilter,aa as AuthorToolbarFilter,C as Avatar,a3 as ChannelFilter,ag as ChannelSelector,a4 as ChannelToolbarFilter,a7 as ClearAllFiltersButton,aA as ContactToolbarFilter,
|
|
1
|
+
export{ab as AuthorFilter,aa as AuthorToolbarFilter,C as Avatar,a3 as ChannelFilter,ag as ChannelSelector,a4 as ChannelToolbarFilter,a7 as ClearAllFiltersButton,aA as ContactToolbarFilter,aq as EditorToolbarIndicators,aB as EventDatesToolbarFilter,E as EventDetail,aG as EventEditor,aH as EventEditorContextProvider,aI as EventEditorPanel,aK as EventEditorToolbarRecurringControls,aJ as EventEditorToolbarStateActions,af as EventView,G as EventsEditorDashboard,z as EventsGrid,A as EventsList,ac as FilterSearch,av as GroupNotificationsSettings,I as ItemLayoutMode,al as ItemResourceTypes,ao as KeywordPicker,a8 as KeywordsFilter,a9 as KeywordsToolbarFilter,aC as LogicalOperator,M as ManageChannels,N as NewsDetail,Y as NewsDetailPreview,ah as NewsEditor,ai as NewsEditorContextProvider,F as NewsEditorDashboard,an as NewsEditorPanel,am as NewsEditorToolbarStateActions,y as NewsGrid,D as NewsHero,V as NewsItemContextProvider,Z as NewsItemPreviewContextProvider,x as NewsList,v as PageDetail,aF as PageType,aj as PageViewTrackerSettingsContextProvider,aD as PagesGrid,aE as PagesList,w as PostDetail,au as PostGroupSelector,ax as PostGroupSelectorButton,at as PostGroupsPicker,ar as PostInputBox,as as PostList,t as PostListContextProvider,a6 as PublishingDateFilter,a5 as PublishingDateToolbarFilter,R as ReachContextProvider,ap as ReachDialog,ak as TargetLinkOverrideContextProvider,H as Toolbar,L as ToolbarChannelSelector,S as ToolbarCloseButton,ae as ToolbarEventViewSelector,a0 as ToolbarFilterModal,a1 as ToolbarFilterModalButton,$ as ToolbarFilterPanel,ad as ToolbarFilterSearch,ay as ToolbarFilterToggleButton,J as ToolbarIconButton,X as ToolbarManageNewsItemButton,O as ToolbarMarkAllEventsAsReadButton,Q as ToolbarMarkAllNewsAsReadButton,W as ToolbarNewsLanguageSelector,aw as ToolbarPostNotificationButton,K as ToolbarUnreadItemsButton,U as UserDetails,a2 as VerticalFilterPanel,az 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";
|