@omnia/wcm 8.0.14-dev → 8.0.15-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/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +6 -0
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +3 -0
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/services/OpenAIPageCreationService.d.ts +0 -2
- package/internal-do-not-import-from-here/fx/services/PageService.d.ts +4 -7
- package/internal-do-not-import-from-here/fx/ux/use/UseWcmIcons.d.ts +38 -38
- package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.d.ts +3 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.js +4 -1
- package/internal-do-not-import-from-here/tooling.output.json +1 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +67 -97
- package/package.json +1 -1
|
@@ -18,6 +18,7 @@ export declare namespace EditorLocalization {
|
|
|
18
18
|
DialogTitle: string;
|
|
19
19
|
ShowUrl: string;
|
|
20
20
|
ShowProperties: string;
|
|
21
|
+
InforBlade: string;
|
|
21
22
|
AutoPublish: string;
|
|
22
23
|
AutoPublishDisableMessage: string;
|
|
23
24
|
EnableActivityTracking: string;
|
|
@@ -687,6 +688,7 @@ export declare namespace EditorLocalization {
|
|
|
687
688
|
PageVariationConfirmationMessage: string;
|
|
688
689
|
WarningMessage: string;
|
|
689
690
|
HasBeenReusedByOtherPagesMessage: string;
|
|
691
|
+
PageVariationWarningMessage: string;
|
|
690
692
|
};
|
|
691
693
|
CopyPage: {
|
|
692
694
|
Title: string;
|
|
@@ -697,6 +699,7 @@ export declare namespace EditorLocalization {
|
|
|
697
699
|
ConfirmationMessage: string;
|
|
698
700
|
PageVariationConfirmationMessage: string;
|
|
699
701
|
WarningMessage: string;
|
|
702
|
+
PageVariationWarningMessage: string;
|
|
700
703
|
};
|
|
701
704
|
MovePageCollection: {
|
|
702
705
|
Title: string;
|
|
@@ -734,6 +737,7 @@ export declare namespace EditorLocalization {
|
|
|
734
737
|
DuplicateWarningMessage: string;
|
|
735
738
|
MoveAsChild: string;
|
|
736
739
|
MoveAsSibling: string;
|
|
740
|
+
DuplicateWarningMessageWhenMovingAsSibling: string;
|
|
737
741
|
};
|
|
738
742
|
SendAppprovalRequest: {
|
|
739
743
|
Title: string;
|
|
@@ -803,6 +807,7 @@ export declare namespace EditorLocalization {
|
|
|
803
807
|
};
|
|
804
808
|
DistributionChannel: {
|
|
805
809
|
Title: string;
|
|
810
|
+
Create: string;
|
|
806
811
|
Save: string;
|
|
807
812
|
Add: string;
|
|
808
813
|
Cancel: string;
|
|
@@ -827,6 +832,7 @@ export declare namespace EditorLocalization {
|
|
|
827
832
|
Summary: string;
|
|
828
833
|
};
|
|
829
834
|
PropertyMapping: string;
|
|
835
|
+
DeleteConfirmationBody: string;
|
|
830
836
|
};
|
|
831
837
|
InviteAuthors: {
|
|
832
838
|
Title: string;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { MediaPickerService } from "@omnia/fx/services";
|
|
2
1
|
import { OpenAIPropertiesMapping, OpenAIPropertyMappingValue } from "../models";
|
|
3
2
|
export declare class OpenAIPageCreationService {
|
|
4
3
|
private settingsService;
|
|
5
4
|
private openAIService;
|
|
6
|
-
mediaPickerService: MediaPickerService;
|
|
7
5
|
private enterprisePropertyStore;
|
|
8
6
|
constructor();
|
|
9
7
|
private contentPrompt;
|
|
@@ -1,12 +1,9 @@
|
|
|
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, VersionInformationDetail } from "../models";
|
|
2
|
-
import { MergedPageVersionLayout } from "../models/layout/MergedPageVersionLayout";
|
|
3
1
|
import { ApiResponse, guid } from "@omnia/fx-models";
|
|
4
|
-
import { VersionReference } from "../models";
|
|
5
|
-
import { NavigationPosition } from "../models/navigation/NavigationPosition";
|
|
6
|
-
import { CreatedPageWithNavigationInfo, CreatedPageInfo } from "../models";
|
|
7
|
-
import { PagePermissionInfo } from "../models";
|
|
8
2
|
import { EnterprisePropertyStore } from "@omnia/fx/stores";
|
|
9
3
|
import { InvitationOfAuthor } from "../../models";
|
|
4
|
+
import { ApprovalMetaData, ArchivePageResult, CheckedOutVersionPageData, CreatedPageInfo, CreatedPageWithNavigationInfo, MovePageTracking, MovePagesResult, NavigationData, NavigationNode, Page, PageCollectionSelection, PageData, PageId, PageIdToPageMap, PageNavigationData, PageNavigationNode, PagePermissionResponse, PageTypeTitle, PageWithNavigationCreationRequest, PublishedVersionPageData, ReadNews, RestorePageMessage, RestorePageResult, ValidationArchivePageResult, VariationId, VariationPage, VersionId, VersionInformation, VersionInformationDetail, VersionReference, VersionedPageData } from "../models";
|
|
5
|
+
import { MergedPageVersionLayout } from "../models/layout/MergedPageVersionLayout";
|
|
6
|
+
import { NavigationPosition } from "../models/navigation/NavigationPosition";
|
|
10
7
|
export declare class PageService {
|
|
11
8
|
private httpClient;
|
|
12
9
|
enterprisePropertyStore: EnterprisePropertyStore;
|
|
@@ -16,7 +13,7 @@ export declare class PageService {
|
|
|
16
13
|
private readonly baseUrl;
|
|
17
14
|
private readonly reusablePageBaseUrl;
|
|
18
15
|
createVariationPage: <T extends PageData>(pageData: T, originalPageId: PageId, variationId: VariationId) => Promise<CreatedPageInfo<T>>;
|
|
19
|
-
updatePagePermissions: (pageId: PageId,
|
|
16
|
+
updatePagePermissions: (pageId: PageId, variationId?: VariationId) => Promise<void>;
|
|
20
17
|
createWithNavigation: <T extends PageData>(creationRequest: PageWithNavigationCreationRequest, targetPublishingAppId?: guid, targetVariationId?: string) => Promise<CreatedPageWithNavigationInfo<T>>;
|
|
21
18
|
move: <T extends NavigationNode<NavigationData>>(nodeToMove: T, newPosition: NavigationPosition) => Promise<MovePagesResult>;
|
|
22
19
|
movePageTypeToTenant: (page: Page) => Promise<PageNavigationNode<PageNavigationData>>;
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
export declare function useWcmIcons(): {
|
|
2
2
|
icon: {
|
|
3
|
-
creation:
|
|
4
|
-
publishing:
|
|
5
|
-
createPageType:
|
|
6
|
-
createPageCollection:
|
|
7
|
-
createPage:
|
|
8
|
-
column:
|
|
9
|
-
pageType:
|
|
10
|
-
pageCollection:
|
|
11
|
-
page:
|
|
12
|
-
information:
|
|
13
|
-
alignLeft:
|
|
14
|
-
alignRight:
|
|
15
|
-
alignCenter:
|
|
16
|
-
userNinja:
|
|
17
|
-
painBrush:
|
|
18
|
-
slider:
|
|
19
|
-
shareAlt:
|
|
20
|
-
refresh:
|
|
21
|
-
download:
|
|
22
|
-
swapCalls:
|
|
23
|
-
warning:
|
|
24
|
-
chevronLeft:
|
|
25
|
-
chevronRight:
|
|
26
|
-
pencil:
|
|
27
|
-
screen:
|
|
28
|
-
tv:
|
|
29
|
-
clipboard:
|
|
30
|
-
fileCode:
|
|
31
|
-
stair:
|
|
32
|
-
add:
|
|
33
|
-
newsPaper:
|
|
34
|
-
layout:
|
|
35
|
-
close:
|
|
36
|
-
scaling:
|
|
37
|
-
crop:
|
|
38
|
-
padding:
|
|
39
|
-
view:
|
|
40
|
-
result:
|
|
3
|
+
creation: FontAwesomeIcon;
|
|
4
|
+
publishing: FontAwesomeIcon;
|
|
5
|
+
createPageType: FontAwesomeIcon;
|
|
6
|
+
createPageCollection: FontAwesomeIcon;
|
|
7
|
+
createPage: FontAwesomeIcon;
|
|
8
|
+
column: FontAwesomeIcon;
|
|
9
|
+
pageType: FontAwesomeIcon;
|
|
10
|
+
pageCollection: FontAwesomeIcon;
|
|
11
|
+
page: FontAwesomeIcon;
|
|
12
|
+
information: FontAwesomeIcon;
|
|
13
|
+
alignLeft: FontAwesomeIcon;
|
|
14
|
+
alignRight: FontAwesomeIcon;
|
|
15
|
+
alignCenter: FontAwesomeIcon;
|
|
16
|
+
userNinja: FontAwesomeIcon;
|
|
17
|
+
painBrush: FontAwesomeIcon;
|
|
18
|
+
slider: FontAwesomeIcon;
|
|
19
|
+
shareAlt: FontAwesomeIcon;
|
|
20
|
+
refresh: FontAwesomeIcon;
|
|
21
|
+
download: FontAwesomeIcon;
|
|
22
|
+
swapCalls: FontAwesomeIcon;
|
|
23
|
+
warning: FontAwesomeIcon;
|
|
24
|
+
chevronLeft: FontAwesomeIcon;
|
|
25
|
+
chevronRight: FontAwesomeIcon;
|
|
26
|
+
pencil: FontAwesomeIcon;
|
|
27
|
+
screen: FontAwesomeIcon;
|
|
28
|
+
tv: FontAwesomeIcon;
|
|
29
|
+
clipboard: FontAwesomeIcon;
|
|
30
|
+
fileCode: FontAwesomeIcon;
|
|
31
|
+
stair: FontAwesomeIcon;
|
|
32
|
+
add: FontAwesomeIcon;
|
|
33
|
+
newsPaper: FontAwesomeIcon;
|
|
34
|
+
layout: FontAwesomeIcon;
|
|
35
|
+
close: FontAwesomeIcon;
|
|
36
|
+
scaling: FontAwesomeIcon;
|
|
37
|
+
crop: FontAwesomeIcon;
|
|
38
|
+
padding: FontAwesomeIcon;
|
|
39
|
+
view: FontAwesomeIcon;
|
|
40
|
+
result: FontAwesomeIcon;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AppEditorActionButtonIds = exports.ActionButtonIds = exports.PageApprovalDialogType = exports.CreateDialogType = exports.EditorUrlParameters = exports.DeviceResolution = void 0;
|
|
3
|
+
exports.PageCollectionTab = exports.AppEditorActionButtonIds = exports.ActionButtonIds = exports.PageApprovalDialogType = exports.CreateDialogType = exports.EditorUrlParameters = exports.DeviceResolution = void 0;
|
|
4
4
|
exports.DeviceResolution = {
|
|
5
5
|
desktop: "100%",
|
|
6
6
|
tablet: "1024px",
|
|
@@ -47,3 +47,6 @@ exports.ActionButtonIds = {
|
|
|
47
47
|
exports.AppEditorActionButtonIds = {
|
|
48
48
|
saveSettings: "saveSettings"
|
|
49
49
|
};
|
|
50
|
+
exports.PageCollectionTab = {
|
|
51
|
+
id: "a85e2ef5-3ca5-4b0f-b2d5-ea3fa2ce0455"
|
|
52
|
+
};
|