@livetiles/reach-components-react 0.5.0-preview.41 → 0.5.0-preview.412
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/AnalyticsDummyContextProvider.d.ts +2 -0
- package/EmojiPicker.esm.esm.js +1 -1
- package/ErrorWrapper.d.ts +3 -2
- package/EventDetail.d.ts +9 -1
- package/EventItemContextProvider.d.ts +4 -0
- package/EventItemPreviewContextProvider.d.ts +5 -0
- package/EventsEditorDashboard.d.ts +2 -1
- package/NewsDetail.d.ts +4 -0
- package/NewsDetailViewMetaInfo.d.ts +3 -1
- package/PageDetail.d.ts +9 -1
- package/PageItemContextProvider.d.ts +4 -0
- package/PageItemPreviewContextProvider.d.ts +5 -0
- package/PageTableOfContents.d.ts +3 -2
- package/PublishableItemEditorDashboard.d.ts +3 -2
- package/PublishableItemGrid.d.ts +3 -2
- package/PublishableItemList.d.ts +3 -2
- package/ReachContext.d.ts +12 -0
- package/SharedItemDetailPreview.d.ts +16 -0
- package/{ToolbarNewsLanguageSelector.d.ts → ToolbarLanguageSelector.d.ts} +1 -1
- package/asn1.esm.js +1 -0
- package/auto-track-6ea08514.esm.js +1 -0
- package/common/NewPublishableItemButton.d.ts +1 -0
- package/da.async.esm2.esm.js +1 -1
- package/de.async.esm2.esm.js +1 -1
- package/editor/EventEditorContextProvider.d.ts +9 -1
- package/editor/EventEditorToolbarRecurringControls.d.ts +0 -2
- package/editor/NewsEditorDashboard.d.ts +2 -1
- package/editor/PageEditor.d.ts +6 -0
- package/editor/PageEditorContextProvider.d.ts +11 -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-1db5a755.esm.js +1 -0
- package/index-6ddba278.esm.js +1 -0
- package/index-aa1d556b.esm.js +1 -0
- package/index-ab7840fc.esm.js +1 -0
- package/index-b6c40f0f.esm.js +705 -0
- package/index-e51de45c.esm.js +1 -0
- package/index.d.ts +175 -61
- package/index.esm.js +1 -1
- package/index.esm2.js +33 -22
- package/index.umd-7f932f7d.esm.js +1 -0
- package/index.umd.js +741 -26
- package/is-plan-event-enabled-d9660f36.esm.js +1 -0
- package/it.async.esm2.esm.js +1 -1
- package/ja.async.esm2.esm.js +1 -1
- package/javascript.esm.js +1 -0
- package/mllike.esm.js +1 -0
- package/package.json +1 -1
- package/python.esm.js +1 -0
- package/rpm.esm.js +1 -0
- package/sql.esm.js +1 -0
- package/tr.async.esm2.esm.js +1 -1
- package/ttcn-cfg.esm.js +1 -0
- package/zh-CN.async.esm2.esm.js +1 -1
- package/zh-TW.async.esm2.esm.js +1 -1
- package/NewsDetailPreview.d.ts +0 -7
- package/da.async.esm3.esm.js +0 -1
- package/da.esm.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as r}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";function t(r,t){return Object.keys(t).reduce((function(i,e){e.startsWith(r)&&(i[e.substr(r.length)]=t[e]);return i}),{})}function i(i,e){var a=document.createElement("a");a.href=e;var s=a.search.slice(1).split("&").reduce((function(t,i){var e=i.split("="),a=e[0],s=e[1];return t[a]=r(s),t}),{}),o=[],c=s.ajs_uid,n=s.ajs_event;if(s.ajs_aid){var m=Array.isArray(s.ajs_aid)?s.ajs_aid[0]:s.ajs_aid;i.setAnonymousId(m)}if(c){var u=Array.isArray(s.ajs_uid)?s.ajs_uid[0]:s.ajs_uid,f=t("ajs_trait_",s);o.push(i.identify(u,f))}if(n){var p=Array.isArray(s.ajs_event)?s.ajs_event[0]:s.ajs_event,d=t("ajs_prop_",s);o.push(i.track(p,d))}return Promise.all(o)}export{i as queryString};
|
package/index.d.ts
CHANGED
|
@@ -13,6 +13,18 @@ declare type ReachContextProps = {
|
|
|
13
13
|
subscriptionId: string;
|
|
14
14
|
language?: string;
|
|
15
15
|
disableUiFabricThemeOverwrite?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* These properties can be used to define the behavior of the analytics module.
|
|
18
|
+
*
|
|
19
|
+
* With `disableAnalytics` you can completely disable all analytics tracking.
|
|
20
|
+
* The `appName` is optional but highly encouraged to be set,
|
|
21
|
+
* in order to know where the components are used in. The value must be a non-empty string,
|
|
22
|
+
* only containing alphabetical letters and dashes (-). Should not be longer than 30 characters.
|
|
23
|
+
*/
|
|
24
|
+
analyticsProps?: {
|
|
25
|
+
disableAnalytics?: boolean;
|
|
26
|
+
appName?: string;
|
|
27
|
+
};
|
|
16
28
|
};
|
|
17
29
|
declare const ReachContextProvider: FC<ReachContextProps>;
|
|
18
30
|
|
|
@@ -21,23 +33,29 @@ interface NewsDetailProps {
|
|
|
21
33
|
hideComments?: boolean;
|
|
22
34
|
hideLikes?: boolean;
|
|
23
35
|
preventExternalContentAutoRedirect?: boolean;
|
|
36
|
+
onChannelClick?: (channel: string) => unknown;
|
|
37
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
24
38
|
className?: string;
|
|
25
39
|
}
|
|
26
40
|
declare const NewsDetail: FC<NewsDetailProps>;
|
|
27
41
|
|
|
28
42
|
interface PageDetailProps {
|
|
29
|
-
itemId
|
|
43
|
+
itemId?: string;
|
|
30
44
|
hideComments?: boolean;
|
|
31
45
|
hideLikes?: boolean;
|
|
32
46
|
preventExternalContentAutoRedirect?: boolean;
|
|
47
|
+
homeBreadcrumbTargetUrl?: string;
|
|
48
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
33
49
|
className?: string;
|
|
34
50
|
}
|
|
35
51
|
declare const PageDetail: FC<PageDetailProps>;
|
|
36
52
|
|
|
37
53
|
interface EventDetailProps {
|
|
38
|
-
itemId
|
|
54
|
+
itemId?: string;
|
|
39
55
|
hideComments?: boolean;
|
|
40
56
|
hideLikes?: boolean;
|
|
57
|
+
onChannelClick?: (channel: string) => unknown;
|
|
58
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
41
59
|
className?: string;
|
|
42
60
|
}
|
|
43
61
|
declare const EventDetail: FC<EventDetailProps>;
|
|
@@ -156,6 +174,8 @@ interface NotificationTypeSettings {
|
|
|
156
174
|
pluginNotifications: {
|
|
157
175
|
[key: string]: NotificationType;
|
|
158
176
|
};
|
|
177
|
+
newsEditor: NotificationType;
|
|
178
|
+
eventEditor: NotificationType;
|
|
159
179
|
}
|
|
160
180
|
interface CurrentUser extends Account {
|
|
161
181
|
isEmailVerificationPending?: boolean;
|
|
@@ -187,6 +207,7 @@ interface CurrentUser extends Account {
|
|
|
187
207
|
termsAndConditionsApprovedHash: string;
|
|
188
208
|
isPublicUser?: boolean;
|
|
189
209
|
hasUnreadChats?: boolean;
|
|
210
|
+
publicSubscriptionIds?: string[];
|
|
190
211
|
}
|
|
191
212
|
interface UserContact {
|
|
192
213
|
tokenUniqueId: string;
|
|
@@ -284,6 +305,7 @@ interface SubscriptionSummary extends BaseSubscription {
|
|
|
284
305
|
customDomain?: string;
|
|
285
306
|
allowSelfRegistration?: boolean;
|
|
286
307
|
brandFolderConfig?: BrandFolderConfig;
|
|
308
|
+
hideSubscriptionName?: boolean;
|
|
287
309
|
}
|
|
288
310
|
interface BrandFolderConfig {
|
|
289
311
|
sections?: string[];
|
|
@@ -314,9 +336,19 @@ interface WebPluginDefinition {
|
|
|
314
336
|
subscriptionId?: string;
|
|
315
337
|
environment?: string;
|
|
316
338
|
}
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
339
|
+
declare enum ExtensionArea {
|
|
340
|
+
global = "Global",
|
|
341
|
+
page = "Page",
|
|
342
|
+
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
343
|
+
eventDetailViewSection = "EventDetailViewSection",
|
|
344
|
+
itemEditor = "ItemEditor"
|
|
345
|
+
}
|
|
346
|
+
declare type InlinePlugin = {
|
|
347
|
+
area: ExtensionArea.itemEditor;
|
|
348
|
+
objectButton: PluginObjectButton;
|
|
349
|
+
};
|
|
350
|
+
declare type PagePlugin = {
|
|
351
|
+
area: ExtensionArea.page;
|
|
320
352
|
route: string;
|
|
321
353
|
navigationNode?: {
|
|
322
354
|
componentName?: string;
|
|
@@ -326,7 +358,20 @@ interface PluginExtension {
|
|
|
326
358
|
[key: string]: string;
|
|
327
359
|
};
|
|
328
360
|
};
|
|
329
|
-
}
|
|
361
|
+
};
|
|
362
|
+
declare type PluginExtension = {
|
|
363
|
+
area: ExtensionArea;
|
|
364
|
+
componentName: string;
|
|
365
|
+
} & (InlinePlugin | PagePlugin);
|
|
366
|
+
declare type PluginObjectButton = {
|
|
367
|
+
buttonLabel: {
|
|
368
|
+
defaultLabel: string;
|
|
369
|
+
translations?: {
|
|
370
|
+
[key: string]: string;
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
iconName: string;
|
|
374
|
+
};
|
|
330
375
|
interface PluginNotificationDefinitions {
|
|
331
376
|
key: string;
|
|
332
377
|
title: string;
|
|
@@ -368,6 +413,14 @@ interface Channel {
|
|
|
368
413
|
};
|
|
369
414
|
}
|
|
370
415
|
|
|
416
|
+
interface KeywordGroup {
|
|
417
|
+
id: string;
|
|
418
|
+
name: string;
|
|
419
|
+
keywords: Keyword[];
|
|
420
|
+
translations: {
|
|
421
|
+
[key: string]: string;
|
|
422
|
+
};
|
|
423
|
+
}
|
|
371
424
|
interface Keyword {
|
|
372
425
|
id: string;
|
|
373
426
|
name: string;
|
|
@@ -420,11 +473,6 @@ interface NewsItem extends SchedulableItem {
|
|
|
420
473
|
knownState: KnownNewsState;
|
|
421
474
|
hasNewComments?: boolean;
|
|
422
475
|
isLiked?: boolean;
|
|
423
|
-
shareToken?: ShareToken;
|
|
424
|
-
}
|
|
425
|
-
interface ShareToken {
|
|
426
|
-
published?: string;
|
|
427
|
-
preview?: string;
|
|
428
476
|
}
|
|
429
477
|
interface NewsItemAlertOptions {
|
|
430
478
|
duration?: string;
|
|
@@ -447,19 +495,6 @@ interface BaseItem {
|
|
|
447
495
|
id?: string;
|
|
448
496
|
statistics?: ItemStatistics;
|
|
449
497
|
poll?: Poll;
|
|
450
|
-
searchHighlights?: SearchHighlightSummary;
|
|
451
|
-
}
|
|
452
|
-
interface SearchHighlightSummary {
|
|
453
|
-
title: SearchHighlight[];
|
|
454
|
-
content: SearchHighlight[];
|
|
455
|
-
}
|
|
456
|
-
interface SearchHighlight {
|
|
457
|
-
language: string;
|
|
458
|
-
texts: {
|
|
459
|
-
value: string;
|
|
460
|
-
type: 'text' | 'hit';
|
|
461
|
-
}[];
|
|
462
|
-
score: number;
|
|
463
498
|
}
|
|
464
499
|
interface Poll {
|
|
465
500
|
questions: PollQuestion[];
|
|
@@ -494,6 +529,7 @@ interface PublishableItemContent extends ContentDefinition {
|
|
|
494
529
|
headline?: string;
|
|
495
530
|
intro?: string;
|
|
496
531
|
body?: string;
|
|
532
|
+
bodyRaw?: string;
|
|
497
533
|
customProperties?: {
|
|
498
534
|
[key: string]: any;
|
|
499
535
|
};
|
|
@@ -748,6 +784,7 @@ interface PageItem extends PublishableItem {
|
|
|
748
784
|
isUnlinked?: boolean;
|
|
749
785
|
pageType?: PageType;
|
|
750
786
|
firstChildId?: string;
|
|
787
|
+
isGroupInheritanceBroken?: boolean;
|
|
751
788
|
}
|
|
752
789
|
interface ContentsSummary {
|
|
753
790
|
[lang: string]: TitleContent & {
|
|
@@ -769,6 +806,7 @@ interface PageNavigationNode {
|
|
|
769
806
|
hasAnyPageChild?: boolean;
|
|
770
807
|
pageType?: PageType;
|
|
771
808
|
useExternalContent?: boolean;
|
|
809
|
+
isGroupInheritanceBroken?: boolean;
|
|
772
810
|
isSearchMatch?: boolean;
|
|
773
811
|
topLevelFolderName?: string;
|
|
774
812
|
uploadToken?: string;
|
|
@@ -783,6 +821,23 @@ declare enum PageType {
|
|
|
783
821
|
Document = 1
|
|
784
822
|
}
|
|
785
823
|
|
|
824
|
+
declare type KeywordsByGroupId = {
|
|
825
|
+
[key: string]: Keyword[];
|
|
826
|
+
};
|
|
827
|
+
|
|
828
|
+
interface SubscriptionData {
|
|
829
|
+
channels?: Channel[];
|
|
830
|
+
allKeywords?: Keyword[];
|
|
831
|
+
keywordsByGroupId?: KeywordsByGroupId;
|
|
832
|
+
selectedKeywordGroups?: KeywordGroup[];
|
|
833
|
+
}
|
|
834
|
+
interface LazySubscriptionContextType extends SubscriptionData {
|
|
835
|
+
getChannels: () => Promise<Channel[]>;
|
|
836
|
+
refreshSubscription: () => void;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
declare function useLazySubscriptionContext(): LazySubscriptionContextType;
|
|
840
|
+
|
|
786
841
|
declare const Dialog: FC<IDialogProps>;
|
|
787
842
|
|
|
788
843
|
interface ToolbarProps {
|
|
@@ -873,8 +928,9 @@ declare const ToolbarEventViewSelector: FC<ToolbarEventViewSelectorProps>;
|
|
|
873
928
|
interface Props extends IPersonaProps {
|
|
874
929
|
upn: string;
|
|
875
930
|
tenantId?: string;
|
|
876
|
-
className?: string;
|
|
877
931
|
displayName?: string;
|
|
932
|
+
forceShowSecondaryText?: boolean;
|
|
933
|
+
className?: string;
|
|
878
934
|
}
|
|
879
935
|
declare const Avatar: FC<Props>;
|
|
880
936
|
|
|
@@ -885,6 +941,13 @@ interface UserDetailsProps {
|
|
|
885
941
|
}
|
|
886
942
|
declare const UserDetails: FC<UserDetailsProps>;
|
|
887
943
|
|
|
944
|
+
declare enum ErrorType {
|
|
945
|
+
GenericError = "genericError",
|
|
946
|
+
Error404 = "error404",
|
|
947
|
+
Error403 = "error403",
|
|
948
|
+
LoginError = "loginError"
|
|
949
|
+
}
|
|
950
|
+
|
|
888
951
|
interface PageViewTrackerSettings {
|
|
889
952
|
disabled?: boolean;
|
|
890
953
|
}
|
|
@@ -950,11 +1013,31 @@ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFi
|
|
|
950
1013
|
includeExpired?: boolean;
|
|
951
1014
|
}
|
|
952
1015
|
|
|
953
|
-
interface
|
|
954
|
-
|
|
955
|
-
|
|
1016
|
+
interface Post extends BaseItem, ItemWithAttachments {
|
|
1017
|
+
id: string;
|
|
1018
|
+
comments?: PaginatedList<Comment>;
|
|
1019
|
+
groupId: string;
|
|
1020
|
+
content: string;
|
|
1021
|
+
permalink?: string;
|
|
1022
|
+
author: Account;
|
|
1023
|
+
publishingDate: string;
|
|
1024
|
+
modified?: string;
|
|
1025
|
+
statistics: ItemStatistics;
|
|
1026
|
+
keywords?: {
|
|
1027
|
+
[key: string]: Keyword[];
|
|
1028
|
+
};
|
|
1029
|
+
contentLanguageCode?: string;
|
|
1030
|
+
isLiked?: boolean;
|
|
1031
|
+
isUnread?: boolean;
|
|
1032
|
+
isDemoContent?: boolean;
|
|
1033
|
+
isFollowing?: boolean;
|
|
956
1034
|
}
|
|
957
|
-
|
|
1035
|
+
interface PostFilterDefinition {
|
|
1036
|
+
token?: string;
|
|
1037
|
+
pageSize?: string;
|
|
1038
|
+
search?: string;
|
|
1039
|
+
keywords?: FilterWithLogicalOperator;
|
|
1040
|
+
}
|
|
958
1041
|
|
|
959
1042
|
interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
960
1043
|
contacts?: string[];
|
|
@@ -970,6 +1053,12 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
|
|
|
970
1053
|
pastEventsOnly?: boolean;
|
|
971
1054
|
}
|
|
972
1055
|
|
|
1056
|
+
interface TargetLinkOverrideContextProps {
|
|
1057
|
+
onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1058
|
+
onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1059
|
+
}
|
|
1060
|
+
declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
|
|
1061
|
+
|
|
973
1062
|
interface KeywordPickerProps {
|
|
974
1063
|
value?: Keyword[] | string[];
|
|
975
1064
|
onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
|
|
@@ -990,32 +1079,6 @@ interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
|
990
1079
|
pageType?: PageType;
|
|
991
1080
|
}
|
|
992
1081
|
|
|
993
|
-
interface Post extends BaseItem, ItemWithAttachments {
|
|
994
|
-
id: string;
|
|
995
|
-
comments?: PaginatedList<Comment>;
|
|
996
|
-
groupId: string;
|
|
997
|
-
content: string;
|
|
998
|
-
permalink?: string;
|
|
999
|
-
author: Account;
|
|
1000
|
-
publishingDate: string;
|
|
1001
|
-
modified?: string;
|
|
1002
|
-
statistics: ItemStatistics;
|
|
1003
|
-
keywords?: {
|
|
1004
|
-
[key: string]: Keyword[];
|
|
1005
|
-
};
|
|
1006
|
-
contentLanguageCode?: string;
|
|
1007
|
-
isLiked?: boolean;
|
|
1008
|
-
isUnread?: boolean;
|
|
1009
|
-
isDemoContent?: boolean;
|
|
1010
|
-
isFollowing?: boolean;
|
|
1011
|
-
}
|
|
1012
|
-
interface PostFilterDefinition {
|
|
1013
|
-
token?: string;
|
|
1014
|
-
pageSize?: string;
|
|
1015
|
-
search?: string;
|
|
1016
|
-
keywords?: FilterWithLogicalOperator;
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
1082
|
interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
1020
1083
|
}
|
|
1021
1084
|
|
|
@@ -1128,6 +1191,7 @@ interface NewsEditorDashboardProps {
|
|
|
1128
1191
|
groupId?: string;
|
|
1129
1192
|
className?: string;
|
|
1130
1193
|
onItemClick?: (item: NewsItem) => unknown;
|
|
1194
|
+
onCreateNewItemClick?: (itemResourceType: ItemResourceTypes, groupId: string) => unknown;
|
|
1131
1195
|
pageSize?: number;
|
|
1132
1196
|
hidePagination?: boolean;
|
|
1133
1197
|
}
|
|
@@ -1137,6 +1201,7 @@ interface EventsEditorDashboardProps {
|
|
|
1137
1201
|
groupId?: string;
|
|
1138
1202
|
className?: string;
|
|
1139
1203
|
onItemClick?: (item: EventItem) => unknown;
|
|
1204
|
+
onCreateNewItemClick?: (itemResourceType: ItemResourceTypes, groupId: string) => unknown;
|
|
1140
1205
|
pageSize?: number;
|
|
1141
1206
|
hidePagination?: boolean;
|
|
1142
1207
|
}
|
|
@@ -1146,7 +1211,15 @@ declare const NewsItemContextProvider: FC<{
|
|
|
1146
1211
|
itemId: string;
|
|
1147
1212
|
}>;
|
|
1148
1213
|
|
|
1149
|
-
declare const
|
|
1214
|
+
declare const PageItemContextProvider: FC<{
|
|
1215
|
+
itemId: string;
|
|
1216
|
+
}>;
|
|
1217
|
+
|
|
1218
|
+
declare const EventItemContextProvider: FC<{
|
|
1219
|
+
itemId: string;
|
|
1220
|
+
}>;
|
|
1221
|
+
|
|
1222
|
+
declare const ToolbarLanguageSelector: FC<{
|
|
1150
1223
|
showEditLanguagePreferences?: boolean;
|
|
1151
1224
|
onEditLanguagePreferences?: () => unknown;
|
|
1152
1225
|
}>;
|
|
@@ -1155,18 +1228,32 @@ declare const ToolbarManageNewsItemButton: FC<{
|
|
|
1155
1228
|
onClick?: (itemId: string) => unknown;
|
|
1156
1229
|
}>;
|
|
1157
1230
|
|
|
1158
|
-
interface
|
|
1231
|
+
interface SharedItemDetailPreviewProps {
|
|
1159
1232
|
itemId?: string;
|
|
1160
1233
|
versionId?: string;
|
|
1161
1234
|
className?: string;
|
|
1235
|
+
hideLikes?: boolean;
|
|
1236
|
+
hideComments?: boolean;
|
|
1162
1237
|
}
|
|
1163
|
-
declare const NewsDetailPreview: FC<
|
|
1238
|
+
declare const NewsDetailPreview: FC<SharedItemDetailPreviewProps>;
|
|
1239
|
+
declare const PageDetailPreview: FC<SharedItemDetailPreviewProps>;
|
|
1240
|
+
declare const EventDetailPreview: FC<SharedItemDetailPreviewProps>;
|
|
1164
1241
|
|
|
1165
1242
|
declare const NewsItemPreviewContextProvider: FC<{
|
|
1166
1243
|
itemId: string;
|
|
1167
1244
|
versionId?: string;
|
|
1168
1245
|
}>;
|
|
1169
1246
|
|
|
1247
|
+
declare const PageItemPreviewContextProvider: FC<{
|
|
1248
|
+
itemId: string;
|
|
1249
|
+
versionId?: string;
|
|
1250
|
+
}>;
|
|
1251
|
+
|
|
1252
|
+
declare const EventItemPreviewContextProvider: FC<{
|
|
1253
|
+
itemId: string;
|
|
1254
|
+
versionId?: string;
|
|
1255
|
+
}>;
|
|
1256
|
+
|
|
1170
1257
|
interface FilterProps {
|
|
1171
1258
|
filter: IndexableFilterDefinition;
|
|
1172
1259
|
onChange: (filter: Partial<IndexableFilterDefinition> | null) => void;
|
|
@@ -1364,10 +1451,37 @@ declare const EventEditorPanel: FC<EventEditorPanelProps>;
|
|
|
1364
1451
|
declare const EventEditorToolbarStateActions: FC;
|
|
1365
1452
|
|
|
1366
1453
|
interface EventEditorToolbarRecurringControlsProps {
|
|
1367
|
-
onRedirectToRecurrence: (id: string, isMaster: boolean) => void;
|
|
1368
|
-
onResetModifiedInstance: () => void;
|
|
1369
1454
|
className?: string;
|
|
1370
1455
|
}
|
|
1371
1456
|
declare const EventEditorToolbarRecurringControls: FC<EventEditorToolbarRecurringControlsProps>;
|
|
1372
1457
|
|
|
1373
|
-
|
|
1458
|
+
interface PageEditorContextProviderProps {
|
|
1459
|
+
itemId?: string;
|
|
1460
|
+
groupId?: string;
|
|
1461
|
+
parentId?: string;
|
|
1462
|
+
onSuccessfulCreate?: (itemId: string) => void;
|
|
1463
|
+
onSuccessfulDelete?: (itemId: number | string, status: WorkflowStatus) => void;
|
|
1464
|
+
onSuccessfulDeletePermanently?: (itemId: number | string) => void;
|
|
1465
|
+
}
|
|
1466
|
+
declare const PageEditorContextProvider: FC<PageEditorContextProviderProps>;
|
|
1467
|
+
|
|
1468
|
+
interface PageEditorProps {
|
|
1469
|
+
homeBreadcrumbTargetUrl?: string;
|
|
1470
|
+
className?: string;
|
|
1471
|
+
}
|
|
1472
|
+
declare const PageEditor: FC<PageEditorProps>;
|
|
1473
|
+
|
|
1474
|
+
declare const PageEditorToolbarStateActions: FC;
|
|
1475
|
+
|
|
1476
|
+
interface PageEditorPanelProps {
|
|
1477
|
+
className?: string;
|
|
1478
|
+
}
|
|
1479
|
+
declare const PageEditorPanel: FC<PageEditorPanelProps>;
|
|
1480
|
+
|
|
1481
|
+
interface ErrorWrapperProps {
|
|
1482
|
+
errorType: ErrorType;
|
|
1483
|
+
isList?: boolean;
|
|
1484
|
+
}
|
|
1485
|
+
declare const ErrorWrapper: FC<ErrorWrapperProps>;
|
|
1486
|
+
|
|
1487
|
+
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, 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, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorPanelProps, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, PageDetail, PageDetailPreview, PageDetailProps, PageEditor, PageEditorContextProvider, PageEditorContextProviderProps, PageEditorPanel, PageEditorPanelProps, PageEditorProps, PageEditorToolbarStateActions, PageItemContextProvider, PageItemPreviewContextProvider, 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, SharedItemDetailPreviewProps, TargetLinkOverrideContextProvider, Toolbar, ToolbarChannelSelector, ToolbarChannelSelectorOption, ToolbarChannelSelectorProps, ToolbarCloseButton, ToolbarCloseButtonProps, ToolbarEventViewSelector, ToolbarEventViewSelectorProps, ToolbarFilterModal, ToolbarFilterModalButton, ToolbarFilterModalProps, ToolbarFilterPanel, ToolbarFilterSearch, ToolbarFilterToggleButton, ToolbarIconButton, ToolbarIconButtonProps, ToolbarLanguageSelector, ToolbarManageNewsItemButton, ToolbarMarkAllEventsAsReadButton, ToolbarMarkAllNewsAsReadButton, ToolbarMarkEventsItemsAsReadButtonProps, ToolbarMarkNewsItemsAsReadButtonProps, ToolbarLanguageSelector as ToolbarNewsLanguageSelector, ToolbarPostNotificationButton, ToolbarProps, ToolbarSearchProps, ToolbarUnreadItemsButton, UserDetails, UserDetailsProps, VerticalFilterPanel, VerticalFilterPanelProps, isFilterActive, useCurrentUser, useLazySubscriptionContext };
|
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{aI as AuthorFilter,aH as AuthorToolbarFilter,aa as Avatar,aA as ChannelFilter,aN as ChannelSelector,aB as ChannelToolbarFilter,aE as ClearAllFiltersButton,b5 as ContactToolbarFilter,aX as EditorToolbarIndicators,bl as ErrorType,bk as ErrorWrapper,b6 as EventDatesToolbarFilter,$ as EventDetail,as as EventDetailPreview,bb as EventEditor,bc as EventEditorContextProvider,bd as EventEditorPanel,bf as EventEditorToolbarRecurringControls,be as EventEditorToolbarStateActions,an as EventItemContextProvider,av as EventItemPreviewContextProvider,aM as EventView,ad as EventsEditorDashboard,a4 as EventsGrid,a5 as EventsList,aJ as FilterSearch,b0 as GroupNotificationsSettings,a2 as ItemLayoutMode,aS as ItemResourceTypes,aV as KeywordPicker,aF as KeywordsFilter,aG as KeywordsToolbarFilter,b7 as LogicalOperator,a6 as ManageChannels,X as NewsDetail,aq as NewsDetailPreview,aO as NewsEditor,aP as NewsEditorContextProvider,ac as NewsEditorDashboard,aU as NewsEditorPanel,aT as NewsEditorToolbarStateActions,a3 as NewsGrid,ab as NewsHero,al as NewsItemContextProvider,at as NewsItemPreviewContextProvider,a1 as NewsList,Z as PageDetail,ar as PageDetailPreview,bh as PageEditor,bg as PageEditorContextProvider,bj as PageEditorPanel,bi as PageEditorToolbarStateActions,am as PageItemContextProvider,au as PageItemPreviewContextProvider,ba as PageType,aQ as PageViewTrackerSettingsContextProvider,b8 as PagesGrid,b9 as PagesList,a0 as PostDetail,a$ as PostGroupSelector,b2 as PostGroupSelectorButton,a_ as PostGroupsPicker,aY as PostInputBox,aZ as PostList,W as PostListContextProvider,aD as PublishingDateFilter,aC as PublishingDateToolbarFilter,V as ReachContextProvider,aW as ReachDialog,aR as TargetLinkOverrideContextProvider,ae as Toolbar,ah as ToolbarChannelSelector,ak as ToolbarCloseButton,aL as ToolbarEventViewSelector,ax as ToolbarFilterModal,ay as ToolbarFilterModalButton,aw as ToolbarFilterPanel,aK as ToolbarFilterSearch,b3 as ToolbarFilterToggleButton,af as ToolbarIconButton,ao as ToolbarLanguageSelector,ap as ToolbarManageNewsItemButton,ai as ToolbarMarkAllEventsAsReadButton,aj as ToolbarMarkAllNewsAsReadButton,ao as ToolbarNewsLanguageSelector,b1 as ToolbarPostNotificationButton,ag as ToolbarUnreadItemsButton,a9 as UserDetails,az as VerticalFilterPanel,b4 as isFilterActive,a7 as useCurrentUser,a8 as useLazySubscriptionContext}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";
|