@omnia/wcm 6.6.122-preview → 6.7.1

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 (119) hide show
  1. package/internal-do-not-import-from-here/core/Constants.d.ts +2 -0
  2. package/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +35 -0
  3. package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +76 -5
  4. package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +9 -23
  5. package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +33 -1
  6. package/internal-do-not-import-from-here/core/ux/FilterTargetingPropertyValueInput.d.ts +36 -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/helpers/LayoutHelper.d.ts +1 -0
  11. package/internal-do-not-import-from-here/fx/internal/models/PagesDashboard.d.ts +11 -1
  12. package/internal-do-not-import-from-here/fx/internal/models/SharepointSyncSettings.d.ts +4 -0
  13. package/internal-do-not-import-from-here/fx/internal/stores/YammerIntegrationStore.d.ts +24 -0
  14. package/internal-do-not-import-from-here/fx/internal/stores/index.d.ts +1 -0
  15. package/internal-do-not-import-from-here/fx/models/Constants.d.ts +8 -1
  16. package/internal-do-not-import-from-here/fx/models/Constants.js +14 -7
  17. package/internal-do-not-import-from-here/fx/models/Enums.d.ts +7 -2
  18. package/internal-do-not-import-from-here/fx/models/Enums.js +5 -0
  19. package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +15 -0
  20. package/internal-do-not-import-from-here/fx/models/ManifestIds.js +71 -0
  21. package/internal-do-not-import-from-here/fx/models/apps/PublishingAppInstanceOutputInfo.d.ts +1 -0
  22. package/internal-do-not-import-from-here/fx/models/channels/ChannelHttpModels.d.ts +5 -0
  23. package/internal-do-not-import-from-here/fx/models/channels/ChannelHttpModels.js +1 -0
  24. package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.d.ts +16 -0
  25. package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.js +6 -0
  26. package/internal-do-not-import-from-here/fx/models/channels/PublishingChannel.d.ts +20 -0
  27. package/internal-do-not-import-from-here/fx/models/channels/PublishingChannel.js +3 -0
  28. package/internal-do-not-import-from-here/fx/models/channels/index.d.ts +3 -0
  29. package/internal-do-not-import-from-here/fx/models/channels/index.js +3 -0
  30. package/internal-do-not-import-from-here/fx/models/components/AccordionBlock.d.ts +2 -0
  31. package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.d.ts +21 -0
  32. package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.js +14 -0
  33. package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlock.d.ts +37 -0
  34. package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlock.js +5 -0
  35. package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlockStyles.d.ts +1 -0
  36. package/internal-do-not-import-from-here/fx/models/components/ChannelCardViewStyles.d.ts +6 -0
  37. package/internal-do-not-import-from-here/fx/models/components/ChannelCardViewStyles.js +1 -0
  38. package/internal-do-not-import-from-here/fx/models/components/FilterSettings.d.ts +12 -0
  39. package/internal-do-not-import-from-here/fx/models/components/FilterSettings.js +1 -0
  40. package/internal-do-not-import-from-here/fx/models/components/HtmlScriptBlock.d.ts +1 -0
  41. package/internal-do-not-import-from-here/fx/models/components/LinkPicker.d.ts +6 -1
  42. package/internal-do-not-import-from-here/fx/models/components/PageCommentLikeBlock.d.ts +1 -0
  43. package/internal-do-not-import-from-here/fx/models/components/PageFeedbackBlock.d.ts +7 -1
  44. package/internal-do-not-import-from-here/fx/models/components/PageFeedbackBlock.js +6 -1
  45. package/internal-do-not-import-from-here/fx/models/components/PageFeedbacksStyles.d.ts +1 -0
  46. package/internal-do-not-import-from-here/fx/models/components/PagePropertiesBlockStyles.d.ts +1 -0
  47. package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +13 -9
  48. package/internal-do-not-import-from-here/fx/models/components/PageRollupBlockStyles.d.ts +1 -0
  49. package/internal-do-not-import-from-here/fx/models/components/index.d.ts +2 -0
  50. package/internal-do-not-import-from-here/fx/models/components/index.js +2 -0
  51. package/internal-do-not-import-from-here/fx/models/eventmanagement/EventDetail.d.ts +1 -0
  52. package/internal-do-not-import-from-here/fx/models/governancedashboard/UserPropertyMetricsSettings.d.ts +3 -0
  53. package/internal-do-not-import-from-here/fx/models/governancedashboard/UserPropertyMetricsSettings.js +1 -0
  54. package/internal-do-not-import-from-here/fx/models/governancedashboard/index.d.ts +1 -0
  55. package/internal-do-not-import-from-here/fx/models/governancedashboard/index.js +1 -0
  56. package/internal-do-not-import-from-here/fx/models/index.d.ts +1 -0
  57. package/internal-do-not-import-from-here/fx/models/index.js +1 -0
  58. package/internal-do-not-import-from-here/fx/models/loc/localize.d.ts +2 -0
  59. package/internal-do-not-import-from-here/fx/models/mediapicker/MediaPickerProviderContext.d.ts +13 -0
  60. package/internal-do-not-import-from-here/fx/models/mediapicker/MediaPickerProviderContext.js +26 -0
  61. package/internal-do-not-import-from-here/fx/models/mediapicker/index.d.ts +1 -0
  62. package/internal-do-not-import-from-here/fx/models/mediapicker/index.js +1 -0
  63. package/internal-do-not-import-from-here/fx/models/navigation/NavigationNode.d.ts +1 -0
  64. package/internal-do-not-import-from-here/fx/models/pagequery/IPageRollupViewInterface.d.ts +1 -0
  65. package/internal-do-not-import-from-here/fx/models/pagequery/NavigationViewSettings.d.ts +1 -2
  66. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +4 -2
  67. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +2 -0
  68. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts +3 -2
  69. package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +19 -2
  70. package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.js +6 -0
  71. package/internal-do-not-import-from-here/fx/models/pages/PageCreationInfo.d.ts +4 -1
  72. package/internal-do-not-import-from-here/fx/models/pages/PageTypeData.d.ts +6 -0
  73. package/internal-do-not-import-from-here/fx/models/propertybags/approutes/PublishingAppArchiveSettingsRouteProperty.d.ts +6 -0
  74. package/internal-do-not-import-from-here/fx/models/propertybags/approutes/PublishingAppArchiveSettingsRouteProperty.js +11 -0
  75. package/internal-do-not-import-from-here/fx/models/propertybags/approutes/index.d.ts +1 -0
  76. package/internal-do-not-import-from-here/fx/models/propertybags/approutes/index.js +1 -0
  77. package/internal-do-not-import-from-here/fx/models/query/PageQuery.d.ts +1 -1
  78. package/internal-do-not-import-from-here/fx/models/social/Topics/PublishingChannelTopic.d.ts +7 -0
  79. package/internal-do-not-import-from-here/fx/models/social/Topics/PublishingChannelTopic.js +12 -0
  80. package/internal-do-not-import-from-here/fx/models/social/Topics/Topic.d.ts +2 -1
  81. package/internal-do-not-import-from-here/fx/models/social/Topics/Topic.js +1 -0
  82. package/internal-do-not-import-from-here/fx/models/social/Topics/index.d.ts +1 -0
  83. package/internal-do-not-import-from-here/fx/models/social/Topics/index.js +1 -0
  84. package/internal-do-not-import-from-here/fx/models/yammer/YammerGroup.d.ts +39 -0
  85. package/internal-do-not-import-from-here/fx/models/yammer/YammerGroup.js +1 -0
  86. package/internal-do-not-import-from-here/fx/models/yammer/YammerMessage.d.ts +42 -0
  87. package/internal-do-not-import-from-here/fx/models/yammer/YammerMessage.js +1 -0
  88. package/internal-do-not-import-from-here/fx/models/yammer/YammerTracking.d.ts +9 -0
  89. package/internal-do-not-import-from-here/fx/models/yammer/YammerTracking.js +1 -0
  90. package/internal-do-not-import-from-here/fx/routing/WcmRouter.d.ts +1 -0
  91. package/internal-do-not-import-from-here/fx/services/CalendarService.d.ts +1 -0
  92. package/internal-do-not-import-from-here/fx/services/ChannelManagementService.d.ts +24 -0
  93. package/internal-do-not-import-from-here/fx/services/PublishingRuleService.d.ts +4 -4
  94. package/internal-do-not-import-from-here/fx/services/YammerService.d.ts +15 -0
  95. package/internal-do-not-import-from-here/fx/services/index.d.ts +2 -0
  96. package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +88 -0
  97. package/internal-do-not-import-from-here/fx/stores/CurrentPageStore.d.ts +1 -0
  98. package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +4 -1
  99. package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +6 -2
  100. package/internal-do-not-import-from-here/fx/stores/PublishingRuleStore.d.ts +5 -5
  101. package/internal-do-not-import-from-here/fx/stores/index.d.ts +1 -0
  102. package/internal-do-not-import-from-here/fx/ux/InternalUxCore.d.ts +8 -2
  103. package/internal-do-not-import-from-here/fx/ux/loc/localize.d.ts +3 -0
  104. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerMenu.d.ts +4 -2
  105. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerToolbar.d.ts +1 -0
  106. package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
  107. package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.manifest.json +1 -1
  108. package/internal-do-not-import-from-here/models/pagestatistics/Reports.d.ts +29 -43
  109. package/internal-do-not-import-from-here/models/publishingapp/approval/PageApproval.d.ts +3 -2
  110. package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.d.ts +1 -0
  111. package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.js +2 -1
  112. package/internal-do-not-import-from-here/models/publishingapp/schedule/PageSchedule.d.ts +14 -6
  113. package/internal-do-not-import-from-here/models/publishingapp/schedule/PageSchedule.js +5 -5
  114. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.d.ts +3 -3
  115. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.js +3 -3
  116. package/internal-do-not-import-from-here/models/social/Subscription.d.ts +2 -1
  117. package/internal-do-not-import-from-here/models/social/Subscription.js +1 -1
  118. package/internal-do-not-import-from-here/wcdefinitions.json +1 -137
  119. package/package.json +1 -1
@@ -32,3 +32,4 @@ export * from "./enterpriseglossary";
32
32
  export * from "./linkpicker";
33
33
  export * from "./publishinglayout";
34
34
  export * from "./enterprisepropertydocumentitemsettings";
35
+ export * from "./channels";
@@ -29,6 +29,8 @@ export declare module WCMFxLocalization {
29
29
  UpdateSharepointPageErrorMessage: string;
30
30
  PageHaveSchedule: string;
31
31
  PageOverScheduleTime: string;
32
+ PageHaveScheduleArchiving: string;
33
+ PageOverScheduleArchivingTime: string;
32
34
  };
33
35
  DisplayBreakPointSettings: {
34
36
  Enable: string;
@@ -0,0 +1,13 @@
1
+ import { GuidValue, MediaPickerStorageProviderContext } from "@omnia/fx-models";
2
+ declare abstract class MediaPickerProviderStorageWCMContext extends MediaPickerStorageProviderContext {
3
+ readonly omniaServiceId: GuidValue;
4
+ }
5
+ export declare class MediaPickerStorageProviderWCMChannelAdminContext extends MediaPickerProviderStorageWCMContext {
6
+ readonly storageProviderContextId: GuidValue;
7
+ /**
8
+ *
9
+ * @param businessProfileId Null for tenant level
10
+ */
11
+ constructor();
12
+ }
13
+ export {};
@@ -0,0 +1,26 @@
1
+ import { __extends } from "tslib";
2
+ import { Guid, MediaPickerStorageProviderContext } from "@omnia/fx-models";
3
+ import { WcmService } from "../ManifestIds";
4
+ var MediaPickerProviderStorageWCMContext = /** @class */ (function (_super) {
5
+ __extends(MediaPickerProviderStorageWCMContext, _super);
6
+ function MediaPickerProviderStorageWCMContext() {
7
+ var _this = _super !== null && _super.apply(this, arguments) || this;
8
+ _this.omniaServiceId = WcmService.Id;
9
+ return _this;
10
+ }
11
+ return MediaPickerProviderStorageWCMContext;
12
+ }(MediaPickerStorageProviderContext));
13
+ var MediaPickerStorageProviderWCMChannelAdminContext = /** @class */ (function (_super) {
14
+ __extends(MediaPickerStorageProviderWCMChannelAdminContext, _super);
15
+ /**
16
+ *
17
+ * @param businessProfileId Null for tenant level
18
+ */
19
+ function MediaPickerStorageProviderWCMChannelAdminContext() {
20
+ var _this = _super.call(this) || this;
21
+ _this.storageProviderContextId = new Guid("1de38673-a37d-4a0f-8e31-ae7934163a31");
22
+ return _this;
23
+ }
24
+ return MediaPickerStorageProviderWCMChannelAdminContext;
25
+ }(MediaPickerProviderStorageWCMContext));
26
+ export { MediaPickerStorageProviderWCMChannelAdminContext };
@@ -1,3 +1,4 @@
1
1
  export * from "./MediaPickerStorageProviderPageContext";
2
2
  export * from "./MediaPickerStorageProviderPageReadContext";
3
3
  export * from "./MediaPickerStorageProviderPageCreationContext";
4
+ export * from "./MediaPickerProviderContext";
@@ -1,3 +1,4 @@
1
1
  export * from "./MediaPickerStorageProviderPageContext";
2
2
  export * from "./MediaPickerStorageProviderPageReadContext";
3
3
  export * from "./MediaPickerStorageProviderPageCreationContext";
4
+ export * from "./MediaPickerProviderContext";
@@ -34,4 +34,5 @@ export interface NavigationNode<T extends NavigationData> extends AuditingInform
34
34
  * The order value which is used to sort nodes when there are subset of nodes available in client side
35
35
  * */
36
36
  orderValue?: number;
37
+ anchorName?: string;
37
38
  }
@@ -2,6 +2,7 @@ import { EnterprisePropertyDefinition, SpacingSettings } from '@omnia/fx-models'
2
2
  import { PageRollupViewSettings, PageDetailsQueryResult } from '..';
3
3
  export interface IPageRollupViewInterface<T extends PageRollupViewSettings> {
4
4
  pages: Array<PageDetailsQueryResult>;
5
+ highlightNonRead?: boolean;
5
6
  viewSettings: T;
6
7
  spacingSetting?: SpacingSettings;
7
8
  noResultText?: string;
@@ -4,6 +4,5 @@ export interface NavigationViewSettings extends PageRollupViewSettings {
4
4
  navigationDepthLevel: number;
5
5
  backgroundColor?: string;
6
6
  textColor?: string;
7
- sortBy?: string;
8
- sortDescending?: boolean;
7
+ excludeStartNode?: boolean;
9
8
  }
@@ -9,7 +9,8 @@ export declare module PageRollupEnums {
9
9
  enum FilterTypes {
10
10
  FixedValue = 1,
11
11
  CurrentPage = 2,
12
- User = 3
12
+ User = 3,
13
+ CurrentTerm = 4
13
14
  }
14
15
  enum DateTimeModes {
15
16
  Normal = 1,
@@ -24,7 +25,8 @@ export declare module PageRollupEnums {
24
25
  PublishingApps = 2,
25
26
  PageCollections = 3,
26
27
  Subscriptions = 4,
27
- NavigationPath = 5
28
+ NavigationPath = 5,
29
+ Channels = 6
28
30
  }
29
31
  enum QueryConfigurationType {
30
32
  QueryBuilder = 0,
@@ -13,6 +13,7 @@ export var PageRollupEnums;
13
13
  FilterTypes[FilterTypes["FixedValue"] = 1] = "FixedValue";
14
14
  FilterTypes[FilterTypes["CurrentPage"] = 2] = "CurrentPage";
15
15
  FilterTypes[FilterTypes["User"] = 3] = "User";
16
+ FilterTypes[FilterTypes["CurrentTerm"] = 4] = "CurrentTerm";
16
17
  })(FilterTypes = PageRollupEnums.FilterTypes || (PageRollupEnums.FilterTypes = {}));
17
18
  var DateTimeModes;
18
19
  (function (DateTimeModes) {
@@ -31,6 +32,7 @@ export var PageRollupEnums;
31
32
  RollupScopes[RollupScopes["PageCollections"] = 3] = "PageCollections";
32
33
  RollupScopes[RollupScopes["Subscriptions"] = 4] = "Subscriptions";
33
34
  RollupScopes[RollupScopes["NavigationPath"] = 5] = "NavigationPath";
35
+ RollupScopes[RollupScopes["Channels"] = 6] = "Channels";
34
36
  })(RollupScopes = PageRollupEnums.RollupScopes || (PageRollupEnums.RollupScopes = {}));
35
37
  var QueryConfigurationType;
36
38
  (function (QueryConfigurationType) {
@@ -1,6 +1,5 @@
1
1
  import { PropertyIndexedType, GuidValue } from '@omnia/fx/models';
2
- import { PageRollupEnums } from '.';
3
- import { PageRollupViewSettings } from '..';
2
+ import { PageRollupEnums, PageRollupViewSettings } from '..';
4
3
  export interface ListViewColumn {
5
4
  internalName: string;
6
5
  type: PropertyIndexedType;
@@ -18,4 +17,6 @@ export interface ListViewMediaColumn extends ListViewColumn {
18
17
  }
19
18
  export interface PageRollupListViewSettings extends PageRollupViewSettings {
20
19
  columns: Array<ListViewColumn>;
20
+ navigationStartNodeId?: number;
21
+ hideStartNode?: boolean;
21
22
  }
@@ -1,9 +1,9 @@
1
- import { PlainPageData } from './PlainPageData';
1
+ import { EnterprisePropertyDefinition, GuidValue, IVersionedDataIdentifier } from '@omnia/fx-models';
2
2
  import { PageId } from '.';
3
3
  import { ChildStructureType } from '..';
4
- import { GuidValue, IVersionedDataIdentifier } from '@omnia/fx-models';
5
4
  import { QueryFilter } from '../query';
6
5
  import { PagePermissionInfo } from './PagePermissionInfo';
6
+ import { PlainPageData } from './PlainPageData';
7
7
  export interface PageCreationSettings {
8
8
  creationDialogTitle: string;
9
9
  showUrl: boolean;
@@ -28,6 +28,12 @@ export interface PageCollectionData extends PlainPageData {
28
28
  breakPermissionInheritance: boolean;
29
29
  allowInvitationOfCoAuthors: boolean;
30
30
  enableAutoSubscription?: boolean;
31
+ enablePublishingToChannel: boolean;
32
+ yammerIntegrationRules: Array<YammerIntegrationRule>;
33
+ /**
34
+ * This property is used as inital value for creating Page Collection Navigation Node.
35
+ * */
36
+ childStructureType?: ChildStructureType;
31
37
  }
32
38
  export interface AutomaticPageCreationRule {
33
39
  id: GuidValue;
@@ -65,3 +71,14 @@ export interface CreatePageCollectionLayoutRefData extends PageCollectionLayoutR
65
71
  urlSegment: string;
66
72
  childStructureType: ChildStructureType;
67
73
  }
74
+ export interface YammerIntegrationRule {
75
+ id: GuidValue;
76
+ yammerGroupId: number;
77
+ matchCriterias: Array<QueryFilter>;
78
+ propertiesMapping: Record<YammerProperties, EnterprisePropertyDefinition>;
79
+ }
80
+ export declare enum YammerProperties {
81
+ Title = "Title",
82
+ Summary = "Summary",
83
+ Content = "Content"
84
+ }
@@ -3,3 +3,9 @@ export var ReuseContentMode;
3
3
  ReuseContentMode[ReuseContentMode["enableReuseContent"] = 0] = "enableReuseContent";
4
4
  ReuseContentMode[ReuseContentMode["copyOnCreation"] = 1] = "copyOnCreation";
5
5
  })(ReuseContentMode || (ReuseContentMode = {}));
6
+ export var YammerProperties;
7
+ (function (YammerProperties) {
8
+ YammerProperties["Title"] = "Title";
9
+ YammerProperties["Summary"] = "Summary";
10
+ YammerProperties["Content"] = "Content";
11
+ })(YammerProperties || (YammerProperties = {}));
@@ -17,7 +17,10 @@ export interface PageCreationRequest {
17
17
  export interface PageWithNavigationCreationRequest extends PageCreationRequest {
18
18
  urlSegment: string;
19
19
  position: NavigationPosition;
20
- childStructureType: ChildStructureType;
20
+ /**
21
+ * @deprecated The childStructureType will be removed in 7.0. Please use the ChildStructureType in PageCollectionData instead
22
+ */
23
+ childStructureType?: ChildStructureType;
21
24
  }
22
25
  export interface VariationPageCreationRequest extends PageCreationRequest {
23
26
  originalPageId: PageId;
@@ -15,7 +15,9 @@ export interface PageTypePropertyInfo extends EnterprisePropertyItemSettings {
15
15
  showInNewPage: boolean;
16
16
  showInEditProperties: boolean;
17
17
  defaultValue?: any;
18
+ calculatedFromProperty: string;
18
19
  timePeriodSettingsForDefaultValue?: TimePeriodSettings;
20
+ readonly?: boolean;
19
21
  category: string;
20
22
  receiveEmail?: boolean;
21
23
  allowMultipleValues?: boolean;
@@ -34,6 +36,7 @@ export interface PageTypeData extends PageData {
34
36
  };
35
37
  propertiesSortOrder: string[];
36
38
  sharepointSyncPageSettings?: SharepointSyncPageSettings;
39
+ automaticArchiveSettings: AutomaticArchiveSettings;
37
40
  }
38
41
  export interface PageTypeProperty extends EnterprisePropertyDefinition {
39
42
  info: PageTypePropertyInfo;
@@ -41,3 +44,6 @@ export interface PageTypeProperty extends EnterprisePropertyDefinition {
41
44
  export interface ContentPropertyWithInfo extends EnterprisePropertyDefinition {
42
45
  info?: PageTypePropertyInfo;
43
46
  }
47
+ export interface AutomaticArchiveSettings {
48
+ property: string;
49
+ }
@@ -0,0 +1,6 @@
1
+ import { AppRoutePropertyBagModel, TimePeriodSettings } from '@omnia/fx-models';
2
+ export declare class PublishingAppArchiveSettingsRouteProperty extends AppRoutePropertyBagModel {
3
+ timePeriod: TimePeriodSettings;
4
+ enableAutoTerminate: boolean;
5
+ constructor();
6
+ }
@@ -0,0 +1,11 @@
1
+ import { __extends } from "tslib";
2
+ import { AppRoutePropertyBagModel } from '@omnia/fx-models';
3
+ import { WcmService } from '../../ManifestIds';
4
+ var PublishingAppArchiveSettingsRouteProperty = /** @class */ (function (_super) {
5
+ __extends(PublishingAppArchiveSettingsRouteProperty, _super);
6
+ function PublishingAppArchiveSettingsRouteProperty() {
7
+ return _super.call(this, WcmService.Id, "owcmpublishingapparchivesettings") || this;
8
+ }
9
+ return PublishingAppArchiveSettingsRouteProperty;
10
+ }(AppRoutePropertyBagModel));
11
+ export { PublishingAppArchiveSettingsRouteProperty };
@@ -1,3 +1,4 @@
1
1
  export * from './PublishingAppBootRouteProperty';
2
2
  export * from './VariationsRouteProperty';
3
3
  export * from './PublishingAppReuseContentSettingsRouteProperty';
4
+ export * from './PublishingAppArchiveSettingsRouteProperty';
@@ -1,3 +1,4 @@
1
1
  export * from './PublishingAppBootRouteProperty';
2
2
  export * from './VariationsRouteProperty';
3
3
  export * from './PublishingAppReuseContentSettingsRouteProperty';
4
+ export * from './PublishingAppArchiveSettingsRouteProperty';
@@ -1,4 +1,4 @@
1
- import { PageRollupEnums, ItemQuery, PagingTypes, VariationId, VariationQuery } from '..';
1
+ import { ItemQuery, PageRollupEnums, PagingTypes, VariationId, VariationQuery } from '..';
2
2
  export interface PageQuery extends ItemQuery {
3
3
  likePeriod: PageRollupEnums.DatePeriods;
4
4
  commentPeriod: PageRollupEnums.DatePeriods;
@@ -0,0 +1,7 @@
1
+ import { PublishingChannelId } from '../../channels';
2
+ import { Topic, TopicType } from './Topic';
3
+ export declare class PublishingChannelTopic implements Topic {
4
+ readonly topicType: TopicType;
5
+ readonly publishingChannelId: PublishingChannelId;
6
+ constructor(publishingChannelId: PublishingChannelId);
7
+ }
@@ -0,0 +1,12 @@
1
+ import { TopicType } from './Topic';
2
+ var PublishingChannelTopic = /** @class */ (function () {
3
+ function PublishingChannelTopic(publishingChannelId) {
4
+ if (!publishingChannelId) {
5
+ new Error("Can't create publishing channel topic for publishingChannelId null/undefined");
6
+ }
7
+ this.publishingChannelId = publishingChannelId;
8
+ this.topicType = TopicType.PublishingChannel;
9
+ }
10
+ return PublishingChannelTopic;
11
+ }());
12
+ export { PublishingChannelTopic };
@@ -4,7 +4,8 @@ export declare enum TopicType {
4
4
  PageCollection = 2,
5
5
  PublishingApp = 3,
6
6
  Tag = 4,
7
- Taxonomy = 5
7
+ Taxonomy = 5,
8
+ PublishingChannel = 6
8
9
  }
9
10
  export interface Topic {
10
11
  readonly topicType: TopicType;
@@ -6,4 +6,5 @@ export var TopicType;
6
6
  TopicType[TopicType["PublishingApp"] = 3] = "PublishingApp";
7
7
  TopicType[TopicType["Tag"] = 4] = "Tag";
8
8
  TopicType[TopicType["Taxonomy"] = 5] = "Taxonomy";
9
+ TopicType[TopicType["PublishingChannel"] = 6] = "PublishingChannel";
9
10
  })(TopicType || (TopicType = {}));
@@ -11,3 +11,4 @@ export * from './PageCollectionTopicInformation';
11
11
  export * from './UserTopic';
12
12
  export * from './TagTopic';
13
13
  export * from './TaxonomyTopic';
14
+ export * from './PublishingChannelTopic';
@@ -11,3 +11,4 @@ export * from './PageCollectionTopicInformation';
11
11
  export * from './UserTopic';
12
12
  export * from './TagTopic';
13
13
  export * from './TaxonomyTopic';
14
+ export * from './PublishingChannelTopic';
@@ -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,24 @@
1
+ import { TargetingFilterProperty } from '@omnia/fx-sp/models';
2
+ import { Identity, MediaPickerImage, MultilingualString } from '@omnia/fx/models';
3
+ import { PublishingChannel, PageId, UserAuthorizedChannelResources, ChannelPage, PublishingStatus, PublishingChannelId } from '../models';
4
+ export declare class ChannelManagementService {
5
+ private httpClient;
6
+ constructor();
7
+ createPublishingChannel: (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Array<Identity>, image: MediaPickerImage, administrator: Array<Identity>, publisher: Array<Identity>, targetingFilter: TargetingFilterProperty) => Promise<PublishingChannel>;
8
+ updatePublishingChannel: (updateData: PublishingChannel) => Promise<PublishingChannel>;
9
+ getPublishingChannels: () => Promise<Array<PublishingChannel>>;
10
+ getRecentlyUsedChannels: () => Promise<PublishingChannel[]>;
11
+ getPublishingChannelById: (channelId: number) => Promise<PublishingChannel>;
12
+ getChannelPages: (pageId: PageId) => Promise<ChannelPage[]>;
13
+ getPublishedChannelsByPageIds: (pageIds: PageId[]) => Promise<{
14
+ [pageId: number]: PublishingChannel[];
15
+ }>;
16
+ deletePublishingChannel: (channelId: PublishingChannelId) => Promise<PublishingChannel>;
17
+ getUserPermissions: (userIdentity: string) => Promise<UserAuthorizedChannelResources>;
18
+ getChannelPagesByStatus: (status: PublishingStatus) => Promise<Array<ChannelPage>>;
19
+ approvePublishPageToChannel: (channel: PublishingChannel, pageId: PageId, pageTitle: string, pageUrl: string) => Promise<ChannelPage>;
20
+ rejectPublishPageToChannel: (channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => Promise<ChannelPage>;
21
+ addPageToChannels: (pageId: number, channelToPublishTo: Array<PublishingChannelId>) => Promise<Array<ChannelPage>>;
22
+ publishAddedPageToChannel: (pageId: PageId) => Promise<Array<ChannelPage>>;
23
+ publishPageToChannels: (pageId: number, channelToPublishTo: Array<PublishingChannelId>) => Promise<Array<ChannelPage>>;
24
+ }
@@ -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
+ isYammerTokenSetupAsync: () => Promise<boolean>;
10
+ ensureYammerPostCreation: (sourcePageId: number) => Promise<YammerTracking[]>;
11
+ getYammerTrackingOnPage: (pageId: PageId) => Promise<YammerTracking>;
12
+ disconnectYammerOnPage: (pageId: PageId) => Promise<void>;
13
+ connectPageToYammerPost: (pageId: PageId, yammerThreadId: number) => Promise<YammerTracking>;
14
+ ensureYammerLikesOfPage: (topicId: string, yammerThreadId: number) => 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,88 @@
1
+ import { Identity, IOmniaContext, MediaPickerImage, MultilingualString, ResolvedUser } from '@omnia/fx-models';
2
+ import { TargetingFilterProperty } from '@omnia/fx-sp/models';
3
+ import { MediaPickerService } from '@omnia/fx/services';
4
+ import { MultilingualStore, Store } from '@omnia/fx/stores';
5
+ import { PublishingChannel, PageId } from '../models';
6
+ import { PublishingChannelId, ChannelPage } from '../models';
7
+ import { TopicsActivityStore } from './TopicsActivityStore';
8
+ interface ChannelIdtoChannelMap {
9
+ [channelId: number]: PublishingChannel;
10
+ }
11
+ interface ChannelPageGroupMapping {
12
+ [channelId: number]: Array<number>;
13
+ }
14
+ export declare class ChannelManagementStore extends Store {
15
+ private channelService;
16
+ protected omniaContext: IOmniaContext;
17
+ mediaPickerService: MediaPickerService;
18
+ multilingualStore: MultilingualStore;
19
+ private userTargetingStore;
20
+ topicsActivityStore: TopicsActivityStore;
21
+ publishingChannels: import("@omnia/fx/stores").StoreState<ChannelIdtoChannelMap>;
22
+ waitingforApproveList: import("@omnia/fx/stores").StoreState<ChannelPageGroupMapping>;
23
+ resolvedUser: import("@omnia/fx/stores").StoreState<ResolvedUser>;
24
+ private recentlyUsedChannels;
25
+ private publishedChannelsPage;
26
+ private userPublishingChannelSubscripton;
27
+ private ensuredUserPublishingChannelSubscriptonPromise;
28
+ private publishedChannelsOfPageLoadPromise;
29
+ private channelPages;
30
+ private channelPagesLoadPromise;
31
+ private isPublishingPageToChannels;
32
+ private ensuredLoadDataPromise;
33
+ private ensuredGetPublishingChannelsPromise;
34
+ private userAuthorizedChannelResources;
35
+ constructor();
36
+ onActivated(): void;
37
+ onDisposing(): void;
38
+ getters: {
39
+ getRecentlyUsedChannels: () => PublishingChannel[];
40
+ getPublishedChannelsPage: () => {
41
+ [key: string]: PublishingChannel[];
42
+ };
43
+ getPublishingChannels: () => PublishingChannel[];
44
+ getPublisingChannelbyId: (channelId: PublishingChannelId) => PublishingChannel;
45
+ hasPublisherPermission: (channel: PublishingChannel, userIdentity: string) => boolean;
46
+ getChannelPages: (pageId: PageId) => ChannelPage[];
47
+ isPublishingPageToChannels: (pageId: PageId) => boolean;
48
+ getWaitingforApprovalPages: (channelId: PublishingChannelId) => number[];
49
+ getAllPublishingChannels: () => PublishingChannel[];
50
+ getUserPublishingChannelSubscripton: () => Array<PublishingChannel>;
51
+ };
52
+ /**
53
+ * Implementation of mutations
54
+ */
55
+ mutations: {
56
+ addOrUpdatePublishingChannel: import("@omnia/fx/stores").StoreMutation<(createdChannels: Array<PublishingChannel>) => void, (createdChannels: PublishingChannel[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
57
+ deletePublishingChannel: import("@omnia/fx/stores").StoreMutation<(deleteChannel: PublishingChannel) => void, (deleteChannel: PublishingChannel) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
58
+ updateChannelPages: import("@omnia/fx/stores").StoreMutation<(pageId: PageId, result: Array<ChannelPage>) => void, (pageId: PageId, result: ChannelPage[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
59
+ updateIsPublishingPageToChannels: import("@omnia/fx/stores").StoreMutation<(pageId: PageId, isPublishing: boolean) => void, (pageId: PageId, isPublishing: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
60
+ updateWaitingforApprovalPages: import("@omnia/fx/stores").StoreMutation<(channelPages: Array<ChannelPage>) => void, (channelPages: ChannelPage[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
61
+ };
62
+ /**
63
+ * Implementation of actions
64
+ */
65
+ actions: {
66
+ ensureUserPermission: import("@omnia/fx/stores").StoreAction<unknown, (userIdentity: string) => void, (result: boolean, userIdentity: string) => void, (failureReason: any, userIdentity: string) => void, (userIdentity: string) => Promise<boolean>>;
67
+ ensurePublishingChannels: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: PublishingChannel[]) => void, (failureReason: any) => void, () => Promise<Array<PublishingChannel>>>;
68
+ ensureLoadData: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
69
+ ensureChannelPages: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: boolean, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<boolean>>;
70
+ ensurePublishedChannelsByPageId: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: boolean, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<boolean>>;
71
+ ensurePublishedChannelsByPageIds: import("@omnia/fx/stores").StoreAction<unknown, (pageIds: PageId[]) => void, (result: boolean, pageIds: PageId[]) => void, (failureReason: any, pageIds: PageId[]) => void, (pageIds: PageId[]) => Promise<boolean>>;
72
+ ensurePublishingChannel: import("@omnia/fx/stores").StoreAction<unknown, (channelId: number) => void, (result: PublishingChannel, channelId: number) => void, (failureReason: any, channelId: number) => void, (channelId: number) => Promise<PublishingChannel>>;
73
+ createPublishingChannel: import("@omnia/fx/stores").StoreAction<unknown, (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[], targetingFilter: TargetingFilterProperty) => void, (result: PublishingChannel, title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[], targetingFilter: TargetingFilterProperty) => void, (failureReason: any, title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[], targetingFilter: TargetingFilterProperty) => void, (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Array<Identity>, image: MediaPickerImage, administrator: Array<Identity>, publisher: Array<Identity>, targetingFilter: TargetingFilterProperty) => Promise<PublishingChannel>>;
74
+ updatePublishingChannel: import("@omnia/fx/stores").StoreAction<unknown, (editRequest: PublishingChannel) => void, (result: PublishingChannel, editRequest: PublishingChannel) => void, (failureReason: any, editRequest: PublishingChannel) => void, (editRequest: PublishingChannel) => Promise<PublishingChannel>>;
75
+ deletePublishingChannel: import("@omnia/fx/stores").StoreAction<unknown, (channelId: PublishingChannelId) => void, (result: PublishingChannel, channelId: PublishingChannelId) => void, (failureReason: any, channelId: PublishingChannelId) => void, (channelId: PublishingChannelId) => Promise<PublishingChannel>>;
76
+ getPageApprovalList: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: ChannelPage[]) => void, (failureReason: any) => void, () => Promise<Array<ChannelPage>>>;
77
+ approvePublishPageToChannelRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: PublishingChannel, pageId: PageId, pageTitle: string, pageUrl: string) => void, (result: ChannelPage, channel: PublishingChannel, pageId: PageId, pageTitle: string, pageUrl: string) => void, (failureReason: any, channel: PublishingChannel, pageId: PageId, pageTitle: string, pageUrl: string) => void, (channel: PublishingChannel, pageId: PageId, pageTitle: string, pageUrl: string) => Promise<ChannelPage>>;
78
+ rejectPublishPageToChannelRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => void, (result: ChannelPage, channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => void, (failureReason: any, channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => void, (channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => Promise<ChannelPage>>;
79
+ 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>>>;
80
+ 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>>>;
81
+ 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>>>;
82
+ ensureUserPublishingChannelSubscripton: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
83
+ };
84
+ private updateChannelPagesStatus;
85
+ private mappingPublishingChannels;
86
+ private addOrUpdateUserPermissions;
87
+ }
88
+ 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
  }