@omnia/wcm 7.11.19 → 7.11.24
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 +1 -0
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/internal/models/PagesDashboard.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/models/components/ContentBlock.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/services/OpenAIPageCreationService.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/services/PageService.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/shared/OmniaSearchQueryHelper.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/stores/CurrentPageStore.d.ts +3 -2
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerMenu.d.ts +1 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/IPageEditorItem.d.ts +1 -1
- package/package.json +1 -1
|
@@ -413,6 +413,9 @@ export declare module PublishingAppLocalization {
|
|
|
413
413
|
SentFailed: string;
|
|
414
414
|
ProcessEmailFailed: string;
|
|
415
415
|
ErrorMessage: string;
|
|
416
|
+
EmailProcessingErrorOccurred: string;
|
|
417
|
+
ErrorDetails: string;
|
|
418
|
+
Retry: string;
|
|
416
419
|
};
|
|
417
420
|
PageUsingAutomaticTranslationMessage: string;
|
|
418
421
|
PublishingAppRollup: {
|
|
@@ -18,7 +18,7 @@ export declare enum PagesDashboardQueryTypes {
|
|
|
18
18
|
}
|
|
19
19
|
export declare class PageTypesFilterValue extends FilterValue {
|
|
20
20
|
filterId: Guid;
|
|
21
|
-
value: PageId;
|
|
21
|
+
value: PageId | null;
|
|
22
22
|
}
|
|
23
23
|
export declare class PublishingAppsFilterValue extends FilterValue {
|
|
24
24
|
filterId: Guid;
|
|
@@ -29,7 +29,7 @@ export interface ContentBlockSettings extends BlockSettingsWithDefaultProperty<s
|
|
|
29
29
|
formatting: GuidValue;
|
|
30
30
|
customFormattingFontSize: number;
|
|
31
31
|
spacing?: SpacingSettings;
|
|
32
|
-
helpText?: string;
|
|
32
|
+
helpText?: string | MultilingualString;
|
|
33
33
|
blockTitle: MultilingualString;
|
|
34
34
|
defaultTextColor?: string;
|
|
35
35
|
enableMachineTranslation?: boolean;
|
|
@@ -10,7 +10,7 @@ export declare class OpenAIPageCreationService {
|
|
|
10
10
|
private limitOutputLengthFromOpenAI;
|
|
11
11
|
private prefixSummaryPrompt;
|
|
12
12
|
createPageWithOpenAI(openAiPrompt: string, propertiesMapping: OpenAIPropertiesMapping, imagePrompt: string): Promise<OpenAIPropertyMappingValue>;
|
|
13
|
-
private
|
|
13
|
+
private buildSafeImageFileName;
|
|
14
14
|
private getLimitSizeScalling;
|
|
15
15
|
private validatePrompt;
|
|
16
16
|
private checkQueryableProperty;
|
|
@@ -79,7 +79,7 @@ export declare class PageService {
|
|
|
79
79
|
checkOut: (pageId: PageId) => Promise<CheckedOutVersionPageData<PageData>>;
|
|
80
80
|
undoCheckout: <T extends PageData>(checkedOutVersionToUncheckOut: CheckedOutVersionPageData<T>) => Promise<VersionedPageData<T>>;
|
|
81
81
|
getCheckedOutVersion: (pageId: PageId) => Promise<CheckedOutVersionPageData<PageData>>;
|
|
82
|
-
publish: <T extends PageData>(versionToPublish: VersionedPageData<T>, targetPublishingAppId?: string, withoutNotification?: boolean) => Promise<PublishedVersionPageData<T>>;
|
|
82
|
+
publish: <T extends PageData>(versionToPublish: VersionedPageData<T>, targetPublishingAppId?: string, withoutNotification?: boolean, sendPreviewEmail?: boolean) => Promise<PublishedVersionPageData<T>>;
|
|
83
83
|
unPublish: <T extends PageData>(versionToUnPublish: PublishedVersionPageData<T>) => Promise<VersionedPageData<T>>;
|
|
84
84
|
getPublishedVersion: (pageId: PageId, targetPublishingAppId?: string) => Promise<PublishedVersionPageData<PageData>>;
|
|
85
85
|
/**
|
|
@@ -17,6 +17,8 @@ export declare class OmniaSearchQueryHelper {
|
|
|
17
17
|
private ensureLoadInfoBeforeGenerateQuery;
|
|
18
18
|
private getSearchBoxKeywords;
|
|
19
19
|
private getFilterExpressionString;
|
|
20
|
+
private shouldTransformToContainsFilter;
|
|
21
|
+
private generateContainsQueryFromFilters;
|
|
20
22
|
private getValuesFilterOperatorString;
|
|
21
23
|
private getContainsOperatorString;
|
|
22
24
|
private getFiltersExpressionString;
|
|
@@ -37,6 +37,7 @@ export declare class CurrentPageStore extends Store {
|
|
|
37
37
|
private editMode;
|
|
38
38
|
private current;
|
|
39
39
|
private completedMovePageTrackingId;
|
|
40
|
+
private pendingPageId;
|
|
40
41
|
onActivated(): void;
|
|
41
42
|
private setupPageSecurityTracking;
|
|
42
43
|
onDisposing(): void;
|
|
@@ -134,9 +135,9 @@ export declare class CurrentPageStore extends Store {
|
|
|
134
135
|
*
|
|
135
136
|
*/
|
|
136
137
|
saveState: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
|
137
|
-
publish: import("@omnia/fx/stores").StoreAction<unknown, (targetPublishingAppId?: string, withoutNotification?: boolean) => void, (result: {
|
|
138
|
+
publish: import("@omnia/fx/stores").StoreAction<unknown, (targetPublishingAppId?: string, withoutNotification?: boolean, sendPreviewEmail?: boolean) => void, (result: {
|
|
138
139
|
publishedVersionId: VersionId;
|
|
139
|
-
}, targetPublishingAppId?: string, withoutNotification?: boolean) => void, (failureReason: any, targetPublishingAppId?: string, withoutNotification?: boolean) => void, (targetPublishingAppId?: string, withoutNotification?: boolean) => Promise<{
|
|
140
|
+
}, targetPublishingAppId?: string, withoutNotification?: boolean, sendPreviewEmail?: boolean) => void, (failureReason: any, targetPublishingAppId?: string, withoutNotification?: boolean, sendPreviewEmail?: boolean) => void, (targetPublishingAppId?: string, withoutNotification?: boolean, sendPreviewEmail?: boolean) => Promise<{
|
|
140
141
|
publishedVersionId: VersionId;
|
|
141
142
|
}>>;
|
|
142
143
|
publishWithoutNavigating: import("@omnia/fx/stores").StoreAction<unknown, (versionPageData: VersionedPageData<PageData>, targetPublishingAppId?: string) => void, (result: {
|
|
@@ -51,6 +51,7 @@ export default class LinkPickerMenu extends ToolbarExtension implements ToolbarP
|
|
|
51
51
|
private getSelectionText;
|
|
52
52
|
private getCurrentLinkAttrs;
|
|
53
53
|
private onAddLinkClicked;
|
|
54
|
+
private ensureDocumentLinkType;
|
|
54
55
|
private onRemoveLink;
|
|
55
56
|
private onConfigureProviders;
|
|
56
57
|
render(): VueTsxSupport.JSX.Element;
|
|
@@ -3,7 +3,7 @@ import { IEditorItem } from "@omnia/fx/models";
|
|
|
3
3
|
export interface IPageEditorItem extends IEditorItem {
|
|
4
4
|
pageVersion: VersionedPageData<PageData>;
|
|
5
5
|
page: Page;
|
|
6
|
-
onPublish<ItemType>(): Promise<ItemType>;
|
|
6
|
+
onPublish<ItemType>(reSetActiveItem?: IPageEditorItem, withoutNotification?: boolean, sendPreviewEmail?: boolean): Promise<ItemType>;
|
|
7
7
|
onDiscardChanges<ItemType>(): Promise<ItemType>;
|
|
8
8
|
onDelete<ItemType>(): Promise<ItemType>;
|
|
9
9
|
onCheckOut<ItemType>(): Promise<ItemType>;
|
package/package.json
CHANGED