@livetiles/reach-components-react 0.5.0-preview.42 → 0.5.0-preview.420

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.
Files changed (61) hide show
  1. package/AnalyticsDummyContextProvider.d.ts +2 -0
  2. package/EmojiPicker.esm.esm.js +1 -1
  3. package/ErrorWrapper.d.ts +3 -2
  4. package/EventDetail.d.ts +9 -1
  5. package/EventItemContextProvider.d.ts +4 -0
  6. package/EventItemPreviewContextProvider.d.ts +5 -0
  7. package/EventsEditorDashboard.d.ts +2 -1
  8. package/NewsDetail.d.ts +4 -0
  9. package/NewsDetailViewMetaInfo.d.ts +3 -1
  10. package/NewsGrid.d.ts +1 -0
  11. package/NewsGridCard.d.ts +1 -0
  12. package/PageDetail.d.ts +9 -1
  13. package/PageItemContextProvider.d.ts +4 -0
  14. package/PageItemPreviewContextProvider.d.ts +5 -0
  15. package/PageTableOfContents.d.ts +3 -2
  16. package/PublishableItemEditorDashboard.d.ts +3 -2
  17. package/PublishableItemGrid.d.ts +3 -2
  18. package/PublishableItemList.d.ts +3 -2
  19. package/ReachContext.d.ts +12 -0
  20. package/SharedItemDetailPreview.d.ts +16 -0
  21. package/{ToolbarNewsLanguageSelector.d.ts → ToolbarLanguageSelector.d.ts} +1 -1
  22. package/asn1.esm.js +1 -0
  23. package/auto-track-6ea08514.esm.js +1 -0
  24. package/common/NewPublishableItemButton.d.ts +1 -0
  25. package/da.async.esm2.esm.js +1 -1
  26. package/de.async.esm2.esm.js +1 -1
  27. package/editor/EventEditorContextProvider.d.ts +9 -1
  28. package/editor/EventEditorToolbarRecurringControls.d.ts +0 -2
  29. package/editor/NewsEditorDashboard.d.ts +2 -1
  30. package/editor/PageEditor.d.ts +6 -0
  31. package/editor/PageEditorContextProvider.d.ts +11 -0
  32. package/editor/PageEditorPanel.d.ts +5 -0
  33. package/editor/PageEditorToolbarStateActions.d.ts +2 -0
  34. package/en.async.esm.esm.js +1 -1
  35. package/es.async.esm2.esm.js +1 -1
  36. package/fr.async.esm2.esm.js +1 -1
  37. package/index-1db5a755.esm.js +1 -0
  38. package/index-6ddba278.esm.js +1 -0
  39. package/index-aa1d556b.esm.js +1 -0
  40. package/index-ab7840fc.esm.js +1 -0
  41. package/index-b6c40f0f.esm.js +705 -0
  42. package/index-e51de45c.esm.js +1 -0
  43. package/index.d.ts +175 -48
  44. package/index.esm.js +1 -1
  45. package/index.esm2.js +32 -22
  46. package/index.umd-7f932f7d.esm.js +1 -0
  47. package/index.umd.js +740 -26
  48. package/is-plan-event-enabled-d9660f36.esm.js +1 -0
  49. package/it.async.esm2.esm.js +1 -1
  50. package/ja.async.esm2.esm.js +1 -1
  51. package/javascript.esm.js +1 -0
  52. package/mllike.esm.js +1 -0
  53. package/package.json +1 -1
  54. package/python.esm.js +1 -0
  55. package/rpm.esm.js +1 -0
  56. package/sql.esm.js +1 -0
  57. package/tr.async.esm2.esm.js +1 -1
  58. package/ttcn-cfg.esm.js +1 -0
  59. package/zh-CN.async.esm2.esm.js +1 -1
  60. package/zh-TW.async.esm2.esm.js +1 -1
  61. 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
@@ -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: string;
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: string;
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
- interface PluginExtension {
318
- area: string;
319
- componentName: string;
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;
@@ -748,6 +796,7 @@ interface PageItem extends PublishableItem {
748
796
  isUnlinked?: boolean;
749
797
  pageType?: PageType;
750
798
  firstChildId?: string;
799
+ isGroupInheritanceBroken?: boolean;
751
800
  }
752
801
  interface ContentsSummary {
753
802
  [lang: string]: TitleContent & {
@@ -769,6 +818,7 @@ interface PageNavigationNode {
769
818
  hasAnyPageChild?: boolean;
770
819
  pageType?: PageType;
771
820
  useExternalContent?: boolean;
821
+ isGroupInheritanceBroken?: boolean;
772
822
  isSearchMatch?: boolean;
773
823
  topLevelFolderName?: string;
774
824
  uploadToken?: string;
@@ -783,6 +833,23 @@ declare enum PageType {
783
833
  Document = 1
784
834
  }
785
835
 
836
+ declare type KeywordsByGroupId = {
837
+ [key: string]: Keyword[];
838
+ };
839
+
840
+ interface SubscriptionData {
841
+ channels?: Channel[];
842
+ allKeywords?: Keyword[];
843
+ keywordsByGroupId?: KeywordsByGroupId;
844
+ selectedKeywordGroups?: KeywordGroup[];
845
+ }
846
+ interface LazySubscriptionContextType extends SubscriptionData {
847
+ getChannels: () => Promise<Channel[]>;
848
+ refreshSubscription: () => void;
849
+ }
850
+
851
+ declare function useLazySubscriptionContext(): LazySubscriptionContextType;
852
+
786
853
  declare const Dialog: FC<IDialogProps>;
787
854
 
788
855
  interface ToolbarProps {
@@ -873,8 +940,9 @@ declare const ToolbarEventViewSelector: FC<ToolbarEventViewSelectorProps>;
873
940
  interface Props extends IPersonaProps {
874
941
  upn: string;
875
942
  tenantId?: string;
876
- className?: string;
877
943
  displayName?: string;
944
+ forceShowSecondaryText?: boolean;
945
+ className?: string;
878
946
  }
879
947
  declare const Avatar: FC<Props>;
880
948
 
@@ -885,6 +953,13 @@ interface UserDetailsProps {
885
953
  }
886
954
  declare const UserDetails: FC<UserDetailsProps>;
887
955
 
956
+ declare enum ErrorType {
957
+ GenericError = "genericError",
958
+ Error404 = "error404",
959
+ Error403 = "error403",
960
+ LoginError = "loginError"
961
+ }
962
+
888
963
  interface PageViewTrackerSettings {
889
964
  disabled?: boolean;
890
965
  }
@@ -950,11 +1025,31 @@ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFi
950
1025
  includeExpired?: boolean;
951
1026
  }
952
1027
 
953
- interface TargetLinkOverrideContextProps {
954
- onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
955
- onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
1028
+ interface Post extends BaseItem, ItemWithAttachments {
1029
+ id: string;
1030
+ comments?: PaginatedList<Comment>;
1031
+ groupId: string;
1032
+ content: string;
1033
+ permalink?: string;
1034
+ author: Account;
1035
+ publishingDate: string;
1036
+ modified?: string;
1037
+ statistics: ItemStatistics;
1038
+ keywords?: {
1039
+ [key: string]: Keyword[];
1040
+ };
1041
+ contentLanguageCode?: string;
1042
+ isLiked?: boolean;
1043
+ isUnread?: boolean;
1044
+ isDemoContent?: boolean;
1045
+ isFollowing?: boolean;
956
1046
  }
957
- declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
1047
+ interface PostFilterDefinition {
1048
+ token?: string;
1049
+ pageSize?: string;
1050
+ search?: string;
1051
+ keywords?: FilterWithLogicalOperator;
1052
+ }
958
1053
 
959
1054
  interface EventContactsFilterDefinition extends IndexableFilterDefinition {
960
1055
  contacts?: string[];
@@ -970,6 +1065,12 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
970
1065
  pastEventsOnly?: boolean;
971
1066
  }
972
1067
 
1068
+ interface TargetLinkOverrideContextProps {
1069
+ onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
1070
+ onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
1071
+ }
1072
+ declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
1073
+
973
1074
  interface KeywordPickerProps {
974
1075
  value?: Keyword[] | string[];
975
1076
  onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
@@ -990,32 +1091,6 @@ interface PageFilterDefinition extends PublishableItemFilterDefinition {
990
1091
  pageType?: PageType;
991
1092
  }
992
1093
 
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
1094
  interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
1020
1095
  }
1021
1096
 
@@ -1071,6 +1146,7 @@ interface NewsGridProps {
1071
1146
  onKeywordClick?: (keyword: string) => unknown;
1072
1147
  includeAllItems?: boolean;
1073
1148
  className?: string;
1149
+ hideIntro?: boolean;
1074
1150
  }
1075
1151
  declare const NewsGrid: FC<NewsGridProps>;
1076
1152
 
@@ -1128,6 +1204,7 @@ interface NewsEditorDashboardProps {
1128
1204
  groupId?: string;
1129
1205
  className?: string;
1130
1206
  onItemClick?: (item: NewsItem) => unknown;
1207
+ onCreateNewItemClick?: (itemResourceType: ItemResourceTypes, groupId: string) => unknown;
1131
1208
  pageSize?: number;
1132
1209
  hidePagination?: boolean;
1133
1210
  }
@@ -1137,6 +1214,7 @@ interface EventsEditorDashboardProps {
1137
1214
  groupId?: string;
1138
1215
  className?: string;
1139
1216
  onItemClick?: (item: EventItem) => unknown;
1217
+ onCreateNewItemClick?: (itemResourceType: ItemResourceTypes, groupId: string) => unknown;
1140
1218
  pageSize?: number;
1141
1219
  hidePagination?: boolean;
1142
1220
  }
@@ -1146,7 +1224,15 @@ declare const NewsItemContextProvider: FC<{
1146
1224
  itemId: string;
1147
1225
  }>;
1148
1226
 
1149
- declare const ToolbarNewsLanguageSelector: FC<{
1227
+ declare const PageItemContextProvider: FC<{
1228
+ itemId: string;
1229
+ }>;
1230
+
1231
+ declare const EventItemContextProvider: FC<{
1232
+ itemId: string;
1233
+ }>;
1234
+
1235
+ declare const ToolbarLanguageSelector: FC<{
1150
1236
  showEditLanguagePreferences?: boolean;
1151
1237
  onEditLanguagePreferences?: () => unknown;
1152
1238
  }>;
@@ -1155,18 +1241,32 @@ declare const ToolbarManageNewsItemButton: FC<{
1155
1241
  onClick?: (itemId: string) => unknown;
1156
1242
  }>;
1157
1243
 
1158
- interface NewsDetailPreviewProps {
1244
+ interface SharedItemDetailPreviewProps {
1159
1245
  itemId?: string;
1160
1246
  versionId?: string;
1161
1247
  className?: string;
1248
+ hideLikes?: boolean;
1249
+ hideComments?: boolean;
1162
1250
  }
1163
- declare const NewsDetailPreview: FC<NewsDetailPreviewProps>;
1251
+ declare const NewsDetailPreview: FC<SharedItemDetailPreviewProps>;
1252
+ declare const PageDetailPreview: FC<SharedItemDetailPreviewProps>;
1253
+ declare const EventDetailPreview: FC<SharedItemDetailPreviewProps>;
1164
1254
 
1165
1255
  declare const NewsItemPreviewContextProvider: FC<{
1166
1256
  itemId: string;
1167
1257
  versionId?: string;
1168
1258
  }>;
1169
1259
 
1260
+ declare const PageItemPreviewContextProvider: FC<{
1261
+ itemId: string;
1262
+ versionId?: string;
1263
+ }>;
1264
+
1265
+ declare const EventItemPreviewContextProvider: FC<{
1266
+ itemId: string;
1267
+ versionId?: string;
1268
+ }>;
1269
+
1170
1270
  interface FilterProps {
1171
1271
  filter: IndexableFilterDefinition;
1172
1272
  onChange: (filter: Partial<IndexableFilterDefinition> | null) => void;
@@ -1364,10 +1464,37 @@ declare const EventEditorPanel: FC<EventEditorPanelProps>;
1364
1464
  declare const EventEditorToolbarStateActions: FC;
1365
1465
 
1366
1466
  interface EventEditorToolbarRecurringControlsProps {
1367
- onRedirectToRecurrence: (id: string, isMaster: boolean) => void;
1368
- onResetModifiedInstance: () => void;
1369
1467
  className?: string;
1370
1468
  }
1371
1469
  declare const EventEditorToolbarRecurringControls: FC<EventEditorToolbarRecurringControlsProps>;
1372
1470
 
1373
- export { AuthorFilter, AuthorToolbarFilter, Avatar, Props as AvatarProps, ChannelFilter, ChannelFilterProps, ChannelSelectorWrapper as ChannelSelector, ChannelSelectorWrapperProps as ChannelSelectorProps, ChannelToolbarFilter, ClearAllFiltersButton, ClearAllFiltersButtonProps, ContactToolbarFilter, EditorToolbarIndicators, EditorToolbarIndicatorsProps, EventDatesToolbarFilter, EventDatesToolbarFilterProps, EventDetail, EventDetailProps, EventEditor, EventEditorContextProvider, EventEditorContextProviderProps, EventEditorPanel, EventEditorPanelProps, EventEditorProps, EventEditorToolbarRecurringControls, EventEditorToolbarRecurringControlsProps, EventEditorToolbarStateActions, EventGridProps, EventView, EventsEditorDashboard, EventsEditorDashboardProps, EventsGrid, EventsList, EventsListProps, FilterProps, FilterSearch, FilterWithLogicalOperator, GroupNotificationsSettings, GroupNotificationsSettingsProps, ItemLayoutMode, ItemResourceTypes, Keyword, ScrollableKeywordPicker as KeywordPicker, KeywordPickerProps, KeywordsFilter, KeywordsToolbarFilter, LibNewsFilterDefinition, LogicalOperator, ManageChannels, ManageChannelsProps, NewsDetail, NewsDetailPreview, NewsDetailPreviewProps, NewsDetailProps, NewsEditor, NewsEditorContextProvider, NewsEditorContextProviderProps, NewsEditorDashboard, NewsEditorDashboardProps, NewsEditorPanel, NewsEditorPanelProps, NewsEditorProps, NewsEditorToolbarStateActions, NewsGrid, NewsGridProps, NewsHero, NewsHeroProps, NewsItemContextProvider, NewsItemPreviewContextProvider, NewsList, NewsListProps, PageDetail, PageDetailProps, 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 };
1471
+ interface PageEditorContextProviderProps {
1472
+ itemId?: string;
1473
+ groupId?: string;
1474
+ parentId?: string;
1475
+ onSuccessfulCreate?: (itemId: string) => void;
1476
+ onSuccessfulDelete?: (itemId: number | string, status: WorkflowStatus) => void;
1477
+ onSuccessfulDeletePermanently?: (itemId: number | string) => void;
1478
+ }
1479
+ declare const PageEditorContextProvider: FC<PageEditorContextProviderProps>;
1480
+
1481
+ interface PageEditorProps {
1482
+ homeBreadcrumbTargetUrl?: string;
1483
+ className?: string;
1484
+ }
1485
+ declare const PageEditor: FC<PageEditorProps>;
1486
+
1487
+ declare const PageEditorToolbarStateActions: FC;
1488
+
1489
+ interface PageEditorPanelProps {
1490
+ className?: string;
1491
+ }
1492
+ declare const PageEditorPanel: FC<PageEditorPanelProps>;
1493
+
1494
+ interface ErrorWrapperProps {
1495
+ errorType: ErrorType;
1496
+ isList?: boolean;
1497
+ }
1498
+ declare const ErrorWrapper: FC<ErrorWrapperProps>;
1499
+
1500
+ 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{ab as AuthorFilter,aa as AuthorToolbarFilter,C as Avatar,a3 as ChannelFilter,ag as ChannelSelector,a4 as ChannelToolbarFilter,a7 as ClearAllFiltersButton,aA as ContactToolbarFilter,ao as EditorToolbarIndicators,aB as EventDatesToolbarFilter,E as EventDetail,aG as EventEditor,aH as EventEditorContextProvider,aI as EventEditorPanel,aK as EventEditorToolbarRecurringControls,aJ as EventEditorToolbarStateActions,af as EventView,G as EventsEditorDashboard,z as EventsGrid,A as EventsList,ac as FilterSearch,av as GroupNotificationsSettings,I as ItemLayoutMode,al as ItemResourceTypes,am as KeywordPicker,a8 as KeywordsFilter,a9 as KeywordsToolbarFilter,aC as LogicalOperator,M as ManageChannels,N as NewsDetail,Y as NewsDetailPreview,ah as NewsEditor,ai as NewsEditorContextProvider,F as NewsEditorDashboard,aq as NewsEditorPanel,ap as NewsEditorToolbarStateActions,y as NewsGrid,D as NewsHero,V as NewsItemContextProvider,Z as NewsItemPreviewContextProvider,x as NewsList,v as PageDetail,aF as PageType,aj as PageViewTrackerSettingsContextProvider,aD as PagesGrid,aE as PagesList,w as PostDetail,au as PostGroupSelector,ax as PostGroupSelectorButton,at as PostGroupsPicker,ar as PostInputBox,as as PostList,t as PostListContextProvider,a6 as PublishingDateFilter,a5 as PublishingDateToolbarFilter,R as ReachContextProvider,an as ReachDialog,ak as TargetLinkOverrideContextProvider,H as Toolbar,L as ToolbarChannelSelector,S as ToolbarCloseButton,ae as ToolbarEventViewSelector,a0 as ToolbarFilterModal,a1 as ToolbarFilterModalButton,$ as ToolbarFilterPanel,ad as ToolbarFilterSearch,ay as ToolbarFilterToggleButton,J as ToolbarIconButton,X as ToolbarManageNewsItemButton,O as ToolbarMarkAllEventsAsReadButton,Q as ToolbarMarkAllNewsAsReadButton,W as ToolbarNewsLanguageSelector,aw as ToolbarPostNotificationButton,K as ToolbarUnreadItemsButton,U as UserDetails,a2 as VerticalFilterPanel,az as isFilterActive,B as useCurrentUser}from"./index.esm2.js";import"react/jsx-runtime";import"events";import"react";import"office-ui-fabric-react";import"react-router-dom";import"react-is";import"styled-components";import"react-dom";import"office-ui-fabric-core/dist/css/fabric.css";import"office-ui-fabric-react/lib/common/DirectionalHint";import"react-dom/server";
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";