@omnia/wcm 6.10.0-preview → 6.10.0
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.
- package/internal-do-not-import-from-here/core/Utils.d.ts +2 -1
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +12 -1
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +24 -8
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +13 -0
- package/internal-do-not-import-from-here/core/messaging/WcmInternalTopics.d.ts +0 -1
- package/internal-do-not-import-from-here/fx/constants.d.ts +19 -1
- package/internal-do-not-import-from-here/fx/helpers/ItemQueryHelper.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/helpers/LayoutHelper.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/internal/models/SharepointSynchronizedEvent.d.ts +10 -0
- package/internal-do-not-import-from-here/fx/internal/models/SharepointSynchronizedResourceStatus.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/internal/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/internal/services/SharepointPageService.d.ts +5 -2
- package/internal-do-not-import-from-here/fx/internal/stores/SharepointPageStore.d.ts +4 -4
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +4 -1
- package/internal-do-not-import-from-here/fx/models/Constants.js +8 -1
- package/internal-do-not-import-from-here/fx/models/Enums.d.ts +21 -0
- package/internal-do-not-import-from-here/fx/models/Enums.js +77 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +7 -3
- package/internal-do-not-import-from-here/fx/models/ManifestIds.js +192 -172
- package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/channels/PublishingChannel.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/components/MovePageCollectionDialogStyles.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/components/MovePageCollectionDialogStyles.js +1 -0
- package/internal-do-not-import-from-here/fx/models/components/PagePropertiesBlockStyles.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +19 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.js +1 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlockStyles.d.ts +5 -7
- package/internal-do-not-import-from-here/fx/models/components/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageJsonProp.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignagePageQuerySettings.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/eventmanagement/EventCalendar.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/layout/MergedPageVersionLayout.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/navigation/MovePageCollectionResult.d.ts +12 -0
- package/internal-do-not-import-from-here/fx/models/navigation/MovePageCollectionResult.js +1 -0
- package/internal-do-not-import-from-here/fx/models/navigation/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/navigation/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageDetailsQuery.d.ts +1 -3
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupCalendarViewSettings.d.ts +6 -1
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupCalendarViewSettings.js +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupQuery.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageNavigationResult.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/pages/VariationPage.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/query/VariationQuery.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/routing/WcmRouter.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/services/ChannelManagementService.d.ts +4 -4
- package/internal-do-not-import-from-here/fx/services/NavigationService.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/services/PageQueryService.d.ts +5 -1
- package/internal-do-not-import-from-here/fx/services/PageService.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/services/PageStatisticsService.d.ts +18 -0
- package/internal-do-not-import-from-here/fx/services/ParticipantService.d.ts +1 -2
- package/internal-do-not-import-from-here/fx/services/ReusablePageService.d.ts +4 -1
- package/internal-do-not-import-from-here/fx/services/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +3 -4
- package/internal-do-not-import-from-here/fx/stores/CurrentPageStore.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/stores/NavigationStore.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +17 -3
- package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +18 -7
- package/internal-do-not-import-from-here/fx/stores/PageStatisticsStore.d.ts +43 -0
- package/internal-do-not-import-from-here/fx/stores/PagesStore.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/stores/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/ux/InternalUxCore.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/ux/loc/localize.d.ts +14 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerMenu.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerToolbar.d.ts +1 -0
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/publishingapp/PublishingAppSettings.d.ts +1 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.d.ts +2 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.js +4 -2
- package/package.json +1 -1
package/internal-do-not-import-from-here/fx/models/components/MovePageCollectionDialogStyles.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export var MovePageCollectionDialogStyles = {};
|
package/internal-do-not-import-from-here/fx/models/components/PagePropertiesBlockStyles.d.ts
CHANGED
|
@@ -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;
|
|
@@ -20,6 +23,8 @@ export interface PageRollupViewSettings {
|
|
|
20
23
|
sortDescending?: boolean;
|
|
21
24
|
viewFilters?: Array<PageRollupPropertyFilter>;
|
|
22
25
|
showExportToExcel: boolean;
|
|
26
|
+
pageInNewTab: boolean;
|
|
27
|
+
openInEditor: boolean;
|
|
23
28
|
}
|
|
24
29
|
export interface PageRollupViewSettingsColumnMapping {
|
|
25
30
|
internalName: string;
|
|
@@ -115,11 +120,15 @@ export interface PageRollupVariationPropertyFilterValue extends PageRollupProper
|
|
|
115
120
|
variationId: VariationId;
|
|
116
121
|
defaultVariationId: VariationId;
|
|
117
122
|
}
|
|
123
|
+
export interface PageRollupPublishingAppPropertyFilterValue extends PageRollupPropertyFilterValue {
|
|
124
|
+
value: Array<GuidValue>;
|
|
125
|
+
}
|
|
118
126
|
export interface PageRollupPageTypePropertyFilterValue extends PageRollupPropertyFilterValue {
|
|
119
127
|
value: Array<PageId>;
|
|
120
128
|
}
|
|
121
129
|
export interface PageRollupChannelFilterValue extends PageRollupPropertyFilterValue {
|
|
122
130
|
value: Array<PublishingChannelId>;
|
|
131
|
+
currentUserSubscription: boolean;
|
|
123
132
|
}
|
|
124
133
|
export interface PageRollupWorkflowStatusPropertyFilterValue extends PageRollupPropertyFilterValue {
|
|
125
134
|
value: PageRollupEnums.WorkflowStatus;
|
|
@@ -142,6 +151,8 @@ export interface PageRollupBlockBreakPointSettings {
|
|
|
142
151
|
pagingType: PagingTypes;
|
|
143
152
|
itemLimit: number;
|
|
144
153
|
currentUserSubscription?: boolean;
|
|
154
|
+
openPageInNewTab?: boolean;
|
|
155
|
+
openInEditor?: boolean;
|
|
145
156
|
}
|
|
146
157
|
export interface PageRollupBlockProperty {
|
|
147
158
|
pickedPages?: Array<PageItemNode>;
|
|
@@ -149,6 +160,7 @@ export interface PageRollupBlockProperty {
|
|
|
149
160
|
export interface PageRollupBlockSettings {
|
|
150
161
|
scope: PageRollupEnums.RollupScopes;
|
|
151
162
|
excludeCurrentPage: boolean;
|
|
163
|
+
excludeVariations: boolean;
|
|
152
164
|
resources: Array<{
|
|
153
165
|
id: string;
|
|
154
166
|
typeId?: GuidValue;
|
|
@@ -206,7 +218,14 @@ export interface PageRollupBlockSettings {
|
|
|
206
218
|
currentUserSubscription?: boolean;
|
|
207
219
|
nodeType?: PageRollupEnums.NodeType;
|
|
208
220
|
versionStatus: PageRollupEnums.VersionStatus;
|
|
221
|
+
openPageInNewTab?: boolean;
|
|
222
|
+
openInEditor?: boolean;
|
|
209
223
|
}
|
|
210
224
|
export interface PageTypeSelection extends Page {
|
|
211
225
|
title: string;
|
|
212
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";
|
|
@@ -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;
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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;
|
package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupCalendarViewSettings.d.ts
CHANGED
|
@@ -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
|
}
|
package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupCalendarViewSettings.js
CHANGED
|
@@ -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 = {}));
|
|
@@ -50,6 +50,7 @@ export var PageRollupEnums;
|
|
|
50
50
|
WorkflowStatus[WorkflowStatus["CheckedOut"] = 1] = "CheckedOut";
|
|
51
51
|
WorkflowStatus[WorkflowStatus["WaitingForApproval"] = 2] = "WaitingForApproval";
|
|
52
52
|
WorkflowStatus[WorkflowStatus["ScheduleForPublishing"] = 4] = "ScheduleForPublishing";
|
|
53
|
+
WorkflowStatus[WorkflowStatus["PendingPublishing"] = 8] = "PendingPublishing";
|
|
53
54
|
})(WorkflowStatus = PageRollupEnums.WorkflowStatus || (PageRollupEnums.WorkflowStatus = {}));
|
|
54
55
|
var VersionStatus;
|
|
55
56
|
(function (VersionStatus) {
|
package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts
CHANGED
|
@@ -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;
|
|
@@ -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]:
|
|
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
|
|
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
|
|
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<
|
|
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
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OmniaContext } from '@omnia/fx';
|
|
2
|
-
import { Participant
|
|
2
|
+
import { Participant } from '../models';
|
|
3
3
|
import { PageId } from '@omnia/wcm/models';
|
|
4
4
|
export declare var BASE_URL: string;
|
|
5
5
|
export declare class ParticipantService {
|
|
@@ -9,7 +9,6 @@ export declare class ParticipantService {
|
|
|
9
9
|
getParticipantByLoginNameOrEmail: (loginNameOrEmail: string, pageId: number) => Promise<Participant>;
|
|
10
10
|
getParticipants: (pageId: PageId) => Promise<Array<Participant>>;
|
|
11
11
|
addOrUpdateParticipant: (participant: Participant) => Promise<Participant>;
|
|
12
|
-
updateParticipantStatus: (participant: ParticipantStatusModel) => Promise<ParticipantStatusModel>;
|
|
13
12
|
deleteParticipant: (participant: Participant) => Promise<Participant>;
|
|
14
13
|
moveParticipantToStandbyList: (participant: Participant) => Promise<Participant>;
|
|
15
14
|
moveParticipantToOfficialList: (participant: Participant) => Promise<Participant>;
|
|
@@ -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>;
|
|
@@ -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]:
|
|
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;
|
|
@@ -27,7 +27,7 @@ export declare class NavigationStore extends Store {
|
|
|
27
27
|
getChildren: (node: NavigationNode<NavigationData>, forceFromPublishingAppId?: string) => Array<NavigationNode<NavigationData>>;
|
|
28
28
|
isLoadingChildren: (node: NavigationNode<NavigationData>) => boolean;
|
|
29
29
|
getParents: <T_1 extends NavigationNode<NavigationData>>(node: NavigationNode<NavigationData>, nodeTypes?: NavigationDataType) => T_1[];
|
|
30
|
-
absoluteUrl: (node: NavigationNode<NavigationData>, variationId?: VariationId) => string;
|
|
30
|
+
absoluteUrl: (node: NavigationNode<NavigationData>, variationId?: VariationId, excludeVariationUrl?: boolean) => string;
|
|
31
31
|
sortSiblingNodes: (nodes: Array<NavigationNode<NavigationData>>) => NavigationNode<NavigationData>[];
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
@@ -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>>;
|