@omnia/wcm 7.6.32-preview → 7.6.34-preview
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/Constants.d.ts +1 -0
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/Constants.js +3 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +6 -1
- package/internal-do-not-import-from-here/fx/models/pagequery/CardViewSettings.d.ts +2 -3
- package/internal-do-not-import-from-here/fx/models/pagequery/DynamicRollerViewSettings.d.ts +2 -3
- package/internal-do-not-import-from-here/fx/models/pagequery/NewsletterViewSettings.d.ts +2 -3
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListingWithImageViewSettings.d.ts +2 -3
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupRollerViewSettings.d.ts +2 -3
- package/internal-do-not-import-from-here/fx/models/search/PageDocument.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/services/PageQueryService.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/shared/OmniaSearchQueryHelper.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +3 -1
- package/package.json +1 -1
|
@@ -135,6 +135,12 @@ export declare module PageRollupLocalization {
|
|
|
135
135
|
CheckedOutBy: string;
|
|
136
136
|
SelectedUser: string;
|
|
137
137
|
UserProperty: string;
|
|
138
|
+
DateTimeMode: {
|
|
139
|
+
Normal: string;
|
|
140
|
+
Social: string;
|
|
141
|
+
};
|
|
142
|
+
DateType: string;
|
|
143
|
+
DateFormat: string;
|
|
138
144
|
};
|
|
139
145
|
PagePicker: {
|
|
140
146
|
AddPage: string;
|
|
@@ -281,6 +287,7 @@ export declare module PageRollupLocalization {
|
|
|
281
287
|
ContentImageDialog: string;
|
|
282
288
|
SummaryPropDialog: string;
|
|
283
289
|
ContentPropDialog: string;
|
|
290
|
+
DatePropDialog: string;
|
|
284
291
|
Person: string;
|
|
285
292
|
ShowExportToExcel: string;
|
|
286
293
|
ExportToExcel: string;
|
|
@@ -176,6 +176,7 @@ export declare const OmniaSearchConstants: {
|
|
|
176
176
|
readonly variationId: string;
|
|
177
177
|
readonly variationOfPageId: string;
|
|
178
178
|
readonly notCreatedVariationIds: string;
|
|
179
|
+
readonly notCreatedPublishedVariationIds: string;
|
|
179
180
|
readonly isDefaultPageVariation: string;
|
|
180
181
|
readonly hiddenByPageId: string;
|
|
181
182
|
readonly deletedAt: string;
|
|
@@ -319,6 +319,9 @@ exports.OmniaSearchConstants = {
|
|
|
319
319
|
get notCreatedVariationIds() {
|
|
320
320
|
return "notCreatedVariationIds";
|
|
321
321
|
},
|
|
322
|
+
get notCreatedPublishedVariationIds() {
|
|
323
|
+
return "notCreatedPublishedVariationIds";
|
|
324
|
+
},
|
|
322
325
|
get isDefaultPageVariation() {
|
|
323
326
|
return "isDefaultPageVariation";
|
|
324
327
|
},
|
|
@@ -17,7 +17,7 @@ export interface PageRollupViewSettings {
|
|
|
17
17
|
linkUrl: string;
|
|
18
18
|
linkInNewTab: boolean;
|
|
19
19
|
linkTitle: MultilingualString;
|
|
20
|
-
pageDialogPropsMapping: PageDialogPropertiesMapping;
|
|
20
|
+
pageDialogPropsMapping: PageDialogPropertiesMapping & PageRollupDateSettings;
|
|
21
21
|
borderRadius: number;
|
|
22
22
|
sortBy?: string;
|
|
23
23
|
sortDescending?: boolean;
|
|
@@ -28,6 +28,11 @@ export interface PageRollupViewSettings {
|
|
|
28
28
|
navigationStartNodeId?: number;
|
|
29
29
|
hideStartNode?: boolean;
|
|
30
30
|
}
|
|
31
|
+
export interface PageRollupDateSettings {
|
|
32
|
+
dateProp: string;
|
|
33
|
+
dateMode?: PageRollupEnums.DateTimeModes;
|
|
34
|
+
dateFormat?: string;
|
|
35
|
+
}
|
|
31
36
|
export interface PageRollupViewSettingsColumnMapping {
|
|
32
37
|
internalName: string;
|
|
33
38
|
isShowHeading: boolean;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { PageRollupViewSettings } from "..";
|
|
1
|
+
import { PageRollupDateSettings, PageRollupViewSettings } from "..";
|
|
2
2
|
import { SpacingSettings, GuidValue, PropertyIndexedType, Positions } from "@omnia/fx-models";
|
|
3
3
|
import { CardTypes } from "./CardViewEnums";
|
|
4
|
-
export interface CardViewSettings extends PageRollupViewSettings {
|
|
4
|
+
export interface CardViewSettings extends PageRollupViewSettings, PageRollupDateSettings {
|
|
5
5
|
imageProp: string;
|
|
6
|
-
dateProp: string;
|
|
7
6
|
summaryProp: string;
|
|
8
7
|
personProp: string;
|
|
9
8
|
termProps: Array<CardViewTermProperty>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { DynamicRollerTypes, DynamicRollerSizes, PageRollupViewSettings } from "..";
|
|
1
|
+
import { DynamicRollerTypes, DynamicRollerSizes, PageRollupViewSettings, PageRollupDateSettings } from "..";
|
|
2
2
|
import { GuidValue } from "@omnia/fx-models";
|
|
3
|
-
export interface DynamicRollerViewSettings extends PageRollupViewSettings {
|
|
3
|
+
export interface DynamicRollerViewSettings extends PageRollupViewSettings, PageRollupDateSettings {
|
|
4
4
|
imageProp: string;
|
|
5
|
-
dateProp: string;
|
|
6
5
|
summaryProp: string;
|
|
7
6
|
showLikesComments: boolean;
|
|
8
7
|
showRating: boolean;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { PageRollupViewSettings } from "..";
|
|
1
|
+
import { PageRollupDateSettings, PageRollupViewSettings } from "..";
|
|
2
2
|
import { GuidValue } from "@omnia/fx-models";
|
|
3
|
-
export interface NewsletterViewSettings extends PageRollupViewSettings {
|
|
3
|
+
export interface NewsletterViewSettings extends PageRollupViewSettings, PageRollupDateSettings {
|
|
4
4
|
imageProp: string;
|
|
5
|
-
dateProp: string;
|
|
6
5
|
summaryProp: string;
|
|
7
6
|
contentProp: string;
|
|
8
7
|
contactProp: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { PageRollupViewSettings } from "..";
|
|
1
|
+
import { PageRollupDateSettings, PageRollupViewSettings } from "..";
|
|
2
2
|
import { GuidValue } from "@omnia/fx-models";
|
|
3
|
-
export interface PageRollupListingWithImageViewSettings extends PageRollupViewSettings {
|
|
3
|
+
export interface PageRollupListingWithImageViewSettings extends PageRollupViewSettings, PageRollupDateSettings {
|
|
4
4
|
imageProp: string;
|
|
5
|
-
dateProp: string;
|
|
6
5
|
summaryProp: string;
|
|
7
6
|
showLikesComments: boolean;
|
|
8
7
|
showRating: boolean;
|
package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupRollerViewSettings.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { PageRollupViewSettings } from "..";
|
|
1
|
+
import { PageRollupDateSettings, PageRollupViewSettings } from "..";
|
|
2
2
|
import { GuidValue } from "@omnia/fx-models";
|
|
3
|
-
export interface PageRollupRollerViewSettings extends PageRollupViewSettings {
|
|
3
|
+
export interface PageRollupRollerViewSettings extends PageRollupViewSettings, PageRollupDateSettings {
|
|
4
4
|
overlay: number;
|
|
5
5
|
imageProp: string;
|
|
6
|
-
dateProp: string;
|
|
7
6
|
showLikesComments: boolean;
|
|
8
7
|
imagePropRatioUniqueId?: GuidValue;
|
|
9
8
|
overlayOpacity: number;
|
|
@@ -16,6 +16,7 @@ export interface PageDocument extends IndexedDocument {
|
|
|
16
16
|
variationId?: VariationId;
|
|
17
17
|
variationOfPageId?: number;
|
|
18
18
|
notCreatedVariationIds?: Array<VariationId>;
|
|
19
|
+
notCreatedPublishedVariationIds?: Array<VariationId>;
|
|
19
20
|
pUrlSegment?: string;
|
|
20
21
|
commentCount: number;
|
|
21
22
|
reactionCount: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PageCollectionSelection, ResolveReusablePageResult, PendingApprovalPage, PageId, SimplePageQuery, PageContentsQueryResult, BatchQueryPages, BatchQueryPagesResult, ExportQueryPagesRequest, ExportQueryPagesResult } from "../models";
|
|
2
|
-
import { WcmContext } from "../contexts";
|
|
3
1
|
import { MultilingualStore } from "@omnia/fx/stores";
|
|
2
|
+
import { WcmContext } from "../contexts";
|
|
3
|
+
import { BatchQueryPages, BatchQueryPagesResult, ExportQueryPagesRequest, ExportQueryPagesResult, PageCollectionSelection, PageContentsQueryResult, PageId, PendingApprovalPage, ResolveReusablePageResult, SimplePageQuery } from "../models";
|
|
4
4
|
export declare class PageQueryService {
|
|
5
5
|
private httpClient;
|
|
6
6
|
private omniaHttpClient;
|
|
@@ -18,7 +18,7 @@ export declare class PageQueryService {
|
|
|
18
18
|
getDefaultPageImageSrc: () => string;
|
|
19
19
|
exportToExcel: (query: ExportQueryPagesRequest, exportingBlockId: string) => Promise<ExportQueryPagesResult>;
|
|
20
20
|
getExportedFile: (exportingFileName: string, exportingFileToken: string) => Promise<void>;
|
|
21
|
-
checkMigrationOmniaSearchStatus: () => Promise<boolean>;
|
|
21
|
+
checkMigrationOmniaSearchStatus: (migrationId: string) => Promise<boolean>;
|
|
22
22
|
private processPagesDetailData;
|
|
23
23
|
private getPageVisited;
|
|
24
24
|
private findPageInNode;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { PagedBatchSearchRequest } from "@omnia/fx-models";
|
|
2
2
|
import { EnterprisePropertyStore } from "@omnia/fx/stores";
|
|
3
3
|
import { BatchQueryPages } from "../models";
|
|
4
|
-
import { PublishingAppInfoStore } from "../stores";
|
|
4
|
+
import { PageRollupStore, PublishingAppInfoStore } from "../stores";
|
|
5
5
|
export declare class OmniaSearchQueryHelper {
|
|
6
6
|
enterprisePropertyStore: EnterprisePropertyStore;
|
|
7
7
|
publishingAppInfoStore: PublishingAppInfoStore;
|
|
8
|
+
pageRollupStore: PageRollupStore;
|
|
8
9
|
private enterpriseProperties;
|
|
9
10
|
private querableProperties;
|
|
10
11
|
private publishingAppInfos;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Store } from "@omnia/fx/stores";
|
|
2
|
-
import { PageDetailQueryResult, PageDialogData, PageDialogPropertiesMapping, PageNavigationData, PageNavigationNode, PageRollupQuery,
|
|
2
|
+
import { ExportQueryPagesRequest, ExportQueryPagesResult, PageDetailQueryResult, PageDialogData, PageDialogPropertiesMapping, PageNavigationData, PageNavigationNode, PageRollupQuery, PageTypeTitle } from "@omnia/wcm/models";
|
|
3
3
|
export interface PageRollupQueryResult extends PageRollupQuery {
|
|
4
4
|
selectProperties: Array<string>;
|
|
5
5
|
disableDistinct: boolean;
|
|
@@ -55,6 +55,7 @@ export declare class PageRollupStore extends Store {
|
|
|
55
55
|
private metricUniqueKey;
|
|
56
56
|
private tenantPublishingAppIdKey;
|
|
57
57
|
private omniaSearchMigrationStatusPromise;
|
|
58
|
+
private omniaSearchNotCreatedPublishedVariationIdsMigrationPromise;
|
|
58
59
|
/**
|
|
59
60
|
* Private properties
|
|
60
61
|
*/
|
|
@@ -120,6 +121,7 @@ export declare class PageRollupStore extends Store {
|
|
|
120
121
|
exportToExcel: import("@omnia/fx/stores").StoreAction<unknown, (query: ExportQueryPagesRequest, exportingBlockId: string) => void, (result: ExportQueryPagesResult, query: ExportQueryPagesRequest, exportingBlockId: string) => void, (failureReason: any, query: ExportQueryPagesRequest, exportingBlockId: string) => void, (query: ExportQueryPagesRequest, exportingBlockId: string) => Promise<ExportQueryPagesResult>>;
|
|
121
122
|
getExportedFile: import("@omnia/fx/stores").StoreAction<unknown, (exportingFileName: string, exportingFileToken: string) => void, (result: void, exportingFileName: string, exportingFileToken: string) => void, (failureReason: any, exportingFileName: string, exportingFileToken: string) => void, (exportingFileName: string, exportingFileToken: string) => Promise<void>>;
|
|
122
123
|
ensureOmniaSearchMigrationStatus: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
|
|
124
|
+
ensureOmniaSearchNotCreatedPublishedVariationIdsMigrationStatus: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
|
|
123
125
|
};
|
|
124
126
|
/**
|
|
125
127
|
* Find page and page variation in specific node
|