@livetiles/reach-components-react 0.5.0-preview.91 → 0.5.0-preview.93
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/editor/PageEditor.d.ts +6 -0
- package/editor/PageEditorContextProvider.d.ts +10 -0
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +56 -6
- package/index.esm.js +1 -1
- package/index.esm2.js +15 -35
- package/index.umd.js +20 -40
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -314,9 +314,19 @@ interface WebPluginDefinition {
|
|
|
314
314
|
subscriptionId?: string;
|
|
315
315
|
environment?: string;
|
|
316
316
|
}
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
317
|
+
declare enum ExtensionArea {
|
|
318
|
+
global = "Global",
|
|
319
|
+
page = "Page",
|
|
320
|
+
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
321
|
+
eventDetailViewSection = "EventDetailViewSection",
|
|
322
|
+
itemEditor = "ItemEditor"
|
|
323
|
+
}
|
|
324
|
+
declare type InlinePlugin = {
|
|
325
|
+
area: ExtensionArea.itemEditor;
|
|
326
|
+
objectButton: PluginObjectButton;
|
|
327
|
+
};
|
|
328
|
+
declare type PagePlugin = {
|
|
329
|
+
area: ExtensionArea.page;
|
|
320
330
|
route: string;
|
|
321
331
|
navigationNode?: {
|
|
322
332
|
componentName?: string;
|
|
@@ -326,7 +336,20 @@ interface PluginExtension {
|
|
|
326
336
|
[key: string]: string;
|
|
327
337
|
};
|
|
328
338
|
};
|
|
329
|
-
}
|
|
339
|
+
};
|
|
340
|
+
declare type PluginExtension = {
|
|
341
|
+
area: ExtensionArea;
|
|
342
|
+
componentName: string;
|
|
343
|
+
} & (InlinePlugin | PagePlugin);
|
|
344
|
+
declare type PluginObjectButton = {
|
|
345
|
+
buttonLabel: {
|
|
346
|
+
defaultLabel: string;
|
|
347
|
+
translations?: {
|
|
348
|
+
[key: string]: string;
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
iconName: string;
|
|
352
|
+
};
|
|
330
353
|
interface PluginNotificationDefinitions {
|
|
331
354
|
key: string;
|
|
332
355
|
title: string;
|
|
@@ -447,6 +470,19 @@ interface BaseItem {
|
|
|
447
470
|
id?: string;
|
|
448
471
|
statistics?: ItemStatistics;
|
|
449
472
|
poll?: Poll;
|
|
473
|
+
searchHighlights?: SearchHighlightSummary;
|
|
474
|
+
}
|
|
475
|
+
interface SearchHighlightSummary {
|
|
476
|
+
title: SearchHighlight[];
|
|
477
|
+
content: SearchHighlight[];
|
|
478
|
+
}
|
|
479
|
+
interface SearchHighlight {
|
|
480
|
+
language: string;
|
|
481
|
+
texts: {
|
|
482
|
+
value: string;
|
|
483
|
+
type: 'text' | 'hit';
|
|
484
|
+
}[];
|
|
485
|
+
score: number;
|
|
450
486
|
}
|
|
451
487
|
interface Poll {
|
|
452
488
|
questions: PollQuestion[];
|
|
@@ -481,7 +517,6 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
481
517
|
headline?: string;
|
|
482
518
|
intro?: string;
|
|
483
519
|
body?: string;
|
|
484
|
-
bodyRaw?: string;
|
|
485
520
|
customProperties?: {
|
|
486
521
|
[key: string]: any;
|
|
487
522
|
};
|
|
@@ -1358,4 +1393,19 @@ interface EventEditorToolbarRecurringControlsProps {
|
|
|
1358
1393
|
}
|
|
1359
1394
|
declare const EventEditorToolbarRecurringControls: FC<EventEditorToolbarRecurringControlsProps>;
|
|
1360
1395
|
|
|
1361
|
-
|
|
1396
|
+
interface PageEditorContextProviderProps {
|
|
1397
|
+
itemId?: string;
|
|
1398
|
+
groupId?: string;
|
|
1399
|
+
onSuccessfulCreate?: (itemId: string) => void;
|
|
1400
|
+
onSuccessfulDelete?: (itemId: number | string, status: WorkflowStatus) => void;
|
|
1401
|
+
onSuccessfulDeletePermanently?: (itemId: number | string) => void;
|
|
1402
|
+
}
|
|
1403
|
+
declare const PageEditorContextProvider: FC<PageEditorContextProviderProps>;
|
|
1404
|
+
|
|
1405
|
+
interface PageEditorProps {
|
|
1406
|
+
onPageRedirect?: (id: string) => void;
|
|
1407
|
+
className?: string;
|
|
1408
|
+
}
|
|
1409
|
+
declare const PageEditor: FC<PageEditorProps>;
|
|
1410
|
+
|
|
1411
|
+
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, PageEditorProps, 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,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";
|