@omnia/wcm 7.10.0-preview.42 → 7.10.0-preview.44
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/PageRollupLocalization.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/filterengine/pagerollup/PageRollupFilterEngineContext.d.ts +1 -3
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/document/DocumentDurableInfo.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +1 -0
- package/internal-do-not-import-from-here/fx/shared/PageRollupStoreHelper.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +10 -8
- package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.d.ts +2 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.js +2 -0
- package/package.json +1 -1
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DbQueryFilterEngineContext } from "@omnia/fx-models";
|
|
2
2
|
export declare class PageRollupFilterEngineContext extends DbQueryFilterEngineContext {
|
|
3
3
|
componentId: string;
|
|
4
4
|
uniqueId: string;
|
|
5
5
|
constructor(componentId: string);
|
|
6
|
-
isRefinable(prop: BaseFilterEngineProperty): boolean;
|
|
7
6
|
getAvailableProperties(): import("@omnia/fx-models").EnterprisePropertyDefinition[];
|
|
8
|
-
getAZFilterableProperties(): import("@omnia/fx-models").EnterprisePropertyColumnMapping[];
|
|
9
7
|
}
|
|
@@ -28,6 +28,9 @@ export interface PageRollupViewSettings {
|
|
|
28
28
|
openInEditor: boolean;
|
|
29
29
|
navigationStartNodeId?: number;
|
|
30
30
|
hideStartNode?: boolean;
|
|
31
|
+
showAZPaging?: boolean;
|
|
32
|
+
internalNamePropertyAZFilter?: string;
|
|
33
|
+
defaultValuePropertyAZFilter?: string;
|
|
31
34
|
}
|
|
32
35
|
export interface PageRollupDateSettings {
|
|
33
36
|
dateProp: string;
|
|
@@ -5,6 +5,7 @@ var PageRollupEnums;
|
|
|
5
5
|
(function (PageRollupEnums) {
|
|
6
6
|
let DatePeriods;
|
|
7
7
|
(function (DatePeriods) {
|
|
8
|
+
DatePeriods[DatePeriods["NoLimit"] = 0] = "NoLimit";
|
|
8
9
|
DatePeriods[DatePeriods["OneWeekFromToday"] = 1] = "OneWeekFromToday";
|
|
9
10
|
DatePeriods[DatePeriods["TwoWeeksFromToday"] = 2] = "TwoWeeksFromToday";
|
|
10
11
|
DatePeriods[DatePeriods["OneMonthFromToday"] = 3] = "OneMonthFromToday";
|
|
@@ -126,6 +126,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
126
126
|
private buildUIFiltersForBlockInstance;
|
|
127
127
|
private isNotBreakpointSettings;
|
|
128
128
|
private buildQueries;
|
|
129
|
+
executeBuildQuery(blockInstances: BlockPageRollupInstanceExtends[], enableShowMetric: boolean): Promise<BatchQueryPagesExtends[]>;
|
|
129
130
|
private ensurePublishingAppsAndPageCollectionsReady;
|
|
130
131
|
private updateRollupRelevantApps;
|
|
131
132
|
private ensureUpdatePublishingChannelsFilterItems;
|
|
@@ -148,12 +149,14 @@ declare class InternalPageRollupStoreHelper {
|
|
|
148
149
|
private ensureLoadPageTypes;
|
|
149
150
|
private ensureLanguageSettings;
|
|
150
151
|
isAZFilteringProperty(internalName: string): boolean;
|
|
152
|
+
getSelectedAZFilteringValue(uniqueId: string): import("@omnia/fx-models").Refinement[];
|
|
151
153
|
}
|
|
152
154
|
export declare class PageRollupStoreHelper {
|
|
153
155
|
private internal;
|
|
154
156
|
constructor();
|
|
155
157
|
registerBatchQuery(blockInstance: IBlockInstanceExtends<PageRollupBlockSettings>, blockProperty: ReactivePageBlockProperty<PageRollupBlockProperty>, uiFilterHandler: FilterEngineHandler, orderBy: Array<QueryOrder>): BatchQueryRegistration;
|
|
156
158
|
ensureUserTargetingData(settings: PageRollupBlockSettings): Promise<TargetingPropertyFlatResult[]>;
|
|
159
|
+
executeBuildQuery(block: BlockPageRollupInstanceExtends[]): Promise<BatchQueryPagesExtends[]>;
|
|
157
160
|
clearPageQueryResultCaches(blockInstance: IBlockInstance<PageRollupBlockSettings>): void;
|
|
158
161
|
getRollupId(blockInstance: IBlockInstance<PageRollupBlockSettings>): string;
|
|
159
162
|
hasQueryResourceConfiguration(settings: PageRollupBlockSettings): boolean | PageRollupEnums.RollupScopes;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Refinement, Refiner } from "@omnia/fx-models";
|
|
2
2
|
import { Store } from "@omnia/fx/stores";
|
|
3
|
-
import {
|
|
3
|
+
import { ExportQueryPagesRequest, ExportQueryPagesResult, PageDetailQueryResult, PageDialogData, PageDialogPropertiesMapping, PageNavigationData, PageNavigationNode, PageRollupQuery, PageTypeTitle } from "@omnia/wcm/models";
|
|
4
4
|
export interface PageRollupQueryResult extends PageRollupQuery {
|
|
5
5
|
selectProperties: Array<string>;
|
|
6
6
|
disableDistinct: boolean;
|
|
@@ -32,7 +32,10 @@ export declare class PageRollupStore extends Store {
|
|
|
32
32
|
[uniqueKey: string]: PageDetailQueryResult[];
|
|
33
33
|
}>;
|
|
34
34
|
pageRefiners: import("@omnia/fx/stores").StoreState<{
|
|
35
|
-
[uniqueKey: string]: Refiner<Refinement
|
|
35
|
+
[uniqueKey: string]: Refiner<Refinement>;
|
|
36
|
+
}>;
|
|
37
|
+
selectedAZFilteringValue: import("@omnia/fx/stores").StoreState<{
|
|
38
|
+
[uniqueKey: string]: Refinement[];
|
|
36
39
|
}>;
|
|
37
40
|
pagesLoadingStatus: import("@omnia/fx/stores").StoreState<{
|
|
38
41
|
[uniqueKey: string]: boolean;
|
|
@@ -67,7 +70,7 @@ export declare class PageRollupStore extends Store {
|
|
|
67
70
|
*/
|
|
68
71
|
getters: {
|
|
69
72
|
pages: (uniqueKey: string, excludeVariationUrl: boolean) => PageDetailQueryResult[];
|
|
70
|
-
pageRefiners: (uniqueKey: string) => Refiner<Refinement
|
|
73
|
+
pageRefiners: (uniqueKey: string) => Refiner<Refinement>;
|
|
71
74
|
pagesIndexedDB: (uniqueKey: string) => Promise<Array<PageDetailQueryResult>>;
|
|
72
75
|
total: (uniqueKey: string, showMetric: boolean) => number;
|
|
73
76
|
errorMsg: (uniqueKey: string) => string;
|
|
@@ -83,6 +86,7 @@ export declare class PageRollupStore extends Store {
|
|
|
83
86
|
id: string;
|
|
84
87
|
title: string;
|
|
85
88
|
}[];
|
|
89
|
+
selectedAZFilteringValue: (uniqueKey: string) => Refinement[];
|
|
86
90
|
};
|
|
87
91
|
private generatePageSocialCountingAndPageStatisticsColumn;
|
|
88
92
|
private getPageRollupDataFromIndexedDB;
|
|
@@ -92,12 +96,10 @@ export declare class PageRollupStore extends Store {
|
|
|
92
96
|
*/
|
|
93
97
|
mutations: {
|
|
94
98
|
addOrUpdateBatchedPages: import("@omnia/fx/stores").StoreMutation<(data: BatchPageRollupQueryResult, clientCaching: boolean) => void, (data: BatchPageRollupQueryResult, clientCaching: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
95
|
-
addOrUpdatePageRefiners: import("@omnia/fx/stores").StoreMutation<(
|
|
96
|
-
[queryId: string]: BatchedPagesResult;
|
|
97
|
-
}) => void, (batchQueryResult: {
|
|
98
|
-
[queryId: string]: BatchedPagesResult;
|
|
99
|
-
}) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
99
|
+
addOrUpdatePageRefiners: import("@omnia/fx/stores").StoreMutation<(refiner: Refiner<Refinement>, queryId: string) => void, (refiner: Refiner<Refinement>, queryId: string) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
100
100
|
clearPageRefiners: import("@omnia/fx/stores").StoreMutation<(queryId: string) => void, (queryId: string) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
101
|
+
addOrUpdateSelectedAZFilteringValue: import("@omnia/fx/stores").StoreMutation<(selectedAZFilteringValue: Array<Refinement>, queryId: string) => void, (selectedAZFilteringValue: Refinement[], queryId: string) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
102
|
+
clearSelectedAZFilteringValue: import("@omnia/fx/stores").StoreMutation<(queryId: string) => void, (queryId: string) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
101
103
|
addOrUpdateIndexedDBPages: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pages: Array<PageDetailQueryResult>) => void, (uniqueKey: string, pages: PageDetailQueryResult[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
102
104
|
updatePageTypes: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pageTypes: Array<PageTypeTitle>) => void, (uniqueKey: string, pageTypes: PageTypeTitle[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
103
105
|
updatePublishingChannelSettings: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, channelsId: Array<string>) => void, (uniqueKey: string, channelsId: string[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
@@ -46,6 +46,8 @@ exports.ActionButtonIds = {
|
|
|
46
46
|
delete: "Delete",
|
|
47
47
|
save: "Save",
|
|
48
48
|
changeLinkType: "ChangeLinkType",
|
|
49
|
+
groupButtonDelete: "GroupButtonDelete",
|
|
50
|
+
groupButtonPublish: "GroupButtonPublish"
|
|
49
51
|
};
|
|
50
52
|
exports.AppEditorActionButtonIds = {
|
|
51
53
|
saveSettings: "saveSettings"
|