@omnia/wcm 6.10.108-preview → 6.10.111-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/PublishingAppLocalization.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +5 -9
- package/internal-do-not-import-from-here/fx/models/infoscreen/AdminInfoScreenBlock.d.ts +5 -2
- package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +2 -3
- package/package.json +1 -1
|
@@ -157,19 +157,15 @@ export interface PageRollupBlockBreakPointSettings {
|
|
|
157
157
|
export interface PageRollupBlockProperty {
|
|
158
158
|
pickedPages?: Array<PageItemNode>;
|
|
159
159
|
}
|
|
160
|
-
export interface PageRollupResource {
|
|
161
|
-
id: string;
|
|
162
|
-
typeId?: GuidValue;
|
|
163
|
-
filters?: Array<PageRollupPropertyFilter>;
|
|
164
|
-
}
|
|
165
|
-
export interface PageRollupPageCollectionResource extends PageRollupResource {
|
|
166
|
-
publishingAppId?: string;
|
|
167
|
-
}
|
|
168
160
|
export interface PageRollupBlockSettings {
|
|
169
161
|
scope: PageRollupEnums.RollupScopes;
|
|
170
162
|
excludeCurrentPage: boolean;
|
|
171
163
|
excludeVariations: boolean;
|
|
172
|
-
resources: Array<
|
|
164
|
+
resources: Array<{
|
|
165
|
+
id: string;
|
|
166
|
+
typeId?: GuidValue;
|
|
167
|
+
filters?: Array<PageRollupPropertyFilter>;
|
|
168
|
+
}>;
|
|
173
169
|
itemLimit: number;
|
|
174
170
|
queryItemLimit: number;
|
|
175
171
|
priority: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GuidValue, SpacingSettings, MultilingualString, IconPickerModel, MediaPickerVideo } from '@omnia/fx-models';
|
|
2
|
-
import { PageQuery, PageRollupEnums, PagingTypes, PageRollupUiFilter, PageItemNode, VideoType
|
|
2
|
+
import { PageQuery, PageRollupEnums, PageRollupPropertyFilter, PagingTypes, PageRollupUiFilter, PageItemNode, VideoType } from '@omnia/wcm/models';
|
|
3
3
|
import { TargetingFilterProperty } from '@omnia/fx-sp/models';
|
|
4
4
|
export interface BlockDataWithSettingsAndData<Data, Settings> {
|
|
5
5
|
settings: Settings;
|
|
@@ -12,7 +12,10 @@ export interface AdminInfoScreenBlockDataData {
|
|
|
12
12
|
export interface AdminInfoScreenBlockSettings {
|
|
13
13
|
scope: PageRollupEnums.RollupScopes;
|
|
14
14
|
excludeCurrentPage: boolean;
|
|
15
|
-
resources: Array<
|
|
15
|
+
resources: Array<{
|
|
16
|
+
id: string;
|
|
17
|
+
filters?: Array<PageRollupPropertyFilter>;
|
|
18
|
+
}>;
|
|
16
19
|
itemLimit: number;
|
|
17
20
|
priority: number;
|
|
18
21
|
noResultText: MultilingualString;
|
|
@@ -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, VariationQuery, VariationId, BatchQueryPages, PageRollupUiSearchboxFilterValue, QueryOrder, NormalPageRollupPagingQuery, PageDialogPropertiesMapping, PageDialogData, PageRollupUiFilter
|
|
4
|
+
import { PageRollupBlockSettings, PageRollupEnums, PageQuery, PageItemNode, QueryFilter, PageRollupPropertyFilter, ReactivePageBlockProperty, PageRollupBlockProperty, PageCollectionSelection, VariationQuery, VariationId, BatchQueryPages, PageRollupUiSearchboxFilterValue, QueryOrder, NormalPageRollupPagingQuery, 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> {
|
|
@@ -58,7 +58,6 @@ declare class InternalPageRollupStoreHelper {
|
|
|
58
58
|
ensureUserTargetingData(settings: PageRollupBlockSettings): Promise<TargetingPropertyFlatResult[]>;
|
|
59
59
|
ensureLoadedCurrentNavigation(blockInstances: IBlockInstanceExtends<PageRollupBlockSettings>[]): Promise<void>;
|
|
60
60
|
getTargetingData(settings: PageRollupBlockSettings): TargetingPropertyFlatResult[];
|
|
61
|
-
getPublishingAppIdForCurrentPageIdResource(resourceId: string): string;
|
|
62
61
|
getResourceId(resourceId: string): string;
|
|
63
62
|
getStartNode(settings: PageRollupBlockSettings): PageItemNode;
|
|
64
63
|
generateFilters(settings: PageRollupBlockSettings, filters?: Array<PageRollupPropertyFilter>): Array<QueryFilter>;
|
|
@@ -68,7 +67,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
68
67
|
}>;
|
|
69
68
|
populateTargetingVariationIds(variationQueriesDict: {
|
|
70
69
|
[key: number]: VariationQuery;
|
|
71
|
-
}, settings: PageRollupBlockSettings, pageCollectionSelections: Array<
|
|
70
|
+
}, settings: PageRollupBlockSettings, pageCollectionSelections: Array<PageCollectionSelection>): any[];
|
|
72
71
|
buildQuery(serviceContainerContext: ServiceContainerContext, settings: PageRollupBlockSettings, instance: IBlockInstance<PageRollupBlockSettings>, uiQueryFilters: QueryFilter[]): Promise<PageQuery>;
|
|
73
72
|
getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
|
|
74
73
|
generateBatchQuery(blockInstance: BlockPageRollupInstanceExtends, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<BatchQueryPages>;
|