@livetiles/reach-components-react 0.3.190 → 0.3.193
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/PageGridCard.d.ts +13 -0
- package/PagesGrid.d.ts +14 -0
- package/PagesList.d.ts +16 -0
- package/common/CommentCountIconWithTooltip.d.ts +9 -0
- package/common/utils.d.ts +1 -1
- package/de.async.esm.esm.js +1 -1
- package/en.async.esm.esm.js +1 -1
- package/es.async.esm.esm.js +1 -1
- package/fr.async.esm.esm.js +1 -1
- package/index.d.ts +84 -1
- package/index.esm.js +1 -1
- package/index.esm2.js +17 -17
- package/index.umd.js +7 -7
- package/it.async.esm.esm.js +1 -1
- package/ja.async.esm.esm.js +1 -1
- package/package.json +1 -1
- package/tr.async.esm.esm.js +1 -1
- package/zh-CN.async.esm.esm.js +1 -1
- package/zh-TW.async.esm.esm.js +1 -1
package/index.d.ts
CHANGED
|
@@ -384,6 +384,7 @@ interface ItemStatistics {
|
|
|
384
384
|
confirmationCount?: number;
|
|
385
385
|
bookmarkCount?: number;
|
|
386
386
|
participantsCount?: number;
|
|
387
|
+
replyCount?: number;
|
|
387
388
|
}
|
|
388
389
|
|
|
389
390
|
interface NotificationSettings {
|
|
@@ -495,6 +496,10 @@ interface DocumentFileInfo {
|
|
|
495
496
|
extension: string;
|
|
496
497
|
shouldOpenInBrowser?: boolean;
|
|
497
498
|
}
|
|
499
|
+
interface TitleContent extends ContentDefinition {
|
|
500
|
+
title?: string;
|
|
501
|
+
headline?: string;
|
|
502
|
+
}
|
|
498
503
|
interface BannerInfo {
|
|
499
504
|
type: 'image' | 'video' | null;
|
|
500
505
|
videoSource?: VideoSource;
|
|
@@ -721,6 +726,51 @@ declare enum MonthNumber {
|
|
|
721
726
|
December = 12
|
|
722
727
|
}
|
|
723
728
|
|
|
729
|
+
interface PageItem extends PublishableItem {
|
|
730
|
+
feedbackSettings?: FeedbackSettings;
|
|
731
|
+
parentId?: string;
|
|
732
|
+
pathIds?: string[];
|
|
733
|
+
position?: number;
|
|
734
|
+
navigationContext?: PageNavigationContext;
|
|
735
|
+
hasHiddenAncestor?: boolean;
|
|
736
|
+
isUnlinked?: boolean;
|
|
737
|
+
pageType?: PageType;
|
|
738
|
+
firstChildId?: string;
|
|
739
|
+
}
|
|
740
|
+
interface ContentsSummary {
|
|
741
|
+
[lang: string]: TitleContent & {
|
|
742
|
+
fileInfo?: DocumentFileInfo;
|
|
743
|
+
};
|
|
744
|
+
}
|
|
745
|
+
interface PageNavigationNode {
|
|
746
|
+
id: string;
|
|
747
|
+
contents?: ContentsSummary;
|
|
748
|
+
parent?: PageNavigationNode;
|
|
749
|
+
firstChildId?: string;
|
|
750
|
+
children?: PageNavigationNode[];
|
|
751
|
+
position?: number;
|
|
752
|
+
status?: WorkflowStatus;
|
|
753
|
+
hasPublishedVersion?: boolean;
|
|
754
|
+
groupIds?: string[];
|
|
755
|
+
hasHiddenAncestor?: boolean;
|
|
756
|
+
isUnlinked?: boolean;
|
|
757
|
+
hasAnyPageChild?: boolean;
|
|
758
|
+
pageType?: PageType;
|
|
759
|
+
useExternalContent?: boolean;
|
|
760
|
+
isSearchMatch?: boolean;
|
|
761
|
+
topLevelFolderName?: string;
|
|
762
|
+
uploadToken?: string;
|
|
763
|
+
}
|
|
764
|
+
interface PageNavigationContext {
|
|
765
|
+
parent?: PageNavigationNode;
|
|
766
|
+
siblings?: PageNavigationNode[];
|
|
767
|
+
children?: PageNavigationNode[];
|
|
768
|
+
}
|
|
769
|
+
declare enum PageType {
|
|
770
|
+
Page = 0,
|
|
771
|
+
Document = 1
|
|
772
|
+
}
|
|
773
|
+
|
|
724
774
|
declare const Dialog: FC<IDialogProps>;
|
|
725
775
|
|
|
726
776
|
interface ToolbarProps {
|
|
@@ -917,6 +967,14 @@ interface KeywordPickerProps {
|
|
|
917
967
|
}
|
|
918
968
|
declare const ScrollableKeywordPicker: styled_components.StyledComponent<FC<KeywordPickerProps>, styled_components.DefaultTheme, {}, never>;
|
|
919
969
|
|
|
970
|
+
interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
971
|
+
pageContextId?: string;
|
|
972
|
+
restrictToPageContext?: boolean;
|
|
973
|
+
rootPagesOnly?: boolean;
|
|
974
|
+
parentId?: string;
|
|
975
|
+
pageType?: PageType;
|
|
976
|
+
}
|
|
977
|
+
|
|
920
978
|
interface Post extends BaseItem, ItemWithAttachments {
|
|
921
979
|
id: string;
|
|
922
980
|
comments?: PaginatedList<Comment>;
|
|
@@ -1242,4 +1300,29 @@ interface EventDatesToolbarFilterProps {
|
|
|
1242
1300
|
}
|
|
1243
1301
|
declare const EventDatesToolbarFilter: FC<EventDatesToolbarFilterProps>;
|
|
1244
1302
|
|
|
1245
|
-
|
|
1303
|
+
interface PagesGridProps {
|
|
1304
|
+
filter?: PageFilterDefinition;
|
|
1305
|
+
searchText?: string;
|
|
1306
|
+
hidePagination?: boolean;
|
|
1307
|
+
maxColumnCount?: number;
|
|
1308
|
+
rowCount?: number;
|
|
1309
|
+
onItemClick?: (item: PageItem, itemUrl?: string, isTitleClicked?: boolean) => unknown;
|
|
1310
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
1311
|
+
className?: string;
|
|
1312
|
+
}
|
|
1313
|
+
declare const PagesGrid: FC<PagesGridProps>;
|
|
1314
|
+
|
|
1315
|
+
interface PagesListProps {
|
|
1316
|
+
filter?: PageFilterDefinition;
|
|
1317
|
+
searchText?: string;
|
|
1318
|
+
itemLayoutMode?: ItemLayoutMode;
|
|
1319
|
+
onItemClick?: (item: PageItem, itemUrl?: string, isTitleClicked?: boolean) => void;
|
|
1320
|
+
onKeywordClick?: (keyword: string) => void;
|
|
1321
|
+
hidePlaceholderIfNoBanner?: boolean;
|
|
1322
|
+
hidePagination?: boolean;
|
|
1323
|
+
pageSize?: number;
|
|
1324
|
+
className?: string;
|
|
1325
|
+
}
|
|
1326
|
+
declare const PagesList: FC<PagesListProps>;
|
|
1327
|
+
|
|
1328
|
+
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, 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, 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,af as EditorToolbarIndicators,aq as EventDatesToolbarFilter,E as EventDetail,a4 as EventView,s as EventsEditorDashboard,n as EventsGrid,o as EventsList,a1 as FilterSearch,ak as GroupNotificationsSettings,I as ItemLayoutMode,aa as ItemResourceTypes,ad 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,ac as NewsEditorPanel,ab as NewsEditorToolbarStateActions,l as NewsGrid,q as NewsHero,C as NewsItemContextProvider,H as NewsItemPreviewContextProvider,k as NewsList,i as PageDetail,a8 as PageViewTrackerSettingsContextProvider,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,ae 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,af as EditorToolbarIndicators,aq as EventDatesToolbarFilter,E as EventDetail,a4 as EventView,s as EventsEditorDashboard,n as EventsGrid,o as EventsList,a1 as FilterSearch,ak as GroupNotificationsSettings,I as ItemLayoutMode,aa as ItemResourceTypes,ad 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,ac as NewsEditorPanel,ab 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,ae 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";
|