@livetiles/reach-components-react 0.5.0-preview.46 → 0.5.0-preview.462

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 (65) 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/PageGridCard.d.ts +1 -0
  14. package/PageItemContextProvider.d.ts +4 -0
  15. package/PageItemPreviewContextProvider.d.ts +5 -0
  16. package/PageTableOfContents.d.ts +3 -2
  17. package/PagesGrid.d.ts +1 -0
  18. package/PublishableItemEditorDashboard.d.ts +3 -2
  19. package/PublishableItemGrid.d.ts +3 -2
  20. package/PublishableItemList.d.ts +3 -2
  21. package/ReachContext.d.ts +12 -0
  22. package/SharedItemDetailPreview.d.ts +16 -0
  23. package/{ToolbarNewsLanguageSelector.d.ts → ToolbarLanguageSelector.d.ts} +1 -1
  24. package/asn1.esm.js +1 -0
  25. package/auto-track-6ea08514.esm.js +1 -0
  26. package/common/NewPublishableItemButton.d.ts +1 -0
  27. package/da.async.esm2.esm.js +1 -1
  28. package/de.async.esm2.esm.js +1 -1
  29. package/editor/EventEditorContextProvider.d.ts +9 -1
  30. package/editor/EventEditorToolbarRecurringControls.d.ts +0 -2
  31. package/editor/NewsEditorDashboard.d.ts +2 -1
  32. package/editor/PageEditor.d.ts +6 -0
  33. package/editor/PageEditorContextProvider.d.ts +11 -0
  34. package/editor/PageEditorPanel.d.ts +5 -0
  35. package/editor/PageEditorToolbarStateActions.d.ts +2 -0
  36. package/en.async.esm.esm.js +1 -1
  37. package/es.async.esm2.esm.js +1 -1
  38. package/fr.async.esm2.esm.js +1 -1
  39. package/index-1db5a755.esm.js +1 -0
  40. package/index-6ddba278.esm.js +1 -0
  41. package/index-aa1d556b.esm.js +1 -0
  42. package/index-ab7840fc.esm.js +1 -0
  43. package/index-b6c40f0f.esm.js +705 -0
  44. package/index-e51de45c.esm.js +1 -0
  45. package/index.d.ts +179 -61
  46. package/index.esm.js +1 -1
  47. package/index.esm2.js +33 -22
  48. package/index.umd-7f932f7d.esm.js +1 -0
  49. package/index.umd.js +741 -26
  50. package/is-plan-event-enabled-d9660f36.esm.js +1 -0
  51. package/it.async.esm2.esm.js +1 -1
  52. package/ja.async.esm2.esm.js +1 -1
  53. package/javascript.esm.js +1 -0
  54. package/mllike.esm.js +1 -0
  55. package/package.json +1 -1
  56. package/python.esm.js +1 -0
  57. package/rpm.esm.js +1 -0
  58. package/sql.esm.js +1 -0
  59. package/tr.async.esm2.esm.js +1 -1
  60. package/ttcn-cfg.esm.js +1 -0
  61. package/zh-CN.async.esm2.esm.js +1 -1
  62. package/zh-TW.async.esm2.esm.js +1 -1
  63. package/NewsDetailPreview.d.ts +0 -7
  64. package/da.async.esm3.esm.js +0 -1
  65. 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: 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;
@@ -447,19 +497,6 @@ interface BaseItem {
447
497
  id?: string;
448
498
  statistics?: ItemStatistics;
449
499
  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
500
  }
464
501
  interface Poll {
465
502
  questions: PollQuestion[];
@@ -494,6 +531,7 @@ interface PublishableItemContent extends ContentDefinition {
494
531
  headline?: string;
495
532
  intro?: string;
496
533
  body?: string;
534
+ bodyRaw?: string;
497
535
  customProperties?: {
498
536
  [key: string]: any;
499
537
  };
@@ -748,6 +786,7 @@ interface PageItem extends PublishableItem {
748
786
  isUnlinked?: boolean;
749
787
  pageType?: PageType;
750
788
  firstChildId?: string;
789
+ isGroupInheritanceBroken?: boolean;
751
790
  }
752
791
  interface ContentsSummary {
753
792
  [lang: string]: TitleContent & {
@@ -769,6 +808,7 @@ interface PageNavigationNode {
769
808
  hasAnyPageChild?: boolean;
770
809
  pageType?: PageType;
771
810
  useExternalContent?: boolean;
811
+ isGroupInheritanceBroken?: boolean;
772
812
  isSearchMatch?: boolean;
773
813
  topLevelFolderName?: string;
774
814
  uploadToken?: string;
@@ -783,6 +823,23 @@ declare enum PageType {
783
823
  Document = 1
784
824
  }
785
825
 
826
+ declare type KeywordsByGroupId = {
827
+ [key: string]: Keyword[];
828
+ };
829
+
830
+ interface SubscriptionData {
831
+ channels?: Channel[];
832
+ allKeywords?: Keyword[];
833
+ keywordsByGroupId?: KeywordsByGroupId;
834
+ selectedKeywordGroups?: KeywordGroup[];
835
+ }
836
+ interface LazySubscriptionContextType extends SubscriptionData {
837
+ getChannels: () => Promise<Channel[]>;
838
+ refreshSubscription: () => void;
839
+ }
840
+
841
+ declare function useLazySubscriptionContext(): LazySubscriptionContextType;
842
+
786
843
  declare const Dialog: FC<IDialogProps>;
787
844
 
788
845
  interface ToolbarProps {
@@ -873,8 +930,9 @@ declare const ToolbarEventViewSelector: FC<ToolbarEventViewSelectorProps>;
873
930
  interface Props extends IPersonaProps {
874
931
  upn: string;
875
932
  tenantId?: string;
876
- className?: string;
877
933
  displayName?: string;
934
+ forceShowSecondaryText?: boolean;
935
+ className?: string;
878
936
  }
879
937
  declare const Avatar: FC<Props>;
880
938
 
@@ -885,6 +943,13 @@ interface UserDetailsProps {
885
943
  }
886
944
  declare const UserDetails: FC<UserDetailsProps>;
887
945
 
946
+ declare enum ErrorType {
947
+ GenericError = "genericError",
948
+ Error404 = "error404",
949
+ Error403 = "error403",
950
+ LoginError = "loginError"
951
+ }
952
+
888
953
  interface PageViewTrackerSettings {
889
954
  disabled?: boolean;
890
955
  }
@@ -950,11 +1015,31 @@ interface NewsFilterDefinition extends PublishableItemFilterDefinition, AuthorFi
950
1015
  includeExpired?: boolean;
951
1016
  }
952
1017
 
953
- interface TargetLinkOverrideContextProps {
954
- onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
955
- onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
1018
+ interface Post extends BaseItem, ItemWithAttachments {
1019
+ id: string;
1020
+ comments?: PaginatedList<Comment>;
1021
+ groupId: string;
1022
+ content: string;
1023
+ permalink?: string;
1024
+ author: Account;
1025
+ publishingDate: string;
1026
+ modified?: string;
1027
+ statistics: ItemStatistics;
1028
+ keywords?: {
1029
+ [key: string]: Keyword[];
1030
+ };
1031
+ contentLanguageCode?: string;
1032
+ isLiked?: boolean;
1033
+ isUnread?: boolean;
1034
+ isDemoContent?: boolean;
1035
+ isFollowing?: boolean;
956
1036
  }
957
- declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
1037
+ interface PostFilterDefinition {
1038
+ token?: string;
1039
+ pageSize?: string;
1040
+ search?: string;
1041
+ keywords?: FilterWithLogicalOperator;
1042
+ }
958
1043
 
959
1044
  interface EventContactsFilterDefinition extends IndexableFilterDefinition {
960
1045
  contacts?: string[];
@@ -970,6 +1055,12 @@ interface EventFilterDefinition extends PublishableItemFilterDefinition, EventCo
970
1055
  pastEventsOnly?: boolean;
971
1056
  }
972
1057
 
1058
+ interface TargetLinkOverrideContextProps {
1059
+ onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
1060
+ onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
1061
+ }
1062
+ declare const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
1063
+
973
1064
  interface KeywordPickerProps {
974
1065
  value?: Keyword[] | string[];
975
1066
  onChange: (keywords: Keyword[], logicalOperator?: LogicalOperator) => void;
@@ -990,32 +1081,6 @@ interface PageFilterDefinition extends PublishableItemFilterDefinition {
990
1081
  pageType?: PageType;
991
1082
  }
992
1083
 
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
1084
  interface PostStreamFilterDefinition extends PostFilterDefinition, BeforePublishingDateFilterDefinition, AuthorFilterDefinition {
1020
1085
  }
1021
1086
 
@@ -1071,6 +1136,7 @@ interface NewsGridProps {
1071
1136
  onKeywordClick?: (keyword: string) => unknown;
1072
1137
  includeAllItems?: boolean;
1073
1138
  className?: string;
1139
+ hideIntro?: boolean;
1074
1140
  }
1075
1141
  declare const NewsGrid: FC<NewsGridProps>;
1076
1142
 
@@ -1128,6 +1194,7 @@ interface NewsEditorDashboardProps {
1128
1194
  groupId?: string;
1129
1195
  className?: string;
1130
1196
  onItemClick?: (item: NewsItem) => unknown;
1197
+ onCreateNewItemClick?: (itemResourceType: ItemResourceTypes, groupId: string) => unknown;
1131
1198
  pageSize?: number;
1132
1199
  hidePagination?: boolean;
1133
1200
  }
@@ -1137,6 +1204,7 @@ interface EventsEditorDashboardProps {
1137
1204
  groupId?: string;
1138
1205
  className?: string;
1139
1206
  onItemClick?: (item: EventItem) => unknown;
1207
+ onCreateNewItemClick?: (itemResourceType: ItemResourceTypes, groupId: string) => unknown;
1140
1208
  pageSize?: number;
1141
1209
  hidePagination?: boolean;
1142
1210
  }
@@ -1146,7 +1214,15 @@ declare const NewsItemContextProvider: FC<{
1146
1214
  itemId: string;
1147
1215
  }>;
1148
1216
 
1149
- declare const ToolbarNewsLanguageSelector: FC<{
1217
+ declare const PageItemContextProvider: FC<{
1218
+ itemId: string;
1219
+ }>;
1220
+
1221
+ declare const EventItemContextProvider: FC<{
1222
+ itemId: string;
1223
+ }>;
1224
+
1225
+ declare const ToolbarLanguageSelector: FC<{
1150
1226
  showEditLanguagePreferences?: boolean;
1151
1227
  onEditLanguagePreferences?: () => unknown;
1152
1228
  }>;
@@ -1155,18 +1231,32 @@ declare const ToolbarManageNewsItemButton: FC<{
1155
1231
  onClick?: (itemId: string) => unknown;
1156
1232
  }>;
1157
1233
 
1158
- interface NewsDetailPreviewProps {
1234
+ interface SharedItemDetailPreviewProps {
1159
1235
  itemId?: string;
1160
1236
  versionId?: string;
1161
1237
  className?: string;
1238
+ hideLikes?: boolean;
1239
+ hideComments?: boolean;
1162
1240
  }
1163
- declare const NewsDetailPreview: FC<NewsDetailPreviewProps>;
1241
+ declare const NewsDetailPreview: FC<SharedItemDetailPreviewProps>;
1242
+ declare const PageDetailPreview: FC<SharedItemDetailPreviewProps>;
1243
+ declare const EventDetailPreview: FC<SharedItemDetailPreviewProps>;
1164
1244
 
1165
1245
  declare const NewsItemPreviewContextProvider: FC<{
1166
1246
  itemId: string;
1167
1247
  versionId?: string;
1168
1248
  }>;
1169
1249
 
1250
+ declare const PageItemPreviewContextProvider: FC<{
1251
+ itemId: string;
1252
+ versionId?: string;
1253
+ }>;
1254
+
1255
+ declare const EventItemPreviewContextProvider: FC<{
1256
+ itemId: string;
1257
+ versionId?: string;
1258
+ }>;
1259
+
1170
1260
  interface FilterProps {
1171
1261
  filter: IndexableFilterDefinition;
1172
1262
  onChange: (filter: Partial<IndexableFilterDefinition> | null) => void;
@@ -1324,6 +1414,7 @@ interface PagesGridProps {
1324
1414
  rowCount?: number;
1325
1415
  onItemClick?: (item: PageItem, itemUrl?: string, isTitleClicked?: boolean) => unknown;
1326
1416
  onKeywordClick?: (keyword: string) => unknown;
1417
+ hideIntro?: boolean;
1327
1418
  className?: string;
1328
1419
  }
1329
1420
  declare const PagesGrid: FC<PagesGridProps>;
@@ -1364,10 +1455,37 @@ declare const EventEditorPanel: FC<EventEditorPanelProps>;
1364
1455
  declare const EventEditorToolbarStateActions: FC;
1365
1456
 
1366
1457
  interface EventEditorToolbarRecurringControlsProps {
1367
- onRedirectToRecurrence: (id: string, isMaster: boolean) => void;
1368
- onResetModifiedInstance: () => void;
1369
1458
  className?: string;
1370
1459
  }
1371
1460
  declare const EventEditorToolbarRecurringControls: FC<EventEditorToolbarRecurringControlsProps>;
1372
1461
 
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 };
1462
+ interface PageEditorContextProviderProps {
1463
+ itemId?: string;
1464
+ groupId?: string;
1465
+ parentId?: string;
1466
+ onSuccessfulCreate?: (itemId: string) => void;
1467
+ onSuccessfulDelete?: (itemId: number | string, status: WorkflowStatus) => void;
1468
+ onSuccessfulDeletePermanently?: (itemId: number | string) => void;
1469
+ }
1470
+ declare const PageEditorContextProvider: FC<PageEditorContextProviderProps>;
1471
+
1472
+ interface PageEditorProps {
1473
+ homeBreadcrumbTargetUrl?: string;
1474
+ className?: string;
1475
+ }
1476
+ declare const PageEditor: FC<PageEditorProps>;
1477
+
1478
+ declare const PageEditorToolbarStateActions: FC;
1479
+
1480
+ interface PageEditorPanelProps {
1481
+ className?: string;
1482
+ }
1483
+ declare const PageEditorPanel: FC<PageEditorPanelProps>;
1484
+
1485
+ interface ErrorWrapperProps {
1486
+ errorType: ErrorType;
1487
+ isList?: boolean;
1488
+ }
1489
+ declare const ErrorWrapper: FC<ErrorWrapperProps>;
1490
+
1491
+ 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,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";