@omnia/wcm 6.6.121-preview → 6.7.101-preview

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 (127) hide show
  1. package/internal-do-not-import-from-here/core/Constants.d.ts +1 -0
  2. package/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +10 -0
  3. package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +74 -5
  4. package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +4 -0
  5. package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +31 -1
  6. package/internal-do-not-import-from-here/core/ux/FilterTaxonomyValueInput.d.ts +27 -0
  7. package/internal-do-not-import-from-here/core/ux/index.d.ts +1 -0
  8. package/internal-do-not-import-from-here/fx/constants.d.ts +1 -0
  9. package/internal-do-not-import-from-here/fx/factory/PageFactory.d.ts +5 -0
  10. package/internal-do-not-import-from-here/fx/internal/models/PagesDashboard.d.ts +11 -1
  11. package/internal-do-not-import-from-here/fx/internal/stores/YammerIntegrationStore.d.ts +24 -0
  12. package/internal-do-not-import-from-here/fx/internal/stores/index.d.ts +1 -0
  13. package/internal-do-not-import-from-here/fx/models/Constants.d.ts +2 -0
  14. package/internal-do-not-import-from-here/fx/models/Constants.js +4 -2
  15. package/internal-do-not-import-from-here/fx/models/Enums.d.ts +6 -2
  16. package/internal-do-not-import-from-here/fx/models/Enums.js +4 -0
  17. package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +10 -0
  18. package/internal-do-not-import-from-here/fx/models/ManifestIds.js +46 -0
  19. package/internal-do-not-import-from-here/fx/models/channels/Channel.d.ts +18 -0
  20. package/internal-do-not-import-from-here/fx/models/channels/Channel.js +3 -0
  21. package/internal-do-not-import-from-here/fx/models/channels/ChannelHttpModels.d.ts +5 -0
  22. package/internal-do-not-import-from-here/fx/models/channels/ChannelHttpModels.js +1 -0
  23. package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.d.ts +13 -0
  24. package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.js +6 -0
  25. package/internal-do-not-import-from-here/fx/models/channels/index.d.ts +3 -0
  26. package/internal-do-not-import-from-here/fx/models/channels/index.js +3 -0
  27. package/internal-do-not-import-from-here/fx/models/components/AccordionBlock.d.ts +2 -0
  28. package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.d.ts +21 -0
  29. package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.js +14 -0
  30. package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlock.d.ts +28 -0
  31. package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlock.js +5 -0
  32. package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlockStyles.d.ts +1 -0
  33. package/internal-do-not-import-from-here/fx/models/components/ChannelCardViewStyles.d.ts +6 -0
  34. package/internal-do-not-import-from-here/fx/models/components/ChannelCardViewStyles.js +1 -0
  35. package/internal-do-not-import-from-here/fx/models/components/LinkPicker.d.ts +6 -1
  36. package/internal-do-not-import-from-here/fx/models/components/MegaMenuStyles.d.ts +1 -1
  37. package/internal-do-not-import-from-here/fx/models/components/PageCommentLikeBlock.d.ts +1 -0
  38. package/internal-do-not-import-from-here/fx/models/components/PageFeedbackBlock.d.ts +7 -1
  39. package/internal-do-not-import-from-here/fx/models/components/PageFeedbackBlock.js +6 -1
  40. package/internal-do-not-import-from-here/fx/models/components/PageFeedbacksStyles.d.ts +1 -0
  41. package/internal-do-not-import-from-here/fx/models/components/PagePropertiesBlockStyles.d.ts +1 -0
  42. package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +11 -0
  43. package/internal-do-not-import-from-here/fx/models/components/PageRollupBlockStyles.d.ts +1 -0
  44. package/internal-do-not-import-from-here/fx/models/components/index.d.ts +1 -0
  45. package/internal-do-not-import-from-here/fx/models/components/index.js +1 -0
  46. package/internal-do-not-import-from-here/fx/models/eventmanagement/EventDetail.d.ts +1 -0
  47. package/internal-do-not-import-from-here/fx/models/governancedashboard/UserPropertyMetricsSettings.d.ts +3 -0
  48. package/internal-do-not-import-from-here/fx/models/governancedashboard/UserPropertyMetricsSettings.js +1 -0
  49. package/internal-do-not-import-from-here/fx/models/governancedashboard/index.d.ts +1 -0
  50. package/internal-do-not-import-from-here/fx/models/governancedashboard/index.js +1 -0
  51. package/internal-do-not-import-from-here/fx/models/index.d.ts +1 -0
  52. package/internal-do-not-import-from-here/fx/models/index.js +1 -0
  53. package/internal-do-not-import-from-here/fx/models/loc/localize.d.ts +2 -0
  54. package/internal-do-not-import-from-here/fx/models/mediapicker/MediaPickerProviderContext.d.ts +13 -0
  55. package/internal-do-not-import-from-here/fx/models/mediapicker/MediaPickerProviderContext.js +26 -0
  56. package/internal-do-not-import-from-here/fx/models/mediapicker/index.d.ts +1 -0
  57. package/internal-do-not-import-from-here/fx/models/mediapicker/index.js +1 -0
  58. package/internal-do-not-import-from-here/fx/models/navigation/NavigationNode.d.ts +1 -0
  59. package/internal-do-not-import-from-here/fx/models/pagequery/IPageRollupViewInterface.d.ts +1 -0
  60. package/internal-do-not-import-from-here/fx/models/pagequery/NavigationViewSettings.d.ts +1 -2
  61. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +4 -2
  62. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +2 -0
  63. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts +2 -0
  64. package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +15 -2
  65. package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.js +6 -0
  66. package/internal-do-not-import-from-here/fx/models/pages/PageTypeData.d.ts +6 -0
  67. package/internal-do-not-import-from-here/fx/models/propertybags/approutes/PublishingAppArchiveSettingsRouteProperty.d.ts +6 -0
  68. package/internal-do-not-import-from-here/fx/models/propertybags/approutes/PublishingAppArchiveSettingsRouteProperty.js +11 -0
  69. package/internal-do-not-import-from-here/fx/models/propertybags/approutes/index.d.ts +1 -0
  70. package/internal-do-not-import-from-here/fx/models/propertybags/approutes/index.js +1 -0
  71. package/internal-do-not-import-from-here/fx/models/social/Activities/BadgeAwardedActivity.d.ts +2 -2
  72. package/internal-do-not-import-from-here/fx/models/social/Activities/NewPageActivity.d.ts +2 -2
  73. package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentActivity.d.ts +2 -2
  74. package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentMentionActivity.d.ts +2 -2
  75. package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentReplyActivity.d.ts +2 -2
  76. package/internal-do-not-import-from-here/fx/models/yammer/YammerGroup.d.ts +39 -0
  77. package/internal-do-not-import-from-here/fx/models/yammer/YammerGroup.js +1 -0
  78. package/internal-do-not-import-from-here/fx/models/yammer/YammerMessage.d.ts +42 -0
  79. package/internal-do-not-import-from-here/fx/models/yammer/YammerMessage.js +1 -0
  80. package/internal-do-not-import-from-here/fx/models/yammer/YammerTracking.d.ts +9 -0
  81. package/internal-do-not-import-from-here/fx/models/yammer/YammerTracking.js +1 -0
  82. package/internal-do-not-import-from-here/fx/routing/WcmRouter.d.ts +1 -0
  83. package/internal-do-not-import-from-here/fx/services/CalendarService.d.ts +1 -0
  84. package/internal-do-not-import-from-here/fx/services/ChannelManagementService.d.ts +23 -0
  85. package/internal-do-not-import-from-here/fx/services/PublishingRuleService.d.ts +4 -4
  86. package/internal-do-not-import-from-here/fx/services/YammerService.d.ts +15 -0
  87. package/internal-do-not-import-from-here/fx/services/index.d.ts +2 -0
  88. package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +79 -0
  89. package/internal-do-not-import-from-here/fx/stores/CurrentPageStore.d.ts +1 -0
  90. package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +4 -1
  91. package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +1 -0
  92. package/internal-do-not-import-from-here/fx/stores/PublishingRuleStore.d.ts +5 -5
  93. package/internal-do-not-import-from-here/fx/stores/index.d.ts +1 -0
  94. package/internal-do-not-import-from-here/fx/ux/InternalUxCore.d.ts +8 -2
  95. package/internal-do-not-import-from-here/fx/ux/loc/localize.d.ts +3 -0
  96. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/EnterpriseGlossarySuggestionConfiguration.d.ts +8 -0
  97. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/EnterpriseGlossarySuggestionExtension.d.ts +7 -0
  98. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/components/SuggestionComponent.d.ts +16 -0
  99. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/components/SuggestionComponent.manifest.d.ts +1 -0
  100. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/index.d.ts +2 -0
  101. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/loc/localize.d.ts +12 -0
  102. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/loc/localize.manifest.d.ts +1 -0
  103. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/EnterpriseGlossarySuggestionConfiguration.d.ts +4 -0
  104. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/SussgestionMatch.d.ts +6 -0
  105. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/index.d.ts +2 -0
  106. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/EnterpriseGlossarySuggestionNode.d.ts +14 -0
  107. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/EnterpriseSuggestionIgnore.d.ts +6 -0
  108. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/index.d.ts +2 -0
  109. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/plugins/EnterpriseGlossarySuggestion.css.d.ts +1 -0
  110. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/plugins/EnterpriseGlossarySuggestion.d.ts +4 -0
  111. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/plugins/index.d.ts +1 -0
  112. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerMenu.d.ts +4 -2
  113. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerToolbar.d.ts +1 -0
  114. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/index.d.ts +1 -0
  115. package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
  116. package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.manifest.json +1 -1
  117. package/internal-do-not-import-from-here/manifests/omnia.wcm.fxux.manifest.json +1 -1
  118. package/internal-do-not-import-from-here/models/pagestatistics/Reports.d.ts +29 -43
  119. package/internal-do-not-import-from-here/models/publishingapp/approval/PageApproval.d.ts +3 -2
  120. package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.d.ts +1 -0
  121. package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.js +2 -1
  122. package/internal-do-not-import-from-here/models/publishingapp/schedule/PageSchedule.d.ts +14 -6
  123. package/internal-do-not-import-from-here/models/publishingapp/schedule/PageSchedule.js +5 -5
  124. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.d.ts +3 -3
  125. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.js +3 -3
  126. package/internal-do-not-import-from-here/wcdefinitions.json +1 -137
  127. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { PageCommentActivity } from './PageCommentActivity';
2
- import { GuidValue } from '@omnia/fx-models';
2
+ import { Identity } from '@omnia/fx-models';
3
3
  export interface PageCommentMentionActivity extends PageCommentActivity {
4
- readonly mentionedUserId: GuidValue;
4
+ readonly mentionedUserId: Identity;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { PageCommentActivity, CommentContent } from './PageCommentActivity';
2
- import { GuidValue } from '@omnia/fx-models';
2
+ import { Identity, GuidValue } from '@omnia/fx-models';
3
3
  export interface PageCommentReplyActivity extends PageCommentActivity {
4
4
  /**
5
5
  * The id of the comment to which the commentId is a reply
@@ -8,7 +8,7 @@ export interface PageCommentReplyActivity extends PageCommentActivity {
8
8
  /**
9
9
  * The user id of the owner of the comment which got the reply (i.e. source comment)
10
10
  * */
11
- readonly repliedCommentCreatedBy: GuidValue;
11
+ readonly repliedCommentCreatedBy: Identity;
12
12
  /**
13
13
  * The content of the replied comment (i.e. source comment)
14
14
  * */
@@ -0,0 +1,39 @@
1
+ export interface YammerGroup {
2
+ type: string;
3
+ id: number;
4
+ email: string;
5
+ full_name: string;
6
+ network_id: 11795691;
7
+ name: string;
8
+ description: string;
9
+ privacy: string;
10
+ url: string;
11
+ web_url: string;
12
+ mugshot_url: string;
13
+ mugshot_redirect_url: string;
14
+ mugshot_url_template: string;
15
+ mugshot_redirect_url_template: string;
16
+ mugshot_id: number;
17
+ show_in_directory: boolean;
18
+ created_at: string;
19
+ aad_guests: number;
20
+ color: string;
21
+ external: boolean;
22
+ moderated: boolean;
23
+ header_image_url: string;
24
+ category: string;
25
+ default_thread_starter_type: string;
26
+ restricted_posting: boolean;
27
+ company_group: boolean;
28
+ creator_type: string;
29
+ creator_id: number;
30
+ state: string;
31
+ stats: Stats;
32
+ }
33
+ export interface Stats {
34
+ members: number;
35
+ aad_guests: number;
36
+ updates: number;
37
+ last_message_id: number;
38
+ last_message_at: string;
39
+ }
@@ -0,0 +1,42 @@
1
+ export interface YammerMessage {
2
+ id: number;
3
+ sender_id: number;
4
+ delegate_id: number;
5
+ replied_to_id: number;
6
+ created_at: string;
7
+ network_id: number;
8
+ message_type: string;
9
+ sender_type: string;
10
+ url: string;
11
+ web_url: string;
12
+ group_id: number;
13
+ body: Body;
14
+ thread_id: number;
15
+ client_type: string;
16
+ client_url: string;
17
+ system_message: boolean;
18
+ direct_message: boolean;
19
+ language: string;
20
+ notified_user_ids: Array<number>;
21
+ privacy: string;
22
+ attachments: any[];
23
+ liked_by: LikeBy;
24
+ content_excerpt: string;
25
+ group_created_id: number;
26
+ }
27
+ export interface Body {
28
+ parsed: string;
29
+ plain: string;
30
+ rich: string;
31
+ }
32
+ export interface LikeBy {
33
+ count: number;
34
+ names: Array<number>;
35
+ }
36
+ export interface YammerMessagePost {
37
+ body: string;
38
+ replied_to_id?: number;
39
+ direct_to_user_ids?: Array<number>;
40
+ group_id?: number;
41
+ network_id?: number;
42
+ }
@@ -0,0 +1,9 @@
1
+ import { GuidValue } from "@omnia/fx/models";
2
+ import { PageId } from "../pages";
3
+ export interface YammerTracking {
4
+ id: GuidValue;
5
+ pageId: PageId;
6
+ yammerGroupId: number;
7
+ yammerThreadId: number;
8
+ businessProfileId: GuidValue;
9
+ }
@@ -19,6 +19,7 @@ export declare class WcmRouter {
19
19
  private loadTreeForPath;
20
20
  navigate<T extends NavigationNode<NavigationData>>(to: T, targetVariationId?: any): Promise<T>;
21
21
  onDisposing(): void;
22
+ private executeScrollingIfNeeded;
22
23
  private executeNewNavigationState;
23
24
  private isSameNavigationState;
24
25
  /**
@@ -10,6 +10,7 @@ export declare class CalendarService {
10
10
  queryNextEvents: (calendars: Array<Calendar>) => Promise<EventQueryResponse[]>;
11
11
  searchOfficeGroupCalendar: (filter: OfficeGroupCalendarRollupFilter) => Promise<Calendar[]>;
12
12
  copyToMyCalendar: (eventId: string) => Promise<Event>;
13
+ getEventById: (groupId: string, eventId: string) => Promise<Event>;
13
14
  getCalendarByPageCollectionId: (pageCollectionId: number) => Promise<EventCalendar>;
14
15
  addOrUpdateCalendar: (item: EventCalendar) => Promise<EventCalendar>;
15
16
  getOutlookCalendars: (item: OutlookCalendarQuery) => Promise<Array<OutlookCalendar>>;
@@ -0,0 +1,23 @@
1
+ import { Identity, MediaPickerImage, MultilingualString } from '@omnia/fx/models';
2
+ import { Channel, PageId, UserAuthorizedChannelResources, ChannelPage, PublishingStatus, ChannelId } from '../models';
3
+ export declare class ChannelManagementService {
4
+ private httpClient;
5
+ constructor();
6
+ createChannel: (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Array<Identity>, image: MediaPickerImage, administrator: Array<Identity>, publisher: Array<Identity>) => Promise<Channel>;
7
+ updateChannel: (updateData: Channel) => Promise<Channel>;
8
+ getChannels: () => Promise<Array<Channel>>;
9
+ getSuggestedChannels: () => Promise<Channel[]>;
10
+ getChannelById: (channelId: number) => Promise<Channel>;
11
+ getChannelPages: (pageId: PageId) => Promise<ChannelPage[]>;
12
+ getPublishedChannelsByPageIds: (pageIds: PageId[]) => Promise<{
13
+ [pageId: number]: Channel[];
14
+ }>;
15
+ deleteChannel: (channelId: ChannelId) => Promise<Channel>;
16
+ getUserPermissions: (userIdentity: string) => Promise<UserAuthorizedChannelResources>;
17
+ getChannelPagesByStatus: (status: PublishingStatus) => Promise<Array<ChannelPage>>;
18
+ approveChannel: (channel: Channel, pageId: PageId) => Promise<ChannelPage>;
19
+ rejectChannel: (channel: Channel, pageId: PageId) => Promise<ChannelPage>;
20
+ addPageToChannels: (pageId: number, channelToPublishTo: Array<ChannelId>) => Promise<Array<ChannelPage>>;
21
+ publishAddedPageToChannel: (pageId: PageId) => Promise<Array<ChannelPage>>;
22
+ publishPageToChannels: (pageId: number, channelToPublishTo: Array<ChannelId>) => Promise<Array<ChannelPage>>;
23
+ }
@@ -1,6 +1,6 @@
1
1
  import { PageId, PublishingRule, VersionId, PublishingRuleData, PageData, ApprovalRequestInfo } from '../models';
2
2
  import { RejectPageInfo } from '../models/publishingrule/RejectPageInfo';
3
- import { PageApproval } from '../../models';
3
+ import { ApprovalRuleData } from '../../models';
4
4
  export declare class PublishingRuleService {
5
5
  private httpClient;
6
6
  private readonly baseUrl;
@@ -9,10 +9,10 @@ export declare class PublishingRuleService {
9
9
  [versionId: number]: PublishingRule<PublishingRuleData>[];
10
10
  }>;
11
11
  updateRule: (rule: PublishingRule) => Promise<PublishingRule>;
12
- cancelApproval: (rule: PublishingRule<PageApproval>) => Promise<Array<PublishingRule>>;
13
- approveApproval: (rule: PublishingRule<PageApproval>) => Promise<PublishingRule<PageApproval>>;
12
+ cancelApproval: (rule: PublishingRule<ApprovalRuleData>) => Promise<Array<PublishingRule>>;
13
+ approveApproval: (rule: PublishingRule<ApprovalRuleData>) => Promise<PublishingRule<ApprovalRuleData>>;
14
14
  rejectApproval: (rejectPageInfo: RejectPageInfo) => Promise<Array<PublishingRule>>;
15
15
  deleteRule: (id: number) => Promise<PublishingRule>;
16
16
  getPageVersionRules: (versionId: VersionId) => Promise<Array<PublishingRule>>;
17
- sendApprovalRequest: <T extends PageData>(approvalRequestInfo: ApprovalRequestInfo<T>) => Promise<PublishingRule<PageApproval>>;
17
+ sendApprovalRequest: <T extends PageData>(approvalRequestInfo: ApprovalRequestInfo<T>) => Promise<PublishingRule<ApprovalRuleData>>;
18
18
  }
@@ -0,0 +1,15 @@
1
+ import { PageId } from '@omnia/wcm/models';
2
+ import { YammerGroup } from '../models/yammer/YammerGroup';
3
+ import { YammerTracking } from '../models/yammer/YammerTracking';
4
+ export declare class YammerService {
5
+ private httpClient;
6
+ private omniaContext;
7
+ readonly baseUrl = "api/yammer";
8
+ getGroups: () => Promise<Array<YammerGroup>>;
9
+ ensureYammerPostCreation: (sourcePageId: number) => Promise<YammerTracking[]>;
10
+ getYammerTrackingOnPage: (pageId: PageId) => Promise<YammerTracking>;
11
+ disconnectYammerOnPage: (pageId: PageId) => Promise<void>;
12
+ connectPageToYammerPost: (pageId: PageId, yammerThreadId: number) => Promise<YammerTracking>;
13
+ ensureYammerLikesOfPage: (topicId: string, yammerThreadId: number) => Promise<void>;
14
+ updateYammerSyncStatus: (sourcePageId: number, enableSettings: boolean) => Promise<void>;
15
+ }
@@ -13,3 +13,5 @@ export * from './EventService';
13
13
  export * from "./AutomaticPageCreationService";
14
14
  export * from "./ReusablePageService";
15
15
  export * from './PageHiddenService';
16
+ export * from './ChannelManagementService';
17
+ export * from './YammerService';
@@ -0,0 +1,79 @@
1
+ import { Identity, IOmniaContext, MediaPickerImage, MultilingualString, ResolvedUser } from '@omnia/fx-models';
2
+ import { MediaPickerService } from '@omnia/fx/services';
3
+ import { MultilingualStore, Store } from '@omnia/fx/stores';
4
+ import { Channel, PageId } from '../models';
5
+ import { ChannelId, ChannelPage } from '../models';
6
+ interface ChannelIdtoChannelMap {
7
+ [channelId: number]: Channel;
8
+ }
9
+ interface ChannelPageGroupMapping {
10
+ [channelId: number]: Array<number>;
11
+ }
12
+ export declare class ChannelManagementStore extends Store {
13
+ private channelService;
14
+ protected omniaContext: IOmniaContext;
15
+ mediaPickerService: MediaPickerService;
16
+ multilingualStore: MultilingualStore;
17
+ channels: import("@omnia/fx/stores").StoreState<ChannelIdtoChannelMap>;
18
+ waitingforApproveList: import("@omnia/fx/stores").StoreState<ChannelPageGroupMapping>;
19
+ resolvedUser: import("@omnia/fx/stores").StoreState<ResolvedUser>;
20
+ private suggestedChannels;
21
+ private publishedChannelsPage;
22
+ private publishedChannelsOfPageLoadPromise;
23
+ private channelPagePublishings;
24
+ private channelPagePublishingsLoadPromise;
25
+ private isPublishingPageToChannels;
26
+ private ensuredLoadDataPromise;
27
+ private userAuthorizedChannelResources;
28
+ constructor();
29
+ onActivated(): void;
30
+ onDisposing(): void;
31
+ getters: {
32
+ getSuggestedChannels: () => Channel[];
33
+ getPublishedChannelsPage: () => {
34
+ [key: string]: Channel[];
35
+ };
36
+ getChannels: () => Channel[];
37
+ getChannelbyId: (channelId: ChannelId) => Channel;
38
+ hasPublisherPermission: (channel: Channel, userIdentity: string) => boolean;
39
+ getChannelPages: (pageId: PageId) => ChannelPage[];
40
+ isPublishingPageToChannels: (pageId: PageId) => boolean;
41
+ getWaitingforApprovalPages: (channelId: ChannelId) => number[];
42
+ getAllChannels: () => Channel[];
43
+ };
44
+ /**
45
+ * Implementation of mutations
46
+ */
47
+ mutations: {
48
+ addOrUpdateChannel: import("@omnia/fx/stores").StoreMutation<(createdChannels: Array<Channel>) => void, (createdChannels: Channel[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
49
+ deleteChannel: import("@omnia/fx/stores").StoreMutation<(deleteChannel: Channel) => void, (deleteChannel: Channel) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
50
+ updateChannelPages: import("@omnia/fx/stores").StoreMutation<(pageId: PageId, result: Array<ChannelPage>) => void, (pageId: PageId, result: ChannelPage[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
51
+ updateIsPublishingPageToChannels: import("@omnia/fx/stores").StoreMutation<(pageId: PageId, isPublishing: boolean) => void, (pageId: PageId, isPublishing: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
52
+ updateWaitingforApprovalPages: import("@omnia/fx/stores").StoreMutation<(channelPages: Array<ChannelPage>) => void, (channelPages: ChannelPage[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
53
+ };
54
+ /**
55
+ * Implementation of actions
56
+ */
57
+ actions: {
58
+ ensureUserPermission: import("@omnia/fx/stores").StoreAction<unknown, (userIdentity: string) => void, (result: boolean, userIdentity: string) => void, (failureReason: any, userIdentity: string) => void, (userIdentity: string) => Promise<boolean>>;
59
+ ensureChannels: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: Channel[]) => void, (failureReason: any) => void, () => Promise<Array<Channel>>>;
60
+ ensureLoadData: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
61
+ ensureChannelPages: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: boolean, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<boolean>>;
62
+ ensurePublishedChannelsByPageId: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: boolean, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<boolean>>;
63
+ ensurePublishedChannelsByPageIds: import("@omnia/fx/stores").StoreAction<unknown, (pageIds: PageId[]) => void, (result: boolean, pageIds: PageId[]) => void, (failureReason: any, pageIds: PageId[]) => void, (pageIds: PageId[]) => Promise<boolean>>;
64
+ ensureChannel: import("@omnia/fx/stores").StoreAction<unknown, (channelId: number) => void, (result: Channel, channelId: number) => void, (failureReason: any, channelId: number) => void, (channelId: number) => Promise<Channel>>;
65
+ createChannel: import("@omnia/fx/stores").StoreAction<unknown, (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[]) => void, (result: Channel, title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[]) => void, (failureReason: any, title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[]) => void, (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Array<Identity>, image: MediaPickerImage, administrator: Array<Identity>, publisher: Array<Identity>) => Promise<Channel>>;
66
+ updateChannel: import("@omnia/fx/stores").StoreAction<unknown, (editRequest: Channel) => void, (result: Channel, editRequest: Channel) => void, (failureReason: any, editRequest: Channel) => void, (editRequest: Channel) => Promise<Channel>>;
67
+ deleteChannel: import("@omnia/fx/stores").StoreAction<unknown, (channelId: ChannelId) => void, (result: Channel, channelId: ChannelId) => void, (failureReason: any, channelId: ChannelId) => void, (channelId: ChannelId) => Promise<Channel>>;
68
+ getPageApprovalList: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: ChannelPage[]) => void, (failureReason: any) => void, () => Promise<Array<ChannelPage>>>;
69
+ approveRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: Channel, pageId: PageId) => void, (result: ChannelPage, channel: Channel, pageId: PageId) => void, (failureReason: any, channel: Channel, pageId: PageId) => void, (channel: Channel, pageId: PageId) => Promise<ChannelPage>>;
70
+ rejectRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: Channel, pageId: PageId) => void, (result: ChannelPage, channel: Channel, pageId: PageId) => void, (failureReason: any, channel: Channel, pageId: PageId) => void, (channel: Channel, pageId: PageId) => Promise<ChannelPage>>;
71
+ addPageToChannels: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number) => void, (result: ChannelPage[], pageId: number) => void, (failureReason: any, pageId: number) => void, (pageId: number) => Promise<Array<ChannelPage>>>;
72
+ publishPageToChannels: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number) => void, (result: ChannelPage[], pageId: number) => void, (failureReason: any, pageId: number) => void, (pageId: number) => Promise<Array<ChannelPage>>>;
73
+ publishAddedPageToChannel: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number) => void, (result: ChannelPage[], pageId: number) => void, (failureReason: any, pageId: number) => void, (pageId: number) => Promise<Array<ChannelPage>>>;
74
+ };
75
+ private updateChannelPagesStatus;
76
+ private mappingChannels;
77
+ private addOrUpdateUserPermissions;
78
+ }
79
+ export {};
@@ -152,6 +152,7 @@ export declare class CurrentPageStore extends Store {
152
152
  private createVersionRefForVersion;
153
153
  private getPageFromStore;
154
154
  private getPageVersionByRules;
155
+ private ensureCalculatedProperties;
155
156
  private resetState;
156
157
  private releaseDynamicState;
157
158
  }
@@ -46,6 +46,7 @@ export declare class PageRollupStore extends Store {
46
46
  private indexedDbPageRollup;
47
47
  private pageTypes;
48
48
  private pageTypesLoadPromise;
49
+ private channelSettings;
49
50
  /**
50
51
  * Private properties
51
52
  */
@@ -64,7 +65,8 @@ export declare class PageRollupStore extends Store {
64
65
  pageDialogData: (pageId: number) => PageDialogData;
65
66
  pageContentDataWithLimit: (contentProp: string, contentLimit: number, pageId: number) => string;
66
67
  pageTypesTitle: (page: PageDetailsQueryResult) => string;
67
- pageTypes: (publishingAppId: string) => PageTypeSelection[];
68
+ pageTypes: (uniqueKey: string) => PageTypeSelection[];
69
+ channelSettings: (uniqueKey: string) => string[];
68
70
  };
69
71
  private generatePageSocialCountingColumn;
70
72
  private getPageRollupDataFromIndexedDB;
@@ -76,6 +78,7 @@ export declare class PageRollupStore extends Store {
76
78
  addOrUpdateBatchedPages: import("@omnia/fx/stores").StoreMutation<(data: BatchPageRollupQueryResult, clientCaching: boolean) => void, (data: BatchPageRollupQueryResult, clientCaching: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
77
79
  addOrUpdateIndexedDBPages: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pages: Array<PageDetailsQueryResult>) => void, (uniqueKey: string, pages: PageDetailsQueryResult[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
78
80
  updatePageTypes: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pageTypes: Array<PageTypeSelection>) => void, (uniqueKey: string, pageTypes: PageTypeSelection[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
81
+ updateChannelSettings: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, channelsId: Array<string>) => void, (uniqueKey: string, channelsId: string[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
79
82
  };
80
83
  actions: {
81
84
  navigate: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string) => void, (result: void, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string) => void, (failureReason: any, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string) => void, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string) => Promise<void>>;
@@ -25,6 +25,7 @@ declare class InternalPageRollupStoreHelper {
25
25
  private publishingAppInfoStore;
26
26
  private omniaContext;
27
27
  private breakpointStore;
28
+ private termNavigationStore;
28
29
  private resolvablePageRollupInNP;
29
30
  private pageRollupInstancesInNP;
30
31
  private pageRollupInstances;
@@ -1,6 +1,6 @@
1
1
  import { NotificationMessage } from '@omnia/fx-models';
2
2
  import { Store } from '@omnia/fx/stores';
3
- import { ApprovalRequest, PageApproval } from '../../models';
3
+ import { ApprovalRequest, ApprovalRuleData } from '../../models';
4
4
  import { ApprovalData, PublishingRule, PublishingRuleData, VersionId } from '../models';
5
5
  import { RejectPageInfo } from '../models/publishingrule/RejectPageInfo';
6
6
  export declare class PublishingRuleStore extends Store {
@@ -36,14 +36,14 @@ export declare class PublishingRuleStore extends Store {
36
36
  canApproveOrReject: (versionId: VersionId, approvalData: ApprovalData) => boolean;
37
37
  };
38
38
  mutations: {
39
- updateApprovalData: import("@omnia/fx/stores").StoreMutation<(ruleData: PublishingRule<PageApproval>) => void, (ruleData: PublishingRule<PageApproval>) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
39
+ updateApprovalData: import("@omnia/fx/stores").StoreMutation<(ruleData: PublishingRule<ApprovalRuleData>) => void, (ruleData: PublishingRule<ApprovalRuleData>) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
40
40
  updateRules: import("@omnia/fx/stores").StoreMutation<(versionRules: Array<PublishingRule>, versionId: number) => void, (versionRules: PublishingRule<PublishingRuleData>[], versionId: number) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
41
41
  };
42
42
  actions: {
43
43
  ensurePageVersionRules: import("@omnia/fx/stores").StoreAction<unknown, (versionId: VersionId) => void, (result: void, versionId: VersionId) => void, (failureReason: any, versionId: VersionId) => void, (versionId: VersionId) => Promise<void>>;
44
- sendApprovalRequest: import("@omnia/fx/stores").StoreAction<unknown, (request: ApprovalRequest) => void, (result: PublishingRule<PageApproval>, request: ApprovalRequest) => void, (failureReason: any, request: ApprovalRequest) => void, (request: ApprovalRequest) => Promise<PublishingRule<PageApproval>>>;
45
- cancelApproval: import("@omnia/fx/stores").StoreAction<unknown, (ruleData: PublishingRule<PageApproval>) => void, (result: PublishingRule<PublishingRuleData>[], ruleData: PublishingRule<PageApproval>) => void, (failureReason: any, ruleData: PublishingRule<PageApproval>) => void, (ruleData: PublishingRule<PageApproval>) => Promise<Array<PublishingRule>>>;
46
- approve: import("@omnia/fx/stores").StoreAction<unknown, (ruleData: PublishingRule<PageApproval>) => void, (result: PublishingRule<PageApproval>, ruleData: PublishingRule<PageApproval>) => void, (failureReason: any, ruleData: PublishingRule<PageApproval>) => void, (ruleData: PublishingRule<PageApproval>) => Promise<PublishingRule<PageApproval>>>;
44
+ sendApprovalRequest: import("@omnia/fx/stores").StoreAction<unknown, (request: ApprovalRequest) => void, (result: PublishingRule<ApprovalRuleData>, request: ApprovalRequest) => void, (failureReason: any, request: ApprovalRequest) => void, (request: ApprovalRequest) => Promise<PublishingRule<ApprovalRuleData>>>;
45
+ cancelApproval: import("@omnia/fx/stores").StoreAction<unknown, (ruleData: PublishingRule<ApprovalRuleData>) => void, (result: PublishingRule<PublishingRuleData>[], ruleData: PublishingRule<ApprovalRuleData>) => void, (failureReason: any, ruleData: PublishingRule<ApprovalRuleData>) => void, (ruleData: PublishingRule<ApprovalRuleData>) => Promise<Array<PublishingRule>>>;
46
+ approve: import("@omnia/fx/stores").StoreAction<unknown, (ruleData: PublishingRule<ApprovalRuleData>) => void, (result: PublishingRule<ApprovalRuleData>, ruleData: PublishingRule<ApprovalRuleData>) => void, (failureReason: any, ruleData: PublishingRule<ApprovalRuleData>) => void, (ruleData: PublishingRule<ApprovalRuleData>) => Promise<PublishingRule<ApprovalRuleData>>>;
47
47
  reject: import("@omnia/fx/stores").StoreAction<unknown, (rejectPageInfo: RejectPageInfo) => void, (result: PublishingRule<PublishingRuleData>[], rejectPageInfo: RejectPageInfo) => void, (failureReason: any, rejectPageInfo: RejectPageInfo) => void, (rejectPageInfo: RejectPageInfo) => Promise<Array<PublishingRule>>>;
48
48
  addRule: import("@omnia/fx/stores").StoreAction<unknown, (ruleData: PublishingRuleData, versionId: VersionId) => void, (result: PublishingRule<PublishingRuleData>, ruleData: PublishingRuleData, versionId: VersionId) => void, (failureReason: any, ruleData: PublishingRuleData, versionId: VersionId) => void, (ruleData: PublishingRuleData, versionId: VersionId) => Promise<PublishingRule>>;
49
49
  deleteRule: import("@omnia/fx/stores").StoreAction<unknown, (rule: PublishingRule<PublishingRuleData>) => void, (result: PublishingRule<PublishingRuleData>, rule: PublishingRule<PublishingRuleData>) => void, (failureReason: any, rule: PublishingRule<PublishingRuleData>) => void, (rule: PublishingRule) => Promise<PublishingRule>>;
@@ -15,3 +15,4 @@ export * from './TargetingStore';
15
15
  export * from './LinkPickerStore';
16
16
  export * from './CreatePageFormStore';
17
17
  export * from './IndexedDB';
18
+ export * from './ChannelManagementStore';
@@ -1,3 +1,4 @@
1
+ import { LinkItem } from '../models';
1
2
  export declare class WcmUxCore {
2
3
  private wcmRouter;
3
4
  private navigationStore;
@@ -8,10 +9,15 @@ export declare class WcmUxCore {
8
9
  private static _instance;
9
10
  private microsoftTeamsApi;
10
11
  constructor();
11
- handleClickLink: (e: MouseEvent, url: string, title: string, onlyNavigateOnDisplayMode?: boolean) => void;
12
- handleOpenLinkInNewWindow: (e: Event, url: string) => void;
12
+ handleClickLink: (e: MouseEvent, url: string, title: string, link?: LinkItem, onlyNavigateOnDisplayMode?: boolean) => void;
13
+ handleOpenLinkInNewWindow: (e: Event, url: string, link?: LinkItem) => void;
13
14
  tryToExecuteMSTeamsDeepLinkOnClick(e: Event, url: string): boolean;
14
15
  tryToExecuteMSTeamsDeepLinkFromUrl(url: string): boolean;
16
+ buildUrlFromLink(link: LinkItem): string;
17
+ combineRedirectUrlWithAnchorLink(url: string, link: LinkItem): string;
18
+ splitRedirectUrlWithAnchorLink(url: string): string[];
19
+ getAnchorNameFromLink(link: LinkItem): string | undefined;
20
+ private hasAnchorLinkSettings;
15
21
  private tryToExecuteTeamsDeepLink;
16
22
  private getPageNavigationNode;
17
23
  private openLinkInNewWindow;
@@ -9,10 +9,13 @@ export declare module WCMUxLocalization {
9
9
  AdLink: string;
10
10
  UpdateLink: string;
11
11
  RemoveLink: string;
12
+ AddSuggestion: string;
13
+ RemoveSuggestion: string;
12
14
  };
13
15
  Extensions: {
14
16
  LinkPicker: string;
15
17
  MediaPicker: string;
18
+ EnterpriseGlossarySuggestion: string;
16
19
  };
17
20
  };
18
21
  LinkPicker: {
@@ -0,0 +1,8 @@
1
+ import { EnterpriseGlossarySuggestionConfigurationOption } from "./models";
2
+ import { EnterpriseGlossaryMapping, EnterpriseGlossaryMappingData } from '@omnia/fx/models';
3
+ export declare class EnterpriseGlossarySuggestionConfiguration {
4
+ private _enterpriseGlossaryStore;
5
+ constructor();
6
+ getConfig(): EnterpriseGlossarySuggestionConfigurationOption;
7
+ findEnterpriseTerm: (query: string) => Promise<Array<EnterpriseGlossaryMapping<EnterpriseGlossaryMappingData>>>;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { RichTextEditorExtension, ToolbarConfiguration, RichTextEditorExtensionDefinition, BubbleMenuConfiguration } from '@omnia/fx/ux/richtexteditor';
2
+ export declare class EnterpriseGlossarySuggestionExtension implements RichTextEditorExtension {
3
+ configuration: Array<ToolbarConfiguration>;
4
+ menuConfiguration: Array<BubbleMenuConfiguration>;
5
+ constructor();
6
+ getDefition(): Promise<RichTextEditorExtensionDefinition>;
7
+ }
@@ -0,0 +1,16 @@
1
+ import { IWebComponentInstance } from '@omnia/fx';
2
+ import { VueComponentBase } from "@omnia/fx/ux";
3
+ import { EnterpriseGlossaryMappingId } from '@omnia/fx-models';
4
+ import { EnterpriseGlossaryStore, MultilingualStore } from '@omnia/fx/stores';
5
+ export declare class SuggestionComponent extends VueComponentBase implements IWebComponentInstance {
6
+ multilingualStore: MultilingualStore;
7
+ enterpriseGlossaryStore: EnterpriseGlossaryStore;
8
+ enterpriseGlossaryMappingId: EnterpriseGlossaryMappingId;
9
+ onMappingChanged(): void;
10
+ private enterpriseGlossaryMapping;
11
+ private termStyle;
12
+ mounted(): void;
13
+ created(): void;
14
+ init(): void;
15
+ render(h: any): import("vue").VNode;
16
+ }
@@ -0,0 +1,2 @@
1
+ export * from './EnterpriseGlossarySuggestionExtension';
2
+ export * from './nodes';
@@ -0,0 +1,12 @@
1
+ export declare module WCMUxLocalization {
2
+ const namespace = "OWCM.Ux";
3
+ interface locInterface {
4
+ EnterpriseSuggestion: {
5
+ Tooltip: {
6
+ AddSuggestion: string;
7
+ RemoveSuggestion: string;
8
+ };
9
+ Title: string;
10
+ };
11
+ }
12
+ }
@@ -0,0 +1,4 @@
1
+ import { EnterpriseGlossaryMapping, EnterpriseGlossaryMappingData } from "@omnia/fx/models";
2
+ export interface EnterpriseGlossarySuggestionConfigurationOption {
3
+ findEnterpriseTerm?: (text: string) => Promise<Array<EnterpriseGlossaryMapping<EnterpriseGlossaryMappingData>>>;
4
+ }
@@ -0,0 +1,6 @@
1
+ export interface SussgestionMatch {
2
+ from: number;
3
+ to: number;
4
+ mappingId: string;
5
+ replacement: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./EnterpriseGlossarySuggestionConfiguration";
2
+ export * from "./SussgestionMatch";
@@ -0,0 +1,14 @@
1
+ import { NodeExtension } from '@omnia/fx/ux/richtexteditor';
2
+ import { EnterpriseGlossarySuggestionConfigurationOption } from '../models';
3
+ interface EnterpriseGlossarySuggestionOptions extends EnterpriseGlossarySuggestionConfigurationOption {
4
+ }
5
+ export default class EnterpriseGlossarySuggestion extends NodeExtension {
6
+ static options: Partial<EnterpriseGlossarySuggestionOptions>;
7
+ constructor(options?: Partial<EnterpriseGlossarySuggestionConfigurationOption>);
8
+ get name(): string;
9
+ get defaultOptions(): {};
10
+ get schema(): any;
11
+ get view(): any;
12
+ get plugins(): import("prosemirror-state").Plugin<any, any>[];
13
+ }
14
+ export {};
@@ -0,0 +1,6 @@
1
+ import { MarkExtension } from '@omnia/fx/ux/richtexteditor';
2
+ export default class EnterpriseSuggestionIgnore extends MarkExtension {
3
+ constructor();
4
+ get name(): string;
5
+ get schema(): any;
6
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./EnterpriseGlossarySuggestionNode";
2
+ export * from "./EnterpriseSuggestionIgnore";
@@ -0,0 +1,4 @@
1
+ import { Plugin } from "prosemirror-state";
2
+ import './EnterpriseGlossarySuggestion.css';
3
+ import { EnterpriseGlossarySuggestionConfigurationOption } from "../models";
4
+ export default function EnterpriseGlossarySuggestionPlugin(configOptions: EnterpriseGlossarySuggestionConfigurationOption): Plugin<any, any>;
@@ -1,5 +1,5 @@
1
1
  import { ToolbarExtension } from '@omnia/fx/ux/richtexteditor';
2
- import { LinkItem, RTFLinkPickerMessage, LinkPickerCommand, LinkPickerMenuCommand } from '../../../models';
2
+ import { LinkItem, RTFLinkPickerMessage, LinkPickerCommand, LinkPickerMenuCommand, AnchorLinkItem } from '../../../models';
3
3
  import { TipTapEditor, IMessageBusSubscriptionHandler, GuidValue, ToolbarProperties, EditorBubbleMenuBar } from '@omnia/fx-models';
4
4
  import { NavigationStore, VariationStore, WcmContext } from '../../../';
5
5
  export default class LinkPickerMenu extends ToolbarExtension implements ToolbarProperties<LinkPickerCommand> {
@@ -12,8 +12,10 @@ export default class LinkPickerMenu extends ToolbarExtension implements ToolbarP
12
12
  wcmContext: WcmContext;
13
13
  variationStore: VariationStore;
14
14
  navigationStore: NavigationStore;
15
+ private wcmUxCore;
15
16
  showAddLink: boolean;
16
- selectedLink: LinkItem;
17
+ selectedLink: LinkItem & AnchorLinkItem;
18
+ selectedNodeId: number;
17
19
  mounted(): void;
18
20
  beforeDestroy(): void;
19
21
  onLinkEditingTriggered(option: RTFLinkPickerMessage): void;
@@ -10,6 +10,7 @@ export default class LinkPickerToolbar extends ToolbarExtension implements Toolb
10
10
  wcmContext: WcmContext;
11
11
  variationStore: VariationStore;
12
12
  navigationStore: NavigationStore;
13
+ private wcmUxCore;
13
14
  private loc;
14
15
  showAddLink: boolean;
15
16
  mounted(): void;
@@ -1 +1,2 @@
1
1
  export * from './LinkPicker';
2
+ export * from './EnterpriseGlossarySuggestion';
@@ -1 +1 @@
1
- {"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['73f0116c-212c-4912-b780-d8df4ea3d78b']","content":{"./node_modules/@omnia/wcm/models/index.js":{"id":"0044f6fa-6f28-4130-9b07-649c0ab06fca","buildMeta":{"exportsType":"namespace"},"exports":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","ApprovalType","AutomaticPageCreationStatusType","BannerBlockStyles","BannerElementName","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","ChildStructureType","ColleagueDialogContentStyles","CommentSorting","CommunityAppLayoutDefinition","CommunityPageActivityStyles","CommunityStyles","Constants","ContentBlockModes","ContentBlockStyles","CurrentNavigationBlockSettingsStyles","CurrentNavigationBlockStyles","CurrentNavigationStatus","CurrentPageStatus","DailyRecurrenceTypeEnums","DeletedPageDialogStyles","DocumentTypes","DynamicRollerSizes","DynamicRollerTypes","EnterpriseGlossaryPageInformationProviderStyles","EnterprisePropertiesBlockDateTimeModes","EnterprisePropertyDataTypeProvider","EnterprisePropertyDocumentProviderProperty","EventCloneDialogContentStyles","EventParticipantCounterBlockStyles","EventParticipantListEnums","EventParticipantListStyles","EventParticipantListViewStyles","HtmlScriptBlockStyle","InfoScreenConstants","InfoScreenManifests","InfoScreenViewIdConstants","ItemQueryEnums","LabelPositions","LinkPickerStyle","MediaBlockStyles","MediaPickerStorageProviderPageContext","MediaPickerStorageProviderPageCreationContext","MediaPickerStorageProviderPageReadContext","MegaMenuStyles","MobileNavigationNodeStyles","MobileNavigationStyles","MonthlyRecurrenceTypeEnums","NavigationDataType","NavigationNodeQuery","NavigationNodeStyles","NavigationNodeType","NavigationRenders","NodeId","OutlookCalendarType","PageCollectionTopic","PageDataType","PageFeedbackBlockStyles","PageFeedbackDialogStyles","PageFeedbacksStyles","PageId","PageItemTemplateStyles","PagePickerNodeStyles","PagePickerProviderStyles","PagePropertiesBlockAdvancedStyles","PagePropertiesBlockStyles","PageRollUpDialogViewStyles","PageRollupBlockCardViewSettingsStyles","PageRollupBlockListViewSettingsStyles","PageRollupBlockListViewViewStyles","PageRollupBlockListingWithImageViewViewStyles","PageRollupBlockRollerViewViewStyles","PageRollupBlockSettingsFilterTabStyles","PageRollupBlockSettingsGeneralTabStyles","PageRollupBlockStyles","PageRollupConstants","PageRollupEnums","PageRollupListViewSettingsStyles","PageRollupListViewStyles","PageRollupListingPickedPagesStyles","PageRollupNavigationViewStyles","PageRollupNewsletterViewStyles","PageRollupPickedPagesDialogStyles","PageTopic","PageTypeConstants","PagesDashboardSettingsStyles","PagingTypes","Parameters","ParticipantType","PendingFileStatus","PublishingAppBootRouteProperty","PublishingAppLayoutDefinition","PublishingAppReuseContentSettingsRouteProperty","PublishingAppTopic","RecurrenceTypeEnums","RelatedLinkAddHeadingDialogStyles","RelatedLinkBlockStyles","RelatedLinkEditFormStyles","RelatedLinkElementName","ResourceEvaluators","ReusablePageStatusType","ReuseContentMode","RoleDefinitions","RootService","RssReaderBlockLeftImageViewStyles","RssReaderBlockNoImageViewStyles","RssReaderBlockStyles","RuleStatus","RuleTypes","ScheduleEndTypeEnums","SearchTemplateOmniaPageStyles","SelectedPageItemStyles","SharepointPageTemplateStyles","SignOffRequestBlockStyles","SignOffRequestConstants","TagTopic","TaxonomyNavigationStyles","TaxonomyTopic","TopicInformationType","TopicType","UserTopic","VariationId","VariationInputStyles","VariationsRouteProperty","VersionId","VersionType","VersionUpdationMode","VideoType","WCMFxLocalization","WCMNavigationDataTypes","WCMPageIdCustomPropertyName","WCMPageTypes","WCMReaderContext","WCMRecipientsEnterpriseProperties","WcmGroupManifests","WcmLayoutProvider","WcmPropertyDefaultBooleanValues","WcmPropertyDefaultValues","WcmResourceManifests","WcmService","WcmWebComponentManifests","WeekOfMonthEnums","WorkplaceService","layoutItemAction"]}}}
1
+ {"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['73f0116c-212c-4912-b780-d8df4ea3d78b']","content":{"./node_modules/@omnia/wcm/models/index.js":{"id":"0044f6fa-6f28-4130-9b07-649c0ab06fca","buildMeta":{"exportsType":"namespace"},"exports":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","ApprovalType","AutomaticPageCreationStatusType","BannerBlockStyles","BannerElementName","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","ButtonGroupings","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","ChannelCardViewStyles","ChannelId","ChildStructureType","ColleagueDialogContentStyles","CommentSorting","CommunityAppLayoutDefinition","CommunityPageActivityStyles","CommunityStyles","Constants","ContentBlockModes","ContentBlockStyles","CurrentNavigationBlockSettingsStyles","CurrentNavigationBlockStyles","CurrentNavigationStatus","CurrentPageStatus","DailyRecurrenceTypeEnums","DeletedPageDialogStyles","Directions","DocumentTypes","DynamicRollerSizes","DynamicRollerTypes","EnterpriseGlossaryPageInformationProviderStyles","EnterprisePropertiesBlockDateTimeModes","EnterprisePropertiesRichTextSettings","EnterprisePropertyDataTypeProvider","EnterprisePropertyDocumentProviderProperty","EventAttedeeType","EventCloneDialogContentStyles","EventParticipantCounterBlockStyles","EventParticipantListEnums","EventParticipantListStyles","EventParticipantListViewStyles","HtmlScriptBlockStyle","InfoScreenConstants","InfoScreenManifests","InfoScreenViewIdConstants","ItemQueryEnums","LabelPositions","LinkPickerStyle","MediaBlockStyles","MediaPickerStorageProviderPageContext","MediaPickerStorageProviderPageCreationContext","MediaPickerStorageProviderPageReadContext","MediaPickerStorageProviderWCMChannelAdminContext","MegaMenuStyles","MobileNavigationNodeStyles","MobileNavigationStyles","MonthlyRecurrenceTypeEnums","NavigationDataType","NavigationNodeQuery","NavigationNodeStyles","NavigationNodeType","NavigationRenders","NodeId","OutlookCalendarType","PageCollectionTopic","PageDataType","PageFeedbackBlockStyles","PageFeedbackDialogStyles","PageFeedbacksStyles","PageId","PageItemTemplateStyles","PagePickerNodeStyles","PagePickerProviderStyles","PagePropertiesBlockAdvancedStyles","PagePropertiesBlockStyles","PageRollUpDialogViewStyles","PageRollupBlockCardViewSettingsStyles","PageRollupBlockListViewSettingsStyles","PageRollupBlockListViewViewStyles","PageRollupBlockListingWithImageViewViewStyles","PageRollupBlockRollerViewViewStyles","PageRollupBlockSettingsFilterTabStyles","PageRollupBlockSettingsGeneralTabStyles","PageRollupBlockStyles","PageRollupConstants","PageRollupEnums","PageRollupListViewSettingsStyles","PageRollupListViewStyles","PageRollupListingPickedPagesStyles","PageRollupNavigationViewStyles","PageRollupNewsletterViewStyles","PageRollupPickedPagesDialogStyles","PageTopic","PageTypeConstants","PagesDashboardSettingsStyles","PagingTypes","Parameters","ParticipantType","PendingFileStatus","PublishingAppArchiveSettingsRouteProperty","PublishingAppBootRouteProperty","PublishingAppLayoutDefinition","PublishingAppReuseContentSettingsRouteProperty","PublishingAppTopic","PublishingStatus","RecurrenceTypeEnums","RelatedLinkAddHeadingDialogStyles","RelatedLinkBlockStyles","RelatedLinkEditFormStyles","RelatedLinkElementName","ResourceEvaluators","ReusablePageStatusType","ReuseContentMode","RoleDefinitions","RootService","RssReaderBlockLeftImageViewStyles","RssReaderBlockNoImageViewStyles","RssReaderBlockStyles","RuleStatus","RuleTypes","ScheduleEndTypeEnums","SearchTemplateOmniaPageStyles","SelectedPageItemStyles","SharepointPageTemplateStyles","SignOffRequestBlockStyles","SignOffRequestConstants","TagTopic","TaxonomyNavigationStyles","TaxonomyTopic","TopicInformationType","TopicType","UserTopic","VariationId","VariationInputStyles","VariationsRouteProperty","VersionId","VersionType","VersionUpdationMode","VideoType","WCMFxLocalization","WCMNavigationDataTypes","WCMPageIdCustomPropertyName","WCMPageTypes","WCMReaderContext","WCMRecipientsEnterpriseProperties","WcmExtension","WcmGroupManifests","WcmLayoutProvider","WcmPropertyDefaultBooleanValues","WcmPropertyDefaultValues","WcmResourceManifests","WcmService","WcmWebComponentManifests","WeekOfMonthEnums","WorkplaceService","YammerProperties","layoutItemAction"]}}}