@omnia/wcm 6.12.12-preview → 6.12.12
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/Constants.d.ts +3 -0
- package/internal-do-not-import-from-here/core/Utils.d.ts +1 -0
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +12 -1
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +21 -4
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +20 -4
- package/internal-do-not-import-from-here/core/messaging/WcmPublicTopics.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/constants.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/messaging/PublicWcmTopics.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/Constants.js +6 -2
- package/internal-do-not-import-from-here/fx/models/Enums.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/Enums.js +1 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.js +26 -0
- package/internal-do-not-import-from-here/fx/models/apps/PublishingAppInfo.d.ts +15 -0
- package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.d.ts +3 -2
- package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.js +2 -2
- package/internal-do-not-import-from-here/fx/models/channels/PublishingChannel.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlock.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/ContentBlock.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/LinkPicker.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/components/LinkPickerStyles.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +11 -1
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlockStyles.d.ts +20 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlockStyles.js +1 -0
- package/internal-do-not-import-from-here/fx/models/components/QrCodeStyles.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/components/QrCodeStyles.js +1 -0
- package/internal-do-not-import-from-here/fx/models/components/RelatedLinkBlock.d.ts +0 -1
- package/internal-do-not-import-from-here/fx/models/components/RssReaderBlockData.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningPageRollupViewSettings.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/models/fileuploader/FileUploaderProviderContext.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/governancedashboard/UserPropertyMetricsSettings.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/CardViewSettings.d.ts +2 -14
- package/internal-do-not-import-from-here/fx/models/pagequery/CardViewSettings.js +0 -12
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupQuery.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/propertybags/approutes/WcmEditorDynamicNavigationRouteProperty.d.ts +11 -0
- package/internal-do-not-import-from-here/fx/models/propertybags/approutes/WcmEditorDynamicNavigationRouteProperty.js +11 -0
- package/internal-do-not-import-from-here/fx/models/propertybags/approutes/index.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/models/propertybags/approutes/index.js +1 -1
- package/internal-do-not-import-from-here/fx/models/query/PageQuery.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/social/Achievement.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/services/ChannelManagementService.d.ts +5 -4
- package/internal-do-not-import-from-here/fx/services/PageQueryService.d.ts +3 -4
- package/internal-do-not-import-from-here/fx/services/PageStatisticsService.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/stores/ChannelCategoriesStore.d.ts +5 -1
- package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +6 -1
- package/internal-do-not-import-from-here/fx/stores/CreatePageFormStore.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +10 -7
- package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +30 -8
- package/internal-do-not-import-from-here/fx/ux/InternalUxCore.d.ts +2 -2
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/pagestatistics/Reports.d.ts +6 -2
- package/internal-do-not-import-from-here/models/publishingapp/PublishingAppSettings.d.ts +19 -5
- package/internal-do-not-import-from-here/models/publishingapp/PublishingAppSettings.js +8 -1
- package/package.json +1 -1
- package/internal-do-not-import-from-here/fx/models/propertybags/approutes/AppDocumentsConfigurationRouteProperty.d.ts +0 -5
- package/internal-do-not-import-from-here/fx/models/propertybags/approutes/AppDocumentsConfigurationRouteProperty.js +0 -11
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
import { PageRollupViewSettings } from '..';
|
|
2
|
-
import { SpacingSettings, GuidValue, PropertyIndexedType } from '@omnia/fx-models';
|
|
2
|
+
import { SpacingSettings, GuidValue, PropertyIndexedType, Positions } from '@omnia/fx-models';
|
|
3
3
|
import { CardTypes } from './CardViewEnums';
|
|
4
|
-
declare enum Positions {
|
|
5
|
-
Left = 1,
|
|
6
|
-
Right = 2,
|
|
7
|
-
Top = 3,
|
|
8
|
-
Bottom = 4,
|
|
9
|
-
TopLeft = 5,
|
|
10
|
-
TopRight = 6,
|
|
11
|
-
BottomLeft = 7,
|
|
12
|
-
BottomRight = 8
|
|
13
|
-
}
|
|
14
4
|
export interface CardViewSettings extends PageRollupViewSettings {
|
|
15
5
|
imageProp: string;
|
|
16
6
|
dateProp: string;
|
|
@@ -19,7 +9,7 @@ export interface CardViewSettings extends PageRollupViewSettings {
|
|
|
19
9
|
termProps: Array<CardViewTermProperty>;
|
|
20
10
|
showLikesComments: boolean;
|
|
21
11
|
showRating: boolean;
|
|
22
|
-
|
|
12
|
+
showLastActivity?: boolean;
|
|
23
13
|
elevation: number;
|
|
24
14
|
cardsPerRow: number;
|
|
25
15
|
staticTitleSize: boolean;
|
|
@@ -46,11 +36,9 @@ export interface PropertyPositions {
|
|
|
46
36
|
personProp: Positions;
|
|
47
37
|
termProps: Positions;
|
|
48
38
|
likesComments: Positions;
|
|
49
|
-
pageType: Positions;
|
|
50
39
|
}
|
|
51
40
|
export interface CardViewTermProperty {
|
|
52
41
|
internalName: string;
|
|
53
42
|
type: PropertyIndexedType;
|
|
54
43
|
showLabel: boolean;
|
|
55
44
|
}
|
|
56
|
-
export {};
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
//[buZvGra0] ToDo: update Omnia package
|
|
2
|
-
var Positions;
|
|
3
|
-
(function (Positions) {
|
|
4
|
-
Positions[Positions["Left"] = 1] = "Left";
|
|
5
|
-
Positions[Positions["Right"] = 2] = "Right";
|
|
6
|
-
Positions[Positions["Top"] = 3] = "Top";
|
|
7
|
-
Positions[Positions["Bottom"] = 4] = "Bottom";
|
|
8
|
-
Positions[Positions["TopLeft"] = 5] = "TopLeft";
|
|
9
|
-
Positions[Positions["TopRight"] = 6] = "TopRight";
|
|
10
|
-
Positions[Positions["BottomLeft"] = 7] = "BottomLeft";
|
|
11
|
-
Positions[Positions["BottomRight"] = 8] = "BottomRight";
|
|
12
|
-
})(Positions || (Positions = {}));
|
|
13
1
|
export {};
|
package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts
CHANGED
|
@@ -17,6 +17,10 @@ export interface ListViewMediaColumn extends ListViewColumn {
|
|
|
17
17
|
type: PropertyIndexedType.Media;
|
|
18
18
|
imagePropRatioUniqueId?: GuidValue;
|
|
19
19
|
}
|
|
20
|
+
export interface ListViewUniqueUsersDetailsColumn extends ListViewColumn {
|
|
21
|
+
targetNoOfUsers?: number;
|
|
22
|
+
showDetails?: boolean;
|
|
23
|
+
}
|
|
20
24
|
export interface PageRollupListViewSettings extends PageRollupViewSettings {
|
|
21
25
|
columns: Array<ListViewColumn>;
|
|
22
26
|
navigationStartNodeId?: number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PageQuery, PageDetailQueryResult, PageId } from '..';
|
|
2
|
+
import { GuidValue } from '@omnia/fx-models';
|
|
2
3
|
import { PageRollupEnums } from './PageRollupEnums';
|
|
3
4
|
export interface PageRollupQuery {
|
|
4
5
|
uniqueKey: string;
|
|
@@ -38,6 +39,10 @@ export interface ExportQueryPagesRequest extends BatchQueryPages {
|
|
|
38
39
|
[internalName: string]: string;
|
|
39
40
|
};
|
|
40
41
|
}
|
|
42
|
+
export interface ExportQueryPagesResult {
|
|
43
|
+
fileToken: string;
|
|
44
|
+
queueMessageId: GuidValue;
|
|
45
|
+
}
|
|
41
46
|
export interface BatchQueryPagesResult {
|
|
42
47
|
pagesDetail: PageDetailQueryResult[];
|
|
43
48
|
batchQueryResult: {
|
|
@@ -31,6 +31,7 @@ export interface PageCollectionData extends PlainPageData {
|
|
|
31
31
|
enablePublishingToChannel: boolean;
|
|
32
32
|
yammerIntegrationRules: Array<YammerIntegrationRule>;
|
|
33
33
|
overriddenPageTypeSettings?: OverriddenPageTypeSetting[];
|
|
34
|
+
taxonomyPropertyConnectionSettings: TaxonomyPropertyConnectionSettings;
|
|
34
35
|
/**
|
|
35
36
|
* This property is used as inital value for creating Page Collection Navigation Node.
|
|
36
37
|
* */
|
|
@@ -62,6 +63,10 @@ export interface SchedulingSettings {
|
|
|
62
63
|
enableScheduling: boolean;
|
|
63
64
|
schedulingEnterprisePropertyName: string;
|
|
64
65
|
}
|
|
66
|
+
export interface TaxonomyPropertyConnectionSettings {
|
|
67
|
+
enableTaxonomyConnection: boolean;
|
|
68
|
+
taxonomyConnectionEnterprisePropertyName: string;
|
|
69
|
+
}
|
|
65
70
|
export interface PageCollectionLayoutRefData extends PageCollectionData {
|
|
66
71
|
layoutVersionedDataIdentifier: IVersionedDataIdentifier;
|
|
67
72
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AppInstanceLayoutId, AppRoutePropertyBagModel, IIcon, MultilingualString } from '@omnia/fx-models';
|
|
2
|
+
interface WcmEditorDynamicNavigationNode {
|
|
3
|
+
icon: IIcon;
|
|
4
|
+
title: MultilingualString;
|
|
5
|
+
layoutId: AppInstanceLayoutId;
|
|
6
|
+
}
|
|
7
|
+
export declare class WcmEditorDynamicNavigationRouteProperty extends AppRoutePropertyBagModel {
|
|
8
|
+
nodes: WcmEditorDynamicNavigationNode[];
|
|
9
|
+
constructor();
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { AppRoutePropertyBagModel } from '@omnia/fx-models';
|
|
3
|
+
import { WcmService } from '../../ManifestIds';
|
|
4
|
+
var WcmEditorDynamicNavigationRouteProperty = /** @class */ (function (_super) {
|
|
5
|
+
__extends(WcmEditorDynamicNavigationRouteProperty, _super);
|
|
6
|
+
function WcmEditorDynamicNavigationRouteProperty() {
|
|
7
|
+
return _super.call(this, WcmService.Id, "owcmEditorDynamicNavigationRouteProperty") || this;
|
|
8
|
+
}
|
|
9
|
+
return WcmEditorDynamicNavigationRouteProperty;
|
|
10
|
+
}(AppRoutePropertyBagModel));
|
|
11
|
+
export { WcmEditorDynamicNavigationRouteProperty };
|
|
@@ -2,4 +2,4 @@ export * from './PublishingAppBootRouteProperty';
|
|
|
2
2
|
export * from './VariationsRouteProperty';
|
|
3
3
|
export * from './PublishingAppReuseContentSettingsRouteProperty';
|
|
4
4
|
export * from './PublishingAppArchiveSettingsRouteProperty';
|
|
5
|
-
export * from "./
|
|
5
|
+
export * from "./WcmEditorDynamicNavigationRouteProperty";
|
|
@@ -2,4 +2,4 @@ export * from './PublishingAppBootRouteProperty';
|
|
|
2
2
|
export * from './VariationsRouteProperty';
|
|
3
3
|
export * from './PublishingAppReuseContentSettingsRouteProperty';
|
|
4
4
|
export * from './PublishingAppArchiveSettingsRouteProperty';
|
|
5
|
-
export * from "./
|
|
5
|
+
export * from "./WcmEditorDynamicNavigationRouteProperty";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TargetingFilterProperty } from '@omnia/fx-sp/models';
|
|
2
2
|
import { GuidValue, Identity, MediaPickerImage, MultilingualString } from '@omnia/fx/models';
|
|
3
|
-
import { PublishingChannel, PageId, UserAuthorizedChannelResources, ChannelPage, PublishingStatus, PublishingChannelId, PublishingChannelPage, ChannelRollupQuery, PublisingChannelQueryResult } from '../models';
|
|
3
|
+
import { PublishingChannel, PageId, UserAuthorizedChannelResources, ChannelPage, PublishingStatus, PublishingChannelId, PublishingChannelPage, ChannelRollupQuery, PublisingChannelQueryResult, PublishChannelPageRequest } from '../models';
|
|
4
4
|
export declare class ChannelManagementService {
|
|
5
5
|
private httpClient;
|
|
6
6
|
constructor();
|
|
@@ -18,8 +18,9 @@ export declare class ChannelManagementService {
|
|
|
18
18
|
getChannelPagesByStatus: (status: PublishingStatus) => Promise<Array<ChannelPage>>;
|
|
19
19
|
approvePublishPageToChannel: (channel: PublishingChannel, pageId: PageId, pageTitle: string, pageUrl: string) => Promise<ChannelPage>;
|
|
20
20
|
rejectPublishPageToChannel: (channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => Promise<ChannelPage>;
|
|
21
|
-
addPageToChannels: (pageId: number, channelToPublishTo: Array<
|
|
22
|
-
publishAddedPageToChannel: (pageId: PageId
|
|
23
|
-
publishPageToChannels: (pageId: number, channelToPublishTo: Array<
|
|
21
|
+
addPageToChannels: (pageId: number, channelToPublishTo: Array<PublishChannelPageRequest>, defaultPublishingChannelId: PublishingChannelId) => Promise<Array<ChannelPage>>;
|
|
22
|
+
publishAddedPageToChannel: (pageId: PageId) => Promise<Array<ChannelPage>>;
|
|
23
|
+
publishPageToChannels: (pageId: number, channelToPublishTo: Array<PublishChannelPageRequest>, defaultPublishingChannelId: PublishingChannelId) => Promise<Array<ChannelPage>>;
|
|
24
24
|
queryChannelRollup: (query: ChannelRollupQuery) => Promise<Array<PublisingChannelQueryResult>>;
|
|
25
|
+
private mappingPublishingChannel;
|
|
25
26
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PageCollectionSelection, ResolveReusablePageResult, PendingApprovalPage, PageId, SimplePageQuery, PageContentsQueryResult, BatchQueryPages, BatchQueryPagesResult, ExportQueryPagesRequest } from '../models';
|
|
1
|
+
import { PageCollectionSelection, ResolveReusablePageResult, PendingApprovalPage, PageId, SimplePageQuery, PageContentsQueryResult, BatchQueryPages, BatchQueryPagesResult, ExportQueryPagesRequest, ExportQueryPagesResult } from '../models';
|
|
2
2
|
import { WcmContext } from '../contexts';
|
|
3
3
|
import { MultilingualStore } from '@omnia/fx/stores';
|
|
4
4
|
export declare class PageQueryService {
|
|
@@ -15,9 +15,8 @@ export declare class PageQueryService {
|
|
|
15
15
|
queryBatchPages: (queries: BatchQueryPages[], cancelRequest?: (cancelToken: any) => void) => Promise<BatchQueryPagesResult>;
|
|
16
16
|
getPagesContents: (queryDetails: SimplePageQuery) => Promise<PageContentsQueryResult[]>;
|
|
17
17
|
getDefaultPageImageSrc: () => string;
|
|
18
|
-
exportToExcel: (query: ExportQueryPagesRequest,
|
|
19
|
-
getExportedFile: (exportingFileName: string,
|
|
20
|
-
exportToExcel1: (query: BatchQueryPages) => Promise<void>;
|
|
18
|
+
exportToExcel: (query: ExportQueryPagesRequest, exportingBlockId: string) => Promise<ExportQueryPagesResult>;
|
|
19
|
+
getExportedFile: (exportingFileName: string, exportingFileToken: string) => Promise<void>;
|
|
21
20
|
private processPagesDetailData;
|
|
22
21
|
private getPageVisited;
|
|
23
22
|
private findPageInNode;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PageRollupEnums } from '@omnia/wcm/models';
|
|
2
|
+
import { PageReportByUserPropertiesOption, PageReportOption, PageViewedRegister, ScheduledReportItem, UniqueUsersByUserProperty } from '../../models';
|
|
2
3
|
import { UsageReportItem, CheckedOutReportItem, ReviewReportItem, DailyStatisticsPerPage, PageStatisticExport } from '../../models';
|
|
3
4
|
export declare class PageStatisticsService {
|
|
4
5
|
private httpClient;
|
|
@@ -15,4 +16,5 @@ export declare class PageStatisticsService {
|
|
|
15
16
|
exportReviewReport(reportOptions: PageReportOption): Promise<PageStatisticExport>;
|
|
16
17
|
exportScheduledReport(reportOptions: PageReportOption): Promise<PageStatisticExport>;
|
|
17
18
|
getDailyStatisticsPerPage(pageId: number, includeSubPages: boolean): Promise<Array<DailyStatisticsPerPage>>;
|
|
19
|
+
getPageUniqueUsersByUserProperty(pageId: number, propertyName: string, datePeriods: PageRollupEnums.DatePeriods): Promise<Array<UniqueUsersByUserProperty>>;
|
|
18
20
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Store } from "@omnia/fx/stores";
|
|
2
1
|
import { GuidValue } from "@omnia/fx-models";
|
|
2
|
+
import { Store } from "@omnia/fx/stores";
|
|
3
3
|
import { PublishingChannelCategory } from "../models";
|
|
4
4
|
export declare class ChannelCategoriesStore extends Store {
|
|
5
5
|
private editingItem;
|
|
@@ -11,6 +11,10 @@ export declare class ChannelCategoriesStore extends Store {
|
|
|
11
11
|
getters: {
|
|
12
12
|
items: () => PublishingChannelCategory[];
|
|
13
13
|
editingItem: () => PublishingChannelCategory;
|
|
14
|
+
groupByCategories: () => {
|
|
15
|
+
[key: string]: PublishingChannelCategory;
|
|
16
|
+
};
|
|
17
|
+
categoriesMutated: () => (fn: (obj: import("@omnia/fx-models").StateMutation<PublishingChannelCategory[]>) => void) => import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
|
14
18
|
};
|
|
15
19
|
actions: {
|
|
16
20
|
ensureCategories: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: PublishingChannelCategory[]) => void, (failureReason: any) => void, () => Promise<PublishingChannelCategory[]>>;
|
|
@@ -21,6 +21,9 @@ export declare class ChannelManagementStore extends Store {
|
|
|
21
21
|
publishingChannels: import("@omnia/fx/stores").StoreState<ChannelIdtoChannelMap>;
|
|
22
22
|
waitingforApproveList: import("@omnia/fx/stores").StoreState<ChannelPageGroupMapping>;
|
|
23
23
|
resolvedUser: import("@omnia/fx/stores").StoreState<ResolvedUser>;
|
|
24
|
+
pendingChangeChannelPages: import("@omnia/fx/stores").StoreState<{
|
|
25
|
+
[pageId: string]: boolean;
|
|
26
|
+
}>;
|
|
24
27
|
private recentlyUsedChannels;
|
|
25
28
|
private publishedChannelsPage;
|
|
26
29
|
private userPublishingChannelSubscripton;
|
|
@@ -43,6 +46,8 @@ export declare class ChannelManagementStore extends Store {
|
|
|
43
46
|
getPublishingChannels: () => PublishingChannel[];
|
|
44
47
|
getPublisingChannelbyId: (channelId: PublishingChannelId) => PublishingChannel;
|
|
45
48
|
hasPublisherPermission: (channel: PublishingChannel, userIdentity: string) => boolean;
|
|
49
|
+
hasAssignChannelAdminPermission: (channel: PublishingChannel, userIdentity: string) => boolean;
|
|
50
|
+
hasAssignPublisherPermission: (channel: PublishingChannel, userIdentity: string) => boolean;
|
|
46
51
|
getChannelPages: (pageId: PageId) => ChannelPage[];
|
|
47
52
|
isPublishingPageToChannels: (pageId: PageId) => boolean;
|
|
48
53
|
getWaitingforApprovalPages: (channelId: PublishingChannelId) => number[];
|
|
@@ -58,6 +63,7 @@ export declare class ChannelManagementStore extends Store {
|
|
|
58
63
|
updateChannelPages: import("@omnia/fx/stores").StoreMutation<(pageId: PageId, result: Array<ChannelPage>) => void, (pageId: PageId, result: ChannelPage[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
59
64
|
updateIsPublishingPageToChannels: import("@omnia/fx/stores").StoreMutation<(pageId: PageId, isPublishing: boolean) => void, (pageId: PageId, isPublishing: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
60
65
|
updateWaitingforApprovalPages: import("@omnia/fx/stores").StoreMutation<(channelPages: Array<ChannelPage>) => void, (channelPages: ChannelPage[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
66
|
+
setPendingChanges: import("@omnia/fx/stores").StoreMutation<(pageId: number, pendingChanges: boolean) => void, (pageId: number, pendingChanges: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
61
67
|
};
|
|
62
68
|
/**
|
|
63
69
|
* Implementation of actions
|
|
@@ -78,7 +84,6 @@ export declare class ChannelManagementStore extends Store {
|
|
|
78
84
|
addPageToChannels: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number, defaultPublishingChannelId: PublishingChannelId) => void, (result: ChannelPage[], pageId: number, defaultPublishingChannelId: PublishingChannelId) => void, (failureReason: any, pageId: number, defaultPublishingChannelId: PublishingChannelId) => void, (pageId: number, defaultPublishingChannelId: PublishingChannelId) => Promise<Array<ChannelPage>>>;
|
|
79
85
|
publishPageToChannels: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number) => void, (result: ChannelPage[], pageId: number) => void, (failureReason: any, pageId: number) => void, (pageId: number) => Promise<Array<ChannelPage>>>;
|
|
80
86
|
publishAddedPageToChannel: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number) => void, (result: ChannelPage[], pageId: number) => void, (failureReason: any, pageId: number) => void, (pageId: number) => Promise<Array<ChannelPage>>>;
|
|
81
|
-
publishPendingPageToChannel: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number) => void, (result: ChannelPage[], pageId: number) => void, (failureReason: any, pageId: number) => void, (pageId: number) => Promise<Array<ChannelPage>>>;
|
|
82
87
|
ensureUserPublishingChannelSubscripton: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
|
|
83
88
|
};
|
|
84
89
|
private updateChannelPagesStatus;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GuidValue } from '@omnia/fx-models';
|
|
2
2
|
import { Store } from '@omnia/fx/stores';
|
|
3
3
|
import { PageTitleConfig } from '../internal/models/PageTitleConfig';
|
|
4
|
-
import {
|
|
4
|
+
import { PageData, PageWithNavigationCreationRequest, VersionedPageData } from '../models';
|
|
5
5
|
import { PagesStore } from './PagesStore';
|
|
6
6
|
export declare class CreatePageFormStore extends Store {
|
|
7
7
|
pagesStore: PagesStore;
|
|
@@ -29,12 +29,12 @@ export declare class CreatePageFormStore extends Store {
|
|
|
29
29
|
}, pageTitleConfig: PageTitleConfig) => void, (enterpriseProperties: {
|
|
30
30
|
[propertyInternalName: string]: any;
|
|
31
31
|
}, pageTitleConfig: PageTitleConfig) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
32
|
-
registerAfterPageCreatedHook: import("@omnia/fx/stores").StoreMutation<(ensurePropertiesReady: (
|
|
32
|
+
registerAfterPageCreatedHook: import("@omnia/fx/stores").StoreMutation<(ensurePropertiesReady: (versionPageData: VersionedPageData<PageData>) => Promise<any>) => void, (ensurePropertiesReady: (versionPageData: VersionedPageData<PageData>) => Promise<any>) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
35
35
|
* Implementation of actions
|
|
36
36
|
*/
|
|
37
37
|
actions: {
|
|
38
|
-
createPage: import("@omnia/fx/stores").StoreAction<unknown, (creationRequest: PageWithNavigationCreationRequest, targetPublishingAppId?: GuidValue, targetVariationId?: string) => void, (result:
|
|
38
|
+
createPage: import("@omnia/fx/stores").StoreAction<unknown, (creationRequest: PageWithNavigationCreationRequest, targetPublishingAppId?: GuidValue, targetVariationId?: string) => void, (result: VersionedPageData<PageData>, creationRequest: PageWithNavigationCreationRequest, targetPublishingAppId?: GuidValue, targetVariationId?: string) => void, (failureReason: any, creationRequest: PageWithNavigationCreationRequest, targetPublishingAppId?: GuidValue, targetVariationId?: string) => void, (creationRequest: PageWithNavigationCreationRequest, targetPublishingAppId?: GuidValue, targetVariationId?: string) => Promise<VersionedPageData<PageData>>>;
|
|
39
39
|
};
|
|
40
40
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Store } from '@omnia/fx/stores';
|
|
2
|
-
import { PageDetailQueryResult, PageDialogData, PageDialogPropertiesMapping, PageNavigationData, PageNavigationNode, PageRollupQuery, PageTypeSelection, ExportQueryPagesRequest } from '@omnia/wcm/models';
|
|
2
|
+
import { PageDetailQueryResult, PageDialogData, PageDialogPropertiesMapping, PageNavigationData, PageNavigationNode, PageRollupQuery, PageTypeSelection, ExportQueryPagesRequest, ExportQueryPagesResult } from '@omnia/wcm/models';
|
|
3
3
|
export interface PageRollupQueryResult extends PageRollupQuery {
|
|
4
4
|
selectProperties: Array<string>;
|
|
5
5
|
disableDistinct: boolean;
|
|
@@ -7,6 +7,7 @@ export interface PageRollupQueryResult extends PageRollupQuery {
|
|
|
7
7
|
total: number;
|
|
8
8
|
errMsg: string;
|
|
9
9
|
concatResult?: boolean;
|
|
10
|
+
showMetric?: boolean;
|
|
10
11
|
}
|
|
11
12
|
declare type BatchPageRollupQueryResult = {
|
|
12
13
|
queries: PageRollupQueryResult[];
|
|
@@ -49,6 +50,7 @@ export declare class PageRollupStore extends Store {
|
|
|
49
50
|
private pageTypesLoadPromise;
|
|
50
51
|
private publishingChannelSettings;
|
|
51
52
|
private loadIndexedDBPromise;
|
|
53
|
+
private metricUniqueKey;
|
|
52
54
|
/**
|
|
53
55
|
* Private properties
|
|
54
56
|
*/
|
|
@@ -62,7 +64,7 @@ export declare class PageRollupStore extends Store {
|
|
|
62
64
|
getters: {
|
|
63
65
|
pages: (uniqueKey: string, excludeVariationUrl: boolean) => PageDetailQueryResult[];
|
|
64
66
|
pagesIndexedDB: (uniqueKey: string) => Promise<Array<PageDetailQueryResult>>;
|
|
65
|
-
total: (uniqueKey: string) => number;
|
|
67
|
+
total: (uniqueKey: string, showMetric: boolean) => number;
|
|
66
68
|
errorMsg: (uniqueKey: string) => string;
|
|
67
69
|
pageDialogData: (pageId: number) => PageDialogData;
|
|
68
70
|
pageContentDataWithLimit: (contentProp: string, contentLimit: number, pageId: number) => string;
|
|
@@ -95,14 +97,15 @@ export declare class PageRollupStore extends Store {
|
|
|
95
97
|
id: string;
|
|
96
98
|
title: string;
|
|
97
99
|
}[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
100
|
+
showUniqueUsersDetailsView: import("@omnia/fx/stores").StoreMutation<(pageDetails: PageDetailQueryResult, showView: boolean, blockInstanceId: string) => void, (pageDetails: PageDetailQueryResult, showView: boolean, blockInstanceId: string) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
98
101
|
};
|
|
99
102
|
actions: {
|
|
100
|
-
navigate: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?:
|
|
101
|
-
navigateWithVariationTargeting: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?:
|
|
102
|
-
loadPageContentData: import("@omnia/fx/stores").StoreAction<unknown, (pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?:
|
|
103
|
+
navigate: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (result: void, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (failureReason: any, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => Promise<void>>;
|
|
104
|
+
navigateWithVariationTargeting: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (result: PageNavigationNode<PageNavigationData>, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (failureReason: any, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => void, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string, openInNewTab?: unknown, openInEditor?: unknown) => Promise<PageNavigationNode<PageNavigationData>>>;
|
|
105
|
+
loadPageContentData: import("@omnia/fx/stores").StoreAction<unknown, (pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: unknown) => void, (result: void, pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: unknown) => void, (failureReason: any, pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: unknown) => void, (pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: unknown) => Promise<void>>;
|
|
103
106
|
ensureLoadPageTypes: import("@omnia/fx/stores").StoreAction<unknown, (publishingAppIds: string[]) => void, (result: void, publishingAppIds: string[]) => void, (failureReason: any, publishingAppIds: string[]) => void, (publishingAppIds: string[]) => Promise<void>>;
|
|
104
|
-
exportToExcel: import("@omnia/fx/stores").StoreAction<unknown, (query: ExportQueryPagesRequest,
|
|
105
|
-
getExportedFile: import("@omnia/fx/stores").StoreAction<unknown, (exportingFileName: string,
|
|
107
|
+
exportToExcel: import("@omnia/fx/stores").StoreAction<unknown, (query: ExportQueryPagesRequest, exportingBlockId: string) => void, (result: ExportQueryPagesResult, query: ExportQueryPagesRequest, exportingBlockId: string) => void, (failureReason: any, query: ExportQueryPagesRequest, exportingBlockId: string) => void, (query: ExportQueryPagesRequest, exportingBlockId: string) => Promise<ExportQueryPagesResult>>;
|
|
108
|
+
getExportedFile: import("@omnia/fx/stores").StoreAction<unknown, (exportingFileName: string, exportingFileToken: string) => void, (result: void, exportingFileName: string, exportingFileToken: string) => void, (failureReason: any, exportingFileName: string, exportingFileToken: string) => void, (exportingFileName: string, exportingFileToken: string) => Promise<void>>;
|
|
106
109
|
};
|
|
107
110
|
/**
|
|
108
111
|
* Find page and page variation in specific node
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ServiceContainerContext } from '@omnia/fx';
|
|
2
|
-
import { EnterprisePropertyDefinition, IBlockInstance, TargetingPropertyFlatResult, RollupFilter } from '@omnia/fx-models';
|
|
2
|
+
import { EnterprisePropertyDefinition, IBlockInstance, TargetingPropertyFlatResult, RollupFilter, GuidValue } 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> {
|
|
@@ -11,6 +11,11 @@ interface BlockPageRollupInstanceExtends extends IBlockInstanceExtends<PageRollu
|
|
|
11
11
|
blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>;
|
|
12
12
|
pagingQuery?: NormalPageRollupPagingQuery;
|
|
13
13
|
originalSettings?: PageRollupBlockSettings;
|
|
14
|
+
isShowMetric?: boolean;
|
|
15
|
+
}
|
|
16
|
+
interface BatchQueryPagesExtends extends BatchQueryPages {
|
|
17
|
+
concatResult?: boolean;
|
|
18
|
+
queryParrallelIndex?: number;
|
|
14
19
|
}
|
|
15
20
|
declare class InternalPageRollupStoreHelper {
|
|
16
21
|
private pageQueryService;
|
|
@@ -48,11 +53,16 @@ declare class InternalPageRollupStoreHelper {
|
|
|
48
53
|
private excludeCountry;
|
|
49
54
|
private currentUserLanguage;
|
|
50
55
|
private keywordTermSet;
|
|
56
|
+
private loadedPageRollups;
|
|
51
57
|
init(): void;
|
|
52
58
|
getPagingData(pagingQuery: NormalPageRollupPagingQuery, blockInstance: BlockPageRollupInstanceExtends, newSettings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<number>;
|
|
53
59
|
updatePagingQuery(pagingQuery: NormalPageRollupPagingQuery, blockInstance: BlockPageRollupInstanceExtends): Promise<number>;
|
|
54
|
-
updateQuery(blockInstance: BlockPageRollupInstanceExtends, newSettings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>, forceExecuteQuery?: boolean, clientCaching?: boolean): void;
|
|
60
|
+
updateQuery(blockInstance: BlockPageRollupInstanceExtends, newSettings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>, forceExecuteQuery?: boolean, clientCaching?: boolean, showMetric?: boolean): void;
|
|
55
61
|
getRollupId(blockInstance: IBlockInstance<PageRollupBlockSettings>): string;
|
|
62
|
+
setLoadedPageRollups(pageRollupQueryId: string, isDestroyed: boolean): void;
|
|
63
|
+
private setExecutingQueriesParrallel;
|
|
64
|
+
private setExecutedQueriesParrallel;
|
|
65
|
+
private ensureLatestExecutedQuery;
|
|
56
66
|
hasQueryResourceConfiguration(settings: PageRollupBlockSettings): boolean | PageRollupEnums.RollupScopes;
|
|
57
67
|
getPickedPages(settings: PageRollupBlockSettings, instance: IBlockInstance<PageRollupBlockSettings>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): PageItemNode[];
|
|
58
68
|
ensureUserTargetingData(settings: PageRollupBlockSettings): Promise<TargetingPropertyFlatResult[]>;
|
|
@@ -60,6 +70,8 @@ declare class InternalPageRollupStoreHelper {
|
|
|
60
70
|
getTargetingData(settings: PageRollupBlockSettings): TargetingPropertyFlatResult[];
|
|
61
71
|
getResourceId(resourceId: string): string;
|
|
62
72
|
getStartNode(settings: PageRollupBlockSettings): PageItemNode;
|
|
73
|
+
private generateNavigationPathFilters;
|
|
74
|
+
private getStartNodePromise;
|
|
63
75
|
private ensureValidCalendarDateProp;
|
|
64
76
|
private generateCalendarFilter;
|
|
65
77
|
generateFilters(settings: PageRollupBlockSettings, filters?: Array<PageRollupPropertyFilter>): Array<QueryFilter>;
|
|
@@ -74,6 +86,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
74
86
|
}, settings: PageRollupBlockSettings, pageCollectionSelections: Array<PageCollectionSelection>): any[];
|
|
75
87
|
buildQuery(serviceContainerContext: ServiceContainerContext, settings: PageRollupBlockSettings, instance: IBlockInstance<PageRollupBlockSettings>, uiQueryFilters: QueryFilter[]): Promise<PageQuery>;
|
|
76
88
|
getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
|
|
89
|
+
getPagesDetailsMetric(blockInstance: BlockPageRollupInstanceExtends, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<void>;
|
|
77
90
|
generateBatchQuery(blockInstance: BlockPageRollupInstanceExtends, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<BatchQueryPages>;
|
|
78
91
|
private generateChannelsFilter;
|
|
79
92
|
private generateChannelsFilterForChannelsScope;
|
|
@@ -90,6 +103,8 @@ declare class InternalPageRollupStoreHelper {
|
|
|
90
103
|
private runBatchQueryForInstances;
|
|
91
104
|
private executeIndexedDB;
|
|
92
105
|
private runIsolatedBatchQueryForInstances;
|
|
106
|
+
private buildUIFiltersForBlockInstance;
|
|
107
|
+
private isNotBreakpointSettings;
|
|
93
108
|
private buildQueries;
|
|
94
109
|
private ensurePublishingAppsAndPageCollectionsReady;
|
|
95
110
|
private updateRollupRelevantApps;
|
|
@@ -101,7 +116,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
101
116
|
private extractPageRollupInstancesInNP;
|
|
102
117
|
private pushBatchQueryTimewatch;
|
|
103
118
|
private ensureRunLatestBatchQuery;
|
|
104
|
-
|
|
119
|
+
executeBatchQuery(queries: BatchQueryPagesExtends[], allowCancelToken?: boolean, clientCaching?: boolean): Promise<BatchQueryPagesResult>;
|
|
105
120
|
private mapToBatchQueryPages;
|
|
106
121
|
private hasPageTypeInSettings;
|
|
107
122
|
private hasAppInSettings;
|
|
@@ -112,7 +127,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
112
127
|
export declare class PageRollupStoreHelper {
|
|
113
128
|
private internal;
|
|
114
129
|
constructor();
|
|
115
|
-
registerBatchQuery(blockInstance: IBlockInstanceExtends<PageRollupBlockSettings>, blockSettings: PageRollupBlockSettings, uiQueryFilters?: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty
|
|
130
|
+
registerBatchQuery(blockInstance: IBlockInstanceExtends<PageRollupBlockSettings>, blockSettings: PageRollupBlockSettings, uiQueryFilters?: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>, showMetric?: boolean): BatchQueryRegistration;
|
|
116
131
|
ensureUserTargetingData(settings: PageRollupBlockSettings): Promise<TargetingPropertyFlatResult[]>;
|
|
117
132
|
getRollupId(blockInstance: IBlockInstance<PageRollupBlockSettings>): string;
|
|
118
133
|
hasQueryResourceConfiguration(settings: PageRollupBlockSettings): boolean | PageRollupEnums.RollupScopes;
|
|
@@ -126,13 +141,19 @@ export declare class PageRollupStoreHelper {
|
|
|
126
141
|
queries: VariationQuery[];
|
|
127
142
|
}>;
|
|
128
143
|
getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
|
|
144
|
+
getPagesDetailsMetric(blockInstance: IBlockInstance<PageRollupBlockSettings>, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<void>;
|
|
145
|
+
setDestroyedPageRollups(pageRollupQueryId: string): void;
|
|
146
|
+
getBatchQueriesData(batchQueries: Array<BatchQueryPages>): Promise<BatchQueryPagesResult>;
|
|
129
147
|
}
|
|
130
148
|
export declare class FilterManager {
|
|
131
149
|
private static targetingPropertyStore;
|
|
132
150
|
static buildSearchQuery(filters: Array<RollupFilter>, searchText: string, enterprisePropertyDefinitions: EnterprisePropertyDefinition[], searchFilter: PageRollupUiSearchboxFilterValue, enableWildcardSearch: boolean, isChannelScope: boolean): QueryFilter[];
|
|
133
151
|
private static generatSearchFilter;
|
|
134
152
|
static isOPMProcessProperty(enterprisePropertyDefinition: EnterprisePropertyDefinition): boolean;
|
|
135
|
-
static generateUIFilters(settings: PageRollupBlockSettings, currentIdentity: string
|
|
153
|
+
static generateUIFilters(settings: PageRollupBlockSettings, currentIdentity: string, promotedTagsSettings?: {
|
|
154
|
+
appInstanceId: GuidValue;
|
|
155
|
+
promotedTagProperties?: string[];
|
|
156
|
+
}): PageRollupUiFilter[];
|
|
136
157
|
private static mapPropValueFromRouter;
|
|
137
158
|
static generateUIQueryFilters(uiFilters: Array<RollupFilter>, enterprisePropertyDefinitions: EnterprisePropertyDefinition[], enableWildcardSearch: boolean, isChannelScope: boolean): QueryFilter[];
|
|
138
159
|
private static generateUIQueryFilter;
|
|
@@ -147,13 +168,14 @@ export declare const PageRollupConfigurationFactory: {
|
|
|
147
168
|
defaultProperty(): PageRollupBlockProperty;
|
|
148
169
|
applyBreakPointSettings(settings: PageRollupBlockSettings, breakPoint: string, multilingualStore: MultilingualStore, originalSettings?: PageRollupBlockSettings): void;
|
|
149
170
|
saveBreakPointSettingsToBlockData(breakpointSettings: PageRollupBlockSettings, originalSettings: PageRollupBlockSettings, breakPoint: string): void;
|
|
171
|
+
isQueryBuilderScope(settings: PageRollupBlockSettings, ...expectedScopes: PageRollupEnums.RollupScopes[]): boolean;
|
|
150
172
|
};
|
|
151
173
|
export declare const EnsureMigrateBlockData: (settings: PageRollupBlockSettings) => void;
|
|
152
174
|
export declare class BatchQueryRegistration {
|
|
153
175
|
private storeHelper;
|
|
154
176
|
private blockInstance;
|
|
155
|
-
constructor(storeHelper: InternalPageRollupStoreHelper, blockInstance: IBlockInstance<PageRollupBlockSettings>, settings: PageRollupBlockSettings, uiQueryFilters?: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty
|
|
156
|
-
updateQuery(settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>, forceExecuteQuery?: boolean, clientCaching?: boolean): void;
|
|
177
|
+
constructor(storeHelper: InternalPageRollupStoreHelper, blockInstance: IBlockInstance<PageRollupBlockSettings>, settings: PageRollupBlockSettings, uiQueryFilters?: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>, showMetric?: boolean);
|
|
178
|
+
updateQuery(settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>, forceExecuteQuery?: boolean, clientCaching?: boolean, showMetric?: boolean): void;
|
|
157
179
|
updatePagingQuery(payload: NormalPageRollupPagingQuery): Promise<number>;
|
|
158
180
|
getPagingData(payload: NormalPageRollupPagingQuery, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<number>;
|
|
159
181
|
generateBatchQuery(settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<BatchQueryPages>;
|
|
@@ -4,11 +4,11 @@ export declare class WcmUxCore {
|
|
|
4
4
|
private navigationStore;
|
|
5
5
|
private omniaContext;
|
|
6
6
|
private subscriptionHandler;
|
|
7
|
-
private isPageEditMode;
|
|
8
7
|
enabledMSTeamsDeepLinkExecution: boolean;
|
|
9
8
|
private static _instance;
|
|
9
|
+
private isPageEditMode;
|
|
10
10
|
private microsoftTeamsApi;
|
|
11
|
-
private
|
|
11
|
+
private linkHandlerRegistered;
|
|
12
12
|
constructor();
|
|
13
13
|
handleClickLink: (e: MouseEvent, url: string, title: string, link?: LinkItem, onlyNavigateOnDisplayMode?: boolean) => void;
|
|
14
14
|
handleOpenLinkInNewWindow: (e: Event, url: string, link?: LinkItem) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['73f0116c-212c-4912-b780-d8df4ea3d78b']","content":{"./node_modules/@omnia/wcm/models/index.js":{"id":"0044f6fa-6f28-4130-9b07-649c0ab06fca","buildMeta":{"exportsType":"namespace"},"exports":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","
|
|
1
|
+
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['73f0116c-212c-4912-b780-d8df4ea3d78b']","content":{"./node_modules/@omnia/wcm/models/index.js":{"id":"0044f6fa-6f28-4130-9b07-649c0ab06fca","buildMeta":{"exportsType":"namespace"},"exports":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","ApprovalType","AutomaticPageCreationStatusType","BannerBlockStyles","BannerElementName","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","ButtonGroupings","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","ChannelCardViewStyles","ChannelRollupBlockAdministrationViewStyles","ChannelRollupBlockSettingsFilterTabStyles","ChannelRollupBlockSettingsGeneralTabStyles","ChannelRollupBlockStyles","ChildStructureType","ColleagueDialogContentStyles","CommentSorting","CommunityAppLayoutDefinition","CommunityPageActivityStyles","CommunityStyles","Constants","ContentBlockModes","ContentBlockStyles","CurrentNavigationBlockSettingsStyles","CurrentNavigationBlockStyles","CurrentNavigationStatus","CurrentPageStatus","DailyRecurrenceTypeEnums","DeletedPageDialogStyles","DigitalSignageConstants","DigitalSignageManifests","DigitalSigningEntityType","DigitalSigningResultType","Directions","DocumentTypes","DynamicRollerSizes","DynamicRollerTypes","EnterpriseGlossaryPageInformationProviderStyles","EnterprisePropertiesBlockDateTimeModes","EnterprisePropertiesRichTextSettings","EnterprisePropertyDataTypeProvider","EnterprisePropertyDocumentProviderProperty","EventAttedeeType","EventCloneDialogContentStyles","EventParticipantCounterBlockStyles","EventParticipantListEnums","EventParticipantListStyles","EventParticipantListViewStyles","FileUploaderWCMPageContext","HtmlScriptBlockStyle","InfoScreenConstants","InfoScreenManifests","InfoScreenViewIdConstants","ItemQueryEnums","LabelPositions","LinkPickerStyle","MediaBlockStyles","MediaPickerStorageProviderPageContext","MediaPickerStorageProviderPageCreationContext","MediaPickerStorageProviderPageReadContext","MediaPickerStorageProviderWCMChannelAdminContext","MegaMenuStyles","MobileNavigationNodeStyles","MobileNavigationStyles","MonthlyRecurrenceTypeEnums","MovePageCollectionDialogStyles","NavigationDataType","NavigationNodeQuery","NavigationNodeStyles","NavigationNodeType","NavigationRenders","NodeId","OutlookCalendarType","PageBuiltInColumnConstants","PageCalendarViewMode","PageCollectionTopic","PageDataType","PageFeedbackBlockStyles","PageFeedbackDialogStyles","PageFeedbacksStyles","PageFile","PageId","PageItemTemplateStyles","PagePickerNodeStyles","PagePickerProviderStyles","PagePropertiesBlockAdvancedStyles","PagePropertiesBlockStyles","PageRollUpDialogViewStyles","PageRollupBlockCalendarViewSettingsStyles","PageRollupBlockCalendarViewStyles","PageRollupBlockCardViewSettingsStyles","PageRollupBlockListViewSettingsStyles","PageRollupBlockListViewViewStyles","PageRollupBlockListingWithImageViewViewStyles","PageRollupBlockRollerViewViewStyles","PageRollupBlockSettingsFilterTabStyles","PageRollupBlockSettingsGeneralTabStyles","PageRollupBlockStyles","PageRollupConstants","PageRollupEnums","PageRollupListViewSettingsStyles","PageRollupListViewStyles","PageRollupListingPickedPagesStyles","PageRollupNavigationViewStyles","PageRollupNewsletterViewStyles","PageRollupPickedPagesDialogStyles","PageRollupUniqueUsersDetailsStyles","PageTopic","PagesDashboardSettingsStyles","PagingTypes","Parameters","ParticipantType","PendingFileStatus","PublishingAppArchiveSettingsRouteProperty","PublishingAppBootRouteProperty","PublishingAppLayoutDefinition","PublishingAppReuseContentSettingsRouteProperty","PublishingAppTopic","PublishingChannelId","PublishingChannelTopic","PublishingStatus","QrCodeStyles","RecurrenceTypeEnums","RelatedLinkAddHeadingDialogStyles","RelatedLinkBlockStyles","RelatedLinkEditFormStyles","RelatedLinkElementName","ReportTypesEnum","ResourceEvaluators","ReusablePageStatusType","ReuseContentMode","RoleDefinitions","RootService","RssReaderBlockLeftImageViewStyles","RssReaderBlockNoImageViewStyles","RssReaderBlockStyles","RuleStatus","RuleTypes","ScheduleEndTypeEnums","SearchTemplateOmniaPageStyles","SelectedPageItemStyles","SharepointPageTemplateStyles","SignOffRequestBlockStyles","SignOffRequestConstants","SortByProperties","StatisticsPerPageDataSourcesEnum","TagTopic","TaxonomyNavigationStyles","TaxonomyTopic","TopicInformationType","TopicType","UserTopic","ValidationArchivePageResult","VariationId","VariationInputStyles","VariationsRouteProperty","VersionId","VersionType","VersionUpdationMode","VideoType","WCMEnterpriseProperties","WCMFxLocalization","WCMNavigationDataTypes","WCMPageIdCustomPropertyName","WCMPageTypes","WCMReaderContext","WcmEditorDynamicNavigationRouteProperty","WcmExtension","WcmGroupManifests","WcmLayoutProvider","WcmPropertyDefaultBooleanValues","WcmPropertyDefaultValues","WcmResourceManifests","WcmService","WcmWebComponentManifests","WeekOfMonthEnums","WorkplaceService","YammerProperties","layoutItemAction"]}}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Guid, QueryFilter } from '@omnia/fx-models';
|
|
1
|
+
import { Guid, GuidValue, QueryFilter } from '@omnia/fx-models';
|
|
2
2
|
import { Page, PageId } from '../../fx/models';
|
|
3
3
|
export interface PageReportPageTypeSelection extends Page {
|
|
4
4
|
checked: boolean;
|
|
@@ -51,7 +51,7 @@ export interface CheckedOutReportItemUI extends CheckedOutReportItem {
|
|
|
51
51
|
isTakingControl?: boolean;
|
|
52
52
|
}
|
|
53
53
|
export interface PageStatisticExport {
|
|
54
|
-
|
|
54
|
+
fileToken: string;
|
|
55
55
|
queueMessageId: Guid;
|
|
56
56
|
}
|
|
57
57
|
export interface PageStatisticExportStatus extends PageStatisticExport {
|
|
@@ -64,3 +64,7 @@ export interface DailyStatisticsPerPage {
|
|
|
64
64
|
uniqueUsers: number;
|
|
65
65
|
statisticDate: Date;
|
|
66
66
|
}
|
|
67
|
+
export interface UniqueUsersByUserProperty {
|
|
68
|
+
termId: GuidValue;
|
|
69
|
+
uniqueUsers: number;
|
|
70
|
+
}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
documentSite: string;
|
|
3
|
-
documentLibraryUrl: string;
|
|
4
|
-
allowUploadDocument: boolean;
|
|
5
|
-
}
|
|
1
|
+
import { AppInstanceLayoutId, IIcon, MultilingualString } from "@omnia/fx/models";
|
|
6
2
|
export interface WCMTentantSettings {
|
|
7
3
|
PageSize: number;
|
|
8
4
|
reusableContentAutomaticPublishingLimit: number;
|
|
5
|
+
pageRollupNotificationPanelIntervalInMinutes: number;
|
|
6
|
+
}
|
|
7
|
+
export declare enum PublishingAppSettingType {
|
|
8
|
+
AppInstanceProperties = 0,
|
|
9
|
+
AppRoutePropertyBag = 1,
|
|
10
|
+
AppLayout = 2,
|
|
11
|
+
SettingValue = 3,
|
|
12
|
+
AppTemplate = 4
|
|
13
|
+
}
|
|
14
|
+
export interface AppLayoutViewModel {
|
|
15
|
+
title: string;
|
|
16
|
+
id: AppInstanceLayoutId;
|
|
17
|
+
}
|
|
18
|
+
export interface NodeViewModel {
|
|
19
|
+
titleValue: string;
|
|
20
|
+
title: MultilingualString;
|
|
21
|
+
icon: IIcon;
|
|
22
|
+
layoutId: AppInstanceLayoutId;
|
|
9
23
|
}
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var PublishingAppSettingType;
|
|
2
|
+
(function (PublishingAppSettingType) {
|
|
3
|
+
PublishingAppSettingType[PublishingAppSettingType["AppInstanceProperties"] = 0] = "AppInstanceProperties";
|
|
4
|
+
PublishingAppSettingType[PublishingAppSettingType["AppRoutePropertyBag"] = 1] = "AppRoutePropertyBag";
|
|
5
|
+
PublishingAppSettingType[PublishingAppSettingType["AppLayout"] = 2] = "AppLayout";
|
|
6
|
+
PublishingAppSettingType[PublishingAppSettingType["SettingValue"] = 3] = "SettingValue";
|
|
7
|
+
PublishingAppSettingType[PublishingAppSettingType["AppTemplate"] = 4] = "AppTemplate";
|
|
8
|
+
})(PublishingAppSettingType || (PublishingAppSettingType = {}));
|
package/package.json
CHANGED