@livetiles/reach-components-react 0.5.0-preview.130 → 0.5.0-preview.133
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 +2 -0
- package/da.async.esm2.esm.js +1 -1
- package/da.async.esm3.esm.js +1 -0
- package/da.esm.js +1 -0
- package/de.async.esm2.esm.js +1 -1
- package/editor/PageEditor.d.ts +6 -0
- package/editor/PageEditorContextProvider.d.ts +10 -0
- package/editor/PageEditorPanel.d.ts +5 -0
- package/editor/PageEditorToolbarStateActions.d.ts +2 -0
- package/en.async.esm.esm.js +1 -1
- package/es.async.esm2.esm.js +1 -1
- package/fr.async.esm2.esm.js +1 -1
- package/index.d.ts +65 -6
- package/index.esm.js +1 -1
- package/index.esm2.js +15 -20
- package/index.umd.js +19 -24
- package/it.async.esm2.esm.js +1 -1
- package/ja.async.esm2.esm.js +1 -1
- package/package.json +1 -1
- package/tr.async.esm2.esm.js +1 -1
- package/zh-CN.async.esm2.esm.js +1 -1
- package/zh-TW.async.esm2.esm.js +1 -1
package/index.d.ts
CHANGED
|
@@ -156,6 +156,8 @@ interface NotificationTypeSettings {
|
|
|
156
156
|
pluginNotifications: {
|
|
157
157
|
[key: string]: NotificationType;
|
|
158
158
|
};
|
|
159
|
+
newsEditor: NotificationType;
|
|
160
|
+
eventEditor: NotificationType;
|
|
159
161
|
}
|
|
160
162
|
interface CurrentUser extends Account {
|
|
161
163
|
isEmailVerificationPending?: boolean;
|
|
@@ -314,9 +316,19 @@ interface WebPluginDefinition {
|
|
|
314
316
|
subscriptionId?: string;
|
|
315
317
|
environment?: string;
|
|
316
318
|
}
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
319
|
+
declare enum ExtensionArea {
|
|
320
|
+
global = "Global",
|
|
321
|
+
page = "Page",
|
|
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;
|
|
320
332
|
route: string;
|
|
321
333
|
navigationNode?: {
|
|
322
334
|
componentName?: string;
|
|
@@ -326,7 +338,20 @@ interface PluginExtension {
|
|
|
326
338
|
[key: string]: string;
|
|
327
339
|
};
|
|
328
340
|
};
|
|
329
|
-
}
|
|
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
|
+
};
|
|
330
355
|
interface PluginNotificationDefinitions {
|
|
331
356
|
key: string;
|
|
332
357
|
title: string;
|
|
@@ -447,6 +472,19 @@ interface BaseItem {
|
|
|
447
472
|
id?: string;
|
|
448
473
|
statistics?: ItemStatistics;
|
|
449
474
|
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;
|
|
450
488
|
}
|
|
451
489
|
interface Poll {
|
|
452
490
|
questions: PollQuestion[];
|
|
@@ -481,7 +519,6 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
481
519
|
headline?: string;
|
|
482
520
|
intro?: string;
|
|
483
521
|
body?: string;
|
|
484
|
-
bodyRaw?: string;
|
|
485
522
|
customProperties?: {
|
|
486
523
|
[key: string]: any;
|
|
487
524
|
};
|
|
@@ -1358,4 +1395,26 @@ interface EventEditorToolbarRecurringControlsProps {
|
|
|
1358
1395
|
}
|
|
1359
1396
|
declare const EventEditorToolbarRecurringControls: FC<EventEditorToolbarRecurringControlsProps>;
|
|
1360
1397
|
|
|
1361
|
-
|
|
1398
|
+
interface PageEditorContextProviderProps {
|
|
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 };
|
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,ao 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,am 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,aq as NewsEditorPanel,ap as NewsEditorToolbarStateActions,y as NewsGrid,D as NewsHero,V as NewsItemContextProvider,Z as NewsItemPreviewContextProvider,x as NewsList,v as PageDetail,aM as PageEditor,aL as PageEditorContextProvider,aO as PageEditorPanel,aN as PageEditorToolbarStateActions,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,an 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";
|