@omnia/wcm 8.0.8-dev → 8.0.10-dev
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/README.md +2 -2
- package/internal-do-not-import-from-here/core/Constants.d.ts +3 -1
- package/internal-do-not-import-from-here/core/Utils.d.ts +4 -0
- package/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +5 -0
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +34 -0
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +4 -0
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +17 -3
- package/internal-do-not-import-from-here/core/messaging/WcmPublicTopics.d.ts +3 -1
- package/internal-do-not-import-from-here/core/ux/EnterprisePropertyRenderer.d.ts +1 -52
- package/internal-do-not-import-from-here/fx/apis/LinkTemplate.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/apis/PageRenderer.d.ts +14 -0
- package/internal-do-not-import-from-here/fx/apis/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/constants.d.ts +13 -1
- package/internal-do-not-import-from-here/fx/internal/services/NavigationTitleHelperService.d.ts +5 -1
- package/internal-do-not-import-from-here/fx/internal/stores/OmniaSearchPageStore.d.ts +7 -2
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +4 -2
- package/internal-do-not-import-from-here/fx/models/Constants.js +7 -5
- package/internal-do-not-import-from-here/fx/models/Enums.tooling.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/Enums.tooling.js +2 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/FixPageContentAnalysisRequest.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/FixPageContentAnalysisRequest.js +2 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReport.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.js +1 -0
- package/internal-do-not-import-from-here/fx/models/components/ActivityFeed.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/components/BannerBlock.d.ts +1 -2
- package/internal-do-not-import-from-here/fx/models/components/BreadcrumbBlock.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/components/ContentBlock.d.ts +6 -3
- package/internal-do-not-import-from-here/fx/models/components/ContentBlock.js +2 -0
- package/internal-do-not-import-from-here/fx/models/components/LinkPicker.d.ts +1 -8
- package/internal-do-not-import-from-here/fx/models/components/MobileNavigationStyles.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/components/RelatedLinkBlock.d.ts +1 -2
- package/internal-do-not-import-from-here/fx/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/linkpicker/ILinkPickerProvider.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/navigation/MoveNavigationNodeResult.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/navigation/MoveNavigationNodeResult.js +6 -0
- package/internal-do-not-import-from-here/fx/models/navigation/MovePageCollectionResult.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/VelcronViewSettings.d.ts +25 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/VelcronViewSettings.js +2 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/MovePageTracking.d.ts +40 -0
- package/internal-do-not-import-from-here/fx/models/pages/MovePageTracking.js +15 -0
- package/internal-do-not-import-from-here/fx/models/pages/MovePagesResult.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/pages/Page.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/models/pages/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PageCollectionPropertyValue.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PageCollectionPropertyValue.js +3 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PageTypePropertyValue.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PageTypePropertyValue.js +3 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PublishAppPropertyValue.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/properties/values/PublishAppPropertyValue.js +3 -0
- package/internal-do-not-import-from-here/fx/models/richtexteditor/MediaPickerMessage.d.ts +1 -2
- package/internal-do-not-import-from-here/fx/models/search/PageDocument.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/seo/PageMetaTag.d.ts +31 -0
- package/internal-do-not-import-from-here/fx/models/seo/PageMetaTag.js +24 -0
- package/internal-do-not-import-from-here/fx/models/seo/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/seo/index.js +4 -0
- package/internal-do-not-import-from-here/fx/routing/WcmRouter.d.ts +6 -3
- package/internal-do-not-import-from-here/fx/services/AiContentPageReportService.d.ts +4 -1
- package/internal-do-not-import-from-here/fx/services/NavigationService.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/services/PageService.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/services/PublishingRuleService.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/services/SeoService.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/services/TopicActivityService.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/services/VariationService.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/services/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/shared/OmniaSearchQueryHelper.d.ts +5 -3
- package/internal-do-not-import-from-here/fx/shared/PageRollupStoreHelper.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/stores/ChannelCategoriesStore.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/stores/CurrentNavigationStore.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/stores/CurrentPageStore.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/stores/LinkPickerStore.d.ts +5 -28
- package/internal-do-not-import-from-here/fx/stores/NavigationStore.d.ts +5 -5
- package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +0 -6
- package/internal-do-not-import-from-here/fx/stores/PagesStore.d.ts +7 -4
- package/internal-do-not-import-from-here/fx/stores/PublishingRuleStore.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/stores/TopicsActivityStore.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/stores/VariationStore.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/ux/InternalUxCore.d.ts +7 -2
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerEditorExtension.d.ts +8 -14
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerMenu.d.ts +3 -7
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerToolbar.d.ts +3 -7
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/UseLinkPickerToolbarHelper.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/ux/use/UseWcmIcons.d.ts +2 -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/editor/Constants.d.ts +1 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.js +1 -0
- package/internal-do-not-import-from-here/models/relatedlinks/LinkItemTemplateMsg.d.ts +1 -1
- package/internal-do-not-import-from-here/tooling.output.json +1 -1
- package/package.json +7 -8
- package/task.js +1 -2
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { PropertyMapping } from "../block";
|
|
2
|
-
import { Spacing, MultilingualString, guid, BlockSettingsWithDefaultProperty, RichTextEditorExtensionRegistration, ColorValue } from "@omnia/fx-models";
|
|
2
|
+
import { Spacing, MultilingualString, guid, BlockSettingsWithDefaultProperty, RichTextEditorExtensionRegistration, ColorValue, TextBlueprint } from "@omnia/fx-models";
|
|
3
3
|
export declare enum ContentBlockModes {
|
|
4
4
|
RichText = 1,
|
|
5
5
|
LimitedRichText = 2,
|
|
6
6
|
MultiLinePlainText = 3,
|
|
7
7
|
PlainText = 4,
|
|
8
|
-
CustomRichText = 5
|
|
8
|
+
CustomRichText = 5,
|
|
9
|
+
MultilingualRichText = 6,
|
|
10
|
+
MultilingualPlainText = 7
|
|
9
11
|
}
|
|
10
12
|
export declare enum BuildInContentBlockTextStyleFormatting {
|
|
11
13
|
Normal = "afc69d06-73d4-4021-a692-8e0f3c80ba1f",
|
|
@@ -22,7 +24,7 @@ export interface ContentBlockBreakPointSettings {
|
|
|
22
24
|
spacing?: Spacing;
|
|
23
25
|
customFormattingFontSize: number;
|
|
24
26
|
}
|
|
25
|
-
export interface ContentBlockSettings extends BlockSettingsWithDefaultProperty<string> {
|
|
27
|
+
export interface ContentBlockSettings extends BlockSettingsWithDefaultProperty<string | MultilingualString> {
|
|
26
28
|
mode: ContentBlockModes;
|
|
27
29
|
formatting: guid;
|
|
28
30
|
customFormattingFontSize: number;
|
|
@@ -39,6 +41,7 @@ export interface ContentBlockSettings extends BlockSettingsWithDefaultProperty<s
|
|
|
39
41
|
tagProperty?: string;
|
|
40
42
|
enableAutomaticSummary?: boolean;
|
|
41
43
|
summarizedProperty?: string;
|
|
44
|
+
blueprint?: TextBlueprint;
|
|
42
45
|
}
|
|
43
46
|
export interface ContentBlockAutomaticSummaryRegistration {
|
|
44
47
|
propertyMapping: PropertyMapping;
|
|
@@ -8,6 +8,8 @@ var ContentBlockModes;
|
|
|
8
8
|
ContentBlockModes[ContentBlockModes["MultiLinePlainText"] = 3] = "MultiLinePlainText";
|
|
9
9
|
ContentBlockModes[ContentBlockModes["PlainText"] = 4] = "PlainText";
|
|
10
10
|
ContentBlockModes[ContentBlockModes["CustomRichText"] = 5] = "CustomRichText";
|
|
11
|
+
ContentBlockModes[ContentBlockModes["MultilingualRichText"] = 6] = "MultilingualRichText";
|
|
12
|
+
ContentBlockModes[ContentBlockModes["MultilingualPlainText"] = 7] = "MultilingualPlainText";
|
|
11
13
|
})(ContentBlockModes || (exports.ContentBlockModes = ContentBlockModes = {}));
|
|
12
14
|
var BuildInContentBlockTextStyleFormatting;
|
|
13
15
|
(function (BuildInContentBlockTextStyleFormatting) {
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { guid, LinkItem } from "@omnia/fx-models";
|
|
2
2
|
export interface LinkPickerPropertyData {
|
|
3
3
|
}
|
|
4
|
-
export interface LinkItem {
|
|
5
|
-
linkType: string;
|
|
6
|
-
title: string;
|
|
7
|
-
url: string;
|
|
8
|
-
icon: IconPickerModel;
|
|
9
|
-
openInNewWindow: boolean;
|
|
10
|
-
}
|
|
11
4
|
export interface PageItemNode {
|
|
12
5
|
pageId: number;
|
|
13
6
|
pageCollectionId: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { types } from "typestyle";
|
|
2
|
-
import {
|
|
2
|
+
import { LegacyThemeDefinitionColors } from "@omnia/fx-models";
|
|
3
3
|
export declare const MobileNavigationStyles: {
|
|
4
4
|
closeNavigationBtn?: types.NestedCSSProperties;
|
|
5
5
|
openNavigationBtn?: types.NestedCSSProperties;
|
|
@@ -9,7 +9,7 @@ export declare const MobileNavigationStyles: {
|
|
|
9
9
|
};
|
|
10
10
|
export declare const MobileNavigationNodeStyles: {
|
|
11
11
|
wrapper: types.NestedCSSProperties;
|
|
12
|
-
headerWrapper: (level: number, isRoutePath: boolean, theming:
|
|
12
|
+
headerWrapper: (level: number, isRoutePath: boolean, theming: LegacyThemeDefinitionColors) => types.NestedCSSProperties;
|
|
13
13
|
rightIcon: types.NestedCSSProperties;
|
|
14
14
|
arrowBtnCollapsedDefault: types.NestedCSSProperties;
|
|
15
15
|
arrowBtnExpanded: types.NestedCSSProperties;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Spacing, MultilingualString, BlockSettingsWithDefaultProperty, IPersistedFile } from "@omnia/fx-models";
|
|
1
|
+
import { Spacing, MultilingualString, BlockSettingsWithDefaultProperty, IPersistedFile, LinkItem } from "@omnia/fx-models";
|
|
2
2
|
import { PageFile } from "../pages";
|
|
3
|
-
import { LinkItem } from "./LinkPicker";
|
|
4
3
|
export interface RelatedLinkBlockItem extends LinkItem {
|
|
5
4
|
pageFile?: IPersistedFile<PageFile>;
|
|
6
5
|
}
|
|
@@ -45,3 +45,4 @@ tslib_1.__exportStar(require("./aipagecontentreport"), exports);
|
|
|
45
45
|
tslib_1.__exportStar(require("./search"), exports);
|
|
46
46
|
tslib_1.__exportStar(require("./properties"), exports);
|
|
47
47
|
tslib_1.__exportStar(require("./pagecreation"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./seo"), exports);
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomLinkPropertyData } from "@omnia/wcm/models";
|
|
2
|
+
import { LinkItem, MediaPickerStorageProviderContext } from "@omnia/fx-models";
|
|
2
3
|
export interface ILinkPickerProvider {
|
|
3
4
|
linkData?: LinkItem;
|
|
4
5
|
propertyData?: CustomLinkPropertyData;
|
|
6
|
+
mediaPickerProviderContext?: MediaPickerStorageProviderContext;
|
|
5
7
|
}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MoveNavigationNodeType = void 0;
|
|
4
|
+
var MoveNavigationNodeType;
|
|
5
|
+
(function (MoveNavigationNodeType) {
|
|
6
|
+
MoveNavigationNodeType[MoveNavigationNodeType["MoveAsChild"] = 1] = "MoveAsChild";
|
|
7
|
+
MoveNavigationNodeType[MoveNavigationNodeType["MoveAsSibling"] = 2] = "MoveAsSibling";
|
|
8
|
+
})(MoveNavigationNodeType || (exports.MoveNavigationNodeType = MoveNavigationNodeType = {}));
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { guid } from "@omnia/fx-models";
|
|
1
2
|
import { NavigationData } from "./NavigationData";
|
|
2
3
|
import { NavigationNode } from "./NavigationNode";
|
|
3
4
|
export interface MovePageCollectionResult {
|
|
@@ -9,4 +10,8 @@ export interface MovePageCollectionResult {
|
|
|
9
10
|
* The navigation nodes which are moved
|
|
10
11
|
* **/
|
|
11
12
|
affectedNodes: Array<NavigationNode<NavigationData>>;
|
|
13
|
+
/**
|
|
14
|
+
* The moving tracking id
|
|
15
|
+
* **/
|
|
16
|
+
movePageTrackingId?: guid;
|
|
12
17
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DynamicState, PropertyDefinitionId, VelcronRendererResolverReference } from "@omnia/fx-models";
|
|
2
|
+
import { PageId, PageRollupViewSettings } from "..";
|
|
3
|
+
import { IDataSourcePropertySelection } from "@omnia/fx/ux";
|
|
4
|
+
export type VelcronPropertySelection = {
|
|
5
|
+
state: string;
|
|
6
|
+
internalName: string;
|
|
7
|
+
propertyDefinitionId: PropertyDefinitionId;
|
|
8
|
+
handler: IDataSourcePropertySelection;
|
|
9
|
+
};
|
|
10
|
+
export type VelcronViewTemplate = {
|
|
11
|
+
template: VelcronRendererResolverReference;
|
|
12
|
+
state: DynamicState;
|
|
13
|
+
properties: Array<VelcronPropertySelection>;
|
|
14
|
+
};
|
|
15
|
+
export interface PageTypeAppDefinitionBinding extends VelcronViewTemplate {
|
|
16
|
+
pageTypeId: PageId;
|
|
17
|
+
}
|
|
18
|
+
export interface VelcronViewSettings extends PageRollupViewSettings {
|
|
19
|
+
imageProp: string;
|
|
20
|
+
size: number;
|
|
21
|
+
multi: boolean;
|
|
22
|
+
containerTemplate: VelcronRendererResolverReference;
|
|
23
|
+
singleItemTemplate: VelcronViewTemplate;
|
|
24
|
+
pageTypeDefinitionBindings: Array<PageTypeAppDefinitionBinding>;
|
|
25
|
+
}
|
|
@@ -20,3 +20,4 @@ tslib_1.__exportStar(require("./CardViewSettings"), exports);
|
|
|
20
20
|
tslib_1.__exportStar(require("./NewsletterViewSettings"), exports);
|
|
21
21
|
tslib_1.__exportStar(require("./NavigationViewSettings"), exports);
|
|
22
22
|
tslib_1.__exportStar(require("./PageRollupCalendarViewSettings"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./VelcronViewSettings"), exports);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { guid } from "@omnia/fx-models";
|
|
2
|
+
import { PageNavigationNode, PageNavigationData } from "../navigation";
|
|
3
|
+
import { PageId } from "./Page";
|
|
4
|
+
export interface MovePageTracking {
|
|
5
|
+
id: guid;
|
|
6
|
+
pageId: PageId;
|
|
7
|
+
moveType: PageMoveTypes;
|
|
8
|
+
status: MovePageStatus;
|
|
9
|
+
trackingCompleted: boolean;
|
|
10
|
+
information: MovePageTrackingInformation;
|
|
11
|
+
originalErrorMessage: string;
|
|
12
|
+
}
|
|
13
|
+
export interface MovePageTrackingInformation {
|
|
14
|
+
storageFolderTracking: StorageFolderTrackingData;
|
|
15
|
+
}
|
|
16
|
+
export interface StorageFolderTrackingData {
|
|
17
|
+
moveType: PageMoveTypes;
|
|
18
|
+
oldNavigationNode: PageNavigationNode<PageNavigationData>;
|
|
19
|
+
newNavigationNode: PageNavigationNode<PageNavigationData>;
|
|
20
|
+
totalPages: number;
|
|
21
|
+
movedPageIds: PageId[];
|
|
22
|
+
notExistedFolderPageIds: PageId[];
|
|
23
|
+
failPageIds: PageId[];
|
|
24
|
+
warningPageIds: PageId[];
|
|
25
|
+
failMessageByPageId: {
|
|
26
|
+
[pageId: number]: string;
|
|
27
|
+
};
|
|
28
|
+
updateMediaMetadataErrorMessage: string;
|
|
29
|
+
unlockPagesErrorMessage: string;
|
|
30
|
+
}
|
|
31
|
+
export declare enum PageMoveTypes {
|
|
32
|
+
Generic = 0,//Do not keep track this type in database
|
|
33
|
+
MoveToTargetPageCollection = 1,
|
|
34
|
+
MovePageCollection = 2
|
|
35
|
+
}
|
|
36
|
+
export declare enum MovePageStatus {
|
|
37
|
+
Initialized = 0,
|
|
38
|
+
Success = 1,
|
|
39
|
+
Error = 2
|
|
40
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MovePageStatus = exports.PageMoveTypes = void 0;
|
|
4
|
+
var PageMoveTypes;
|
|
5
|
+
(function (PageMoveTypes) {
|
|
6
|
+
PageMoveTypes[PageMoveTypes["Generic"] = 0] = "Generic";
|
|
7
|
+
PageMoveTypes[PageMoveTypes["MoveToTargetPageCollection"] = 1] = "MoveToTargetPageCollection";
|
|
8
|
+
PageMoveTypes[PageMoveTypes["MovePageCollection"] = 2] = "MovePageCollection";
|
|
9
|
+
})(PageMoveTypes || (exports.PageMoveTypes = PageMoveTypes = {}));
|
|
10
|
+
var MovePageStatus;
|
|
11
|
+
(function (MovePageStatus) {
|
|
12
|
+
MovePageStatus[MovePageStatus["Initialized"] = 0] = "Initialized";
|
|
13
|
+
MovePageStatus[MovePageStatus["Success"] = 1] = "Success";
|
|
14
|
+
MovePageStatus[MovePageStatus["Error"] = 2] = "Error";
|
|
15
|
+
})(MovePageStatus || (exports.MovePageStatus = MovePageStatus = {}));
|
|
@@ -15,6 +15,7 @@ export interface Page extends AuditingInformation {
|
|
|
15
15
|
pageType: number | WCMPageTypes;
|
|
16
16
|
publishingAppId: guid;
|
|
17
17
|
hiddenByPageId?: PageId;
|
|
18
|
+
movePageTrackingId?: guid;
|
|
18
19
|
checkedOutBy: Identity;
|
|
19
20
|
checkedOutDraftVersion?: VersionReference;
|
|
20
21
|
publishedBy: Identity;
|
|
@@ -5,6 +5,7 @@ import { QueryFilter } from "../query";
|
|
|
5
5
|
import { PagePermissionInfo } from "./PagePermissionInfo";
|
|
6
6
|
import { PlainPageData } from "./PlainPageData";
|
|
7
7
|
import { DistributionChannelRule } from "./PageCollectionDistributionChannel";
|
|
8
|
+
import { SeoProperties } from "../seo/PageMetaTag";
|
|
8
9
|
export interface PageCreationSettings {
|
|
9
10
|
creationDialogTitle: MultilingualString;
|
|
10
11
|
showUrl: boolean;
|
|
@@ -24,6 +25,7 @@ export interface OpenAIPropertiesMapping {
|
|
|
24
25
|
}
|
|
25
26
|
export interface PageCollectionData extends PlainPageData {
|
|
26
27
|
availablePageTypes: Array<PageId>;
|
|
28
|
+
contentAnalysisRules: Array<ContentAnalysisSetting>;
|
|
27
29
|
pageCreationSettings: PageCreationSettings;
|
|
28
30
|
activityPointSettings: ActivityPointSettings;
|
|
29
31
|
enableNotificationReset: boolean;
|
|
@@ -47,6 +49,7 @@ export interface PageCollectionData extends PlainPageData {
|
|
|
47
49
|
* This property is used as inital value for creating Page Collection Navigation Node.
|
|
48
50
|
* */
|
|
49
51
|
childStructureType?: ChildStructureType;
|
|
52
|
+
seoPropeties: SeoProperties;
|
|
50
53
|
}
|
|
51
54
|
export interface AutomaticPageCreationRule {
|
|
52
55
|
id: guid;
|
|
@@ -109,6 +112,10 @@ export interface OverriddenPageTypeSetting {
|
|
|
109
112
|
pageTypeId: number;
|
|
110
113
|
overriddenProperties: Array<OverriddenProperty>;
|
|
111
114
|
}
|
|
115
|
+
export interface ContentAnalysisSetting {
|
|
116
|
+
id: number;
|
|
117
|
+
properties: Array<string>;
|
|
118
|
+
}
|
|
112
119
|
export interface OverriddenProperty {
|
|
113
120
|
propertyId?: guid;
|
|
114
121
|
defaultValue?: any;
|
|
@@ -45,3 +45,4 @@ tslib_1.__exportStar(require("./approval/TermDrivenApprovalData"), exports);
|
|
|
45
45
|
tslib_1.__exportStar(require("./approval/ApprovalMetaData"), exports);
|
|
46
46
|
tslib_1.__exportStar(require("./approval/VersionMetaData"), exports);
|
|
47
47
|
tslib_1.__exportStar(require("./PageCollectionDistributionChannel"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./MovePageTracking"), exports);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { LinkItem } from "
|
|
2
|
-
import { guid, MediaPickerMedia } from "@omnia/fx-models";
|
|
1
|
+
import { guid, LinkItem, MediaPickerMedia } from "@omnia/fx-models";
|
|
3
2
|
export interface RTFMediaPickerMessage {
|
|
4
3
|
selectedMedia?: MediaPickerMedia;
|
|
5
4
|
position?: any;
|
|
@@ -15,8 +15,8 @@ export interface PageDocument extends IndexedDocument {
|
|
|
15
15
|
channels?: Array<PublishingChannelId>;
|
|
16
16
|
variationId?: VariationId;
|
|
17
17
|
variationOfPageId?: number;
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
createdVariationIds?: Array<VariationId>;
|
|
19
|
+
createdPublishedVariationIds?: Array<VariationId>;
|
|
20
20
|
pUrlSegment?: string;
|
|
21
21
|
commentCount: number;
|
|
22
22
|
reactionCount: number;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface PageMetaTag {
|
|
2
|
+
name: string;
|
|
3
|
+
defaultValue?: string;
|
|
4
|
+
mapToPageProperty: boolean;
|
|
5
|
+
/**
|
|
6
|
+
* internal name of map property
|
|
7
|
+
*/
|
|
8
|
+
mapProperty?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface SeoProperties {
|
|
11
|
+
metaTags: Array<PageMetaTag>;
|
|
12
|
+
}
|
|
13
|
+
export declare enum BuiltInMetaTag {
|
|
14
|
+
OGDescription = "og: description",
|
|
15
|
+
OGTitle = "og: title",
|
|
16
|
+
OGImage = "og: image",
|
|
17
|
+
OGType = "og: type",
|
|
18
|
+
Author = "author",
|
|
19
|
+
Keywords = "keywords",
|
|
20
|
+
Description = "description",
|
|
21
|
+
NoIndex = "noindex",
|
|
22
|
+
Title = "title"
|
|
23
|
+
}
|
|
24
|
+
export declare enum SpecialEnterpriseProperty {
|
|
25
|
+
Title = "title"
|
|
26
|
+
}
|
|
27
|
+
export declare const MetaTagRequirements: {
|
|
28
|
+
Title: {
|
|
29
|
+
Length: number;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MetaTagRequirements = exports.SpecialEnterpriseProperty = exports.BuiltInMetaTag = void 0;
|
|
4
|
+
var BuiltInMetaTag;
|
|
5
|
+
(function (BuiltInMetaTag) {
|
|
6
|
+
BuiltInMetaTag["OGDescription"] = "og: description";
|
|
7
|
+
BuiltInMetaTag["OGTitle"] = "og: title";
|
|
8
|
+
BuiltInMetaTag["OGImage"] = "og: image";
|
|
9
|
+
BuiltInMetaTag["OGType"] = "og: type";
|
|
10
|
+
BuiltInMetaTag["Author"] = "author";
|
|
11
|
+
BuiltInMetaTag["Keywords"] = "keywords";
|
|
12
|
+
BuiltInMetaTag["Description"] = "description";
|
|
13
|
+
BuiltInMetaTag["NoIndex"] = "noindex";
|
|
14
|
+
BuiltInMetaTag["Title"] = "title";
|
|
15
|
+
})(BuiltInMetaTag || (exports.BuiltInMetaTag = BuiltInMetaTag = {}));
|
|
16
|
+
var SpecialEnterpriseProperty;
|
|
17
|
+
(function (SpecialEnterpriseProperty) {
|
|
18
|
+
SpecialEnterpriseProperty["Title"] = "title";
|
|
19
|
+
})(SpecialEnterpriseProperty || (exports.SpecialEnterpriseProperty = SpecialEnterpriseProperty = {}));
|
|
20
|
+
exports.MetaTagRequirements = {
|
|
21
|
+
Title: {
|
|
22
|
+
Length: 55
|
|
23
|
+
}
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./PageMetaTag";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NavigationData, NavigationNode } from "../models";
|
|
1
|
+
import { NavigationData, NavigationNode, PageNavigationData, PageNavigationNode, VariationId, VariationPage } from "../models";
|
|
2
2
|
export declare class WcmRouter {
|
|
3
3
|
private currentNavigationStore;
|
|
4
4
|
private currentPageStore;
|
|
@@ -10,6 +10,7 @@ export declare class WcmRouter {
|
|
|
10
10
|
private publishingAppInfoStore;
|
|
11
11
|
private userTargetingStore;
|
|
12
12
|
private multilingualStore;
|
|
13
|
+
private seoService;
|
|
13
14
|
private isVariationSwitch;
|
|
14
15
|
private currentNavigatedState;
|
|
15
16
|
private loadTreeForPathPromises;
|
|
@@ -19,11 +20,13 @@ export declare class WcmRouter {
|
|
|
19
20
|
private handleNotFoundNavigationNode;
|
|
20
21
|
private getDefaultRoute;
|
|
21
22
|
private loadTreeForPath;
|
|
22
|
-
navigate<T extends NavigationNode<NavigationData>>(to: T, targetVariationId?: any): Promise<T>;
|
|
23
|
+
navigate<T extends NavigationNode<NavigationData>>(to: T, targetVariationId?: any, forceToNewNavigationState?: boolean): Promise<T>;
|
|
24
|
+
resolvePath<T extends NavigationNode<NavigationData>>(navigationNode: T): Promise<string>;
|
|
23
25
|
navigateWithVariationTargeting<T extends NavigationNode<NavigationData>>(to: T): Promise<T>;
|
|
24
26
|
private getTargetingVariation;
|
|
25
27
|
onDisposing(): void;
|
|
26
28
|
private executeScrollingIfNeeded;
|
|
29
|
+
private buildPathFromNavigationState;
|
|
27
30
|
private executeNewNavigationState;
|
|
28
31
|
private isSameNavigationState;
|
|
29
32
|
/**
|
|
@@ -33,6 +36,6 @@ export declare class WcmRouter {
|
|
|
33
36
|
private createNavigationStateForNode;
|
|
34
37
|
private tryParseNumber;
|
|
35
38
|
private getPageTitle;
|
|
36
|
-
|
|
39
|
+
getPageState(pageNavigationNode: PageNavigationNode<PageNavigationData>, targetVariationId?: VariationId, allowDraftVersion?: boolean): VariationPage;
|
|
37
40
|
private getUsingVariationSegment;
|
|
38
41
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { PageAiAnalysisReport, PageAiAnalysisReportAddRequest, PageAiAnalysisReportQuery, PageAiAnalysisReportSummary, PageId, PageAiAnalysisReportDetails, AiAnalysisReportPageSnapshot } from "../models";
|
|
1
|
+
import { PageAiAnalysisReport, PageAiAnalysisReportAddRequest, PageAiAnalysisReportQuery, PageAiAnalysisReportSummary, PageId, PageAiAnalysisReportDetails, AiAnalysisReportPageSnapshot, PageContentAnalysisResult } from "../models";
|
|
2
2
|
import { PageAiAnalysisPropertyRequest } from "../models/aipagecontentreport/PageAiAnalysisPropertyRequest";
|
|
3
|
+
import { FixPageContentAnalysisRequest } from "../models/aipagecontentreport/FixPageContentAnalysisRequest";
|
|
3
4
|
export declare class AiContentPageReportService {
|
|
4
5
|
private httpClient;
|
|
5
6
|
private readonly baseUrl;
|
|
@@ -8,6 +9,8 @@ export declare class AiContentPageReportService {
|
|
|
8
9
|
getReportSummary: (reportId: any) => Promise<PageAiAnalysisReportSummary>;
|
|
9
10
|
getReportSummaries: (payload: PageAiAnalysisReportQuery) => Promise<Array<PageAiAnalysisReportSummary>>;
|
|
10
11
|
getReportDetails: (reportId: number) => Promise<PageAiAnalysisReportDetails>;
|
|
12
|
+
analyzePageContent: (pageId: PageId) => Promise<Array<PageContentAnalysisResult>>;
|
|
13
|
+
fixPageContent: (payload: FixPageContentAnalysisRequest) => Promise<void>;
|
|
11
14
|
fixPage: (reportId: number, pageId: PageId) => Promise<void>;
|
|
12
15
|
getPageStatus: (reportId: number, pageId: PageId) => Promise<AiAnalysisReportPageSnapshot>;
|
|
13
16
|
getAnalyzeReasonResult: (payload: PageAiAnalysisPropertyRequest) => Promise<string>;
|
|
@@ -45,7 +45,7 @@ export declare class NavigationService {
|
|
|
45
45
|
getParentNodes: <T extends NavigationNode<NavigationData>>(nodeToGetParentsFor: T, nodeTypes?: NavigationDataType) => Promise<Array<NavigationNode<NavigationData>>>;
|
|
46
46
|
getChildNodes: <T extends NavigationNode<NavigationData>>(nodeToGetParentsFor: T, nodeTypes?: NavigationDataType, depth?: number, forceFromPublishingAppId?: string) => Promise<Array<NavigationNode<NavigationData>>>;
|
|
47
47
|
getMegamenuChildNodes: <T extends NavigationNode<NavigationData>>(nodeToGetParentsFor: T, nodeTypes?: NavigationDataType, depth?: number, forceFromPublishingAppId?: string) => Promise<Array<NavigationNode<NavigationData>>>;
|
|
48
|
-
getMegamenusChildNodes: <T extends NavigationNode<NavigationData>>(nodesToGetParentsFor: NavigationNodeQuery<T
|
|
48
|
+
getMegamenusChildNodes: <T extends NavigationNode<NavigationData>>(nodesToGetParentsFor: Array<NavigationNodeQuery<T>>, nodeTypes?: NavigationDataType) => Promise<Array<NavigationNode<NavigationData>>>;
|
|
49
49
|
getUnavailableDirectChildNodes: <T extends NavigationNode<NavigationData>>(nodeToGet: T) => Promise<Array<NavigationNode<NavigationData>>>;
|
|
50
50
|
getNodesByIds: (nodeIds: Array<NodeId>) => Promise<{
|
|
51
51
|
[nodeId: number]: NavigationNode<NavigationData>;
|
|
@@ -53,7 +53,7 @@ export declare class NavigationService {
|
|
|
53
53
|
getNavigationByNode: (node: NavigationNode<NavigationData>, nodeTypes?: NavigationDataType) => Promise<NavigationResult>;
|
|
54
54
|
getNavigationByPath: (path: string, nodeTypes?: NavigationDataType) => Promise<NavigationResult>;
|
|
55
55
|
getNodesByPageIds: (...args: Array<PageId>) => Promise<{
|
|
56
|
-
[pageId: number]: PageNavigationNode<PageNavigationData
|
|
56
|
+
[pageId: number]: Array<PageNavigationNode<PageNavigationData>>;
|
|
57
57
|
}>;
|
|
58
58
|
deleteLinkNodeById: (id: NodeId) => Promise<void>;
|
|
59
59
|
checkUrlSegmentExists: (appInstanceId: guid, parentNavigationNode: NavigationNode<NavigationData>, urlSegment: string) => Promise<boolean>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Page, PageData, CheckedOutVersionPageData, VersionedPageData, PublishedVersionPageData, PageIdToPageMap, PageId, VariationPage, PageCollectionSelection, NavigationData, NavigationNode, MovePagesResult, VersionInformation, ArchivePageResult, RestorePageMessage, RestorePageResult, VariationId, PageWithNavigationCreationRequest, PageNavigationNode, PageNavigationData, ReadNews, PagePermissionResponse, ValidationArchivePageResult, PageTypeTitle, VersionId, ApprovalMetaData } from "../models";
|
|
1
|
+
import { Page, PageData, CheckedOutVersionPageData, VersionedPageData, PublishedVersionPageData, PageIdToPageMap, PageId, VariationPage, PageCollectionSelection, NavigationData, NavigationNode, MovePagesResult, VersionInformation, ArchivePageResult, RestorePageMessage, RestorePageResult, VariationId, PageWithNavigationCreationRequest, PageNavigationNode, PageNavigationData, ReadNews, PagePermissionResponse, ValidationArchivePageResult, PageTypeTitle, VersionId, ApprovalMetaData, MovePageTracking } from "../models";
|
|
2
2
|
import { MergedPageVersionLayout } from "../models/layout/MergedPageVersionLayout";
|
|
3
3
|
import { ApiResponse, guid } from "@omnia/fx-models";
|
|
4
4
|
import { VersionReference } from "../models";
|
|
@@ -92,4 +92,5 @@ export declare class PageService {
|
|
|
92
92
|
inviteCoAuthors: (invitationAuthors: InvitationOfAuthor) => Promise<PagePermissionResponse>;
|
|
93
93
|
getSitePagesFolderFullUrl: (pageNavigationNode: PageNavigationNode<PageNavigationData>) => Promise<string>;
|
|
94
94
|
getPageVersionMetaData: (versionId: VersionId) => Promise<ApprovalMetaData>;
|
|
95
|
+
getMovePageTracking: (trackingId: guid) => Promise<MovePageTracking>;
|
|
95
96
|
}
|
|
@@ -6,7 +6,7 @@ export declare class PublishingRuleService {
|
|
|
6
6
|
private readonly baseUrl;
|
|
7
7
|
addRule: (rule: PublishingRuleData, pageId: PageId) => Promise<PublishingRule>;
|
|
8
8
|
getPageRules: (pageId: PageId) => Promise<{
|
|
9
|
-
[pageId: number]: PublishingRule
|
|
9
|
+
[pageId: number]: Array<PublishingRule>;
|
|
10
10
|
}>;
|
|
11
11
|
updateRule: (rule: PublishingRule) => Promise<PublishingRule>;
|
|
12
12
|
cancelApproval: (rule: PublishingRule<ApprovalRuleData>) => Promise<Array<PublishingRule>>;
|
|
@@ -11,7 +11,7 @@ export declare class TopicActivityService {
|
|
|
11
11
|
* Ensures that the current user is subscribing to the topics
|
|
12
12
|
*
|
|
13
13
|
* **/
|
|
14
|
-
subscribe: <T extends Topic>(topicsToSubscribe: T
|
|
14
|
+
subscribe: <T extends Topic>(topicsToSubscribe: Array<T>) => Promise<Array<TopicSubscription>>;
|
|
15
15
|
/***
|
|
16
16
|
* Unsubscribe to topic subscriptions
|
|
17
17
|
*
|
|
@@ -8,7 +8,7 @@ export declare class VariationService {
|
|
|
8
8
|
create: (createRequest: VariationCreationRequest) => Promise<Variation>;
|
|
9
9
|
delete: (variation: Variation) => Promise<Variation>;
|
|
10
10
|
get: (publishingAppIds?: guid[]) => Promise<{
|
|
11
|
-
[appId: string]: Variation
|
|
11
|
+
[appId: string]: Array<Variation>;
|
|
12
12
|
}>;
|
|
13
13
|
update: (variation: Variation) => Promise<Variation>;
|
|
14
14
|
updateVariationRouteChange: () => Promise<boolean>;
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { PagedBatchSearchRequest } from "@omnia/fx-models";
|
|
2
2
|
import { EnterprisePropertyStore } from "@omnia/fx/stores";
|
|
3
3
|
import { BatchQueryPages } from "../models";
|
|
4
|
-
import {
|
|
4
|
+
import { AppInfoStore, PageRollupStore } from "../stores";
|
|
5
5
|
export declare class OmniaSearchQueryHelper {
|
|
6
6
|
enterprisePropertyStore: EnterprisePropertyStore;
|
|
7
|
-
|
|
7
|
+
appInfoStore: AppInfoStore;
|
|
8
8
|
pageRollupStore: PageRollupStore;
|
|
9
9
|
private enterpriseProperties;
|
|
10
10
|
private querableProperties;
|
|
11
|
-
private
|
|
11
|
+
private appInfos;
|
|
12
12
|
generatePagedBatchSearchRequest(queries: BatchQueryPages[]): Promise<{
|
|
13
13
|
searchQueryRequest: PagedBatchSearchRequest;
|
|
14
14
|
batchQueryPagesError: BatchQueryPages[];
|
|
15
15
|
}>;
|
|
16
16
|
static camelize(str: string): string;
|
|
17
17
|
private hasBusinessProfileScopeQuery;
|
|
18
|
+
private ensureLoadInfoBeforeGenerateQuery;
|
|
18
19
|
private getSearchBoxKeywords;
|
|
19
20
|
private getFilterExpressionString;
|
|
20
21
|
private getValuesFilterOperatorString;
|
|
@@ -29,5 +30,6 @@ export declare class OmniaSearchQueryHelper {
|
|
|
29
30
|
private getRetrieveProperties;
|
|
30
31
|
private isDateTimeStampProperty;
|
|
31
32
|
private getSortList;
|
|
33
|
+
private getKeywordValue;
|
|
32
34
|
private parseBatchQueryPagesToOmniaSearch;
|
|
33
35
|
}
|
|
@@ -37,6 +37,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
37
37
|
termStore: TermStore;
|
|
38
38
|
private multilingualStore;
|
|
39
39
|
private profileCardStore;
|
|
40
|
+
private navigationStore;
|
|
40
41
|
private resolvablePageRollupInNP;
|
|
41
42
|
private pageRollupInstancesInNP;
|
|
42
43
|
private pageRollupInstances;
|