@livetiles/reach-components-react 0.5.0-preview.730 → 0.5.0-preview.733
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/ChannelFilter.d.ts +3 -0
- package/ChannelSelectorWrapper.d.ts +3 -0
- package/EventDetail.d.ts +5 -4
- package/EventsGrid.d.ts +2 -2
- package/EventsList.d.ts +2 -2
- package/NewsDetail.d.ts +5 -4
- package/NewsDetailViewMetaInfo.d.ts +2 -1
- package/NewsGrid.d.ts +3 -3
- package/NewsGridCard.d.ts +2 -2
- package/NewsHero.d.ts +10 -3
- package/NewsList.d.ts +3 -3
- package/PageDetail.d.ts +3 -2
- package/PageGridCard.d.ts +2 -2
- package/PagesGrid.d.ts +2 -2
- package/PagesList.d.ts +2 -2
- package/SharedItemDetailPreview.d.ts +1 -1
- package/ar-dz.async.esm.esm.js +1 -1
- package/ar-ma.async.esm.esm.js +1 -1
- package/ar-sa.async.esm.esm.js +1 -1
- package/bg.async.esm.esm.js +1 -1
- package/bn.async.esm.esm.js +1 -1
- package/ca.async.esm.esm.js +1 -1
- package/common/filter/LibNewsFilterDefinition.d.ts +7 -0
- package/cs.async.esm.esm.js +1 -1
- package/da.async.esm.esm.js +1 -1
- 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/de.async.esm3.esm.js +1 -1
- package/el.async.esm.esm.js +1 -1
- package/en.async.esm.esm.js +1 -1
- package/es.async.esm.esm.js +1 -1
- package/es.async.esm2.esm.js +1 -1
- package/es.async.esm3.esm.js +1 -1
- package/et.async.esm.esm.js +1 -1
- package/fa-ir.async.esm.esm.js +1 -1
- package/fi.async.esm.esm.js +1 -1
- package/fr-ca.async.esm.esm.js +1 -1
- package/fr-ch.async.esm.esm.js +1 -1
- package/fr.async.esm.esm.js +1 -1
- package/fr.async.esm2.esm.js +1 -1
- package/fr.async.esm3.esm.js +1 -1
- package/gu.async.esm.esm.js +1 -1
- package/he.async.esm.esm.js +1 -1
- package/hi.async.esm.esm.js +1 -1
- package/hr.async.esm.esm.js +1 -1
- package/hu.async.esm.esm.js +1 -1
- package/id.async.esm.esm.js +1 -1
- package/index-86828242.esm.js +1 -1
- package/index-9966489c.esm.js +1 -1
- package/index-b8e04782.esm.js +8 -8
- package/index-bb815ffc.esm.js +1 -1
- package/index-d4477314.esm.js +1 -1
- package/index.d.ts +119 -85
- package/index.esm.js +1 -1
- package/index.esm2.js +109 -20
- package/index.esm4.js +1 -1
- package/index.esm5.js +1 -0
- package/index.umd-3ae1841e.esm.js +1 -1
- package/index.umd.js +169 -64
- package/index10.esm.js +4 -0
- package/input-shims.esm.js +4 -0
- package/ios.transition.esm.js +4 -0
- package/it.async.esm.esm.js +1 -1
- package/it.async.esm2.esm.js +1 -1
- package/it.async.esm3.esm.js +1 -1
- package/ja.async.esm.esm.js +1 -1
- package/ja.async.esm2.esm.js +1 -1
- package/ja.async.esm3.esm.js +1 -1
- package/kn.async.esm.esm.js +1 -1
- package/ko.async.esm.esm.js +1 -1
- package/lt.async.esm.esm.js +1 -1
- package/lv.async.esm.esm.js +1 -1
- package/md.transition.esm.js +4 -0
- package/ms.async.esm.esm.js +1 -1
- package/nb.async.esm.esm.js +1 -1
- package/nl-be.async.esm.esm.js +1 -1
- package/nl.async.esm.esm.js +1 -1
- package/package.json +1 -1
- package/pl.async.esm.esm.js +1 -1
- package/pt-br.async.esm.esm.js +1 -1
- package/pt.async.esm.esm.js +1 -1
- package/ro.async.esm.esm.js +1 -1
- package/ru.async.esm.esm.js +1 -1
- package/sk.async.esm.esm.js +1 -1
- package/sl.async.esm.esm.js +1 -1
- package/sr-latn.async.esm.esm.js +1 -1
- package/sr.async.esm.esm.js +1 -1
- package/status-tap.esm.js +4 -0
- package/sv.async.esm.esm.js +1 -1
- package/swipe-back.esm.js +4 -0
- package/swiper.bundle.esm.js +4 -0
- package/ta.async.esm.esm.js +1 -1
- package/te.async.esm.esm.js +1 -1
- package/th.async.esm.esm.js +1 -1
- package/tr.async.esm.esm.js +1 -1
- package/tr.async.esm2.esm.js +1 -1
- package/tr.async.esm3.esm.js +1 -1
- package/uk.async.esm.esm.js +1 -1
- package/vi.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/{zh-CN.async.esm2.esm.js → zh-CN.async.esm3.esm.js} +0 -0
- /package/{zh-TW.async.esm2.esm.js → zh-TW.async.esm3.esm.js} +0 -0
- /package/{zh-cn.async.esm3.esm.js → zh-cn.async.esm2.esm.js} +0 -0
- /package/{zh-tw.async.esm3.esm.js → zh-tw.async.esm2.esm.js} +0 -0
package/index.d.ts
CHANGED
|
@@ -64,47 +64,6 @@ declare type ReachContextProps = {
|
|
|
64
64
|
};
|
|
65
65
|
declare const ReachContextProvider: FC<ReachContextProps>;
|
|
66
66
|
|
|
67
|
-
interface NewsDetailProps {
|
|
68
|
-
itemId?: string;
|
|
69
|
-
hideComments?: boolean;
|
|
70
|
-
hideLikes?: boolean;
|
|
71
|
-
preventExternalContentAutoRedirect?: boolean;
|
|
72
|
-
onChannelClick?: (channel: string) => unknown;
|
|
73
|
-
onKeywordClick?: (keyword: string) => unknown;
|
|
74
|
-
className?: string;
|
|
75
|
-
}
|
|
76
|
-
declare const NewsDetail: FC<NewsDetailProps>;
|
|
77
|
-
|
|
78
|
-
interface PageDetailProps {
|
|
79
|
-
itemId?: string;
|
|
80
|
-
hideComments?: boolean;
|
|
81
|
-
hideLikes?: boolean;
|
|
82
|
-
preventExternalContentAutoRedirect?: boolean;
|
|
83
|
-
homeBreadcrumbTargetUrl?: string;
|
|
84
|
-
onKeywordClick?: (keyword: string) => unknown;
|
|
85
|
-
className?: string;
|
|
86
|
-
}
|
|
87
|
-
declare const PageDetail: FC<PageDetailProps>;
|
|
88
|
-
|
|
89
|
-
interface EventDetailProps {
|
|
90
|
-
itemId?: string;
|
|
91
|
-
hideComments?: boolean;
|
|
92
|
-
hideLikes?: boolean;
|
|
93
|
-
onChannelClick?: (channel: string) => unknown;
|
|
94
|
-
onKeywordClick?: (keyword: string) => unknown;
|
|
95
|
-
className?: string;
|
|
96
|
-
}
|
|
97
|
-
declare const EventDetail: FC<EventDetailProps>;
|
|
98
|
-
|
|
99
|
-
interface PostDetailProps {
|
|
100
|
-
postId: string;
|
|
101
|
-
threadId?: string;
|
|
102
|
-
onAfterDelete?: (id: string) => unknown;
|
|
103
|
-
commentCount?: number;
|
|
104
|
-
onItemClick?: (postId: string) => unknown;
|
|
105
|
-
}
|
|
106
|
-
declare const PostDetail: FC<PostDetailProps>;
|
|
107
|
-
|
|
108
67
|
interface PaginatedList<TItem> {
|
|
109
68
|
items: TItem[];
|
|
110
69
|
paginationToken?: any;
|
|
@@ -256,6 +215,31 @@ interface LanguageBase {
|
|
|
256
215
|
code: string;
|
|
257
216
|
}
|
|
258
217
|
|
|
218
|
+
interface KeywordGroup {
|
|
219
|
+
id: string;
|
|
220
|
+
name: string;
|
|
221
|
+
keywords: Keyword[];
|
|
222
|
+
translations: {
|
|
223
|
+
[key: string]: string;
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
interface Keyword {
|
|
227
|
+
id: string;
|
|
228
|
+
name: string;
|
|
229
|
+
groupId?: string;
|
|
230
|
+
translations: {
|
|
231
|
+
[key: string]: string;
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
interface Channel {
|
|
236
|
+
id: string;
|
|
237
|
+
name: string;
|
|
238
|
+
translations?: {
|
|
239
|
+
[key: string]: string;
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
|
|
259
243
|
interface DirectoryConfiguration extends DirectoryConfigurationPatch {
|
|
260
244
|
domains?: string[];
|
|
261
245
|
tenantId: string;
|
|
@@ -416,31 +400,6 @@ declare enum FieldMode {
|
|
|
416
400
|
Hidden = 3
|
|
417
401
|
}
|
|
418
402
|
|
|
419
|
-
interface Channel {
|
|
420
|
-
id: string;
|
|
421
|
-
name: string;
|
|
422
|
-
translations?: {
|
|
423
|
-
[key: string]: string;
|
|
424
|
-
};
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
interface KeywordGroup {
|
|
428
|
-
id: string;
|
|
429
|
-
name: string;
|
|
430
|
-
keywords: Keyword[];
|
|
431
|
-
translations: {
|
|
432
|
-
[key: string]: string;
|
|
433
|
-
};
|
|
434
|
-
}
|
|
435
|
-
interface Keyword {
|
|
436
|
-
id: string;
|
|
437
|
-
name: string;
|
|
438
|
-
groupId?: string;
|
|
439
|
-
translations: {
|
|
440
|
-
[key: string]: string;
|
|
441
|
-
};
|
|
442
|
-
}
|
|
443
|
-
|
|
444
403
|
interface ItemStatistics {
|
|
445
404
|
commentCount?: number;
|
|
446
405
|
likeCount?: number;
|
|
@@ -483,7 +442,6 @@ interface NewsItem extends SchedulableItem {
|
|
|
483
442
|
expiryDate?: string;
|
|
484
443
|
knownState: KnownNewsState;
|
|
485
444
|
hasNewComments?: boolean;
|
|
486
|
-
isLiked?: boolean;
|
|
487
445
|
}
|
|
488
446
|
interface NewsItemAlertOptions {
|
|
489
447
|
duration?: string;
|
|
@@ -503,6 +461,19 @@ interface BaseItem {
|
|
|
503
461
|
id?: string;
|
|
504
462
|
statistics?: ItemStatistics;
|
|
505
463
|
poll?: Poll;
|
|
464
|
+
searchHighlights?: SearchHighlightSummary;
|
|
465
|
+
}
|
|
466
|
+
interface SearchHighlightSummary {
|
|
467
|
+
title: SearchHighlight[];
|
|
468
|
+
content: SearchHighlight[];
|
|
469
|
+
}
|
|
470
|
+
interface SearchHighlight {
|
|
471
|
+
language: string;
|
|
472
|
+
texts: {
|
|
473
|
+
value: string;
|
|
474
|
+
type: 'text' | 'hit';
|
|
475
|
+
}[];
|
|
476
|
+
score: number;
|
|
506
477
|
}
|
|
507
478
|
interface Poll {
|
|
508
479
|
questions: PollQuestion[];
|
|
@@ -537,7 +508,6 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
537
508
|
headline?: string;
|
|
538
509
|
intro?: string;
|
|
539
510
|
body?: string;
|
|
540
|
-
bodyRaw?: string;
|
|
541
511
|
customProperties?: {
|
|
542
512
|
[key: string]: any;
|
|
543
513
|
};
|
|
@@ -602,6 +572,7 @@ interface PublishableItem extends BaseItem {
|
|
|
602
572
|
statistics?: ItemStatistics;
|
|
603
573
|
useExternalContent?: boolean;
|
|
604
574
|
isDemoContent?: boolean;
|
|
575
|
+
isLiked?: boolean;
|
|
605
576
|
}
|
|
606
577
|
interface PollTranslation {
|
|
607
578
|
questions: QuestionTranslations[];
|
|
@@ -627,7 +598,8 @@ declare enum AttachmentType {
|
|
|
627
598
|
Event = 5,
|
|
628
599
|
Page = 6,
|
|
629
600
|
Post = 7,
|
|
630
|
-
Giphy = 8
|
|
601
|
+
Giphy = 8,
|
|
602
|
+
MicrosoftStreamVideo = 9
|
|
631
603
|
}
|
|
632
604
|
interface BaseAttachment {
|
|
633
605
|
id: string;
|
|
@@ -652,7 +624,8 @@ declare enum GraphQLAttachmentType {
|
|
|
652
624
|
Event = "EVENT",
|
|
653
625
|
Page = "PAGE",
|
|
654
626
|
Post = "POST",
|
|
655
|
-
Giphy = "GIPHY"
|
|
627
|
+
Giphy = "GIPHY",
|
|
628
|
+
MicrosoftStreamVideo = "MICROSOFT_STREAM_VIDEO"
|
|
656
629
|
}
|
|
657
630
|
|
|
658
631
|
interface ItemWithAttachments {
|
|
@@ -859,7 +832,48 @@ interface LazySubscriptionContextType extends SubscriptionData {
|
|
|
859
832
|
|
|
860
833
|
declare function useLazySubscriptionContext(): LazySubscriptionContextType;
|
|
861
834
|
|
|
862
|
-
|
|
835
|
+
interface NewsDetailProps {
|
|
836
|
+
itemId?: string;
|
|
837
|
+
hideComments?: boolean;
|
|
838
|
+
hideLikes?: boolean;
|
|
839
|
+
preventExternalContentAutoRedirect?: boolean;
|
|
840
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
841
|
+
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
842
|
+
className?: string;
|
|
843
|
+
}
|
|
844
|
+
declare const NewsDetail: FC<NewsDetailProps>;
|
|
845
|
+
|
|
846
|
+
interface PageDetailProps {
|
|
847
|
+
itemId?: string;
|
|
848
|
+
hideComments?: boolean;
|
|
849
|
+
hideLikes?: boolean;
|
|
850
|
+
preventExternalContentAutoRedirect?: boolean;
|
|
851
|
+
homeBreadcrumbTargetUrl?: string;
|
|
852
|
+
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
853
|
+
className?: string;
|
|
854
|
+
}
|
|
855
|
+
declare const PageDetail: FC<PageDetailProps>;
|
|
856
|
+
|
|
857
|
+
interface EventDetailProps {
|
|
858
|
+
itemId?: string;
|
|
859
|
+
hideComments?: boolean;
|
|
860
|
+
hideLikes?: boolean;
|
|
861
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
862
|
+
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
863
|
+
className?: string;
|
|
864
|
+
}
|
|
865
|
+
declare const EventDetail: FC<EventDetailProps>;
|
|
866
|
+
|
|
867
|
+
interface PostDetailProps {
|
|
868
|
+
postId: string;
|
|
869
|
+
threadId?: string;
|
|
870
|
+
onAfterDelete?: (id: string) => unknown;
|
|
871
|
+
commentCount?: number;
|
|
872
|
+
onItemClick?: (postId: string) => unknown;
|
|
873
|
+
}
|
|
874
|
+
declare const PostDetail: FC<PostDetailProps>;
|
|
875
|
+
|
|
876
|
+
declare const LegacyDialog: FC<IDialogProps>;
|
|
863
877
|
|
|
864
878
|
interface ToolbarProps {
|
|
865
879
|
leftSide?: ReactNode;
|
|
@@ -1125,7 +1139,7 @@ interface StreamAttachment extends BaseAttachment {
|
|
|
1125
1139
|
interface NewsStreamItem extends NewsItem {
|
|
1126
1140
|
type: StreamItemTypes.News;
|
|
1127
1141
|
contentsList: StreamPublishableItemContents[];
|
|
1128
|
-
channelsList:
|
|
1142
|
+
channelsList: Channel[];
|
|
1129
1143
|
isUnread: boolean;
|
|
1130
1144
|
keywordsList?: Keyword[];
|
|
1131
1145
|
knownNewsState?: StreamKnownNewsState[];
|
|
@@ -1137,7 +1151,7 @@ declare enum StreamKnownNewsState {
|
|
|
1137
1151
|
interface EventStreamItem extends EventItem {
|
|
1138
1152
|
type: StreamItemTypes.Event;
|
|
1139
1153
|
contentsList: StreamPublishableItemContents[];
|
|
1140
|
-
channelsList:
|
|
1154
|
+
channelsList: Channel[];
|
|
1141
1155
|
isUnread: boolean;
|
|
1142
1156
|
keywordsList?: Keyword[];
|
|
1143
1157
|
userResponseType?: StreamEventResponse;
|
|
@@ -1146,7 +1160,7 @@ interface EventStreamItem extends EventItem {
|
|
|
1146
1160
|
interface PageStreamItem extends PageItem {
|
|
1147
1161
|
type: StreamItemTypes.Page;
|
|
1148
1162
|
contentsList: StreamPublishableItemContents[];
|
|
1149
|
-
channelsList:
|
|
1163
|
+
channelsList: Channel[];
|
|
1150
1164
|
isUnread: boolean;
|
|
1151
1165
|
keywordsList?: Keyword[];
|
|
1152
1166
|
streamPageType?: string;
|
|
@@ -1205,7 +1219,14 @@ declare function usePostsStreamDataLoader(groupId?: string, filter?: PostStreamF
|
|
|
1205
1219
|
declare function usePagesStreamDataLoader(filter?: PageFilterDefinition, searchText?: string): ItemLoader<PageStreamItem, number>;
|
|
1206
1220
|
|
|
1207
1221
|
interface LibNewsFilterDefinition extends Omit<NewsFilterDefinition, 'channels' | 'keywords'> {
|
|
1222
|
+
/**
|
|
1223
|
+
* Limit results to those associated with the given channels.
|
|
1224
|
+
* For better performance set channel IDs instead of names.
|
|
1225
|
+
*/
|
|
1208
1226
|
channels?: string | FilterWithLogicalOperator;
|
|
1227
|
+
/**
|
|
1228
|
+
* Limit results to those associated with given keywords (keyword IDs)
|
|
1229
|
+
*/
|
|
1209
1230
|
keywords?: string | FilterWithLogicalOperator;
|
|
1210
1231
|
}
|
|
1211
1232
|
|
|
@@ -1218,8 +1239,8 @@ interface NewsListProps {
|
|
|
1218
1239
|
searchText?: string;
|
|
1219
1240
|
itemLayoutMode?: ItemLayoutMode;
|
|
1220
1241
|
onItemClick?: (item: NewsItem, itemUrl?: string, isTitleClicked?: boolean) => unknown;
|
|
1221
|
-
onChannelClick?: (
|
|
1222
|
-
onKeywordClick?: (
|
|
1242
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
1243
|
+
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
1223
1244
|
hidePlaceholderIfNoBanner?: boolean;
|
|
1224
1245
|
hidePagination?: boolean;
|
|
1225
1246
|
pageSize?: number;
|
|
@@ -1236,6 +1257,9 @@ declare const ManageChannels: FC<ManageChannelsProps>;
|
|
|
1236
1257
|
interface ChannelSelectorWrapperProps {
|
|
1237
1258
|
onChannelsChanged: (channels: Channel[], logicalOperator?: LogicalOperator) => void;
|
|
1238
1259
|
showLogicalOperatorOptions?: boolean;
|
|
1260
|
+
/**
|
|
1261
|
+
* For better performance set channel IDs instead of names.
|
|
1262
|
+
*/
|
|
1239
1263
|
defaultSelectedChannels?: string[] | FilterWithLogicalOperator;
|
|
1240
1264
|
className?: string;
|
|
1241
1265
|
}
|
|
@@ -1252,8 +1276,8 @@ interface NewsGridProps {
|
|
|
1252
1276
|
maxColumnCount?: number;
|
|
1253
1277
|
rowCount?: number;
|
|
1254
1278
|
onItemClick?: (item: NewsItem, itemUrl?: string, isTitleClicked?: boolean) => unknown;
|
|
1255
|
-
onChannelClick?: (
|
|
1256
|
-
onKeywordClick?: (
|
|
1279
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
1280
|
+
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
1257
1281
|
includeAllItems?: boolean;
|
|
1258
1282
|
className?: string;
|
|
1259
1283
|
hideIntro?: boolean;
|
|
@@ -1272,7 +1296,7 @@ interface EventGridProps {
|
|
|
1272
1296
|
maxColumnCount?: number;
|
|
1273
1297
|
rowCount?: number;
|
|
1274
1298
|
onItemClick?: (item: EventItem, itemUrl?: string) => unknown;
|
|
1275
|
-
onChannelClick?: (
|
|
1299
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
1276
1300
|
className?: string;
|
|
1277
1301
|
}
|
|
1278
1302
|
declare const EventsGrid: FC<EventGridProps>;
|
|
@@ -1283,7 +1307,7 @@ interface EventsListProps {
|
|
|
1283
1307
|
searchText?: string;
|
|
1284
1308
|
itemLayoutMode?: ItemLayoutMode;
|
|
1285
1309
|
onItemClick?: (item: EventItem, itemUrl?: string) => unknown;
|
|
1286
|
-
onChannelClick?: (
|
|
1310
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
1287
1311
|
hidePlaceholderIfNoBanner?: boolean;
|
|
1288
1312
|
hidePagination?: boolean;
|
|
1289
1313
|
pageSize?: number;
|
|
@@ -1292,7 +1316,14 @@ interface EventsListProps {
|
|
|
1292
1316
|
declare const EventsList: FC<EventsListProps>;
|
|
1293
1317
|
|
|
1294
1318
|
interface NewsHeroFilterProps {
|
|
1319
|
+
/**
|
|
1320
|
+
* Limit results to those associated with the given channels.
|
|
1321
|
+
* For better performance set channel IDs instead of names.
|
|
1322
|
+
*/
|
|
1295
1323
|
channels?: string | FilterWithLogicalOperator;
|
|
1324
|
+
/**
|
|
1325
|
+
* Limit results to those associated with given keywords (keyword IDs)
|
|
1326
|
+
*/
|
|
1296
1327
|
keywords?: string | FilterWithLogicalOperator;
|
|
1297
1328
|
pageSize?: number;
|
|
1298
1329
|
}
|
|
@@ -1304,8 +1335,8 @@ interface NewsHeroProps {
|
|
|
1304
1335
|
width?: number | string;
|
|
1305
1336
|
height?: number | string;
|
|
1306
1337
|
includeAllItems?: boolean;
|
|
1307
|
-
onChannelClick?: (
|
|
1308
|
-
onKeywordClick?: (
|
|
1338
|
+
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
1339
|
+
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
1309
1340
|
showKeywords?: boolean;
|
|
1310
1341
|
}
|
|
1311
1342
|
declare const NewsHero: FC<NewsHeroProps>;
|
|
@@ -1388,6 +1419,9 @@ interface FilterProps {
|
|
|
1388
1419
|
declare const ToolbarFilterPanel: FC<FilterProps>;
|
|
1389
1420
|
|
|
1390
1421
|
interface ChannelFilterProps {
|
|
1422
|
+
/**
|
|
1423
|
+
* For better performance set channel IDs instead of names.
|
|
1424
|
+
*/
|
|
1391
1425
|
channels?: string[];
|
|
1392
1426
|
className?: string;
|
|
1393
1427
|
}
|
|
@@ -1536,7 +1570,7 @@ interface PagesGridProps {
|
|
|
1536
1570
|
maxColumnCount?: number;
|
|
1537
1571
|
rowCount?: number;
|
|
1538
1572
|
onItemClick?: (item: PageItem, itemUrl?: string, isTitleClicked?: boolean) => unknown;
|
|
1539
|
-
onKeywordClick?: (
|
|
1573
|
+
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
1540
1574
|
hideIntro?: boolean;
|
|
1541
1575
|
className?: string;
|
|
1542
1576
|
}
|
|
@@ -1547,7 +1581,7 @@ interface PagesListProps {
|
|
|
1547
1581
|
searchText?: string;
|
|
1548
1582
|
itemLayoutMode?: ItemLayoutMode;
|
|
1549
1583
|
onItemClick?: (item: PageItem, itemUrl?: string, isTitleClicked?: boolean) => void;
|
|
1550
|
-
onKeywordClick?: (
|
|
1584
|
+
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => void;
|
|
1551
1585
|
hidePlaceholderIfNoBanner?: boolean;
|
|
1552
1586
|
hidePagination?: boolean;
|
|
1553
1587
|
pageSize?: number;
|
|
@@ -1615,4 +1649,4 @@ declare const ToolbarBookmarkButton: FC<{
|
|
|
1615
1649
|
onClick?: () => unknown;
|
|
1616
1650
|
}>;
|
|
1617
1651
|
|
|
1618
|
-
export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, ContactToolbarFilter, EditorToolbarIndicators, EditorToolbarIndicatorsProps, ErrorType, ErrorWrapper, ErrorWrapperProps, EventDatesToolbarFilter, EventDatesToolbarFilterProps, EventDetail, EventDetailPreview, EventDetailProps, EventEditor, EventEditorContextProvider, EventEditorContextProviderProps, EventEditorPanel, EventEditorPanelProps, EventEditorProps, EventEditorToolbarRecurringControls, EventEditorToolbarRecurringControlsProps, EventEditorToolbarStateActions, EventGridProps, EventItemContextProvider, EventItemPreviewContextProvider, EventStreamItem, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, FilterWithLogicalOperator, GroupNotificationsSettings, GroupNotificationsSettingsProps, ItemLayoutMode, ItemLoader, ItemResourceTypes, Keyword, ScrollableKeywordPicker as KeywordPicker, KeywordPickerProps, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, LogicalOperator, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorPanelProps, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, NewsStreamItem, PageDetail, PageDetailPreview, PageDetailProps, PageEditor, PageEditorContextProvider, PageEditorContextProviderProps, PageEditorPanel, PageEditorPanelProps, PageEditorProps, PageEditorToolbarStateActions, PageItemContextProvider, PageItemPreviewContextProvider, PageStreamItem, PageType, PageViewTrackerSettings, PageViewTrackerSettingsContextProvider, PagesGrid, PagesGridProps, PagesList, PagesListProps, PostDetail, PostDetailProps, PostGroupSelector, PostGroupSelectorButton, PostGroupSelectorProps, PostGroupsPicker, PostGroupsPickerProps, PostInputBox, PostInputBoxProps, PostList, PostListContextProvider, PostListContextProviderProps, PostListProps, PostStreamItem, PublishableItem, PublishingDateFilter, PublishingDateToolbarFilter, ReachContextProps, ReachContextProvider,
|
|
1652
|
+
export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, ContactToolbarFilter, EditorToolbarIndicators, EditorToolbarIndicatorsProps, ErrorType, ErrorWrapper, ErrorWrapperProps, EventDatesToolbarFilter, EventDatesToolbarFilterProps, EventDetail, EventDetailPreview, EventDetailProps, EventEditor, EventEditorContextProvider, EventEditorContextProviderProps, EventEditorPanel, EventEditorPanelProps, EventEditorProps, EventEditorToolbarRecurringControls, EventEditorToolbarRecurringControlsProps, EventEditorToolbarStateActions, EventGridProps, EventItemContextProvider, EventItemPreviewContextProvider, EventStreamItem, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, FilterWithLogicalOperator, GroupNotificationsSettings, GroupNotificationsSettingsProps, ItemLayoutMode, ItemLoader, ItemResourceTypes, Keyword, ScrollableKeywordPicker as KeywordPicker, KeywordPickerProps, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, LogicalOperator, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorPanelProps, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, NewsStreamItem, PageDetail, PageDetailPreview, PageDetailProps, PageEditor, PageEditorContextProvider, PageEditorContextProviderProps, PageEditorPanel, PageEditorPanelProps, PageEditorProps, PageEditorToolbarStateActions, PageItemContextProvider, PageItemPreviewContextProvider, PageStreamItem, PageType, PageViewTrackerSettings, PageViewTrackerSettingsContextProvider, PagesGrid, PagesGridProps, PagesList, PagesListProps, PostDetail, PostDetailProps, PostGroupSelector, PostGroupSelectorButton, PostGroupSelectorProps, PostGroupsPicker, PostGroupsPickerProps, PostInputBox, PostInputBoxProps, PostList, PostListContextProvider, PostListContextProviderProps, PostListProps, PostStreamItem, PublishableItem, PublishingDateFilter, PublishingDateToolbarFilter, ReachContextProps, ReachContextProvider, LegacyDialog as ReachDialog, SharedItemDetailPreviewProps, TargetLinkOverrideContextProvider, Toolbar, ToolbarBookmarkButton, ToolbarChannelSelector, ToolbarChannelSelectorOption, ToolbarChannelSelectorProps, ToolbarCloseButton, ToolbarCloseButtonProps, ToolbarEventViewSelector, ToolbarEventViewSelectorProps, ToolbarFilterModal, ToolbarFilterModalButton, ToolbarFilterModalProps, ToolbarFilterPanel, ToolbarFilterSearch, ToolbarFilterToggleButton, ToolbarIconButton, ToolbarIconButtonProps, ToolbarLanguageSelector, ToolbarManageButton, ToolbarManageItemButton, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllNewsAsReadButton, ToolbarMarkEventsItemsAsReadButtonProps, ToolbarMarkNewsItemsAsReadButtonProps, ToolbarLanguageSelector as ToolbarNewsLanguageSelector, ToolbarPostNotificationButton, ToolbarProps, ToolbarSearchProps, ToolbarUnreadItemsButton, UserDetails, UserDetailsProps, VerticalFilterPanel, VerticalFilterPanelProps, VideoSource$1 as VideoSource, isFilterActive, useCurrentUser, useEventsStreamDataLoader, useLazySubscriptionContext, useNewsStreamDataLoader, usePagesStreamDataLoader, usePostsStreamDataLoader };
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{b1 as AuthorFilter,b0 as AuthorToolbarFilter,as as Avatar,aV as ChannelFilter,b6 as ChannelSelector,aW as ChannelToolbarFilter,aZ as ClearAllFiltersButton,bq as ContactToolbarFilter,be as EditorToolbarIndicators,bG as ErrorType,bF as ErrorWrapper,br as EventDatesToolbarFilter,ah as EventDetail,aN as EventDetailPreview,bw as EventEditor,bx as EventEditorContextProvider,by as EventEditorPanel,bA as EventEditorToolbarRecurringControls,bz as EventEditorToolbarStateActions,aG as EventItemContextProvider,aQ as EventItemPreviewContextProvider,b5 as EventView,av as EventsEditorDashboard,am as EventsGrid,an as EventsList,b2 as FilterSearch,bl as GroupNotificationsSettings,ak as ItemLayoutMode,bb as ItemResourceTypes,bc as KeywordPicker,a_ as KeywordsFilter,a$ as KeywordsToolbarFilter,bs as LogicalOperator,ao as ManageChannels,af as NewsDetail,aL as NewsDetailPreview,b7 as NewsEditor,b8 as NewsEditorContextProvider,au as NewsEditorDashboard,bg as NewsEditorPanel,bf as NewsEditorToolbarStateActions,al as NewsGrid,at as NewsHero,aE as NewsItemContextProvider,aO as NewsItemPreviewContextProvider,aj as NewsList,ag as PageDetail,aM as PageDetailPreview,bC as PageEditor,bB as PageEditorContextProvider,bE as PageEditorPanel,bD as PageEditorToolbarStateActions,aF as PageItemContextProvider,aP as PageItemPreviewContextProvider,bv as PageType,b9 as PageViewTrackerSettingsContextProvider,bt as PagesGrid,bu as PagesList,ai as PostDetail,bk as PostGroupSelector,bn as PostGroupSelectorButton,bj as PostGroupsPicker,bh as PostInputBox,bi as PostList,ae as PostListContextProvider,aY as PublishingDateFilter,aX as PublishingDateToolbarFilter,ad as ReachContextProvider,bd as ReachDialog,ba as TargetLinkOverrideContextProvider,aw as Toolbar,az as ToolbarBookmarkButton,aA as ToolbarChannelSelector,aD as ToolbarCloseButton,b4 as ToolbarEventViewSelector,aS as ToolbarFilterModal,aT as ToolbarFilterModalButton,aR as ToolbarFilterPanel,b3 as ToolbarFilterSearch,bo as ToolbarFilterToggleButton,ax as ToolbarIconButton,aH as ToolbarLanguageSelector,aI as ToolbarManageButton,aK as ToolbarManageItemButton,aJ as ToolbarManageNewsItemButton,aB as ToolbarMarkAllEventsAsReadButton,aC as ToolbarMarkAllNewsAsReadButton,aH as ToolbarNewsLanguageSelector,bm as ToolbarPostNotificationButton,ay as ToolbarUnreadItemsButton,ar as UserDetails,aU as VerticalFilterPanel,bp as isFilterActive,ap as useCurrentUser,bJ as useEventsStreamDataLoader,aq as useLazySubscriptionContext,bK as useNewsStreamDataLoader,bH as usePagesStreamDataLoader,bI as usePostsStreamDataLoader}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";
|