@omnia/wcm 6.11.34 → 6.11.36

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.
@@ -1,7 +1,7 @@
1
1
  import { ServiceContainerContext } from '@omnia/fx';
2
2
  import { EnterprisePropertyDefinition, IBlockInstance, TargetingPropertyFlatResult, RollupFilter } from '@omnia/fx-models';
3
3
  import { IBlockInstanceExtends } from '@omnia/fx/ux';
4
- import { PageRollupBlockSettings, PageRollupEnums, PageQuery, PageItemNode, QueryFilter, PageRollupPropertyFilter, ReactivePageBlockProperty, PageRollupBlockProperty, PageCollectionSelection, VariationQuery, VariationId, BatchQueryPages, PageRollupUiSearchboxFilterValue, QueryOrder, NormalPageRollupPagingQuery, PageDialogPropertiesMapping, PageDialogData, PageRollupUiFilter } from '../../fx/models';
4
+ import { PageRollupBlockSettings, PageRollupEnums, PageQuery, PageItemNode, QueryFilter, PageRollupPropertyFilter, ReactivePageBlockProperty, PageRollupBlockProperty, PageCollectionSelection, VariationQuery, VariationId, BatchQueryPages, PageRollupUiSearchboxFilterValue, QueryOrder, NormalPageRollupPagingQuery, BatchQueryPagesResult, PageDialogPropertiesMapping, PageDialogData, PageRollupUiFilter } from '../../fx/models';
5
5
  import { MultilingualStore, EnterpriseGlossaryStore } from '@omnia/fx/stores';
6
6
  import { TermStore } from '@omnia/fx-sp';
7
7
  interface BlockPageRollupInstanceExtends extends IBlockInstanceExtends<PageRollupBlockSettings> {
@@ -12,6 +12,10 @@ interface BlockPageRollupInstanceExtends extends IBlockInstanceExtends<PageRollu
12
12
  pagingQuery?: NormalPageRollupPagingQuery;
13
13
  originalSettings?: PageRollupBlockSettings;
14
14
  }
15
+ interface BatchQueryPagesExtends extends BatchQueryPages {
16
+ concatResult?: boolean;
17
+ queryParrallelIndex?: number;
18
+ }
15
19
  declare class InternalPageRollupStoreHelper {
16
20
  private pageQueryService;
17
21
  private pageRollupStore;
@@ -48,11 +52,13 @@ declare class InternalPageRollupStoreHelper {
48
52
  private excludeCountry;
49
53
  private currentUserLanguage;
50
54
  private keywordTermSet;
55
+ private loadedPageRollups;
51
56
  init(): void;
52
57
  getPagingData(pagingQuery: NormalPageRollupPagingQuery, blockInstance: BlockPageRollupInstanceExtends, newSettings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<number>;
53
58
  updatePagingQuery(pagingQuery: NormalPageRollupPagingQuery, blockInstance: BlockPageRollupInstanceExtends): Promise<number>;
54
59
  updateQuery(blockInstance: BlockPageRollupInstanceExtends, newSettings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>, forceExecuteQuery?: boolean, clientCaching?: boolean): void;
55
60
  getRollupId(blockInstance: IBlockInstance<PageRollupBlockSettings>): string;
61
+ setLoadedPageRollups(pageRollupQueryId: string, isDestroyed: boolean): void;
56
62
  private setExecutingQueriesParrallel;
57
63
  private setExecutedQueriesParrallel;
58
64
  private ensureLatestExecutedQuery;
@@ -104,7 +110,7 @@ declare class InternalPageRollupStoreHelper {
104
110
  private extractPageRollupInstancesInNP;
105
111
  private pushBatchQueryTimewatch;
106
112
  private ensureRunLatestBatchQuery;
107
- private executeBatchQuery;
113
+ executeBatchQuery(queries: BatchQueryPagesExtends[], allowCancelToken?: boolean, clientCaching?: boolean): Promise<BatchQueryPagesResult>;
108
114
  private mapToBatchQueryPages;
109
115
  private hasPageTypeInSettings;
110
116
  private hasAppInSettings;
@@ -129,6 +135,8 @@ export declare class PageRollupStoreHelper {
129
135
  queries: VariationQuery[];
130
136
  }>;
131
137
  getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
138
+ setDestroyedPageRollups(pageRollupQueryId: string): void;
139
+ getBatchQueriesData(batchQueries: Array<BatchQueryPages>): Promise<BatchQueryPagesResult>;
132
140
  }
133
141
  export declare class FilterManager {
134
142
  private static targetingPropertyStore;
@@ -69,4 +69,10 @@ export declare class PagesStore extends Store {
69
69
  private getPageCollectionSelectionFromCache;
70
70
  private updatePageHiddenAndSoftDeleted;
71
71
  private onMergeLayoutCompleted;
72
+ /**
73
+ * Handle messagebus delay if the newly created page is broken permission inheritance by default
74
+ * Note that the solution may not work in some "worse" case that the timeout is not enough
75
+ * @param pageCollectionId
76
+ */
77
+ private handleDelayAfterCreatingPage;
72
78
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "6.11.34",
4
+ "version": "6.11.36",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"