@omnia/wcm 6.10.39-preview → 6.10.42-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.
@@ -676,7 +676,7 @@ export declare module EditorLocalization {
676
676
  Title: {
677
677
  App: string;
678
678
  };
679
- Archive: "Archive";
679
+ Retention: string;
680
680
  Channels: string;
681
681
  };
682
682
  Buttons: {
@@ -104,7 +104,8 @@ export declare module PageRollupLocalization {
104
104
  Navigation: string;
105
105
  EnableClientCaching: string;
106
106
  PageType: string;
107
- Channel: string;
107
+ PublishingApp: string;
108
+ Channels: string;
108
109
  PageHits: string;
109
110
  CurrentUser: string;
110
111
  AllUsers: string;
@@ -5,6 +5,7 @@ export declare module ItemQueryHelper {
5
5
  function generateExcludePageId(logicalOperator: ItemQueryEnums.FilterLogicalOperator, pageId: PageId, filters?: Array<QueryFilter>): QueryFilter;
6
6
  function generateFalseFilter(logicalOperator: ItemQueryEnums.FilterLogicalOperator, filters?: Array<QueryFilter>): QueryFilter;
7
7
  function generateTrueFilter(logicalOperator: ItemQueryEnums.FilterLogicalOperator, filters?: Array<QueryFilter>): QueryFilter;
8
+ function generateTextEqualFilter(property: string, text: string, logicalOperator: ItemQueryEnums.FilterLogicalOperator): QueryFilter;
8
9
  function generateTextFilter(property: string, text: string, logicalOperator: ItemQueryEnums.FilterLogicalOperator, enableWildcardSearch: boolean): QueryFilter;
9
10
  function generateProcessFilterValue(property: string, text: string, logicalOperator: ItemQueryEnums.FilterLogicalOperator, enableWildcardSearch: boolean): QueryFilter;
10
11
  function generateProcessFilter(property: string, processIdsArray: Array<string>, logicalOperator: ItemQueryEnums.FilterLogicalOperator, enableWildcardSearch: boolean): QueryFilter;
@@ -107,5 +107,6 @@ export declare const SignOffRequestConstants: {
107
107
  };
108
108
  export declare const PageBuiltInColumnConstants: {
109
109
  layoutDataParentPageId: string;
110
+ publishingAppId: string;
110
111
  workflowStatus: string;
111
112
  };
@@ -182,5 +182,6 @@ export var SignOffRequestConstants = {
182
182
  };
183
183
  export var PageBuiltInColumnConstants = {
184
184
  layoutDataParentPageId: "LayoutDataParentPageId",
185
+ publishingAppId: "PublishingAppId",
185
186
  workflowStatus: "WorkflowStatus"
186
187
  };
@@ -96,11 +96,11 @@ export declare class WcmWebComponentManifests {
96
96
  static get ReadRenderer(): Guid;
97
97
  static get AppSettingsCore(): Guid;
98
98
  static get AppSettingsGeneralComponent(): Guid;
99
+ static get AppSettingsAdvancedComponent(): Guid;
99
100
  static get AppSettingsPermissionComponent(): Guid;
100
101
  static get AuthenticationOptionsComponent(): Guid;
101
102
  static get AppSettingsVariationComponent(): Guid;
102
103
  static get AppSettingsStatisticProviderComponent(): Guid;
103
- static get AppSettingsAdvancedComponent(): Guid;
104
104
  static get AppSettingsGamificationComponent(): Guid;
105
105
  static get CreatePage(): Guid;
106
106
  static get PageVersionsViewer(): Guid;
@@ -112,7 +112,7 @@ export declare class WcmWebComponentManifests {
112
112
  static get ColumColor(): Guid;
113
113
  static get Banner(): Guid;
114
114
  static get AdminAppSettingsBladeComponent(): Guid;
115
- static get AdminAppSettingsGeneralComponent(): Guid;
115
+ static get AdminAppSettingsAdvancedComponent(): Guid;
116
116
  static get AdminAppSettingsGamificationComponent(): Guid;
117
117
  static get AdminAppSettingsStatisticComponent(): Guid;
118
118
  static get AdminAppSettingsPermissionComponent(): Guid;
@@ -145,6 +145,7 @@ export declare class WcmWebComponentManifests {
145
145
  static get CalendarRollup(): Guid;
146
146
  static get CalendarRollupSettings(): Guid;
147
147
  static get PageTypeFilter(): Guid;
148
+ static get PageRollupAppFilter(): Guid;
148
149
  static get ChannelFilter(): Guid;
149
150
  static get WorkflowStatusFilter(): Guid;
150
151
  static get BlockMegaMenu(): Guid;
@@ -465,6 +465,11 @@ var WcmWebComponentManifests = /** @class */ (function () {
465
465
  enumerable: false,
466
466
  configurable: true
467
467
  });
468
+ Object.defineProperty(WcmWebComponentManifests, "AppSettingsAdvancedComponent", {
469
+ get: function () { return new Guid("9a8f2cc6-cc12-497e-80d0-f20a5abf1312"); },
470
+ enumerable: false,
471
+ configurable: true
472
+ });
468
473
  Object.defineProperty(WcmWebComponentManifests, "AppSettingsPermissionComponent", {
469
474
  get: function () { return new Guid("80548e8a-d628-4e95-b29a-ef5bfccd09cc"); },
470
475
  enumerable: false,
@@ -485,11 +490,6 @@ var WcmWebComponentManifests = /** @class */ (function () {
485
490
  enumerable: false,
486
491
  configurable: true
487
492
  });
488
- Object.defineProperty(WcmWebComponentManifests, "AppSettingsAdvancedComponent", {
489
- get: function () { return new Guid("c0b45973-31bd-4010-85a8-1c9fd40adcbe"); },
490
- enumerable: false,
491
- configurable: true
492
- });
493
493
  Object.defineProperty(WcmWebComponentManifests, "AppSettingsGamificationComponent", {
494
494
  get: function () { return new Guid("4cfd1672-007a-4d47-8533-13766ede81d3"); },
495
495
  enumerable: false,
@@ -545,7 +545,7 @@ var WcmWebComponentManifests = /** @class */ (function () {
545
545
  enumerable: false,
546
546
  configurable: true
547
547
  });
548
- Object.defineProperty(WcmWebComponentManifests, "AdminAppSettingsGeneralComponent", {
548
+ Object.defineProperty(WcmWebComponentManifests, "AdminAppSettingsAdvancedComponent", {
549
549
  get: function () { return new Guid("a38e1983-a42d-4422-abde-1784bf8a1033"); },
550
550
  enumerable: false,
551
551
  configurable: true
@@ -710,6 +710,11 @@ var WcmWebComponentManifests = /** @class */ (function () {
710
710
  enumerable: false,
711
711
  configurable: true
712
712
  });
713
+ Object.defineProperty(WcmWebComponentManifests, "PageRollupAppFilter", {
714
+ get: function () { return new Guid("c8325692-56ac-4fba-bc97-0a4e8371e5c0"); },
715
+ enumerable: false,
716
+ configurable: true
717
+ });
713
718
  Object.defineProperty(WcmWebComponentManifests, "ChannelFilter", {
714
719
  get: function () { return new Guid("1692b3df-92d1-4943-8641-0167d7ba8115"); },
715
720
  enumerable: false,
@@ -120,11 +120,15 @@ export interface PageRollupVariationPropertyFilterValue extends PageRollupProper
120
120
  variationId: VariationId;
121
121
  defaultVariationId: VariationId;
122
122
  }
123
+ export interface PageRollupPublishingAppPropertyFilterValue extends PageRollupPropertyFilterValue {
124
+ value: Array<GuidValue>;
125
+ }
123
126
  export interface PageRollupPageTypePropertyFilterValue extends PageRollupPropertyFilterValue {
124
127
  value: Array<PageId>;
125
128
  }
126
129
  export interface PageRollupChannelFilterValue extends PageRollupPropertyFilterValue {
127
130
  value: Array<PublishingChannelId>;
131
+ currentUserSubscription: boolean;
128
132
  }
129
133
  export interface PageRollupWorkflowStatusPropertyFilterValue extends PageRollupPropertyFilterValue {
130
134
  value: PageRollupEnums.WorkflowStatus;
@@ -45,6 +45,7 @@ export declare class PageRollupStore extends Store {
45
45
  }>;
46
46
  private indexedDbPageRollup;
47
47
  private pageTypes;
48
+ private relevantAppInfo;
48
49
  private pageTypesLoadPromise;
49
50
  private publishingChannelSettings;
50
51
  private loadIndexedDBPromise;
@@ -71,6 +72,10 @@ export declare class PageRollupStore extends Store {
71
72
  publishingChannelSettings: (uniqueKey: string) => string[];
72
73
  sortPagesByNavigation: (pages: PageDetailQueryResult[], navigationStartNodeId?: number, sortDescending?: boolean) => PageDetailQueryResult[];
73
74
  loadIndexedDb: () => Promise<void>;
75
+ relevantAppIds: (uniqueKey: string) => {
76
+ id: string;
77
+ title: string;
78
+ }[];
74
79
  };
75
80
  private generatePageSocialCountingAndPageStatisticsColumn;
76
81
  private getPageRollupDataFromIndexedDB;
@@ -83,6 +88,13 @@ export declare class PageRollupStore extends Store {
83
88
  addOrUpdateIndexedDBPages: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pages: Array<PageDetailQueryResult>) => void, (uniqueKey: string, pages: PageDetailQueryResult[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
84
89
  updatePageTypes: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pageTypes: Array<PageTypeSelection>) => void, (uniqueKey: string, pageTypes: PageTypeSelection[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
85
90
  updatePublishingChannelSettings: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, channelsId: Array<string>) => void, (uniqueKey: string, channelsId: string[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
91
+ updateRollupRelevantAppInfo: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, appInfo: {
92
+ id: string;
93
+ title: string;
94
+ }[]) => void, (uniqueKey: string, appInfo: {
95
+ id: string;
96
+ title: string;
97
+ }[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
86
98
  };
87
99
  actions: {
88
100
  navigate: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: boolean, openInEditor?: boolean) => void, (result: void, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: boolean, openInEditor?: boolean) => void, (failureReason: any, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: boolean, openInEditor?: boolean) => void, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: boolean, openInEditor?: boolean) => Promise<void>>;
@@ -71,6 +71,7 @@ declare class InternalPageRollupStoreHelper {
71
71
  buildQuery(serviceContainerContext: ServiceContainerContext, settings: PageRollupBlockSettings, instance: IBlockInstance<PageRollupBlockSettings>, uiQueryFilters: QueryFilter[]): Promise<PageQuery>;
72
72
  getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
73
73
  generateBatchQuery(blockInstance: BlockPageRollupInstanceExtends, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<BatchQueryPages>;
74
+ private generateChannelsFilter;
74
75
  private getPropertyNameByScope;
75
76
  private scopeHasVariationFilter;
76
77
  private validateSetting;
@@ -86,6 +87,7 @@ declare class InternalPageRollupStoreHelper {
86
87
  private runIsolatedBatchQueryForInstances;
87
88
  private buildQueries;
88
89
  private ensurePublishingAppsAndPageCollectionsReady;
90
+ private updateRollupRelevantApps;
89
91
  private ensureUpdatePublishingChannelsFilterItems;
90
92
  private hookupPageRollupsInWcmLayout;
91
93
  private ensureMigrateData;
@@ -97,6 +99,7 @@ declare class InternalPageRollupStoreHelper {
97
99
  private executeBatchQuery;
98
100
  private mapToBatchQueryPages;
99
101
  private hasPageTypeInSettings;
102
+ private hasAppInSettings;
100
103
  private ensureLoadPageTypesOfInstance;
101
104
  private ensureLoadPageTypes;
102
105
  private ensureLanguageSettings;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "6.10.39-preview",
4
+ "version": "6.10.42-preview",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"