@omnia/wcm 7.6.27-preview → 7.6.29-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/loc/EditorLocalization.d.ts +1 -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 +2 -1
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/shared/PageRollupStoreHelper.d.ts +7 -0
- package/package.json +1 -1
|
@@ -141,6 +141,7 @@ export declare const PageBuiltInColumnConstants: {
|
|
|
141
141
|
publishingAppId: string;
|
|
142
142
|
workflowStatus: string;
|
|
143
143
|
checkedOutBy: string;
|
|
144
|
+
pageCollectionId: string;
|
|
144
145
|
};
|
|
145
146
|
export declare const PageRollupFilterEngineContextPropertyTypes: {
|
|
146
147
|
publishingApp: Guid;
|
|
@@ -231,7 +231,8 @@ exports.PageBuiltInColumnConstants = {
|
|
|
231
231
|
layoutDataParentPageId: "LayoutDataParentPageId",
|
|
232
232
|
publishingAppId: "PublishingAppId",
|
|
233
233
|
workflowStatus: "WorkflowStatus",
|
|
234
|
-
checkedOutBy: "CheckedOutBy"
|
|
234
|
+
checkedOutBy: "CheckedOutBy",
|
|
235
|
+
pageCollectionId: "PageCollectionId"
|
|
235
236
|
};
|
|
236
237
|
exports.PageRollupFilterEngineContextPropertyTypes = {
|
|
237
238
|
publishingApp: new fx_models_1.Guid("754a1a89-c360-40f2-9bb5-4a1adee17a11"),
|
|
@@ -261,6 +261,7 @@ export interface PageRollupBlockSettings {
|
|
|
261
261
|
useRouter: boolean;
|
|
262
262
|
navigationDepthLevel: number;
|
|
263
263
|
navigationStartNode?: PageItemNode;
|
|
264
|
+
navigationVariationFilter?: string;
|
|
264
265
|
currentUserSubscription?: boolean;
|
|
265
266
|
nodeType?: PageRollupEnums.NodeType;
|
|
266
267
|
versionStatus: PageRollupEnums.VersionStatus;
|
|
@@ -90,13 +90,19 @@ declare class InternalPageRollupStoreHelper {
|
|
|
90
90
|
ids: VariationId[];
|
|
91
91
|
queries: VariationQuery[];
|
|
92
92
|
}>;
|
|
93
|
+
private hasVariationQueryInNavigationPathScope;
|
|
94
|
+
private getNavigationNodePublishingAppId;
|
|
95
|
+
private getNavigationNodePageCollectionId;
|
|
93
96
|
populateTargetingVariationIds(variationQueriesDict: {
|
|
94
97
|
[key: number]: VariationQuery;
|
|
95
98
|
}, settings: PageRollupBlockSettings, pageCollectionSelections: Array<PageCollectionSelection>): any[];
|
|
99
|
+
private populateNavigationPathTargetingVariationIds;
|
|
100
|
+
private generateVariationIdFilter;
|
|
96
101
|
buildQuery(serviceContainerContext: ServiceContainerContext, settings: PageRollupBlockSettings, instance: IBlockInstance<PageRollupBlockSettings>, uiQueryFilters: QueryFilter[]): Promise<PageQuery>;
|
|
97
102
|
getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
|
|
98
103
|
getPagesDetailsMetric(blockInstance: BlockPageRollupInstanceExtends, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<void>;
|
|
99
104
|
generateBatchQuery(blockInstance: BlockPageRollupInstanceExtends, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<BatchQueryPages>;
|
|
105
|
+
needToGetVariationQuery(type: PageRollupEnums.QueryConfigurationType, scope: PageRollupEnums.RollupScopes): boolean;
|
|
100
106
|
private generateChannelsFilter;
|
|
101
107
|
private generateChannelsFilterForChannelsScope;
|
|
102
108
|
private getPropertyNameByScope;
|
|
@@ -155,6 +161,7 @@ export declare class PageRollupStoreHelper {
|
|
|
155
161
|
ids: VariationId[];
|
|
156
162
|
queries: VariationQuery[];
|
|
157
163
|
}>;
|
|
164
|
+
needToGetVariationQuery(type: PageRollupEnums.QueryConfigurationType, scope: PageRollupEnums.RollupScopes): boolean;
|
|
158
165
|
getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
|
|
159
166
|
getPagesDetailsMetric(blockInstance: IBlockInstance<PageRollupBlockSettings>, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<void>;
|
|
160
167
|
setDestroyedPageRollups(pageRollupQueryId: string): void;
|