@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.
@@ -12,6 +12,7 @@ export declare module EditorLocalization {
12
12
  Errors: {
13
13
  CheckoutByOtherUser: string;
14
14
  By: string;
15
+ SaveStateBeforePreviewFailed: string;
15
16
  };
16
17
  PageCollections: {
17
18
  CreateDialogSectionTitle: string;
@@ -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 handleResolution;
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "SEE LICENSE IN LICENSE.txt",
4
- "version": "7.11.19",
4
+ "version": "7.11.24",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"