@omnia/wcm 6.10.7-preview → 6.10.7

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 (67) hide show
  1. package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +12 -1
  2. package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +18 -5
  3. package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +13 -0
  4. package/internal-do-not-import-from-here/core/messaging/WcmInternalTopics.d.ts +0 -1
  5. package/internal-do-not-import-from-here/fx/constants.d.ts +19 -1
  6. package/internal-do-not-import-from-here/fx/helpers/ItemQueryHelper.d.ts +2 -0
  7. package/internal-do-not-import-from-here/fx/helpers/LayoutHelper.d.ts +1 -1
  8. package/internal-do-not-import-from-here/fx/internal/models/SharepointSynchronizedEvent.d.ts +10 -0
  9. package/internal-do-not-import-from-here/fx/internal/models/SharepointSynchronizedResourceStatus.d.ts +1 -0
  10. package/internal-do-not-import-from-here/fx/internal/models/index.d.ts +1 -0
  11. package/internal-do-not-import-from-here/fx/internal/services/SharepointPageService.d.ts +5 -2
  12. package/internal-do-not-import-from-here/fx/internal/stores/SharepointPageStore.d.ts +4 -4
  13. package/internal-do-not-import-from-here/fx/models/Constants.d.ts +4 -1
  14. package/internal-do-not-import-from-here/fx/models/Constants.js +8 -1
  15. package/internal-do-not-import-from-here/fx/models/Enums.d.ts +21 -0
  16. package/internal-do-not-import-from-here/fx/models/Enums.js +77 -0
  17. package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +7 -3
  18. package/internal-do-not-import-from-here/fx/models/ManifestIds.js +192 -172
  19. package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.d.ts +1 -0
  20. package/internal-do-not-import-from-here/fx/models/channels/PublishingChannel.d.ts +3 -0
  21. package/internal-do-not-import-from-here/fx/models/components/MovePageCollectionDialogStyles.d.ts +4 -0
  22. package/internal-do-not-import-from-here/fx/models/components/MovePageCollectionDialogStyles.js +1 -0
  23. package/internal-do-not-import-from-here/fx/models/components/PagePropertiesBlockStyles.d.ts +3 -0
  24. package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +13 -2
  25. package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.js +1 -0
  26. package/internal-do-not-import-from-here/fx/models/components/PageRollupBlockStyles.d.ts +5 -7
  27. package/internal-do-not-import-from-here/fx/models/components/index.d.ts +1 -0
  28. package/internal-do-not-import-from-here/fx/models/components/index.js +1 -0
  29. package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageJsonProp.d.ts +2 -0
  30. package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignagePageQuerySettings.d.ts +2 -0
  31. package/internal-do-not-import-from-here/fx/models/layout/MergedPageVersionLayout.d.ts +1 -0
  32. package/internal-do-not-import-from-here/fx/models/navigation/MovePageCollectionResult.d.ts +12 -0
  33. package/internal-do-not-import-from-here/fx/models/navigation/MovePageCollectionResult.js +1 -0
  34. package/internal-do-not-import-from-here/fx/models/navigation/index.d.ts +1 -0
  35. package/internal-do-not-import-from-here/fx/models/navigation/index.js +1 -0
  36. package/internal-do-not-import-from-here/fx/models/pagequery/PageDetailsQuery.d.ts +1 -3
  37. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupCalendarViewSettings.d.ts +6 -1
  38. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupCalendarViewSettings.js +1 -0
  39. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts +3 -1
  40. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupQuery.d.ts +1 -0
  41. package/internal-do-not-import-from-here/fx/models/pages/PageNavigationResult.d.ts +3 -0
  42. package/internal-do-not-import-from-here/fx/models/pages/VariationPage.d.ts +3 -0
  43. package/internal-do-not-import-from-here/fx/models/query/VariationQuery.d.ts +1 -1
  44. package/internal-do-not-import-from-here/fx/routing/WcmRouter.d.ts +3 -1
  45. package/internal-do-not-import-from-here/fx/services/ChannelManagementService.d.ts +4 -4
  46. package/internal-do-not-import-from-here/fx/services/NavigationService.d.ts +2 -1
  47. package/internal-do-not-import-from-here/fx/services/PageQueryService.d.ts +5 -1
  48. package/internal-do-not-import-from-here/fx/services/PageService.d.ts +5 -0
  49. package/internal-do-not-import-from-here/fx/services/PageStatisticsService.d.ts +18 -0
  50. package/internal-do-not-import-from-here/fx/services/ReusablePageService.d.ts +4 -1
  51. package/internal-do-not-import-from-here/fx/services/index.d.ts +1 -0
  52. package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +3 -4
  53. package/internal-do-not-import-from-here/fx/stores/CurrentPageStore.d.ts +2 -0
  54. package/internal-do-not-import-from-here/fx/stores/NavigationStore.d.ts +1 -0
  55. package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +15 -1
  56. package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +18 -7
  57. package/internal-do-not-import-from-here/fx/stores/PageStatisticsStore.d.ts +43 -0
  58. package/internal-do-not-import-from-here/fx/stores/PagesStore.d.ts +2 -2
  59. package/internal-do-not-import-from-here/fx/stores/index.d.ts +1 -0
  60. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerMenu.d.ts +2 -0
  61. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerToolbar.d.ts +1 -0
  62. package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
  63. package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.manifest.json +1 -1
  64. package/internal-do-not-import-from-here/models/publishingapp/PublishingAppSettings.d.ts +1 -0
  65. package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.d.ts +1 -0
  66. package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.js +2 -1
  67. package/package.json +1 -1
@@ -13,4 +13,5 @@ export interface ChannelPage {
13
13
  rejectionComment?: string;
14
14
  pageTitle?: string;
15
15
  pageUrl?: string;
16
+ isDefault?: boolean;
16
17
  }
@@ -18,3 +18,6 @@ export interface PublishingChannel {
18
18
  multilingualDescription?: string;
19
19
  disabled?: boolean;
20
20
  }
21
+ export interface PublishingChannelPage extends PublishingChannel {
22
+ isDefault: boolean;
23
+ }
@@ -0,0 +1,4 @@
1
+ import { types } from 'typestyle';
2
+ export declare const MovePageCollectionDialogStyles: {
3
+ closeButton?: types.NestedCSSProperties;
4
+ };
@@ -0,0 +1 @@
1
+ export var MovePageCollectionDialogStyles = {};
@@ -22,4 +22,7 @@ export declare const PagePropertiesBlockStyles: {
22
22
  propertyValue?: types.NestedCSSProperties;
23
23
  setting?: types.NestedCSSProperties;
24
24
  propertyText?: (theme: ITheming) => types.NestedCSSProperties;
25
+ horizontalHeaderAlign?: types.NestedCSSProperties;
26
+ horizontalHeaderAlignNoAvatarInOnePersonField?: types.NestedCSSProperties;
27
+ horizontalHeaderAlignNoAvatarInLine?: types.NestedCSSProperties;
25
28
  };
@@ -3,6 +3,9 @@ import { Page, PageCalendarViewMode, PageDialogPropertiesMapping, PageItemNode,
3
3
  import { PublishingChannelId } from '../channels';
4
4
  import { PageId } from '../pages';
5
5
  import { VariationId } from '../variations';
6
+ export interface PageRollupViewSettingsRuntimeSettings {
7
+ navigateWithVariationTargeting: boolean;
8
+ }
6
9
  export interface PageRollupViewSettings {
7
10
  selectProperties: Array<string>;
8
11
  showContentAsDialog: boolean;
@@ -117,11 +120,15 @@ export interface PageRollupVariationPropertyFilterValue extends PageRollupProper
117
120
  variationId: VariationId;
118
121
  defaultVariationId: VariationId;
119
122
  }
123
+ export interface PageRollupPublishingAppPropertyFilterValue extends PageRollupPropertyFilterValue {
124
+ value: Array<GuidValue>;
125
+ }
120
126
  export interface PageRollupPageTypePropertyFilterValue extends PageRollupPropertyFilterValue {
121
127
  value: Array<PageId>;
122
128
  }
123
129
  export interface PageRollupChannelFilterValue extends PageRollupPropertyFilterValue {
124
130
  value: Array<PublishingChannelId>;
131
+ currentUserSubscription: boolean;
125
132
  }
126
133
  export interface PageRollupWorkflowStatusPropertyFilterValue extends PageRollupPropertyFilterValue {
127
134
  value: PageRollupEnums.WorkflowStatus;
@@ -146,7 +153,6 @@ export interface PageRollupBlockBreakPointSettings {
146
153
  currentUserSubscription?: boolean;
147
154
  openPageInNewTab?: boolean;
148
155
  openInEditor?: boolean;
149
- excludeVariationUrl?: boolean;
150
156
  }
151
157
  export interface PageRollupBlockProperty {
152
158
  pickedPages?: Array<PageItemNode>;
@@ -154,6 +160,7 @@ export interface PageRollupBlockProperty {
154
160
  export interface PageRollupBlockSettings {
155
161
  scope: PageRollupEnums.RollupScopes;
156
162
  excludeCurrentPage: boolean;
163
+ excludeVariations: boolean;
157
164
  resources: Array<{
158
165
  id: string;
159
166
  typeId?: GuidValue;
@@ -213,8 +220,12 @@ export interface PageRollupBlockSettings {
213
220
  versionStatus: PageRollupEnums.VersionStatus;
214
221
  openPageInNewTab?: boolean;
215
222
  openInEditor?: boolean;
216
- excludeVariationUrl?: boolean;
217
223
  }
218
224
  export interface PageTypeSelection extends Page {
219
225
  title: string;
220
226
  }
227
+ export interface CalendarViewWeekdaysValue {
228
+ value: Array<number>;
229
+ viewStartOffset: Array<number>;
230
+ viewEndOffset: Array<number>;
231
+ }
@@ -19,12 +19,7 @@ export declare const PageRollupBlockStyles: {
19
19
  createBtnWapper?: NestedCSSPropertiesExtends;
20
20
  pickedPageWrapper?: NestedCSSPropertiesExtends;
21
21
  };
22
- export declare const PageRollupBlockListViewSettingsStyles: {
23
- columnWrapper?: types.NestedCSSProperties;
24
- orderAction?: types.NestedCSSProperties;
25
- widthInput?: types.NestedCSSProperties;
26
- showHeadingCheckbox?: types.NestedCSSProperties;
27
- };
22
+ export declare const PageRollupBlockListViewSettingsStyles: {};
28
23
  export declare const PageRollupBlockListViewViewStyles: {
29
24
  tableWrapper?: types.NestedCSSProperties;
30
25
  titleHeader?: types.NestedCSSProperties;
@@ -54,7 +49,7 @@ export declare const PageRollupBlockListingWithImageViewViewStyles: {
54
49
  socialWrapper: types.NestedCSSProperties;
55
50
  socialTime: types.NestedCSSProperties;
56
51
  leftColumn: types.NestedCSSProperties;
57
- rightColumn: types.NestedCSSProperties;
52
+ rightColumn: (imgProp: string) => types.NestedCSSProperties;
58
53
  strechedImage: types.NestedCSSProperties;
59
54
  getImageWrapper: (wrapperWidth: number, ratio: MediaPickerImageRatio) => types.NestedCSSProperties;
60
55
  summaryWrapper: types.NestedCSSProperties;
@@ -138,4 +133,7 @@ export declare const PageRollupNavigationViewStyles: {
138
133
  export declare const PageRollupBlockCalendarViewSettingsStyles: {};
139
134
  export declare const PageRollupBlockCalendarViewStyles: {
140
135
  getPadding: (spacing: SpacingSettings) => types.NestedCSSProperties;
136
+ toolbarWrapper: types.NestedCSSProperties;
137
+ toolbarLeft: types.NestedCSSProperties;
138
+ toolbarFloat: types.NestedCSSProperties;
141
139
  };
@@ -46,6 +46,7 @@ export * from "./ActivityFeed";
46
46
  export * from "./AccordionBlock";
47
47
  export * from "./AccordionBlockStyles";
48
48
  export * from './DeletedPageDialogStyles';
49
+ export * from './MovePageCollectionDialogStyles';
49
50
  export * from "./EnterpriseGlossaryPageInformationProviderStyles";
50
51
  export * from "./CommunityStyles";
51
52
  export * from "./TaxonomyNavigationStyles";
@@ -46,6 +46,7 @@ export * from "./ActivityFeed";
46
46
  export * from "./AccordionBlock";
47
47
  export * from "./AccordionBlockStyles";
48
48
  export * from './DeletedPageDialogStyles';
49
+ export * from './MovePageCollectionDialogStyles';
49
50
  export * from "./EnterpriseGlossaryPageInformationProviderStyles";
50
51
  export * from "./CommunityStyles";
51
52
  export * from "./TaxonomyNavigationStyles";
@@ -5,4 +5,6 @@ export interface DigitalSignageJsonProp {
5
5
  exportAsName: string;
6
6
  exportAsMediaName: string;
7
7
  fieldName: string;
8
+ mediaRenditionId: number;
9
+ mediaScalingId: number;
8
10
  }
@@ -3,6 +3,8 @@ import { DigitalSignageSettingsBase, PageItemNode, PageQuery, PageRollupEnums, P
3
3
  export interface DigitalSignagePageQuerySettings extends DigitalSignageSettingsBase {
4
4
  scope: PageRollupEnums.RollupScopes;
5
5
  excludeCurrentPage: boolean;
6
+ excludeVariations: boolean;
7
+ currentUserSubscription: boolean;
6
8
  resources: {
7
9
  id: string;
8
10
  typeId?: GuidValue;
@@ -3,5 +3,6 @@ import { Layout } from '@omnia/fx-models';
3
3
  export interface MergedPageVersionLayout {
4
4
  target: VersionedPageData<PageData>;
5
5
  source: VersionedPageData<PageData>;
6
+ externalSourceLayout: Layout;
6
7
  mergedLayout: Layout;
7
8
  }
@@ -0,0 +1,12 @@
1
+ import { NavigationData } from "./NavigationData";
2
+ import { NavigationNode } from "./NavigationNode";
3
+ export interface MovePageCollectionResult {
4
+ /**
5
+ * The Ids of pages which are moved
6
+ * **/
7
+ affectedPageIds: Array<number>;
8
+ /**
9
+ * The navigation nodes which are moved
10
+ * **/
11
+ affectedNodes: Array<NavigationNode<NavigationData>>;
12
+ }
@@ -11,6 +11,7 @@ export * from './PageCollectionNavigationData';
11
11
  export * from './PageCollectionNavigationNode';
12
12
  export * from './NavigationLevel';
13
13
  export * from './MoveNavigationNodeResult';
14
+ export * from './MovePageCollectionResult';
14
15
  export * from "./NodeState";
15
16
  export * from "./LinkNavigationData";
16
17
  export * from "./INavigationOptions";
@@ -12,6 +12,7 @@ export * from './PageCollectionNavigationNode';
12
12
  export * from './NavigationLevel';
13
13
  //export * from './NavigationNodeRouteState';
14
14
  export * from './MoveNavigationNodeResult';
15
+ export * from './MovePageCollectionResult';
15
16
  export * from "./NodeState";
16
17
  export * from "./LinkNavigationData";
17
18
  export * from "./INavigationOptions";
@@ -7,12 +7,10 @@ export interface PageDetailQueryResult {
7
7
  properties: {
8
8
  [key: string]: any;
9
9
  };
10
- propertyBag: {
11
- [key: string]: any;
12
- };
13
10
  pageNavigationNode: PageNavigationNode<PageNavigationData>;
14
11
  layoutDataParentPageId: number;
15
12
  workflowStatus: PageRollupEnums.WorkflowStatus;
13
+ commentsAndLikesSettings: string;
16
14
  isNew: boolean;
17
15
  variationId: VariationId;
18
16
  url: string;
@@ -1,7 +1,8 @@
1
1
  import { PageRollupViewSettings } from "..";
2
2
  export declare enum PageCalendarViewMode {
3
3
  Month = 1,
4
- Week = 2
4
+ Week = 2,
5
+ Day = 3
5
6
  }
6
7
  export interface PageRollupCalendarViewSettings extends PageRollupViewSettings {
7
8
  startDateProp: string;
@@ -10,4 +11,8 @@ export interface PageRollupCalendarViewSettings extends PageRollupViewSettings {
10
11
  height: number;
11
12
  includeTime: boolean;
12
13
  weekdays: Array<number>;
14
+ enableCalendarType: boolean;
15
+ eventHeight: number;
16
+ defaultTime: number;
17
+ eventColorEnterpriseGlossaryId?: number;
13
18
  }
@@ -2,4 +2,5 @@ export var PageCalendarViewMode;
2
2
  (function (PageCalendarViewMode) {
3
3
  PageCalendarViewMode[PageCalendarViewMode["Month"] = 1] = "Month";
4
4
  PageCalendarViewMode[PageCalendarViewMode["Week"] = 2] = "Week";
5
+ PageCalendarViewMode[PageCalendarViewMode["Day"] = 3] = "Day";
5
6
  })(PageCalendarViewMode || (PageCalendarViewMode = {}));
@@ -1,10 +1,12 @@
1
- import { PropertyIndexedType, GuidValue } from '@omnia/fx/models';
1
+ import { PropertyIndexedType, GuidValue, MultilingualString } from '@omnia/fx/models';
2
2
  import { PageRollupEnums, PageRollupViewSettings } from '..';
3
3
  export interface ListViewColumn {
4
4
  internalName: string;
5
5
  type: PropertyIndexedType;
6
6
  width?: string;
7
7
  isShowHeading?: boolean;
8
+ showCustomLabel?: boolean;
9
+ customLabel?: MultilingualString;
8
10
  }
9
11
  export interface ListViewDateTimeColumn extends ListViewColumn {
10
12
  type: PropertyIndexedType.DateTime;
@@ -25,6 +25,7 @@ export interface BatchQueryPages extends PageQuery {
25
25
  queryId: string;
26
26
  internalNames?: Array<string>;
27
27
  trimDuplicates?: boolean;
28
+ excludeVariations?: boolean;
28
29
  priority?: number;
29
30
  contentLimit?: number;
30
31
  contentProp?: string;
@@ -1,5 +1,8 @@
1
1
  import { Page, PageId } from './Page';
2
2
  import { Variation } from '../variations/Variation';
3
+ /**
4
+ * @deprecated Remove in 7.0
5
+ * */
3
6
  export interface PageNavigationResult {
4
7
  page: Page;
5
8
  pageCollectionId: PageId;
@@ -3,4 +3,7 @@ export interface VariationPage extends Page {
3
3
  variationId: number;
4
4
  variationOfPageId: number;
5
5
  variationSegment: string;
6
+ variationPages: {
7
+ [variationId: number]: VariationPage;
8
+ };
6
9
  }
@@ -2,5 +2,5 @@ import { VariationId, QueryFilter } from '..';
2
2
  export interface VariationQuery {
3
3
  variationId?: VariationId;
4
4
  filter: QueryFilter;
5
- fallbackDefault: boolean;
5
+ fallbackDefault?: boolean;
6
6
  }
@@ -8,6 +8,7 @@ export declare class WcmRouter {
8
8
  private omniaCtx;
9
9
  private wcmContext;
10
10
  private publishingAppInfoStore;
11
+ private userTargetingStore;
11
12
  private isVariationSwitch;
12
13
  private currentNavigatedState;
13
14
  private loadTreeForPathPromises;
@@ -18,6 +19,8 @@ export declare class WcmRouter {
18
19
  private getDefaultRoute;
19
20
  private loadTreeForPath;
20
21
  navigate<T extends NavigationNode<NavigationData>>(to: T, targetVariationId?: any): Promise<T>;
22
+ navigateWithVariationTargeting<T extends NavigationNode<NavigationData>>(to: T): Promise<T>;
23
+ private getTargetingVariation;
21
24
  onDisposing(): void;
22
25
  private executeScrollingIfNeeded;
23
26
  private executeNewNavigationState;
@@ -28,7 +31,6 @@ export declare class WcmRouter {
28
31
  * */
29
32
  private createNavigationStateForNode;
30
33
  private tryParseNumber;
31
- private setPageVisited;
32
34
  private getPageTitle;
33
35
  private getPageState;
34
36
  private getUsingVariationSegment;
@@ -1,6 +1,6 @@
1
1
  import { TargetingFilterProperty } from '@omnia/fx-sp/models';
2
2
  import { Identity, MediaPickerImage, MultilingualString } from '@omnia/fx/models';
3
- import { PublishingChannel, PageId, UserAuthorizedChannelResources, ChannelPage, PublishingStatus, PublishingChannelId } from '../models';
3
+ import { PublishingChannel, PageId, UserAuthorizedChannelResources, ChannelPage, PublishingStatus, PublishingChannelId, PublishingChannelPage } from '../models';
4
4
  export declare class ChannelManagementService {
5
5
  private httpClient;
6
6
  constructor();
@@ -11,14 +11,14 @@ export declare class ChannelManagementService {
11
11
  getPublishingChannelById: (channelId: number) => Promise<PublishingChannel>;
12
12
  getChannelPages: (pageId: PageId) => Promise<ChannelPage[]>;
13
13
  getChannelsForPublishedPages: (pageIds: PageId[]) => Promise<{
14
- [pageId: number]: PublishingChannel[];
14
+ [pageId: number]: PublishingChannelPage[];
15
15
  }>;
16
16
  deletePublishingChannel: (channelId: PublishingChannelId) => Promise<PublishingChannel>;
17
17
  getUserPermissions: (userIdentity: string) => Promise<UserAuthorizedChannelResources>;
18
18
  getChannelPagesByStatus: (status: PublishingStatus) => Promise<Array<ChannelPage>>;
19
19
  approvePublishPageToChannel: (channel: PublishingChannel, pageId: PageId, pageTitle: string, pageUrl: string) => Promise<ChannelPage>;
20
20
  rejectPublishPageToChannel: (channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => Promise<ChannelPage>;
21
- addPageToChannels: (pageId: number, channelToPublishTo: Array<PublishingChannelId>) => Promise<Array<ChannelPage>>;
21
+ addPageToChannels: (pageId: number, channelToPublishTo: Array<PublishingChannelId>, defaultPublishingChannelId: PublishingChannelId) => Promise<Array<ChannelPage>>;
22
22
  publishAddedPageToChannel: (pageId: PageId) => Promise<Array<ChannelPage>>;
23
- publishPageToChannels: (pageId: number, channelToPublishTo: Array<PublishingChannelId>) => Promise<Array<ChannelPage>>;
23
+ publishPageToChannels: (pageId: number, channelToPublishTo: Array<PublishingChannelId>, defaultPublishingChannelId: PublishingChannelId) => Promise<Array<ChannelPage>>;
24
24
  }
@@ -1,4 +1,4 @@
1
- import { NavigationData, NavigationNode, NavigationResult, NodeId, NavigationPosition, MoveNavigationNodeResult, PageId, PageNavigationData, PageNavigationNode, NavigationDataType, NavigationNodeQuery } from "../models";
1
+ import { NavigationData, NavigationNode, NavigationResult, NodeId, NavigationPosition, MoveNavigationNodeResult, MovePageCollectionResult, PageId, PageNavigationData, PageNavigationNode, NavigationDataType, NavigationNodeQuery } from "../models";
2
2
  import { HttpClient } from '@omnia/fx';
3
3
  import { GuidValue } from '@omnia/fx-models';
4
4
  export declare class NavigationService {
@@ -40,6 +40,7 @@ export declare class NavigationService {
40
40
  **/
41
41
  updateNodeData: <T extends NavigationNode<NavigationData>>(node: T) => Promise<T>;
42
42
  move: <T extends NavigationNode<NavigationData>>(nodeToMove: T, newPosition: NavigationPosition) => Promise<MoveNavigationNodeResult>;
43
+ movePageCollection: (pageCollectionId: number, targetPublishingAppId: string) => Promise<MovePageCollectionResult>;
43
44
  getParentNodes: <T extends NavigationNode<NavigationData>>(nodeToGetParentsFor: T, nodeTypes?: NavigationDataType) => Promise<Array<NavigationNode<NavigationData>>>;
44
45
  getChildNodes: <T extends NavigationNode<NavigationData>>(nodeToGetParentsFor: T, nodeTypes?: NavigationDataType, depth?: number, forceFromPublishingAppId?: string) => Promise<Array<NavigationNode<NavigationData>>>;
45
46
  getMegamenuChildNodes: <T extends NavigationNode<NavigationData>>(nodeToGetParentsFor: T, nodeTypes?: NavigationDataType, depth?: number, forceFromPublishingAppId?: string) => Promise<Array<NavigationNode<NavigationData>>>;
@@ -1,9 +1,11 @@
1
1
  import { PageCollectionSelection, ResolveReusablePageResult, PendingApprovalPage, PageId, SimplePageQuery, PageContentsQueryResult, BatchQueryPages, BatchQueryPagesResult } from '../models';
2
2
  import { WcmContext } from '../contexts';
3
+ import { MultilingualStore } from '@omnia/fx/stores';
3
4
  export declare class PageQueryService {
4
5
  private httpClient;
5
6
  private omniaContext;
6
7
  wcmContext: WcmContext;
8
+ multilingualStore: MultilingualStore;
7
9
  constructor();
8
10
  private static getPageCollectionSelectionsPromises;
9
11
  private getUrlResolve;
@@ -13,7 +15,9 @@ export declare class PageQueryService {
13
15
  queryBatchPages: (queries: BatchQueryPages[], cancelRequest?: (cancelToken: any) => void) => Promise<BatchQueryPagesResult>;
14
16
  getPagesContents: (queryDetails: SimplePageQuery) => Promise<PageContentsQueryResult[]>;
15
17
  getDefaultPageImageSrc: () => string;
16
- exportToExcel: (query: BatchQueryPages) => Promise<void>;
18
+ exportToExcel: (query: BatchQueryPages, exportingFileName: string, exportingBlockId: string) => Promise<string>;
19
+ getExportedFile: (exportingFileName: string, exportingBlockId: string) => Promise<void>;
20
+ exportToExcel1: (query: BatchQueryPages) => Promise<void>;
17
21
  private processPagesDetailData;
18
22
  private getPageVisited;
19
23
  private findPageInNode;
@@ -76,6 +76,11 @@ export declare class PageService {
76
76
  getVersionInformation: (pageId: PageId) => Promise<Array<VersionInformation>>;
77
77
  revert: <T extends PageData>(versiontoRevert: VersionedPageData<T>) => Promise<VersionedPageData<T>>;
78
78
  getPageCollectionSelection: (fromPublishingAppId: string, fromPageCollectionIds?: Array<string>) => Promise<IHttpApiOperationResult<PageCollectionSelection[]>>;
79
+ /**
80
+ * @deprecated Remove in 7.0
81
+ *
82
+ * @param pageId
83
+ */
79
84
  getPageNavigationResult: (pageId: PageId) => Promise<PageNavigationResult>;
80
85
  private tempFixDateTimeFormatInEnterpriseProperty;
81
86
  visitedpage: (pageId: PageId) => Promise<ReadNews>;
@@ -0,0 +1,18 @@
1
+ import { PageReportByUserPropertiesOption, PageReportOption, PageViewedRegister, ScheduledReportItem } from '../../models';
2
+ import { UsageReportItem, CheckedOutReportItem, ReviewReportItem, DailyStatisticsPerPage, PageStatisticExport } from '../../models';
3
+ export declare class PageStatisticsService {
4
+ private httpClient;
5
+ private omniaContext;
6
+ constructor();
7
+ createPageStatistics(pageViewedRegister: PageViewedRegister): Promise<any>;
8
+ getUsageReport(reportOptions: PageReportOption): Promise<Array<UsageReportItem>>;
9
+ getUsageReportByUserProperties(reportOptions: PageReportByUserPropertiesOption): Promise<UsageReportItem>;
10
+ getCheckedOutReport(reportOptions: PageReportOption): Promise<Array<CheckedOutReportItem>>;
11
+ getReviewReport(reportOptions: PageReportOption): Promise<Array<ReviewReportItem>>;
12
+ getScheduledReport(reportOptions: PageReportOption): Promise<Array<ScheduledReportItem>>;
13
+ exportUsageReport(reportOptions: PageReportOption): Promise<PageStatisticExport>;
14
+ exportCheckoutReport(reportOptions: PageReportOption): Promise<PageStatisticExport>;
15
+ exportReviewReport(reportOptions: PageReportOption): Promise<PageStatisticExport>;
16
+ exportScheduledReport(reportOptions: PageReportOption): Promise<PageStatisticExport>;
17
+ getDailyStatisticsPerPage(pageId: number, includeSubPages: boolean): Promise<Array<DailyStatisticsPerPage>>;
18
+ }
@@ -3,7 +3,10 @@ import { ReusablePages } from '../models';
3
3
  export declare class ReusablePageService {
4
4
  private httpClient;
5
5
  private readonly baseUrl;
6
- getTargetPagesInfo: (sourcePageId: PageId) => Promise<Array<ReusablePages>>;
6
+ getTargetPagesInfo: (sourcePageId: PageId, ensureImplicitSync?: boolean) => Promise<Array<ReusablePages>>;
7
+ /**
8
+ * @deprecated Removed in 7.0
9
+ */
7
10
  publishAll: (sourcePageId: PageId) => Promise<Array<ReusablePages>>;
8
11
  retryToPublish: (targetPageId: PageId, targetPubappId: string) => Promise<ReusablePages>;
9
12
  getPageInfo: (targetPageId: PageId) => Promise<ReusablePages>;
@@ -15,3 +15,4 @@ export * from "./ReusablePageService";
15
15
  export * from './PageHiddenService';
16
16
  export * from './ChannelManagementService';
17
17
  export * from './YammerService';
18
+ export * from "./PageStatisticsService";
@@ -2,7 +2,7 @@ import { Identity, IOmniaContext, MediaPickerImage, MultilingualString, Resolved
2
2
  import { TargetingFilterProperty } from '@omnia/fx-sp/models';
3
3
  import { MediaPickerService } from '@omnia/fx/services';
4
4
  import { MultilingualStore, Store } from '@omnia/fx/stores';
5
- import { PublishingChannel, PageId } from '../models';
5
+ import { PublishingChannel, PageId, PublishingChannelPage } from '../models';
6
6
  import { PublishingChannelId, ChannelPage } from '../models';
7
7
  import { TopicsActivityStore } from './TopicsActivityStore';
8
8
  interface ChannelIdtoChannelMap {
@@ -38,7 +38,7 @@ export declare class ChannelManagementStore extends Store {
38
38
  getters: {
39
39
  getRecentlyUsedChannels: () => PublishingChannel[];
40
40
  getPublishedChannelsPage: () => {
41
- [key: string]: PublishingChannel[];
41
+ [key: string]: PublishingChannelPage[];
42
42
  };
43
43
  getPublishingChannels: () => PublishingChannel[];
44
44
  getPublisingChannelbyId: (channelId: PublishingChannelId) => PublishingChannel;
@@ -68,7 +68,6 @@ export declare class ChannelManagementStore extends Store {
68
68
  ensureLoadData: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
69
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
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
71
  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
72
  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
73
  updatePublishingChannel: import("@omnia/fx/stores").StoreAction<unknown, (editRequest: PublishingChannel) => void, (result: PublishingChannel, editRequest: PublishingChannel) => void, (failureReason: any, editRequest: PublishingChannel) => void, (editRequest: PublishingChannel) => Promise<PublishingChannel>>;
@@ -76,7 +75,7 @@ export declare class ChannelManagementStore extends Store {
76
75
  getPageApprovalList: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: ChannelPage[]) => void, (failureReason: any) => void, () => Promise<Array<ChannelPage>>>;
77
76
  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
77
  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>>>;
78
+ addPageToChannels: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number, defaultPublishingChannelId: PublishingChannelId) => void, (result: ChannelPage[], pageId: number, defaultPublishingChannelId: PublishingChannelId) => void, (failureReason: any, pageId: number, defaultPublishingChannelId: PublishingChannelId) => void, (pageId: number, defaultPublishingChannelId: PublishingChannelId) => Promise<Array<ChannelPage>>>;
80
79
  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
80
  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
81
  ensureUserPublishingChannelSubscripton: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
@@ -1,5 +1,6 @@
1
1
  import { Store } from '@omnia/fx/stores';
2
2
  import { Page, VersionReference, PageId, VersionId, IPageVersion } from '../models';
3
+ import { Layout } from '@omnia/fx-models';
3
4
  export interface ICurrentPageState {
4
5
  /**
5
6
  * Reference to the current page
@@ -21,6 +22,7 @@ export interface ICurrentPageState {
21
22
  * if the current version does not have a parentLayoutPageId this version data will be null
22
23
  * */
23
24
  readonly parentLayout?: IPageVersion;
25
+ readonly externalParentLayout?: Layout;
24
26
  }
25
27
  export declare class CurrentPageStore extends Store {
26
28
  private pageService;
@@ -49,6 +49,7 @@ export declare class NavigationStore extends Store {
49
49
  createNode: import("@omnia/fx/stores").StoreAction<unknown, (nodeData: NavigationData, position: NavigationPosition) => void, (result: NavigationNode<NavigationData>, nodeData: NavigationData, position: NavigationPosition) => void, (failureReason: any, nodeData: NavigationData, position: NavigationPosition) => void, <T_1 extends NavigationData>(nodeData: T_1, position: NavigationPosition) => Promise<NavigationNode<NavigationData>>>;
50
50
  moveNode: import("@omnia/fx/stores").StoreAction<unknown, (navigationNode: NavigationNode<NavigationData>, newPosition: NavigationPosition) => void, (result: void, navigationNode: NavigationNode<NavigationData>, newPosition: NavigationPosition) => void, (failureReason: any, navigationNode: NavigationNode<NavigationData>, newPosition: NavigationPosition) => void, (navigationNode: NavigationNode<NavigationData>, newPosition: NavigationPosition) => Promise<void>>;
51
51
  movePageNode: import("@omnia/fx/stores").StoreAction<unknown, (navigationNode: NavigationNode<NavigationData>, newPosition: NavigationPosition, moveResult: MoveNavigationNodeResult) => void, (result: void, navigationNode: NavigationNode<NavigationData>, newPosition: NavigationPosition, moveResult: MoveNavigationNodeResult) => void, (failureReason: any, navigationNode: NavigationNode<NavigationData>, newPosition: NavigationPosition, moveResult: MoveNavigationNodeResult) => void, (navigationNode: NavigationNode<NavigationData>, newPosition: NavigationPosition, moveResult: MoveNavigationNodeResult) => Promise<void>>;
52
+ movePageCollection: import("@omnia/fx/stores").StoreAction<unknown, (pageCollectionId: number, targetPublishingAppId: string) => void, (result: number[], pageCollectionId: number, targetPublishingAppId: string) => void, (failureReason: any, pageCollectionId: number, targetPublishingAppId: string) => void, (pageCollectionId: number, targetPublishingAppId: string) => Promise<number[]>>;
52
53
  ensureNodesWithPageIds: import("@omnia/fx/stores").StoreAction<unknown, (...args: PageId[]) => void, (result: void, ...args: PageId[]) => void, (failureReason: any, ...args: PageId[]) => void, (...pageIds: Array<PageId>) => Promise<void>>;
53
54
  ensureChildren: import("@omnia/fx/stores").StoreAction<unknown, (node: NavigationNode<NavigationData>, depth?: number, forceFromPublishingAppId?: string) => void, (result: void, node: NavigationNode<NavigationData>, depth?: number, forceFromPublishingAppId?: string) => void, (failureReason: any, node: NavigationNode<NavigationData>, depth?: number, forceFromPublishingAppId?: string) => void, (node: NavigationNode<NavigationData>, depth?: number, forceFromPublishingAppId?: string) => Promise<void>>;
54
55
  ensureTreeForNode: import("@omnia/fx/stores").StoreAction<unknown, (node: NavigationNode<NavigationData>) => void, (result: NavigationResult, node: NavigationNode<NavigationData>) => void, (failureReason: any, node: NavigationNode<NavigationData>) => void, (node: NavigationNode<NavigationData>) => Promise<NavigationResult>>;
@@ -45,6 +45,7 @@ export declare class PageRollupStore extends Store {
45
45
  }>;
46
46
  private indexedDbPageRollup;
47
47
  private pageTypes;
48
+ private relevantAppInfo;
48
49
  private pageTypesLoadPromise;
49
50
  private publishingChannelSettings;
50
51
  private loadIndexedDBPromise;
@@ -71,6 +72,10 @@ export declare class PageRollupStore extends Store {
71
72
  publishingChannelSettings: (uniqueKey: string) => string[];
72
73
  sortPagesByNavigation: (pages: PageDetailQueryResult[], navigationStartNodeId?: number, sortDescending?: boolean) => PageDetailQueryResult[];
73
74
  loadIndexedDb: () => Promise<void>;
75
+ relevantAppIds: (uniqueKey: string) => {
76
+ id: string;
77
+ title: string;
78
+ }[];
74
79
  };
75
80
  private generatePageSocialCountingAndPageStatisticsColumn;
76
81
  private getPageRollupDataFromIndexedDB;
@@ -83,12 +88,21 @@ export declare class PageRollupStore extends Store {
83
88
  addOrUpdateIndexedDBPages: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pages: Array<PageDetailQueryResult>) => void, (uniqueKey: string, pages: PageDetailQueryResult[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
84
89
  updatePageTypes: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pageTypes: Array<PageTypeSelection>) => void, (uniqueKey: string, pageTypes: PageTypeSelection[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
85
90
  updatePublishingChannelSettings: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, channelsId: Array<string>) => void, (uniqueKey: string, channelsId: string[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
91
+ updateRollupRelevantAppInfo: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, appInfo: {
92
+ id: string;
93
+ title: string;
94
+ }[]) => void, (uniqueKey: string, appInfo: {
95
+ id: string;
96
+ title: string;
97
+ }[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
86
98
  };
87
99
  actions: {
88
100
  navigate: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: boolean, openInEditor?: boolean) => void, (result: void, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: boolean, openInEditor?: boolean) => void, (failureReason: any, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: boolean, openInEditor?: boolean) => void, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: boolean, openInEditor?: boolean) => Promise<void>>;
101
+ navigateWithVariationTargeting: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: boolean, openInEditor?: boolean) => void, (result: PageNavigationNode<PageNavigationData>, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: boolean, openInEditor?: boolean) => void, (failureReason: any, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: boolean, openInEditor?: boolean) => void, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: boolean, openInEditor?: boolean) => Promise<PageNavigationNode<PageNavigationData>>>;
89
102
  loadPageContentData: import("@omnia/fx/stores").StoreAction<unknown, (pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: boolean) => void, (result: void, pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: boolean) => void, (failureReason: any, pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: boolean) => void, (pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: boolean) => Promise<void>>;
90
103
  ensureLoadPageTypes: import("@omnia/fx/stores").StoreAction<unknown, (publishingAppIds: string[]) => void, (result: void, publishingAppIds: string[]) => void, (failureReason: any, publishingAppIds: string[]) => void, (publishingAppIds: string[]) => Promise<void>>;
91
- exportToExcel: import("@omnia/fx/stores").StoreAction<unknown, (query: BatchQueryPages) => void, (result: void, query: BatchQueryPages) => void, (failureReason: any, query: BatchQueryPages) => void, (query: BatchQueryPages) => Promise<void>>;
104
+ exportToExcel: import("@omnia/fx/stores").StoreAction<unknown, (query: BatchQueryPages, exportingFileName: string, exportingBlockId: string) => void, (result: string, query: BatchQueryPages, exportingFileName: string, exportingBlockId: string) => void, (failureReason: any, query: BatchQueryPages, exportingFileName: string, exportingBlockId: string) => void, (query: BatchQueryPages, exportingFileName: string, exportingBlockId: string) => Promise<string>>;
105
+ getExportedFile: import("@omnia/fx/stores").StoreAction<unknown, (exportingFileName: string, exportingBlockId: string) => void, (result: void, exportingFileName: string, exportingBlockId: string) => void, (failureReason: any, exportingFileName: string, exportingBlockId: string) => void, (exportingFileName: string, exportingBlockId: string) => Promise<void>>;
92
106
  };
93
107
  /**
94
108
  * Find page and page variation in specific node