@livetiles/reach-components-react 0.5.0-preview.48 → 0.5.0-preview.480
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/EventGridCard.d.ts +4 -4
- 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/NewsGrid.d.ts +1 -0
- package/NewsGridCard.d.ts +6 -5
- package/PageDetail.d.ts +9 -1
- package/PageGridCard.d.ts +1 -0
- package/PageItemContextProvider.d.ts +4 -0
- package/PageItemPreviewContextProvider.d.ts +5 -0
- package/PageTableOfContents.d.ts +3 -2
- package/PagesGrid.d.ts +1 -0
- package/PublishableItemEditorDashboard.d.ts +3 -2
- package/PublishableItemGrid.d.ts +3 -2
- package/PublishableItemList.d.ts +3 -2
- package/ReachContext.d.ts +14 -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/common/hero/Hero.d.ts +2 -3
- 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 +217 -83
- package/index.esm.js +1 -1
- package/index.esm2.js +32 -22
- package/index.umd-7f932f7d.esm.js +1 -0
- package/index.umd.js +740 -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
|
@@ -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
|
@@ -2,17 +2,63 @@ import { FC, ReactNode } from 'react';
|
|
|
2
2
|
import { IDialogProps, IDropdownOption, IPersonaProps } from 'office-ui-fabric-react';
|
|
3
3
|
import * as styled_components from 'styled-components';
|
|
4
4
|
|
|
5
|
+
declare enum AuthenticationType {
|
|
6
|
+
unknown = 0,
|
|
7
|
+
azuread = 1,
|
|
8
|
+
b2c = 3,
|
|
9
|
+
temporary = 4,
|
|
10
|
+
apiKey = 5,
|
|
11
|
+
teams = 6,
|
|
12
|
+
onPremKeycloak = 7,
|
|
13
|
+
openId = 8,
|
|
14
|
+
public = 99
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
declare enum IdentityProviderNames {
|
|
18
|
+
MicrosoftWork = "microsoft-work",
|
|
19
|
+
Google = "google",
|
|
20
|
+
EMail = "email",
|
|
21
|
+
Apple = "apple"
|
|
22
|
+
}
|
|
23
|
+
interface IdentityProviderSettings {
|
|
24
|
+
name: string;
|
|
25
|
+
issuer: string;
|
|
26
|
+
clientId: string;
|
|
27
|
+
realm: string;
|
|
28
|
+
url: string;
|
|
29
|
+
scope: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
interface VideoSource$1 {
|
|
33
|
+
prefix: string;
|
|
34
|
+
name: string;
|
|
35
|
+
alwaysShowPlayer?: boolean;
|
|
36
|
+
}
|
|
37
|
+
|
|
5
38
|
declare type ReachContextProps = {
|
|
6
39
|
config?: {
|
|
7
40
|
apiEndpoint?: string;
|
|
8
41
|
webAppUrl?: string;
|
|
9
42
|
api3Endpoint?: string;
|
|
10
43
|
webSocketsEndpoint?: string;
|
|
44
|
+
additionalVideoSources?: VideoSource$1[];
|
|
11
45
|
};
|
|
12
46
|
onRequestToken?: () => Promise<string>;
|
|
13
47
|
subscriptionId: string;
|
|
14
48
|
language?: string;
|
|
15
49
|
disableUiFabricThemeOverwrite?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* These properties can be used to define the behavior of the analytics module.
|
|
52
|
+
*
|
|
53
|
+
* With `disableAnalytics` you can completely disable all analytics tracking.
|
|
54
|
+
* The `appName` is optional but highly encouraged to be set,
|
|
55
|
+
* in order to know where the components are used in. The value must be a non-empty string,
|
|
56
|
+
* only containing alphabetical letters and dashes (-). Should not be longer than 30 characters.
|
|
57
|
+
*/
|
|
58
|
+
analyticsProps?: {
|
|
59
|
+
disableAnalytics?: boolean;
|
|
60
|
+
appName?: string;
|
|
61
|
+
};
|
|
16
62
|
};
|
|
17
63
|
declare const ReachContextProvider: FC<ReachContextProps>;
|
|
18
64
|
|
|
@@ -21,23 +67,29 @@ interface NewsDetailProps {
|
|
|
21
67
|
hideComments?: boolean;
|
|
22
68
|
hideLikes?: boolean;
|
|
23
69
|
preventExternalContentAutoRedirect?: boolean;
|
|
70
|
+
onChannelClick?: (channel: string) => unknown;
|
|
71
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
24
72
|
className?: string;
|
|
25
73
|
}
|
|
26
74
|
declare const NewsDetail: FC<NewsDetailProps>;
|
|
27
75
|
|
|
28
76
|
interface PageDetailProps {
|
|
29
|
-
itemId
|
|
77
|
+
itemId?: string;
|
|
30
78
|
hideComments?: boolean;
|
|
31
79
|
hideLikes?: boolean;
|
|
32
80
|
preventExternalContentAutoRedirect?: boolean;
|
|
81
|
+
homeBreadcrumbTargetUrl?: string;
|
|
82
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
33
83
|
className?: string;
|
|
34
84
|
}
|
|
35
85
|
declare const PageDetail: FC<PageDetailProps>;
|
|
36
86
|
|
|
37
87
|
interface EventDetailProps {
|
|
38
|
-
itemId
|
|
88
|
+
itemId?: string;
|
|
39
89
|
hideComments?: boolean;
|
|
40
90
|
hideLikes?: boolean;
|
|
91
|
+
onChannelClick?: (channel: string) => unknown;
|
|
92
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
41
93
|
className?: string;
|
|
42
94
|
}
|
|
43
95
|
declare const EventDetail: FC<EventDetailProps>;
|
|
@@ -59,33 +111,6 @@ interface PaginatedList<TItem> {
|
|
|
59
111
|
hasNextPage?: boolean;
|
|
60
112
|
}
|
|
61
113
|
|
|
62
|
-
declare enum AuthenticationType {
|
|
63
|
-
unknown = 0,
|
|
64
|
-
azuread = 1,
|
|
65
|
-
b2c = 3,
|
|
66
|
-
temporary = 4,
|
|
67
|
-
apiKey = 5,
|
|
68
|
-
teams = 6,
|
|
69
|
-
onPremKeycloak = 7,
|
|
70
|
-
openId = 8,
|
|
71
|
-
public = 99
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
declare enum IdentityProviderNames {
|
|
75
|
-
MicrosoftWork = "microsoft-work",
|
|
76
|
-
Google = "google",
|
|
77
|
-
EMail = "email",
|
|
78
|
-
Apple = "apple"
|
|
79
|
-
}
|
|
80
|
-
interface IdentityProviderSettings {
|
|
81
|
-
name: string;
|
|
82
|
-
issuer: string;
|
|
83
|
-
clientId: string;
|
|
84
|
-
realm: string;
|
|
85
|
-
url: string;
|
|
86
|
-
scope: string;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
114
|
interface Resources {
|
|
90
115
|
[language: string]: Record<string, string>;
|
|
91
116
|
}
|
|
@@ -156,6 +181,8 @@ interface NotificationTypeSettings {
|
|
|
156
181
|
pluginNotifications: {
|
|
157
182
|
[key: string]: NotificationType;
|
|
158
183
|
};
|
|
184
|
+
newsEditor: NotificationType;
|
|
185
|
+
eventEditor: NotificationType;
|
|
159
186
|
}
|
|
160
187
|
interface CurrentUser extends Account {
|
|
161
188
|
isEmailVerificationPending?: boolean;
|
|
@@ -187,6 +214,7 @@ interface CurrentUser extends Account {
|
|
|
187
214
|
termsAndConditionsApprovedHash: string;
|
|
188
215
|
isPublicUser?: boolean;
|
|
189
216
|
hasUnreadChats?: boolean;
|
|
217
|
+
publicSubscriptionIds?: string[];
|
|
190
218
|
}
|
|
191
219
|
interface UserContact {
|
|
192
220
|
tokenUniqueId: string;
|
|
@@ -284,6 +312,7 @@ interface SubscriptionSummary extends BaseSubscription {
|
|
|
284
312
|
customDomain?: string;
|
|
285
313
|
allowSelfRegistration?: boolean;
|
|
286
314
|
brandFolderConfig?: BrandFolderConfig;
|
|
315
|
+
hideSubscriptionName?: boolean;
|
|
287
316
|
}
|
|
288
317
|
interface BrandFolderConfig {
|
|
289
318
|
sections?: string[];
|
|
@@ -314,9 +343,21 @@ interface WebPluginDefinition {
|
|
|
314
343
|
subscriptionId?: string;
|
|
315
344
|
environment?: string;
|
|
316
345
|
}
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
346
|
+
declare enum ExtensionArea {
|
|
347
|
+
global = "Global",
|
|
348
|
+
page = "Page",
|
|
349
|
+
eventEditorFeedbackSection = "EventEditorFeedbackSection",
|
|
350
|
+
eventDetailViewSection = "EventDetailViewSection",
|
|
351
|
+
itemEditor = "ItemEditor",
|
|
352
|
+
newsEditorFeedbackSection = "NewsEditorFeedbackSection",
|
|
353
|
+
newsOverviewCardSection = "NewsOverviewCardSection"
|
|
354
|
+
}
|
|
355
|
+
declare type InlinePlugin = {
|
|
356
|
+
area: ExtensionArea.itemEditor;
|
|
357
|
+
objectButton: PluginObjectButton;
|
|
358
|
+
};
|
|
359
|
+
declare type PagePlugin = {
|
|
360
|
+
area: ExtensionArea.page;
|
|
320
361
|
route: string;
|
|
321
362
|
navigationNode?: {
|
|
322
363
|
componentName?: string;
|
|
@@ -326,7 +367,20 @@ interface PluginExtension {
|
|
|
326
367
|
[key: string]: string;
|
|
327
368
|
};
|
|
328
369
|
};
|
|
329
|
-
}
|
|
370
|
+
};
|
|
371
|
+
declare type PluginExtension = {
|
|
372
|
+
area: ExtensionArea;
|
|
373
|
+
componentName: string;
|
|
374
|
+
} & (InlinePlugin | PagePlugin);
|
|
375
|
+
declare type PluginObjectButton = {
|
|
376
|
+
buttonLabel: {
|
|
377
|
+
defaultLabel: string;
|
|
378
|
+
translations?: {
|
|
379
|
+
[key: string]: string;
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
iconName: string;
|
|
383
|
+
};
|
|
330
384
|
interface PluginNotificationDefinitions {
|
|
331
385
|
key: string;
|
|
332
386
|
title: string;
|
|
@@ -360,14 +414,14 @@ declare enum FieldMode {
|
|
|
360
414
|
Hidden = 3
|
|
361
415
|
}
|
|
362
416
|
|
|
363
|
-
interface
|
|
417
|
+
interface KeywordGroup {
|
|
364
418
|
id: string;
|
|
365
419
|
name: string;
|
|
366
|
-
|
|
420
|
+
keywords: Keyword[];
|
|
421
|
+
translations: {
|
|
367
422
|
[key: string]: string;
|
|
368
423
|
};
|
|
369
|
-
}
|
|
370
|
-
|
|
424
|
+
}
|
|
371
425
|
interface Keyword {
|
|
372
426
|
id: string;
|
|
373
427
|
name: string;
|
|
@@ -408,10 +462,18 @@ declare enum KnownNewsState {
|
|
|
408
462
|
Alert = 2
|
|
409
463
|
}
|
|
410
464
|
|
|
465
|
+
interface Channel {
|
|
466
|
+
id: string;
|
|
467
|
+
name: string;
|
|
468
|
+
translations?: {
|
|
469
|
+
[key: string]: string;
|
|
470
|
+
};
|
|
471
|
+
}
|
|
472
|
+
|
|
411
473
|
declare type VersionId = string;
|
|
412
474
|
interface SchedulableItem extends PublishableItem {
|
|
413
475
|
metadata?: NewsMetadata;
|
|
414
|
-
channels?:
|
|
476
|
+
channels?: Channel[];
|
|
415
477
|
}
|
|
416
478
|
interface NewsItem extends SchedulableItem {
|
|
417
479
|
source?: string;
|
|
@@ -420,19 +482,11 @@ interface NewsItem extends SchedulableItem {
|
|
|
420
482
|
knownState: KnownNewsState;
|
|
421
483
|
hasNewComments?: boolean;
|
|
422
484
|
isLiked?: boolean;
|
|
423
|
-
shareToken?: ShareToken;
|
|
424
|
-
}
|
|
425
|
-
interface ShareToken {
|
|
426
|
-
published?: string;
|
|
427
|
-
preview?: string;
|
|
428
485
|
}
|
|
429
486
|
interface NewsItemAlertOptions {
|
|
430
487
|
duration?: string;
|
|
431
488
|
endDate?: Date;
|
|
432
489
|
expireAfter?: boolean;
|
|
433
|
-
}
|
|
434
|
-
interface SchedulableItemChannel {
|
|
435
|
-
name: string;
|
|
436
490
|
}
|
|
437
491
|
|
|
438
492
|
declare enum VideoSource {
|
|
@@ -748,6 +802,7 @@ interface PageItem extends PublishableItem {
|
|
|
748
802
|
isUnlinked?: boolean;
|
|
749
803
|
pageType?: PageType;
|
|
750
804
|
firstChildId?: string;
|
|
805
|
+
isGroupInheritanceBroken?: boolean;
|
|
751
806
|
}
|
|
752
807
|
interface ContentsSummary {
|
|
753
808
|
[lang: string]: TitleContent & {
|
|
@@ -769,6 +824,7 @@ interface PageNavigationNode {
|
|
|
769
824
|
hasAnyPageChild?: boolean;
|
|
770
825
|
pageType?: PageType;
|
|
771
826
|
useExternalContent?: boolean;
|
|
827
|
+
isGroupInheritanceBroken?: boolean;
|
|
772
828
|
isSearchMatch?: boolean;
|
|
773
829
|
topLevelFolderName?: string;
|
|
774
830
|
uploadToken?: string;
|
|
@@ -783,6 +839,23 @@ declare enum PageType {
|
|
|
783
839
|
Document = 1
|
|
784
840
|
}
|
|
785
841
|
|
|
842
|
+
declare type KeywordsByGroupId = {
|
|
843
|
+
[key: string]: Keyword[];
|
|
844
|
+
};
|
|
845
|
+
|
|
846
|
+
interface SubscriptionData {
|
|
847
|
+
channels?: Channel[];
|
|
848
|
+
allKeywords?: Keyword[];
|
|
849
|
+
keywordsByGroupId?: KeywordsByGroupId;
|
|
850
|
+
selectedKeywordGroups?: KeywordGroup[];
|
|
851
|
+
}
|
|
852
|
+
interface LazySubscriptionContextType extends SubscriptionData {
|
|
853
|
+
getChannels: () => Promise<Channel[]>;
|
|
854
|
+
refreshSubscription: () => void;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
declare function useLazySubscriptionContext(): LazySubscriptionContextType;
|
|
858
|
+
|
|
786
859
|
declare const Dialog: FC<IDialogProps>;
|
|
787
860
|
|
|
788
861
|
interface ToolbarProps {
|
|
@@ -873,8 +946,9 @@ declare const ToolbarEventViewSelector: FC<ToolbarEventViewSelectorProps>;
|
|
|
873
946
|
interface Props extends IPersonaProps {
|
|
874
947
|
upn: string;
|
|
875
948
|
tenantId?: string;
|
|
876
|
-
className?: string;
|
|
877
949
|
displayName?: string;
|
|
950
|
+
forceShowSecondaryText?: boolean;
|
|
951
|
+
className?: string;
|
|
878
952
|
}
|
|
879
953
|
declare const Avatar: FC<Props>;
|
|
880
954
|
|
|
@@ -885,6 +959,13 @@ interface UserDetailsProps {
|
|
|
885
959
|
}
|
|
886
960
|
declare const UserDetails: FC<UserDetailsProps>;
|
|
887
961
|
|
|
962
|
+
declare enum ErrorType {
|
|
963
|
+
GenericError = "genericError",
|
|
964
|
+
Error404 = "error404",
|
|
965
|
+
Error403 = "error403",
|
|
966
|
+
LoginError = "loginError"
|
|
967
|
+
}
|
|
968
|
+
|
|
888
969
|
interface PageViewTrackerSettings {
|
|
889
970
|
disabled?: boolean;
|
|
890
971
|
}
|
|
@@ -950,11 +1031,31 @@ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFi
|
|
|
950
1031
|
includeExpired?: boolean;
|
|
951
1032
|
}
|
|
952
1033
|
|
|
953
|
-
interface
|
|
954
|
-
|
|
955
|
-
|
|
1034
|
+
interface Post extends BaseItem, ItemWithAttachments {
|
|
1035
|
+
id: string;
|
|
1036
|
+
comments?: PaginatedList<Comment>;
|
|
1037
|
+
groupId: string;
|
|
1038
|
+
content: string;
|
|
1039
|
+
permalink?: string;
|
|
1040
|
+
author: Account;
|
|
1041
|
+
publishingDate: string;
|
|
1042
|
+
modified?: string;
|
|
1043
|
+
statistics: ItemStatistics;
|
|
1044
|
+
keywords?: {
|
|
1045
|
+
[key: string]: Keyword[];
|
|
1046
|
+
};
|
|
1047
|
+
contentLanguageCode?: string;
|
|
1048
|
+
isLiked?: boolean;
|
|
1049
|
+
isUnread?: boolean;
|
|
1050
|
+
isDemoContent?: boolean;
|
|
1051
|
+
isFollowing?: boolean;
|
|
956
1052
|
}
|
|
957
|
-
|
|
1053
|
+
interface PostFilterDefinition {
|
|
1054
|
+
token?: string;
|
|
1055
|
+
pageSize?: string;
|
|
1056
|
+
search?: string;
|
|
1057
|
+
keywords?: FilterWithLogicalOperator;
|
|
1058
|
+
}
|
|
958
1059
|
|
|
959
1060
|
interface EventContactsFilterDefinition extends IndexableFilterDefinition {
|
|
960
1061
|
contacts?: string[];
|
|
@@ -970,6 +1071,12 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
|
|
|
970
1071
|
pastEventsOnly?: boolean;
|
|
971
1072
|
}
|
|
972
1073
|
|
|
1074
|
+
interface TargetLinkOverrideContextProps {
|
|
1075
|
+
onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1076
|
+
onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
1077
|
+
}
|
|
1078
|
+
declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
|
|
1079
|
+
|
|
973
1080
|
interface KeywordPickerProps {
|
|
974
1081
|
value?: Keyword[] | string[];
|
|
975
1082
|
onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
|
|
@@ -990,32 +1097,6 @@ interface PageFilterDefinition extends PublishableItemFilterDefinition {
|
|
|
990
1097
|
pageType?: PageType;
|
|
991
1098
|
}
|
|
992
1099
|
|
|
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
1100
|
interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
|
|
1020
1101
|
}
|
|
1021
1102
|
|
|
@@ -1071,6 +1152,7 @@ interface NewsGridProps {
|
|
|
1071
1152
|
onKeywordClick?: (keyword: string) => unknown;
|
|
1072
1153
|
includeAllItems?: boolean;
|
|
1073
1154
|
className?: string;
|
|
1155
|
+
hideIntro?: boolean;
|
|
1074
1156
|
}
|
|
1075
1157
|
declare const NewsGrid: FC<NewsGridProps>;
|
|
1076
1158
|
|
|
@@ -1128,6 +1210,7 @@ interface NewsEditorDashboardProps {
|
|
|
1128
1210
|
groupId?: string;
|
|
1129
1211
|
className?: string;
|
|
1130
1212
|
onItemClick?: (item: NewsItem) => unknown;
|
|
1213
|
+
onCreateNewItemClick?: (itemResourceType: ItemResourceTypes, groupId: string) => unknown;
|
|
1131
1214
|
pageSize?: number;
|
|
1132
1215
|
hidePagination?: boolean;
|
|
1133
1216
|
}
|
|
@@ -1137,6 +1220,7 @@ interface EventsEditorDashboardProps {
|
|
|
1137
1220
|
groupId?: string;
|
|
1138
1221
|
className?: string;
|
|
1139
1222
|
onItemClick?: (item: EventItem) => unknown;
|
|
1223
|
+
onCreateNewItemClick?: (itemResourceType: ItemResourceTypes, groupId: string) => unknown;
|
|
1140
1224
|
pageSize?: number;
|
|
1141
1225
|
hidePagination?: boolean;
|
|
1142
1226
|
}
|
|
@@ -1146,7 +1230,15 @@ declare const NewsItemContextProvider: FC<{
|
|
|
1146
1230
|
itemId: string;
|
|
1147
1231
|
}>;
|
|
1148
1232
|
|
|
1149
|
-
declare const
|
|
1233
|
+
declare const PageItemContextProvider: FC<{
|
|
1234
|
+
itemId: string;
|
|
1235
|
+
}>;
|
|
1236
|
+
|
|
1237
|
+
declare const EventItemContextProvider: FC<{
|
|
1238
|
+
itemId: string;
|
|
1239
|
+
}>;
|
|
1240
|
+
|
|
1241
|
+
declare const ToolbarLanguageSelector: FC<{
|
|
1150
1242
|
showEditLanguagePreferences?: boolean;
|
|
1151
1243
|
onEditLanguagePreferences?: () => unknown;
|
|
1152
1244
|
}>;
|
|
@@ -1155,18 +1247,32 @@ declare const ToolbarManageNewsItemButton: FC<{
|
|
|
1155
1247
|
onClick?: (itemId: string) => unknown;
|
|
1156
1248
|
}>;
|
|
1157
1249
|
|
|
1158
|
-
interface
|
|
1250
|
+
interface SharedItemDetailPreviewProps {
|
|
1159
1251
|
itemId?: string;
|
|
1160
1252
|
versionId?: string;
|
|
1161
1253
|
className?: string;
|
|
1254
|
+
hideLikes?: boolean;
|
|
1255
|
+
hideComments?: boolean;
|
|
1162
1256
|
}
|
|
1163
|
-
declare const NewsDetailPreview: FC<
|
|
1257
|
+
declare const NewsDetailPreview: FC<SharedItemDetailPreviewProps>;
|
|
1258
|
+
declare const PageDetailPreview: FC<SharedItemDetailPreviewProps>;
|
|
1259
|
+
declare const EventDetailPreview: FC<SharedItemDetailPreviewProps>;
|
|
1164
1260
|
|
|
1165
1261
|
declare const NewsItemPreviewContextProvider: FC<{
|
|
1166
1262
|
itemId: string;
|
|
1167
1263
|
versionId?: string;
|
|
1168
1264
|
}>;
|
|
1169
1265
|
|
|
1266
|
+
declare const PageItemPreviewContextProvider: FC<{
|
|
1267
|
+
itemId: string;
|
|
1268
|
+
versionId?: string;
|
|
1269
|
+
}>;
|
|
1270
|
+
|
|
1271
|
+
declare const EventItemPreviewContextProvider: FC<{
|
|
1272
|
+
itemId: string;
|
|
1273
|
+
versionId?: string;
|
|
1274
|
+
}>;
|
|
1275
|
+
|
|
1170
1276
|
interface FilterProps {
|
|
1171
1277
|
filter: IndexableFilterDefinition;
|
|
1172
1278
|
onChange: (filter: Partial<IndexableFilterDefinition> | null) => void;
|
|
@@ -1324,6 +1430,7 @@ interface PagesGridProps {
|
|
|
1324
1430
|
rowCount?: number;
|
|
1325
1431
|
onItemClick?: (item: PageItem, itemUrl?: string, isTitleClicked?: boolean) => unknown;
|
|
1326
1432
|
onKeywordClick?: (keyword: string) => unknown;
|
|
1433
|
+
hideIntro?: boolean;
|
|
1327
1434
|
className?: string;
|
|
1328
1435
|
}
|
|
1329
1436
|
declare const PagesGrid: FC<PagesGridProps>;
|
|
@@ -1364,10 +1471,37 @@ declare const EventEditorPanel: FC<EventEditorPanelProps>;
|
|
|
1364
1471
|
declare const EventEditorToolbarStateActions: FC;
|
|
1365
1472
|
|
|
1366
1473
|
interface EventEditorToolbarRecurringControlsProps {
|
|
1367
|
-
onRedirectToRecurrence: (id: string, isMaster: boolean) => void;
|
|
1368
|
-
onResetModifiedInstance: () => void;
|
|
1369
1474
|
className?: string;
|
|
1370
1475
|
}
|
|
1371
1476
|
declare const EventEditorToolbarRecurringControls: FC<EventEditorToolbarRecurringControlsProps>;
|
|
1372
1477
|
|
|
1373
|
-
|
|
1478
|
+
interface PageEditorContextProviderProps {
|
|
1479
|
+
itemId?: string;
|
|
1480
|
+
groupId?: string;
|
|
1481
|
+
parentId?: string;
|
|
1482
|
+
onSuccessfulCreate?: (itemId: string) => void;
|
|
1483
|
+
onSuccessfulDelete?: (itemId: number | string, status: WorkflowStatus) => void;
|
|
1484
|
+
onSuccessfulDeletePermanently?: (itemId: number | string) => void;
|
|
1485
|
+
}
|
|
1486
|
+
declare const PageEditorContextProvider: FC<PageEditorContextProviderProps>;
|
|
1487
|
+
|
|
1488
|
+
interface PageEditorProps {
|
|
1489
|
+
homeBreadcrumbTargetUrl?: string;
|
|
1490
|
+
className?: string;
|
|
1491
|
+
}
|
|
1492
|
+
declare const PageEditor: FC<PageEditorProps>;
|
|
1493
|
+
|
|
1494
|
+
declare const PageEditorToolbarStateActions: FC;
|
|
1495
|
+
|
|
1496
|
+
interface PageEditorPanelProps {
|
|
1497
|
+
className?: string;
|
|
1498
|
+
}
|
|
1499
|
+
declare const PageEditorPanel: FC<PageEditorPanelProps>;
|
|
1500
|
+
|
|
1501
|
+
interface ErrorWrapperProps {
|
|
1502
|
+
errorType: ErrorType;
|
|
1503
|
+
isList?: boolean;
|
|
1504
|
+
}
|
|
1505
|
+
declare const ErrorWrapper: FC<ErrorWrapperProps>;
|
|
1506
|
+
|
|
1507
|
+
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, VideoSource$1 as VideoSource, 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,aV 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,aT 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,aX as NewsEditorPanel,aW 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,aU 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";
|