@livetiles/reach-components-react 0.5.0-preview.43 → 0.5.0-preview.430

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 +177 -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,21 @@ 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
+ newsEditorFeedbackSection = "NewsEditorFeedbackSection",
346
+ newsOverviewCardSection = "NewsOverviewCardSection"
347
+ }
348
+ declare type InlinePlugin = {
349
+ area: ExtensionArea.itemEditor;
350
+ objectButton: PluginObjectButton;
351
+ };
352
+ declare type PagePlugin = {
353
+ area: ExtensionArea.page;
320
354
  route: string;
321
355
  navigationNode?: {
322
356
  componentName?: string;
@@ -326,7 +360,20 @@ interface PluginExtension {
326
360
  [key: string]: string;
327
361
  };
328
362
  };
329
- }
363
+ };
364
+ declare type PluginExtension = {
365
+ area: ExtensionArea;
366
+ componentName: string;
367
+ } & (InlinePlugin | PagePlugin);
368
+ declare type PluginObjectButton = {
369
+ buttonLabel: {
370
+ defaultLabel: string;
371
+ translations?: {
372
+ [key: string]: string;
373
+ };
374
+ };
375
+ iconName: string;
376
+ };
330
377
  interface PluginNotificationDefinitions {
331
378
  key: string;
332
379
  title: string;
@@ -368,6 +415,14 @@ interface Channel {
368
415
  };
369
416
  }
370
417
 
418
+ interface KeywordGroup {
419
+ id: string;
420
+ name: string;
421
+ keywords: Keyword[];
422
+ translations: {
423
+ [key: string]: string;
424
+ };
425
+ }
371
426
  interface Keyword {
372
427
  id: string;
373
428
  name: string;
@@ -420,11 +475,6 @@ interface NewsItem extends SchedulableItem {
420
475
  knownState: KnownNewsState;
421
476
  hasNewComments?: boolean;
422
477
  isLiked?: boolean;
423
- shareToken?: ShareToken;
424
- }
425
- interface ShareToken {
426
- published?: string;
427
- preview?: string;
428
478
  }
429
479
  interface NewsItemAlertOptions {
430
480
  duration?: string;
@@ -748,6 +798,7 @@ interface PageItem extends PublishableItem {
748
798
  isUnlinked?: boolean;
749
799
  pageType?: PageType;
750
800
  firstChildId?: string;
801
+ isGroupInheritanceBroken?: boolean;
751
802
  }
752
803
  interface ContentsSummary {
753
804
  [lang: string]: TitleContent & {
@@ -769,6 +820,7 @@ interface PageNavigationNode {
769
820
  hasAnyPageChild?: boolean;
770
821
  pageType?: PageType;
771
822
  useExternalContent?: boolean;
823
+ isGroupInheritanceBroken?: boolean;
772
824
  isSearchMatch?: boolean;
773
825
  topLevelFolderName?: string;
774
826
  uploadToken?: string;
@@ -783,6 +835,23 @@ declare enum PageType {
783
835
  Document = 1
784
836
  }
785
837
 
838
+ declare type KeywordsByGroupId = {
839
+ [key: string]: Keyword[];
840
+ };
841
+
842
+ interface SubscriptionData {
843
+ channels?: Channel[];
844
+ allKeywords?: Keyword[];
845
+ keywordsByGroupId?: KeywordsByGroupId;
846
+ selectedKeywordGroups?: KeywordGroup[];
847
+ }
848
+ interface LazySubscriptionContextType extends SubscriptionData {
849
+ getChannels: () => Promise<Channel[]>;
850
+ refreshSubscription: () => void;
851
+ }
852
+
853
+ declare function useLazySubscriptionContext(): LazySubscriptionContextType;
854
+
786
855
  declare const Dialog: FC<IDialogProps>;
787
856
 
788
857
  interface ToolbarProps {
@@ -873,8 +942,9 @@ declare const ToolbarEventViewSelector: FC<ToolbarEventViewSelectorProps>;
873
942
  interface Props extends IPersonaProps {
874
943
  upn: string;
875
944
  tenantId?: string;
876
- className?: string;
877
945
  displayName?: string;
946
+ forceShowSecondaryText?: boolean;
947
+ className?: string;
878
948
  }
879
949
  declare const Avatar: FC<Props>;
880
950
 
@@ -885,6 +955,13 @@ interface UserDetailsProps {
885
955
  }
886
956
  declare const UserDetails: FC<UserDetailsProps>;
887
957
 
958
+ declare enum ErrorType {
959
+ GenericError = "genericError",
960
+ Error404 = "error404",
961
+ Error403 = "error403",
962
+ LoginError = "loginError"
963
+ }
964
+
888
965
  interface PageViewTrackerSettings {
889
966
  disabled?: boolean;
890
967
  }
@@ -950,11 +1027,31 @@ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFi
950
1027
  includeExpired?: boolean;
951
1028
  }
952
1029
 
953
- interface TargetLinkOverrideContextProps {
954
- onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
955
- onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
1030
+ interface Post extends BaseItem, ItemWithAttachments {
1031
+ id: string;
1032
+ comments?: PaginatedList<Comment>;
1033
+ groupId: string;
1034
+ content: string;
1035
+ permalink?: string;
1036
+ author: Account;
1037
+ publishingDate: string;
1038
+ modified?: string;
1039
+ statistics: ItemStatistics;
1040
+ keywords?: {
1041
+ [key: string]: Keyword[];
1042
+ };
1043
+ contentLanguageCode?: string;
1044
+ isLiked?: boolean;
1045
+ isUnread?: boolean;
1046
+ isDemoContent?: boolean;
1047
+ isFollowing?: boolean;
956
1048
  }
957
- declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
1049
+ interface PostFilterDefinition {
1050
+ token?: string;
1051
+ pageSize?: string;
1052
+ search?: string;
1053
+ keywords?: FilterWithLogicalOperator;
1054
+ }
958
1055
 
959
1056
  interface EventContactsFilterDefinition extends IndexableFilterDefinition {
960
1057
  contacts?: string[];
@@ -970,6 +1067,12 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
970
1067
  pastEventsOnly?: boolean;
971
1068
  }
972
1069
 
1070
+ interface TargetLinkOverrideContextProps {
1071
+ onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
1072
+ onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
1073
+ }
1074
+ declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
1075
+
973
1076
  interface KeywordPickerProps {
974
1077
  value?: Keyword[] | string[];
975
1078
  onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
@@ -990,32 +1093,6 @@ interface PageFilterDefinition extends PublishableItemFilterDefinition {
990
1093
  pageType?: PageType;
991
1094
  }
992
1095
 
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
1096
  interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
1020
1097
  }
1021
1098
 
@@ -1071,6 +1148,7 @@ interface NewsGridProps {
1071
1148
  onKeywordClick?: (keyword: string) => unknown;
1072
1149
  includeAllItems?: boolean;
1073
1150
  className?: string;
1151
+ hideIntro?: boolean;
1074
1152
  }
1075
1153
  declare const NewsGrid: FC<NewsGridProps>;
1076
1154
 
@@ -1128,6 +1206,7 @@ interface NewsEditorDashboardProps {
1128
1206
  groupId?: string;
1129
1207
  className?: string;
1130
1208
  onItemClick?: (item: NewsItem) => unknown;
1209
+ onCreateNewItemClick?: (itemResourceType: ItemResourceTypes, groupId: string) => unknown;
1131
1210
  pageSize?: number;
1132
1211
  hidePagination?: boolean;
1133
1212
  }
@@ -1137,6 +1216,7 @@ interface EventsEditorDashboardProps {
1137
1216
  groupId?: string;
1138
1217
  className?: string;
1139
1218
  onItemClick?: (item: EventItem) => unknown;
1219
+ onCreateNewItemClick?: (itemResourceType: ItemResourceTypes, groupId: string) => unknown;
1140
1220
  pageSize?: number;
1141
1221
  hidePagination?: boolean;
1142
1222
  }
@@ -1146,7 +1226,15 @@ declare const NewsItemContextProvider: FC<{
1146
1226
  itemId: string;
1147
1227
  }>;
1148
1228
 
1149
- declare const ToolbarNewsLanguageSelector: FC<{
1229
+ declare const PageItemContextProvider: FC<{
1230
+ itemId: string;
1231
+ }>;
1232
+
1233
+ declare const EventItemContextProvider: FC<{
1234
+ itemId: string;
1235
+ }>;
1236
+
1237
+ declare const ToolbarLanguageSelector: FC<{
1150
1238
  showEditLanguagePreferences?: boolean;
1151
1239
  onEditLanguagePreferences?: () => unknown;
1152
1240
  }>;
@@ -1155,18 +1243,32 @@ declare const ToolbarManageNewsItemButton: FC<{
1155
1243
  onClick?: (itemId: string) => unknown;
1156
1244
  }>;
1157
1245
 
1158
- interface NewsDetailPreviewProps {
1246
+ interface SharedItemDetailPreviewProps {
1159
1247
  itemId?: string;
1160
1248
  versionId?: string;
1161
1249
  className?: string;
1250
+ hideLikes?: boolean;
1251
+ hideComments?: boolean;
1162
1252
  }
1163
- declare const NewsDetailPreview: FC<NewsDetailPreviewProps>;
1253
+ declare const NewsDetailPreview: FC<SharedItemDetailPreviewProps>;
1254
+ declare const PageDetailPreview: FC<SharedItemDetailPreviewProps>;
1255
+ declare const EventDetailPreview: FC<SharedItemDetailPreviewProps>;
1164
1256
 
1165
1257
  declare const NewsItemPreviewContextProvider: FC<{
1166
1258
  itemId: string;
1167
1259
  versionId?: string;
1168
1260
  }>;
1169
1261
 
1262
+ declare const PageItemPreviewContextProvider: FC<{
1263
+ itemId: string;
1264
+ versionId?: string;
1265
+ }>;
1266
+
1267
+ declare const EventItemPreviewContextProvider: FC<{
1268
+ itemId: string;
1269
+ versionId?: string;
1270
+ }>;
1271
+
1170
1272
  interface FilterProps {
1171
1273
  filter: IndexableFilterDefinition;
1172
1274
  onChange: (filter: Partial<IndexableFilterDefinition> | null) => void;
@@ -1364,10 +1466,37 @@ declare const EventEditorPanel: FC<EventEditorPanelProps>;
1364
1466
  declare const EventEditorToolbarStateActions: FC;
1365
1467
 
1366
1468
  interface EventEditorToolbarRecurringControlsProps {
1367
- onRedirectToRecurrence: (id: string, isMaster: boolean) => void;
1368
- onResetModifiedInstance: () => void;
1369
1469
  className?: string;
1370
1470
  }
1371
1471
  declare const EventEditorToolbarRecurringControls: FC<EventEditorToolbarRecurringControlsProps>;
1372
1472
 
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 };
1473
+ interface PageEditorContextProviderProps {
1474
+ itemId?: string;
1475
+ groupId?: string;
1476
+ parentId?: string;
1477
+ onSuccessfulCreate?: (itemId: string) => void;
1478
+ onSuccessfulDelete?: (itemId: number | string, status: WorkflowStatus) => void;
1479
+ onSuccessfulDeletePermanently?: (itemId: number | string) => void;
1480
+ }
1481
+ declare const PageEditorContextProvider: FC<PageEditorContextProviderProps>;
1482
+
1483
+ interface PageEditorProps {
1484
+ homeBreadcrumbTargetUrl?: string;
1485
+ className?: string;
1486
+ }
1487
+ declare const PageEditor: FC<PageEditorProps>;
1488
+
1489
+ declare const PageEditorToolbarStateActions: FC;
1490
+
1491
+ interface PageEditorPanelProps {
1492
+ className?: string;
1493
+ }
1494
+ declare const PageEditorPanel: FC<PageEditorPanelProps>;
1495
+
1496
+ interface ErrorWrapperProps {
1497
+ errorType: ErrorType;
1498
+ isList?: boolean;
1499
+ }
1500
+ declare const ErrorWrapper: FC<ErrorWrapperProps>;
1501
+
1502
+ 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";