@omnia/wcm 6.8.29-preview → 6.10.0-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/Enums.d.ts +6 -0
- package/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +10 -0
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +4 -0
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +45 -0
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +8 -0
- package/internal-do-not-import-from-here/core/ux/FilterTargetingPropertyValueInput.d.ts +6 -2
- package/internal-do-not-import-from-here/fx/helpers/ItemQueryHelper.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +24 -2
- package/internal-do-not-import-from-here/fx/models/Constants.js +115 -29
- package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +22 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.js +106 -0
- package/internal-do-not-import-from-here/fx/models/apps/AppPermissionInfo.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.d.ts +6 -1
- package/internal-do-not-import-from-here/fx/models/components/CurrentNavigationBlockStyles.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/models/components/FilterSettings.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/LinkPicker.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +18 -2
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlockStyles.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlockStyles.js +2 -0
- package/internal-do-not-import-from-here/fx/models/components/RelatedLinkBlock.d.ts +7 -2
- package/internal-do-not-import-from-here/fx/models/digitalsignage/Announcement.d.ts +51 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/Announcement.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageEnums.d.ts +10 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageEnums.js +12 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageJsonProp.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageJsonProp.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageJsonViewSettings.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageJsonViewSettings.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignagePageQuerySettings.d.ts +33 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignagePageQuerySettings.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageSettingsBase.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageSettingsBase.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningHtmlViewRegistration.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningHtmlViewRegistration.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningHtmlViewSettings.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningHtmlViewSettings.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningPageRollupViewSettings.d.ts +22 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningPageRollupViewSettings.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenForRender.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenForRender.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenSettings.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenSettings.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/PageDetailsQueryResultForDigitalScreen.d.ts +20 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/PageDetailsQueryResultForDigitalScreen.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/index.d.ts +12 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/index.js +12 -0
- package/internal-do-not-import-from-here/fx/models/index.d.ts +12 -11
- package/internal-do-not-import-from-here/fx/models/index.js +12 -11
- package/internal-do-not-import-from-here/fx/models/infoscreen/AdminInfoScreenBlock.d.ts +1 -66
- package/internal-do-not-import-from-here/fx/models/pagequery/IPageRollupViewInterface.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/models/pagequery/PageDetailsQuery.d.ts +15 -1
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupCalendarViewSettings.d.ts +13 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupCalendarViewSettings.js +5 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +12 -1
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +13 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupQuery.d.ts +5 -2
- package/internal-do-not-import-from-here/fx/models/pagequery/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageFile.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageFile.js +11 -0
- package/internal-do-not-import-from-here/fx/models/pages/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/query/ItemQueryEnums.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/query/ItemQueryEnums.js +2 -0
- package/internal-do-not-import-from-here/fx/models/variations/Variation.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/scrollingUtils.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/services/PageQueryService.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/services/PageService.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/stores/IndexedDB.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +14 -9
- package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +7 -1
- package/internal-do-not-import-from-here/fx/stores/PagesStore.d.ts +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/tooling/index.d.ts +0 -1
- package/internal-do-not-import-from-here/tooling/index.js +1 -1
- package/internal-do-not-import-from-here/wcdefinitions.json +1 -1
- package/package.json +1 -1
- package/task.d.ts +5 -1
- package/task.js +4 -3
- package/task.ts +4 -5
- package/internal-do-not-import-from-here/tooling/extensions/ComposerExtensions.d.ts +0 -5
- package/internal-do-not-import-from-here/tooling/extensions/ComposerExtensions.js +0 -3
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { PageQuery,
|
|
1
|
+
import { PageQuery, PageDetailQueryResult, PageId } from '..';
|
|
2
|
+
import { PageRollupEnums } from './PageRollupEnums';
|
|
2
3
|
export interface PageRollupQuery {
|
|
3
4
|
uniqueKey: string;
|
|
4
5
|
itemQuery: PageQuery;
|
|
@@ -20,6 +21,7 @@ export interface NormalPageRollupPagingQuery {
|
|
|
20
21
|
sortDesc?: boolean;
|
|
21
22
|
}
|
|
22
23
|
export interface BatchQueryPages extends PageQuery {
|
|
24
|
+
pageStatisticsPeriod: PageRollupEnums.DatePeriods;
|
|
23
25
|
queryId: string;
|
|
24
26
|
internalNames?: Array<string>;
|
|
25
27
|
trimDuplicates?: boolean;
|
|
@@ -28,9 +30,10 @@ export interface BatchQueryPages extends PageQuery {
|
|
|
28
30
|
contentProp?: string;
|
|
29
31
|
queryItemLimit?: number;
|
|
30
32
|
enableClientCaching?: boolean;
|
|
33
|
+
versionStatus?: PageRollupEnums.VersionStatus;
|
|
31
34
|
}
|
|
32
35
|
export interface BatchQueryPagesResult {
|
|
33
|
-
pagesDetail:
|
|
36
|
+
pagesDetail: PageDetailQueryResult[];
|
|
34
37
|
batchQueryResult: {
|
|
35
38
|
[queryId: string]: {
|
|
36
39
|
total: number;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FileMetadata, GuidValue } from '@omnia/fx-models';
|
|
2
|
+
import { VersionId } from './VersionedPageData';
|
|
3
|
+
export declare class PageFile implements FileMetadata {
|
|
4
|
+
omniaServiceId: GuidValue;
|
|
5
|
+
metadataTypeId: GuidValue;
|
|
6
|
+
fileName: string;
|
|
7
|
+
versionId: VersionId;
|
|
8
|
+
constructor(fileName: string, versionId: VersionId);
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Guid } from '@omnia/fx-models';
|
|
2
|
+
var PageFile = /** @class */ (function () {
|
|
3
|
+
function PageFile(fileName, versionId) {
|
|
4
|
+
this.omniaServiceId = new Guid("d60fa82a-129a-41a9-93ce-d784dcb217b0");
|
|
5
|
+
this.metadataTypeId = new Guid("18f54ab3-0a36-4b7d-a184-b9f2d59e5730");
|
|
6
|
+
this.fileName = fileName;
|
|
7
|
+
this.versionId = versionId;
|
|
8
|
+
}
|
|
9
|
+
return PageFile;
|
|
10
|
+
}());
|
|
11
|
+
export { PageFile };
|
|
@@ -15,5 +15,7 @@ export var ItemQueryEnums;
|
|
|
15
15
|
FilterOperator[FilterOperator["Ge"] = 6] = "Ge";
|
|
16
16
|
FilterOperator[FilterOperator["In"] = 7] = "In";
|
|
17
17
|
FilterOperator[FilterOperator["Like"] = 8] = "Like";
|
|
18
|
+
FilterOperator[FilterOperator["NotLike"] = 9] = "NotLike";
|
|
19
|
+
FilterOperator[FilterOperator["Ba"] = 10] = "Ba";
|
|
18
20
|
})(FilterOperator = ItemQueryEnums.FilterOperator || (ItemQueryEnums.FilterOperator = {}));
|
|
19
21
|
})(ItemQueryEnums || (ItemQueryEnums = {}));
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Use ScrollPagingUtils from Omnia Fx. This will be removed in 7.0
|
|
3
|
+
*
|
|
4
|
+
* */
|
|
1
5
|
export declare module ScrollingUtils {
|
|
2
6
|
const scrollAttributeName = "omnia_scroll_paging_attribute";
|
|
3
7
|
function registerScrollPaging(elem: HTMLElement, className: string, nextPage: () => Promise<boolean>): void;
|
|
@@ -13,6 +13,7 @@ export declare class PageQueryService {
|
|
|
13
13
|
queryBatchPages: (queries: BatchQueryPages[], cancelRequest?: (cancelToken: any) => void) => Promise<BatchQueryPagesResult>;
|
|
14
14
|
getPagesContents: (queryDetails: SimplePageQuery) => Promise<PageContentsQueryResult[]>;
|
|
15
15
|
getDefaultPageImageSrc: () => string;
|
|
16
|
+
exportToExcel: (query: BatchQueryPages) => Promise<void>;
|
|
16
17
|
private processPagesDetailData;
|
|
17
18
|
private getPageVisited;
|
|
18
19
|
private findPageInNode;
|
|
@@ -30,7 +30,7 @@ export declare class PageService {
|
|
|
30
30
|
restore: (message: RestorePageMessage) => Promise<RestorePageResult>;
|
|
31
31
|
getAllPages: (typesToGet?: number, targetPublishingAppId?: string, tenantScopeOnly?: boolean, excludeUnavailable?: boolean) => Promise<Array<Page>>;
|
|
32
32
|
getPage: (pageId: PageId, targetPublishingAppId?: string) => Promise<Page>;
|
|
33
|
-
copyPage: <T extends PageData>(pageId: PageId, targetPublishingAppId?: string) => Promise<CreatedPageWithNavigationInfo<T>>;
|
|
33
|
+
copyPage: <T extends PageData>(pageId: PageId, targetParentPageId?: PageId, targetPublishingAppId?: string) => Promise<CreatedPageWithNavigationInfo<T>>;
|
|
34
34
|
/**
|
|
35
35
|
* Create a copy of variation page by page id. This api is only supported for non-default variation page.
|
|
36
36
|
This api is only supposed to used for creating a draft when archiving non-default variation page.
|
|
@@ -4,7 +4,7 @@ export default class IndexedDB {
|
|
|
4
4
|
private request;
|
|
5
5
|
private db;
|
|
6
6
|
private objName;
|
|
7
|
-
openDB(onsuccess: any, onerror: any, onupgradeneeded: any, objName: any, keyPath: any, objData: any): void
|
|
7
|
+
openDB(onsuccess: any, onerror: any, onupgradeneeded: any, objName: any, keyPath: any, objData: any): Promise<void>;
|
|
8
8
|
get<T>(id: any, valuePath: any): Promise<T>;
|
|
9
9
|
set(objData: any): Promise<unknown>;
|
|
10
10
|
remove(id: any): Promise<unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Store } from '@omnia/fx/stores';
|
|
2
|
-
import {
|
|
2
|
+
import { PageDetailQueryResult, PageDialogData, PageDialogPropertiesMapping, PageNavigationData, PageNavigationNode, PageRollupQuery, PageTypeSelection, BatchQueryPages } from '@omnia/wcm/models';
|
|
3
3
|
export interface PageRollupQueryResult extends PageRollupQuery {
|
|
4
4
|
selectProperties: Array<string>;
|
|
5
5
|
disableDistinct: boolean;
|
|
@@ -10,7 +10,7 @@ export interface PageRollupQueryResult extends PageRollupQuery {
|
|
|
10
10
|
}
|
|
11
11
|
declare type BatchPageRollupQueryResult = {
|
|
12
12
|
queries: PageRollupQueryResult[];
|
|
13
|
-
pagesDetailResult:
|
|
13
|
+
pagesDetailResult: PageDetailQueryResult[];
|
|
14
14
|
};
|
|
15
15
|
export declare class PageRollupStore extends Store {
|
|
16
16
|
private pageQueryService;
|
|
@@ -24,7 +24,7 @@ export declare class PageRollupStore extends Store {
|
|
|
24
24
|
* State
|
|
25
25
|
*/
|
|
26
26
|
pages: import("@omnia/fx/stores").StoreState<{
|
|
27
|
-
[uniqueKey: string]:
|
|
27
|
+
[uniqueKey: string]: PageDetailQueryResult[];
|
|
28
28
|
}>;
|
|
29
29
|
pagesLoadingStatus: import("@omnia/fx/stores").StoreState<{
|
|
30
30
|
[uniqueKey: string]: boolean;
|
|
@@ -47,6 +47,7 @@ export declare class PageRollupStore extends Store {
|
|
|
47
47
|
private pageTypes;
|
|
48
48
|
private pageTypesLoadPromise;
|
|
49
49
|
private publishingChannelSettings;
|
|
50
|
+
private loadIndexedDBPromise;
|
|
50
51
|
/**
|
|
51
52
|
* Private properties
|
|
52
53
|
*/
|
|
@@ -58,18 +59,20 @@ export declare class PageRollupStore extends Store {
|
|
|
58
59
|
* Getter
|
|
59
60
|
*/
|
|
60
61
|
getters: {
|
|
61
|
-
pages: (uniqueKey: string) =>
|
|
62
|
-
pagesIndexedDB: (uniqueKey: string) => Promise<Array<
|
|
62
|
+
pages: (uniqueKey: string) => PageDetailQueryResult[];
|
|
63
|
+
pagesIndexedDB: (uniqueKey: string) => Promise<Array<PageDetailQueryResult>>;
|
|
63
64
|
total: (uniqueKey: string) => number;
|
|
64
65
|
errorMsg: (uniqueKey: string) => string;
|
|
65
66
|
pageDialogData: (pageId: number) => PageDialogData;
|
|
66
67
|
pageContentDataWithLimit: (contentProp: string, contentLimit: number, pageId: number) => string;
|
|
67
|
-
pageTypesTitle: (page:
|
|
68
|
-
pageType: (page:
|
|
68
|
+
pageTypesTitle: (page: PageDetailQueryResult) => string;
|
|
69
|
+
pageType: (page: PageDetailQueryResult) => PageTypeSelection;
|
|
69
70
|
pageTypes: (uniqueKey: string) => PageTypeSelection[];
|
|
70
71
|
publishingChannelSettings: (uniqueKey: string) => string[];
|
|
72
|
+
sortPagesByNavigation: (pages: PageDetailQueryResult[], navigationStartNodeId?: number, sortDescending?: boolean) => PageDetailQueryResult[];
|
|
73
|
+
loadIndexedDb: () => Promise<void>;
|
|
71
74
|
};
|
|
72
|
-
private
|
|
75
|
+
private generatePageSocialCountingAndPageStatisticsColumn;
|
|
73
76
|
private getPageRollupDataFromIndexedDB;
|
|
74
77
|
private setPageRollupDataToIndexedDb;
|
|
75
78
|
/**
|
|
@@ -77,7 +80,7 @@ export declare class PageRollupStore extends Store {
|
|
|
77
80
|
*/
|
|
78
81
|
mutations: {
|
|
79
82
|
addOrUpdateBatchedPages: import("@omnia/fx/stores").StoreMutation<(data: BatchPageRollupQueryResult, clientCaching: boolean) => void, (data: BatchPageRollupQueryResult, clientCaching: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
80
|
-
addOrUpdateIndexedDBPages: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pages: Array<
|
|
83
|
+
addOrUpdateIndexedDBPages: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pages: Array<PageDetailQueryResult>) => void, (uniqueKey: string, pages: PageDetailQueryResult[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
81
84
|
updatePageTypes: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pageTypes: Array<PageTypeSelection>) => void, (uniqueKey: string, pageTypes: PageTypeSelection[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
82
85
|
updatePublishingChannelSettings: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, channelsId: Array<string>) => void, (uniqueKey: string, channelsId: string[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
83
86
|
};
|
|
@@ -85,6 +88,7 @@ export declare class PageRollupStore extends Store {
|
|
|
85
88
|
navigate: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string) => void, (result: void, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string) => void, (failureReason: any, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string) => void, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string) => Promise<void>>;
|
|
86
89
|
loadPageContentData: import("@omnia/fx/stores").StoreAction<unknown, (pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: boolean) => void, (result: void, pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: boolean) => void, (failureReason: any, pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: boolean) => void, (pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: boolean) => Promise<void>>;
|
|
87
90
|
ensureLoadPageTypes: import("@omnia/fx/stores").StoreAction<unknown, (publishingAppIds: string[]) => void, (result: void, publishingAppIds: string[]) => void, (failureReason: any, publishingAppIds: string[]) => void, (publishingAppIds: string[]) => Promise<void>>;
|
|
91
|
+
exportToExcel: import("@omnia/fx/stores").StoreAction<unknown, (query: BatchQueryPages) => void, (result: void, query: BatchQueryPages) => void, (failureReason: any, query: BatchQueryPages) => void, (query: BatchQueryPages) => Promise<void>>;
|
|
88
92
|
};
|
|
89
93
|
/**
|
|
90
94
|
* Find page and page variation in specific node
|
|
@@ -94,5 +98,6 @@ export declare class PageRollupStore extends Store {
|
|
|
94
98
|
private findPageInNode;
|
|
95
99
|
private getPageTypeLoadPromise;
|
|
96
100
|
private ensureLoadPageTypePromise;
|
|
101
|
+
private sortPagesByNavigation;
|
|
97
102
|
}
|
|
98
103
|
export {};
|
|
@@ -43,6 +43,8 @@ declare class InternalPageRollupStoreHelper {
|
|
|
43
43
|
private hasNewBatchQueryNeedToExecute;
|
|
44
44
|
private pagerollupOutsideWCMLayout;
|
|
45
45
|
private executingQueriesStatus;
|
|
46
|
+
private excludeCountry;
|
|
47
|
+
private currentUserLanguage;
|
|
46
48
|
init(): void;
|
|
47
49
|
getPagingData(pagingQuery: NormalPageRollupPagingQuery, blockInstance: BlockPageRollupInstanceExtends, newSettings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<number>;
|
|
48
50
|
updatePagingQuery(pagingQuery: NormalPageRollupPagingQuery, blockInstance: BlockPageRollupInstanceExtends): Promise<number>;
|
|
@@ -63,6 +65,9 @@ declare class InternalPageRollupStoreHelper {
|
|
|
63
65
|
populateTargetingVariationIds(variationQueries: VariationQuery[], settings: PageRollupBlockSettings, pageCollectionSelections: Array<PageCollectionSelection>): any[];
|
|
64
66
|
buildQuery(serviceContainerContext: ServiceContainerContext, settings: PageRollupBlockSettings, instance: IBlockInstance<PageRollupBlockSettings>, uiQueryFilters: QueryFilter[]): Promise<PageQuery>;
|
|
65
67
|
getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
|
|
68
|
+
generateBatchQuery(blockInstance: BlockPageRollupInstanceExtends, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<BatchQueryPages>;
|
|
69
|
+
private getPropertyNameByScope;
|
|
70
|
+
private scopeHasVariationFilter;
|
|
66
71
|
private validateSetting;
|
|
67
72
|
private buildUserTargetingQuery;
|
|
68
73
|
private getInstancesToBatchQuery;
|
|
@@ -88,6 +93,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
88
93
|
private mapToBatchQueryPages;
|
|
89
94
|
private ensureLoadPageTypesOfInstance;
|
|
90
95
|
private ensureLoadPageTypes;
|
|
96
|
+
private ensureLanuageSettings;
|
|
91
97
|
}
|
|
92
98
|
export declare class PageRollupStoreHelper {
|
|
93
99
|
private internal;
|
|
@@ -106,7 +112,6 @@ export declare class PageRollupStoreHelper {
|
|
|
106
112
|
queries: VariationQuery[];
|
|
107
113
|
}>;
|
|
108
114
|
populateTargetingVariationIds(variationQueries: VariationQuery[], settings: PageRollupBlockSettings, pageCollectionSelections: Array<PageCollectionSelection>): any[];
|
|
109
|
-
buildQuery(serviceContainerContext: ServiceContainerContext, settings: PageRollupBlockSettings, instance: IBlockInstance<PageRollupBlockSettings>, uiQueryFilters: QueryFilter[]): Promise<PageQuery>;
|
|
110
115
|
getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
|
|
111
116
|
}
|
|
112
117
|
export declare class FilterManager {
|
|
@@ -138,5 +143,6 @@ export declare class BatchQueryRegistration {
|
|
|
138
143
|
updateQuery(settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>, forceExecuteQuery?: boolean, clientCaching?: boolean): void;
|
|
139
144
|
updatePagingQuery(payload: NormalPageRollupPagingQuery): Promise<number>;
|
|
140
145
|
getPagingData(payload: NormalPageRollupPagingQuery, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<number>;
|
|
146
|
+
generateBatchQuery(settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<BatchQueryPages>;
|
|
141
147
|
}
|
|
142
148
|
export {};
|
|
@@ -58,7 +58,7 @@ export declare class PagesStore extends Store {
|
|
|
58
58
|
takeOverCheckOutPage: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: CheckedOutVersionPageData<PageData>, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<CheckedOutVersionPageData<PageData>>>;
|
|
59
59
|
getPage: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId, forceFromPublishingAppId?: string) => void, (result: Page, pageId: PageId, forceFromPublishingAppId?: string) => void, (failureReason: any, pageId: PageId, forceFromPublishingAppId?: string) => void, (pageId: PageId, forceFromPublishingAppId?: string) => Promise<Page>>;
|
|
60
60
|
archive: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId, comment: string) => void, (result: ArchivePageResult, pageId: PageId, comment: string) => void, (failureReason: any, pageId: PageId, comment: string) => void, (pageId: PageId, comment: string) => Promise<ArchivePageResult>>;
|
|
61
|
-
copy: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: PageNavigationNode<PageNavigationData>, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<PageNavigationNode<PageNavigationData>>>;
|
|
61
|
+
copy: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId, targetParentPageId?: PageId) => void, (result: PageNavigationNode<PageNavigationData>, pageId: PageId, targetParentPageId?: PageId) => void, (failureReason: any, pageId: PageId, targetParentPageId?: PageId) => void, (pageId: PageId, targetParentPageId?: PageId) => Promise<PageNavigationNode<PageNavigationData>>>;
|
|
62
62
|
attachVariationPage: import("@omnia/fx/stores").StoreAction<unknown, (originalPageId: PageId, variationPageId: PageId) => void, (result: PageNavigationNode<PageNavigationData>, originalPageId: PageId, variationPageId: PageId) => void, (failureReason: any, originalPageId: PageId, variationPageId: PageId) => void, (originalPageId: PageId, variationPageId: PageId) => Promise<PageNavigationNode<PageNavigationData>>>;
|
|
63
63
|
visitedpage: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: ReadNews, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<ReadNews>>;
|
|
64
64
|
};
|
|
@@ -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","ApprovalType","AutomaticPageCreationStatusType","BannerBlockStyles","BannerElementName","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","ButtonGroupings","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","ChannelCardViewStyles","ChildStructureType","ColleagueDialogContentStyles","CommentSorting","CommunityAppLayoutDefinition","CommunityPageActivityStyles","CommunityStyles","Constants","ContentBlockModes","ContentBlockStyles","CurrentNavigationBlockSettingsStyles","CurrentNavigationBlockStyles","CurrentNavigationStatus","CurrentPageStatus","DailyRecurrenceTypeEnums","DeletedPageDialogStyles","Directions","DocumentTypes","DynamicRollerSizes","DynamicRollerTypes","EnterpriseGlossaryPageInformationProviderStyles","EnterprisePropertiesBlockDateTimeModes","EnterprisePropertiesRichTextSettings","EnterprisePropertyDataTypeProvider","EnterprisePropertyDocumentProviderProperty","EventAttedeeType","EventCloneDialogContentStyles","EventParticipantCounterBlockStyles","EventParticipantListEnums","EventParticipantListStyles","EventParticipantListViewStyles","HtmlScriptBlockStyle","InfoScreenConstants","InfoScreenManifests","InfoScreenViewIdConstants","ItemQueryEnums","LabelPositions","LinkPickerStyle","MediaBlockStyles","MediaPickerStorageProviderPageContext","MediaPickerStorageProviderPageCreationContext","MediaPickerStorageProviderPageReadContext","MediaPickerStorageProviderWCMChannelAdminContext","MegaMenuStyles","MobileNavigationNodeStyles","MobileNavigationStyles","MonthlyRecurrenceTypeEnums","NavigationDataType","NavigationNodeQuery","NavigationNodeStyles","NavigationNodeType","NavigationRenders","NodeId","OutlookCalendarType","PageCollectionTopic","PageDataType","PageFeedbackBlockStyles","PageFeedbackDialogStyles","PageFeedbacksStyles","PageId","PageItemTemplateStyles","PagePickerNodeStyles","PagePickerProviderStyles","PagePropertiesBlockAdvancedStyles","PagePropertiesBlockStyles","PageRollUpDialogViewStyles","PageRollupBlockCardViewSettingsStyles","PageRollupBlockListViewSettingsStyles","PageRollupBlockListViewViewStyles","PageRollupBlockListingWithImageViewViewStyles","PageRollupBlockRollerViewViewStyles","PageRollupBlockSettingsFilterTabStyles","PageRollupBlockSettingsGeneralTabStyles","PageRollupBlockStyles","PageRollupConstants","PageRollupEnums","PageRollupListViewSettingsStyles","PageRollupListViewStyles","PageRollupListingPickedPagesStyles","PageRollupNavigationViewStyles","PageRollupNewsletterViewStyles","PageRollupPickedPagesDialogStyles","PageTopic","
|
|
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","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","HtmlScriptBlockStyle","InfoScreenConstants","InfoScreenManifests","InfoScreenViewIdConstants","ItemQueryEnums","LabelPositions","LinkPickerStyle","MediaBlockStyles","MediaPickerStorageProviderPageContext","MediaPickerStorageProviderPageCreationContext","MediaPickerStorageProviderPageReadContext","MediaPickerStorageProviderWCMChannelAdminContext","MegaMenuStyles","MobileNavigationNodeStyles","MobileNavigationStyles","MonthlyRecurrenceTypeEnums","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","PageTopic","PagesDashboardSettingsStyles","PagingTypes","Parameters","ParticipantType","PendingFileStatus","PublishingAppArchiveSettingsRouteProperty","PublishingAppBootRouteProperty","PublishingAppLayoutDefinition","PublishingAppReuseContentSettingsRouteProperty","PublishingAppTopic","PublishingChannelId","PublishingChannelTopic","PublishingStatus","RecurrenceTypeEnums","RelatedLinkAddHeadingDialogStyles","RelatedLinkBlockStyles","RelatedLinkEditFormStyles","RelatedLinkElementName","ResourceEvaluators","ReusablePageStatusType","ReuseContentMode","RoleDefinitions","RootService","RssReaderBlockLeftImageViewStyles","RssReaderBlockNoImageViewStyles","RssReaderBlockStyles","RuleStatus","RuleTypes","ScheduleEndTypeEnums","SearchTemplateOmniaPageStyles","SelectedPageItemStyles","SharepointPageTemplateStyles","SignOffRequestBlockStyles","SignOffRequestConstants","TagTopic","TaxonomyNavigationStyles","TaxonomyTopic","TopicInformationType","TopicType","UserTopic","VariationId","VariationInputStyles","VariationsRouteProperty","VersionId","VersionType","VersionUpdationMode","VideoType","WCMEnterpriseProperties","WCMFxLocalization","WCMNavigationDataTypes","WCMPageIdCustomPropertyName","WCMPageTypes","WCMReaderContext","WcmExtension","WcmGroupManifests","WcmLayoutProvider","WcmPropertyDefaultBooleanValues","WcmPropertyDefaultValues","WcmResourceManifests","WcmService","WcmWebComponentManifests","WeekOfMonthEnums","WorkplaceService","YammerProperties","layoutItemAction"]}}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./extensions/ComposerExtensions";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
//require("./extensions/ComposerExtensions"); //
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"wcm-buttonlink-settings":["settingsKey"],"wcm-breadcrumb-settings":["settingsKey"],"owcm-calendar-rollup-settings":["settingsKey"],"owcm-calendar-rollup-dialog":["close"],"omx-em-colleague-dialog-content":["onSave","participant","onClose","onSelectStepPassed"],"wcm-content-block-settings-breakpoint":["settingsKey","breakPointId"],"wcm-content-block-translation-comparer":["settingsKey","onShowScrollChange","onUpdateText"],"omx-em-event-clone-dialog-content":["onSave","eventDetail","onClose"],"wcm-html-script-block-content-editor":["content","close"],"info-screen-button":["data"],"info-screen-renderer":["data"],"wcm-link-picker":["title","onClosed","onSaved","styles","providerFilter","selectedItem"],"owcm-page-rollup-settings-breakpoint":["breakPointId"],"owcm-channel-filter":["model"],"owcm-page-rollup-settings":["settingsKey"],"owcm-pagetype-filter":["model"],"owcm-picked-pages-dialog":["dialogModel","onSaved","close","allowToSelectPageCollectionNode"],"wcm-backgroundselector":["settings"],"wcm-invite-coauthors":["styles","close"],"wcm-mega-menu-default-navigation":["currentSettings"],"wcm-block-mega-menu-settings":["settingsKey"],"wcm-mega-menu-settings":["settingsKey","currentSettings","onUpdateSettings"],"wcm-move-node":["node","onClosed","onSaved","currentPageCollection"],"wcm-sp-sync-settings":["settings","onChange"],"wcm-sp-sync-tenant-settings":["settings","onChange"],"wcm-sp-sync-error":["onClosed","content"],"wcm-sp-sync-warning":["onClosed"],"wcm-related-link-settings":["settingsKey"],"wcm-link-heading":["linkData"],"owcm-activity-feed":["styles"],"owcm-activity-feed-settings":["settingsKey"],"owcm-page-feedbacks":["feedbacks","columns"],"owcm-page-feedbacks-dialog":["pageId","closeCallback"],"wcm-page-feedback":["settingsKey"],"owcm-page-comment-like-settings":["settingsKey"],"owcm-page-comment-like-view":["settings","topicId"],"wcm-variation-input":["model","requiredWithValidator","onModelChange"],"wcm-variation-selector-settings":["settingsKey"]}
|
|
1
|
+
{"wcm-buttonlink-settings":["settingsKey"],"wcm-breadcrumb-settings":["settingsKey"],"owcm-calendar-rollup-settings":["settingsKey"],"owcm-calendar-rollup-dialog":["close"],"omx-em-colleague-dialog-content":["onSave","participant","onClose","onSelectStepPassed"],"wcm-content-block-settings-breakpoint":["settingsKey","breakPointId"],"wcm-content-block-translation-comparer":["settingsKey","onShowScrollChange","onUpdateText"],"owcm-digitalsignage-screen-renderer":["data"],"omx-em-event-clone-dialog-content":["onSave","eventDetail","onClose"],"wcm-html-script-block-content-editor":["content","close"],"info-screen-button":["data"],"info-screen-renderer":["data"],"wcm-link-picker":["title","onClosed","onSaved","styles","providerFilter","selectedItem"],"owcm-page-rollup-settings-breakpoint":["breakPointId"],"owcm-channel-filter":["model"],"owcm-page-rollup-settings":["settingsKey"],"owcm-pagetype-filter":["model"],"owcm-picked-pages-dialog":["dialogModel","onSaved","close","allowToSelectPageCollectionNode"],"wcm-backgroundselector":["settings"],"wcm-invite-coauthors":["styles","close"],"wcm-mega-menu-default-navigation":["currentSettings"],"wcm-block-mega-menu-settings":["settingsKey"],"wcm-mega-menu-settings":["settingsKey","currentSettings","onUpdateSettings"],"wcm-move-node":["node","onClosed","onSaved","currentPageCollection"],"wcm-sp-sync-settings":["settings","onChange"],"wcm-sp-sync-tenant-settings":["settings","onChange"],"wcm-sp-sync-error":["onClosed","content"],"wcm-sp-sync-warning":["onClosed"],"wcm-related-link-settings":["settingsKey"],"wcm-link-heading":["linkData"],"owcm-activity-feed":["styles"],"owcm-activity-feed-settings":["settingsKey"],"owcm-page-feedbacks":["feedbacks","columns"],"owcm-page-feedbacks-dialog":["pageId","closeCallback"],"wcm-page-feedback":["settingsKey"],"owcm-page-comment-like-settings":["settingsKey"],"owcm-page-comment-like-view":["settings","topicId"],"wcm-variation-input":["model","requiredWithValidator","onModelChange"],"wcm-variation-selector-settings":["settingsKey"]}
|
package/package.json
CHANGED
package/task.d.ts
CHANGED
package/task.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
import { registerManifestsReference, registerWebComponentDefinitions } from "@omnia/tooling-vue";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
//import { registerManifestsReference, registerWebComponentDefinitions } from "@omnia/tooling-vue";
|
|
4
3
|
var path = require('path');
|
|
5
4
|
var fs = require('fs');
|
|
6
5
|
var fsExtra = require('fs-extra');
|
|
7
6
|
require("./internal-do-not-import-from-here/tooling");
|
|
8
|
-
|
|
7
|
+
var _a = require("@omnia/tooling-vue"), registerManifestsReference = _a.registerManifestsReference, registerWebComponentDefinitions = _a.registerWebComponentDefinitions;
|
|
8
|
+
function init() {
|
|
9
9
|
if (fs.existsSync(process.cwd().replace(/\\/g, "/") + "/node_modules/@omnia/tooling-vue/internal-do-not-import-from-here/tasks/bundle.js")) {
|
|
10
10
|
//const tooling = require('@omnia/tooling-vue/internal-do-not-import-from-here/tasks/bundle');
|
|
11
11
|
registerManifestsReference([
|
|
@@ -31,3 +31,4 @@ export function init() {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
+
exports.init = init;
|
package/task.ts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
import { registerManifestsReference, registerWebComponentDefinitions } from "@omnia/tooling-vue";
|
|
2
|
+
//import { registerManifestsReference, registerWebComponentDefinitions } from "@omnia/tooling-vue";
|
|
3
3
|
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
4
|
|
|
6
5
|
const path = require('path');
|
|
7
6
|
const fs = require('fs');
|
|
8
7
|
const fsExtra = require('fs-extra');
|
|
9
8
|
require("./internal-do-not-import-from-here/tooling");
|
|
9
|
+
const { registerManifestsReference, registerWebComponentDefinitions } = require("@omnia/tooling-vue");
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
export function init() {
|
|
11
|
+
function init() {
|
|
13
12
|
if (fs.existsSync(process.cwd().replace(/\\/g, "/") + "/node_modules/@omnia/tooling-vue/internal-do-not-import-from-here/tasks/bundle.js")) {
|
|
14
13
|
//const tooling = require('@omnia/tooling-vue/internal-do-not-import-from-here/tasks/bundle');
|
|
15
14
|
|
|
@@ -38,4 +37,4 @@ export function init() {
|
|
|
38
37
|
}
|
|
39
38
|
}
|
|
40
39
|
|
|
41
|
-
|
|
40
|
+
exports.init = init;
|