@omnia/wcm 8.0.13-dev → 8.0.15-dev
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/Utils.d.ts +4 -1
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +7 -0
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +4 -0
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/helpers/ItemQueryHelper.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/LinkPicker.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/Announcement.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/infoscreen/AdminInfoScreenBlock.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/navigation/LinkNavigationData.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +2 -1
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +4 -3
- package/internal-do-not-import-from-here/fx/models/pages/PageTypeData.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/routing/WcmRouter.d.ts +3 -2
- package/internal-do-not-import-from-here/fx/services/OpenAIPageCreationService.d.ts +0 -2
- package/internal-do-not-import-from-here/fx/services/PageQueryService.d.ts +0 -2
- package/internal-do-not-import-from-here/fx/services/PageService.d.ts +4 -7
- package/internal-do-not-import-from-here/fx/shared/PageRollupStoreHelper.d.ts +9 -4
- package/internal-do-not-import-from-here/fx/shared/PickedPageHelper.d.ts +10 -0
- package/internal-do-not-import-from-here/fx/shared/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/stores/NavigationStore.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/stores/pagerollup/PageRollupSettingsStore.d.ts +4 -4
- package/internal-do-not-import-from-here/fx/ux/use/UseWcmIcons.d.ts +38 -38
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.d.ts +3 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.js +4 -1
- package/internal-do-not-import-from-here/tooling.output.json +1 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +82 -92
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OmniaContext } from "@omnia/fx";
|
|
2
|
-
import { Page, NavigationNode, NavigationData, VariationId, VariationString, Variation } from "@omnia/wcm/models";
|
|
2
|
+
import { Page, NavigationNode, NavigationData, VariationId, VariationString, Variation, PageDetailQueryResult, PageId, PageNavigationData, PageNavigationNode } from "@omnia/wcm/models";
|
|
3
3
|
import { LayoutItem } from "@omnia/fx-models";
|
|
4
4
|
export declare namespace Utils {
|
|
5
5
|
function isSupportedByOfficeWebApp(documentUrl: string): boolean;
|
|
@@ -42,9 +42,11 @@ export declare namespace MultilingualUtils {
|
|
|
42
42
|
export declare namespace NavigationUtils {
|
|
43
43
|
function sortNodesByCreated<T extends NavigationNode<NavigationData>>(nodes: Array<T>): any;
|
|
44
44
|
function sortNodesByTitle<T extends NavigationNode<NavigationData>>(nodes: Array<T>): any;
|
|
45
|
+
function findPageInNode(node: PageNavigationNode<PageNavigationData>, pageId: PageId): any;
|
|
45
46
|
}
|
|
46
47
|
export declare namespace VariationUtils {
|
|
47
48
|
function getValueByVariationId(variationString: VariationString, id: VariationId, defaultVariation?: Variation): string;
|
|
49
|
+
function isVariationString(value: any): value is VariationString;
|
|
48
50
|
}
|
|
49
51
|
export declare class SortUtils {
|
|
50
52
|
static sortBy: <T>(items: T[], attr: string, isRevert?: boolean, isDeep?: boolean, handleData?: (data: any) => any) => T[];
|
|
@@ -64,6 +66,7 @@ export declare namespace WCMMigrationUtils {
|
|
|
64
66
|
}
|
|
65
67
|
export declare namespace PageUtils {
|
|
66
68
|
function filterUnavailablePages(pages: Page[]): Page[];
|
|
69
|
+
function ensureVariationIdInPageDetail(pages: PageDetailQueryResult[]): PageDetailQueryResult[];
|
|
67
70
|
}
|
|
68
71
|
export declare namespace WCMGovernanceUtils {
|
|
69
72
|
function getMonthName(language: string, date: Date): string;
|
|
@@ -18,6 +18,7 @@ export declare namespace EditorLocalization {
|
|
|
18
18
|
DialogTitle: string;
|
|
19
19
|
ShowUrl: string;
|
|
20
20
|
ShowProperties: string;
|
|
21
|
+
InforBlade: string;
|
|
21
22
|
AutoPublish: string;
|
|
22
23
|
AutoPublishDisableMessage: string;
|
|
23
24
|
EnableActivityTracking: string;
|
|
@@ -325,6 +326,7 @@ export declare namespace EditorLocalization {
|
|
|
325
326
|
Title: string;
|
|
326
327
|
};
|
|
327
328
|
Approval: {
|
|
329
|
+
ApprovalType: string;
|
|
328
330
|
Title: string;
|
|
329
331
|
EnableApproval: string;
|
|
330
332
|
Anyone: string;
|
|
@@ -686,6 +688,7 @@ export declare namespace EditorLocalization {
|
|
|
686
688
|
PageVariationConfirmationMessage: string;
|
|
687
689
|
WarningMessage: string;
|
|
688
690
|
HasBeenReusedByOtherPagesMessage: string;
|
|
691
|
+
PageVariationWarningMessage: string;
|
|
689
692
|
};
|
|
690
693
|
CopyPage: {
|
|
691
694
|
Title: string;
|
|
@@ -696,6 +699,7 @@ export declare namespace EditorLocalization {
|
|
|
696
699
|
ConfirmationMessage: string;
|
|
697
700
|
PageVariationConfirmationMessage: string;
|
|
698
701
|
WarningMessage: string;
|
|
702
|
+
PageVariationWarningMessage: string;
|
|
699
703
|
};
|
|
700
704
|
MovePageCollection: {
|
|
701
705
|
Title: string;
|
|
@@ -733,6 +737,7 @@ export declare namespace EditorLocalization {
|
|
|
733
737
|
DuplicateWarningMessage: string;
|
|
734
738
|
MoveAsChild: string;
|
|
735
739
|
MoveAsSibling: string;
|
|
740
|
+
DuplicateWarningMessageWhenMovingAsSibling: string;
|
|
736
741
|
};
|
|
737
742
|
SendAppprovalRequest: {
|
|
738
743
|
Title: string;
|
|
@@ -802,6 +807,7 @@ export declare namespace EditorLocalization {
|
|
|
802
807
|
};
|
|
803
808
|
DistributionChannel: {
|
|
804
809
|
Title: string;
|
|
810
|
+
Create: string;
|
|
805
811
|
Save: string;
|
|
806
812
|
Add: string;
|
|
807
813
|
Cancel: string;
|
|
@@ -826,6 +832,7 @@ export declare namespace EditorLocalization {
|
|
|
826
832
|
Summary: string;
|
|
827
833
|
};
|
|
828
834
|
PropertyMapping: string;
|
|
835
|
+
DeleteConfirmationBody: string;
|
|
829
836
|
};
|
|
830
837
|
InviteAuthors: {
|
|
831
838
|
Title: string;
|
|
@@ -345,6 +345,7 @@ export declare namespace PageRollupLocalization {
|
|
|
345
345
|
ScheduledForPublishing: string;
|
|
346
346
|
UnpublishedChanges: string;
|
|
347
347
|
Default: string;
|
|
348
|
+
ScheduledForArchiving: string;
|
|
348
349
|
};
|
|
349
350
|
CalendarView: {
|
|
350
351
|
General: string;
|
|
@@ -410,5 +411,8 @@ export declare namespace PageRollupLocalization {
|
|
|
410
411
|
};
|
|
411
412
|
};
|
|
412
413
|
Slider: string;
|
|
414
|
+
ExportResult: {
|
|
415
|
+
LoginName: string;
|
|
416
|
+
};
|
|
413
417
|
}
|
|
414
418
|
}
|
|
@@ -4,6 +4,7 @@ export declare namespace ItemQueryHelper {
|
|
|
4
4
|
const PageId = "PId";
|
|
5
5
|
const ConditionExpressionFilter = "ConditionExpressionFilter";
|
|
6
6
|
const VariationId = "VariationId";
|
|
7
|
+
const VariationOfPageId = "VariationOfPageId";
|
|
7
8
|
function generateExcludePageId(logicalOperator: FilterLogicalOperator, pageId: PageId, filters?: Array<QueryFilter>): QueryFilter;
|
|
8
9
|
function generateFalseFilter(logicalOperator: FilterLogicalOperator, filters?: Array<QueryFilter>): QueryFilter;
|
|
9
10
|
function generateTrueFilter(logicalOperator: FilterLogicalOperator, filters?: Array<QueryFilter>): QueryFilter;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { guid,
|
|
1
|
+
import { guid, LegacyIconPickerModel, MultilingualString } from "@omnia/fx-models";
|
|
2
2
|
import { TargetingFilterProperty } from "@omnia/fx-sp/models";
|
|
3
3
|
export interface AnnouncementLite {
|
|
4
4
|
title?: string;
|
|
@@ -36,7 +36,7 @@ export interface AnnouncementType {
|
|
|
36
36
|
info?: AnnouncementTypeInfo;
|
|
37
37
|
}
|
|
38
38
|
export interface AnnouncementTypeInfo {
|
|
39
|
-
icon:
|
|
39
|
+
icon: LegacyIconPickerModel;
|
|
40
40
|
}
|
|
41
41
|
export interface AnnouncementStatus {
|
|
42
42
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { guid, Spacing, MultilingualString,
|
|
1
|
+
import { guid, Spacing, MultilingualString, MediaPickerVideo, LegacyIconPickerModel } from "@omnia/fx-models";
|
|
2
2
|
import { PageQuery, PageRollupEnums, PagingTypes, PageRollupUiFilter, PageItemNode, VideoType, PageRollupPropertyFilter } from "@omnia/wcm/models";
|
|
3
3
|
import { TargetingFilterProperty } from "@omnia/fx-sp/models";
|
|
4
4
|
export interface BlockDataWithSettingsAndData<Data, Settings> {
|
|
@@ -121,7 +121,7 @@ export interface AnnouncementType {
|
|
|
121
121
|
info?: AnnouncementTypeInfo;
|
|
122
122
|
}
|
|
123
123
|
export interface AnnouncementTypeInfo {
|
|
124
|
-
icon:
|
|
124
|
+
icon: LegacyIconPickerModel;
|
|
125
125
|
}
|
|
126
126
|
export interface AnnouncementStatus {
|
|
127
127
|
id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NavigationData, INavigationOptions } from ".";
|
|
2
|
-
import {
|
|
2
|
+
import { LegacyIconPickerModel, MultilingualString } from "@omnia/fx-models";
|
|
3
3
|
export interface LinkNavigationData extends NavigationData, INavigationOptions {
|
|
4
4
|
title: MultilingualString;
|
|
5
5
|
url: string;
|
|
6
|
-
icon?:
|
|
6
|
+
icon?: LegacyIconPickerModel;
|
|
7
7
|
}
|
|
@@ -46,7 +46,8 @@ export declare namespace PageRollupEnums {
|
|
|
46
46
|
CheckedOut = 1,
|
|
47
47
|
WaitingForApproval = 2,
|
|
48
48
|
ScheduleForPublishing = 4,
|
|
49
|
-
UnpublishedChanges = 8
|
|
49
|
+
UnpublishedChanges = 8,//<<omnia doc>> Rename from PendingPublishing,
|
|
50
|
+
ScheduleForArchiving = 16
|
|
50
51
|
}
|
|
51
52
|
enum VersionStatus {
|
|
52
53
|
Any = 0,
|
|
@@ -58,7 +58,8 @@ var PageRollupEnums;
|
|
|
58
58
|
WorkflowStatus[WorkflowStatus["CheckedOut"] = 1] = "CheckedOut";
|
|
59
59
|
WorkflowStatus[WorkflowStatus["WaitingForApproval"] = 2] = "WaitingForApproval";
|
|
60
60
|
WorkflowStatus[WorkflowStatus["ScheduleForPublishing"] = 4] = "ScheduleForPublishing";
|
|
61
|
-
WorkflowStatus[WorkflowStatus["UnpublishedChanges"] = 8] = "UnpublishedChanges";
|
|
61
|
+
WorkflowStatus[WorkflowStatus["UnpublishedChanges"] = 8] = "UnpublishedChanges";
|
|
62
|
+
WorkflowStatus[WorkflowStatus["ScheduleForArchiving"] = 16] = "ScheduleForArchiving";
|
|
62
63
|
})(WorkflowStatus = PageRollupEnums.WorkflowStatus || (PageRollupEnums.WorkflowStatus = {}));
|
|
63
64
|
let VersionStatus;
|
|
64
65
|
(function (VersionStatus) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { EnterprisePropertyDefinition, guid, IVersionedDataIdentifier, MultilingualString, TimePeriodSettings } from "@omnia/fx-models";
|
|
1
|
+
import { DateOperator, EnterprisePropertyDefinition, guid, IVersionedDataIdentifier, MultilingualString, TimePeriodSettings } from "@omnia/fx-models";
|
|
2
2
|
import { PageId } from ".";
|
|
3
3
|
import { ChildStructureType } from "..";
|
|
4
4
|
import { QueryFilter } from "../query";
|
|
5
|
+
import { SeoProperties } from "../seo/PageMetaTag";
|
|
6
|
+
import { DistributionChannelRule } from "./PageCollectionDistributionChannel";
|
|
5
7
|
import { PagePermissionInfo } from "./PagePermissionInfo";
|
|
6
8
|
import { PlainPageData } from "./PlainPageData";
|
|
7
|
-
import { DistributionChannelRule } from "./PageCollectionDistributionChannel";
|
|
8
|
-
import { SeoProperties } from "../seo/PageMetaTag";
|
|
9
9
|
export interface PageCreationSettings {
|
|
10
10
|
creationDialogTitle: MultilingualString;
|
|
11
11
|
showUrl: boolean;
|
|
@@ -122,5 +122,6 @@ export interface OverriddenProperty {
|
|
|
122
122
|
defaultValue?: any;
|
|
123
123
|
calculatedFromProperty?: string;
|
|
124
124
|
timePeriodSettingsForDefaultValue?: TimePeriodSettings;
|
|
125
|
+
dateOperatorForDefaultValue?: DateOperator;
|
|
125
126
|
readonly?: boolean;
|
|
126
127
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EnterprisePropertyDefinition, EnterprisePropertyItemSettings,
|
|
1
|
+
import { DateOperator, EnterprisePropertyDefinition, EnterprisePropertyItemSettings, Identity, MultilingualString, RichTextEditorExtension, TimePeriodSettings, guid } from "@omnia/fx-models";
|
|
2
2
|
import { SharepointSyncPageSettings } from "../../../sp";
|
|
3
3
|
import { PageData } from "./PageData";
|
|
4
4
|
/**
|
|
@@ -16,6 +16,7 @@ export interface PageTypePropertyInfo extends EnterprisePropertyItemSettings {
|
|
|
16
16
|
defaultValue?: any;
|
|
17
17
|
calculatedFromProperty: string;
|
|
18
18
|
timePeriodSettingsForDefaultValue?: TimePeriodSettings;
|
|
19
|
+
dateOperatorForDefaultValue?: DateOperator;
|
|
19
20
|
readonly?: boolean;
|
|
20
21
|
category: string;
|
|
21
22
|
receiveEmail?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NavigationData, NavigationNode, PageNavigationData, PageNavigationNode, VariationId
|
|
1
|
+
import { DefaultVariationPage, NavigationData, NavigationNode, PageNavigationData, PageNavigationNode, VariationId } from "../models";
|
|
2
2
|
export declare class WcmRouter {
|
|
3
3
|
private currentNavigationStore;
|
|
4
4
|
private currentPageStore;
|
|
@@ -17,6 +17,7 @@ export declare class WcmRouter {
|
|
|
17
17
|
constructor();
|
|
18
18
|
private isInWcmContext;
|
|
19
19
|
private handleNotFoundNavigationNode;
|
|
20
|
+
private removeAnchorWhenPageNavigating;
|
|
20
21
|
private getDefaultRoute;
|
|
21
22
|
private loadTreeForPath;
|
|
22
23
|
navigate<T extends NavigationNode<NavigationData>>(to: T, targetVariationId?: any, forceToNewNavigationState?: boolean): Promise<T>;
|
|
@@ -35,6 +36,6 @@ export declare class WcmRouter {
|
|
|
35
36
|
private createNavigationStateForNode;
|
|
36
37
|
private tryParseNumber;
|
|
37
38
|
private getPageTitle;
|
|
38
|
-
getPageState(pageNavigationNode: PageNavigationNode<PageNavigationData>, targetVariationId?: VariationId, allowDraftVersion?: boolean):
|
|
39
|
+
getPageState(pageNavigationNode: PageNavigationNode<PageNavigationData>, targetVariationId?: VariationId, allowDraftVersion?: boolean): DefaultVariationPage;
|
|
39
40
|
private getUsingVariationSegment;
|
|
40
41
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { MediaPickerService } from "@omnia/fx/services";
|
|
2
1
|
import { OpenAIPropertiesMapping, OpenAIPropertyMappingValue } from "../models";
|
|
3
2
|
export declare class OpenAIPageCreationService {
|
|
4
3
|
private settingsService;
|
|
5
4
|
private openAIService;
|
|
6
|
-
mediaPickerService: MediaPickerService;
|
|
7
5
|
private enterprisePropertyStore;
|
|
8
6
|
constructor();
|
|
9
7
|
private contentPrompt;
|
|
@@ -20,7 +20,5 @@ export declare class PageQueryService {
|
|
|
20
20
|
getExportedFile: (exportingFileName: string, exportingFileToken: string) => Promise<void>;
|
|
21
21
|
checkMigrationOmniaSearchStatus: (migrationId: string) => Promise<boolean>;
|
|
22
22
|
private processPagesDetailData;
|
|
23
|
-
private getPageVisited;
|
|
24
|
-
private findPageInNode;
|
|
25
23
|
getPendingApprovalPages: () => Promise<Array<PendingApprovalPage>>;
|
|
26
24
|
}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Page, PageData, CheckedOutVersionPageData, VersionedPageData, PublishedVersionPageData, PageIdToPageMap, PageId, VariationPage, PageCollectionSelection, NavigationData, NavigationNode, MovePagesResult, VersionInformation, ArchivePageResult, RestorePageMessage, RestorePageResult, VariationId, PageWithNavigationCreationRequest, PageNavigationNode, PageNavigationData, ReadNews, PagePermissionResponse, ValidationArchivePageResult, PageTypeTitle, VersionId, ApprovalMetaData, MovePageTracking, VersionInformationDetail } from "../models";
|
|
2
|
-
import { MergedPageVersionLayout } from "../models/layout/MergedPageVersionLayout";
|
|
3
1
|
import { ApiResponse, guid } from "@omnia/fx-models";
|
|
4
|
-
import { VersionReference } from "../models";
|
|
5
|
-
import { NavigationPosition } from "../models/navigation/NavigationPosition";
|
|
6
|
-
import { CreatedPageWithNavigationInfo, CreatedPageInfo } from "../models";
|
|
7
|
-
import { PagePermissionInfo } from "../models";
|
|
8
2
|
import { EnterprisePropertyStore } from "@omnia/fx/stores";
|
|
9
3
|
import { InvitationOfAuthor } from "../../models";
|
|
4
|
+
import { ApprovalMetaData, ArchivePageResult, CheckedOutVersionPageData, CreatedPageInfo, CreatedPageWithNavigationInfo, MovePageTracking, MovePagesResult, NavigationData, NavigationNode, Page, PageCollectionSelection, PageData, PageId, PageIdToPageMap, PageNavigationData, PageNavigationNode, PagePermissionResponse, PageTypeTitle, PageWithNavigationCreationRequest, PublishedVersionPageData, ReadNews, RestorePageMessage, RestorePageResult, ValidationArchivePageResult, VariationId, VariationPage, VersionId, VersionInformation, VersionInformationDetail, VersionReference, VersionedPageData } from "../models";
|
|
5
|
+
import { MergedPageVersionLayout } from "../models/layout/MergedPageVersionLayout";
|
|
6
|
+
import { NavigationPosition } from "../models/navigation/NavigationPosition";
|
|
10
7
|
export declare class PageService {
|
|
11
8
|
private httpClient;
|
|
12
9
|
enterprisePropertyStore: EnterprisePropertyStore;
|
|
@@ -16,7 +13,7 @@ export declare class PageService {
|
|
|
16
13
|
private readonly baseUrl;
|
|
17
14
|
private readonly reusablePageBaseUrl;
|
|
18
15
|
createVariationPage: <T extends PageData>(pageData: T, originalPageId: PageId, variationId: VariationId) => Promise<CreatedPageInfo<T>>;
|
|
19
|
-
updatePagePermissions: (pageId: PageId,
|
|
16
|
+
updatePagePermissions: (pageId: PageId, variationId?: VariationId) => Promise<void>;
|
|
20
17
|
createWithNavigation: <T extends PageData>(creationRequest: PageWithNavigationCreationRequest, targetPublishingAppId?: guid, targetVariationId?: string) => Promise<CreatedPageWithNavigationInfo<T>>;
|
|
21
18
|
move: <T extends NavigationNode<NavigationData>>(nodeToMove: T, newPosition: NavigationPosition) => Promise<MovePagesResult>;
|
|
22
19
|
movePageTypeToTenant: (page: Page) => Promise<PageNavigationNode<PageNavigationData>>;
|
|
@@ -38,6 +38,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
38
38
|
private multilingualStore;
|
|
39
39
|
private profileCardStore;
|
|
40
40
|
private navigationStore;
|
|
41
|
+
private pickedPageHelper;
|
|
41
42
|
private resolvablePageRollupInNP;
|
|
42
43
|
private pageRollupInstancesInNP;
|
|
43
44
|
private pageRollupInstances;
|
|
@@ -98,11 +99,12 @@ declare class InternalPageRollupStoreHelper {
|
|
|
98
99
|
}, settings: PageRollupBlockSettings, pageCollectionSelections: Array<PageCollectionSelection>): any[];
|
|
99
100
|
private populateNavigationPathTargetingVariationIds;
|
|
100
101
|
private generateVariationIdFilter;
|
|
101
|
-
buildQuery(
|
|
102
|
+
buildQuery(block: BlockPageRollupInstanceExtends, uiQueryFilters: QueryFilter[]): Promise<PageQuery>;
|
|
102
103
|
getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
|
|
103
104
|
getPagesDetailsMetric(blockInstance: BlockPageRollupInstanceExtends, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<void>;
|
|
104
|
-
generateBatchQuery(
|
|
105
|
+
generateBatchQuery(blockPageRollupInstance: BlockPageRollupInstanceExtends): Promise<BatchQueryPages>;
|
|
105
106
|
needToGetVariationQuery(type: PageRollupEnums.QueryConfigurationType, scope: PageRollupEnums.RollupScopes): boolean;
|
|
107
|
+
mergeBlockInstance(blockInstance: BlockPageRollupInstanceExtends, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): BlockPageRollupInstanceExtends;
|
|
106
108
|
private generateChannelsFilter;
|
|
107
109
|
private generateChannelsFilterForChannelsScope;
|
|
108
110
|
private getPropertyNameByScope;
|
|
@@ -132,7 +134,8 @@ declare class InternalPageRollupStoreHelper {
|
|
|
132
134
|
private extractPageRollupInstancesInNP;
|
|
133
135
|
private pushBatchQueryTimewatch;
|
|
134
136
|
private ensureRunLatestBatchQuery;
|
|
135
|
-
executeBatchQuery(queries: BatchQueryPagesExtends[], queryWithPageTypes: Array<string>, allowCancelToken?: boolean, clientCaching?: boolean): Promise<BatchQueryPagesResult>;
|
|
137
|
+
executeBatchQuery(queries: BatchQueryPagesExtends[], blockInstances: BlockPageRollupInstanceExtends[], queryWithPageTypes: Array<string>, allowCancelToken?: boolean, clientCaching?: boolean): Promise<BatchQueryPagesResult>;
|
|
138
|
+
private ensurePickedPagesResult;
|
|
136
139
|
private mapToBatchQueryPages;
|
|
137
140
|
private hasPageTypeSettingInView;
|
|
138
141
|
private hasTagOrTaxonomyInView;
|
|
@@ -165,7 +168,7 @@ export declare class PageRollupStoreHelper {
|
|
|
165
168
|
getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
|
|
166
169
|
getPagesDetailsMetric(blockInstance: IBlockInstance<PageRollupBlockSettings>, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<void>;
|
|
167
170
|
setDestroyedPageRollups(pageRollupQueryId: string): void;
|
|
168
|
-
getBatchQueriesData(batchQueries: Array<BatchQueryPages>, queryWithPageTypes: Array<string>): Promise<BatchQueryPagesResult>;
|
|
171
|
+
getBatchQueriesData(batchQueries: Array<BatchQueryPages>, blockInstances: BlockPageRollupInstanceExtends[], queryWithPageTypes: Array<string>): Promise<BatchQueryPagesResult>;
|
|
169
172
|
needToLoadPageTypeInView(settings: PageRollupBlockSettings, internalNames: Array<string>): boolean;
|
|
170
173
|
}
|
|
171
174
|
export declare class FilterManager {
|
|
@@ -211,8 +214,10 @@ export declare class BatchQueryRegistration {
|
|
|
211
214
|
execute(): Promise<void>;
|
|
212
215
|
getPagingData(pageNumber: number): Promise<number>;
|
|
213
216
|
getNextPagingData(): Promise<number>;
|
|
217
|
+
private noNextPaging;
|
|
214
218
|
private loadCurrentPageData;
|
|
215
219
|
generateBatchQuery(): Promise<BatchQueryPages>;
|
|
220
|
+
getBlockPageRollupInstance(): BlockPageRollupInstanceExtends;
|
|
216
221
|
get orderBy(): QueryOrder[];
|
|
217
222
|
get pagingNumber(): number;
|
|
218
223
|
get pagingStateKey(): guid;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PageItemNode, PageDetailQueryResult, QueryFilter } from "../models";
|
|
2
|
+
export declare class PickedPageHelper {
|
|
3
|
+
private variationStore;
|
|
4
|
+
private targetingStore;
|
|
5
|
+
buildPickedPagesQuery(queryFilter: QueryFilter, pickedPages: Array<PageItemNode>): QueryFilter;
|
|
6
|
+
ensureVariationTargetingCurrentUser(pickedPages: Array<PageItemNode>): Promise<void>;
|
|
7
|
+
ensureFallbackPickedPagesResult(pickedPages: Array<PageItemNode>, pages: Array<PageDetailQueryResult>, itemLimit?: number): PageDetailQueryResult[];
|
|
8
|
+
sortPickedPagesByDefault(pickedPages: Array<PageItemNode>, pages: Array<PageDetailQueryResult>): PageDetailQueryResult[];
|
|
9
|
+
private getPublishingAppVariation;
|
|
10
|
+
}
|
|
@@ -7,6 +7,7 @@ export declare class NavigationStore extends Store {
|
|
|
7
7
|
private publishingAppInfoStore;
|
|
8
8
|
private omniaContext;
|
|
9
9
|
private wcmContext;
|
|
10
|
+
private multilingualStore;
|
|
10
11
|
private idToNodeMap;
|
|
11
12
|
private children;
|
|
12
13
|
private parentIdToChildLoadPromisesMap;
|
|
@@ -23,6 +24,7 @@ export declare class NavigationStore extends Store {
|
|
|
23
24
|
getFilteredNodes: <T extends NavigationNode<NavigationData>>(filterAction: ((node: NavigationNode<NavigationData>) => boolean)) => Array<T>;
|
|
24
25
|
getFilteredByType: (nodeTypes?: NavigationDataType) => Array<NavigationNode<NavigationData>>;
|
|
25
26
|
getById: (nodeId: NodeId) => NavigationNode<NavigationData>;
|
|
27
|
+
pageTitle: (node: NavigationNode<NavigationData>) => string;
|
|
26
28
|
getByPageId: (pageId: PageId) => NavigationNode<NavigationData>;
|
|
27
29
|
getChildren: (node: NavigationNode<NavigationData>, forceFromPublishingAppId?: string) => Array<NavigationNode<NavigationData>>;
|
|
28
30
|
isLoadingChildren: (node: NavigationNode<NavigationData>) => boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EnterprisePropertyDefinition, ExternalPropertySelectionItem, guid, MediaPickerImageRatio, PropertyIndexedType } from "@omnia/fx-models";
|
|
2
2
|
import { PageRollupBlockSettings, PageRollupEnums, PageRollupRegistrationView } from "../../models";
|
|
3
|
-
interface
|
|
3
|
+
interface EnterprisePropertiesState {
|
|
4
4
|
all: Array<EnterprisePropertyDefinition>;
|
|
5
5
|
sortable: {
|
|
6
6
|
internal: Array<EnterprisePropertyDefinition>;
|
|
@@ -29,21 +29,21 @@ export declare const usePageRollupSettingsStore: () => {
|
|
|
29
29
|
inNotificatonPanel: boolean;
|
|
30
30
|
views: PageRollupRegistrationViewExtension[];
|
|
31
31
|
settings: PageRollupBlockSettings;
|
|
32
|
-
enterpriseProperties:
|
|
32
|
+
enterpriseProperties: EnterprisePropertiesState;
|
|
33
33
|
};
|
|
34
34
|
mutate: {
|
|
35
35
|
loaded: (value: boolean | ((prev: boolean) => boolean)) => void;
|
|
36
36
|
inNotificatonPanel: (value: boolean | ((prev: boolean) => boolean)) => void;
|
|
37
37
|
views: (value: PageRollupRegistrationViewExtension[] | ((prev: PageRollupRegistrationViewExtension[]) => PageRollupRegistrationViewExtension[])) => void;
|
|
38
38
|
settings: (value: PageRollupBlockSettings | ((prev: PageRollupBlockSettings) => PageRollupBlockSettings)) => void;
|
|
39
|
-
enterpriseProperties: (value:
|
|
39
|
+
enterpriseProperties: (value: EnterprisePropertiesState | ((prev: EnterprisePropertiesState) => EnterprisePropertiesState)) => void;
|
|
40
40
|
};
|
|
41
41
|
events: import("@omnia/fx/stores").StoreEvents<{
|
|
42
42
|
loaded: boolean;
|
|
43
43
|
inNotificatonPanel: boolean;
|
|
44
44
|
views: PageRollupRegistrationViewExtension[];
|
|
45
45
|
settings: PageRollupBlockSettings;
|
|
46
|
-
enterpriseProperties:
|
|
46
|
+
enterpriseProperties: EnterprisePropertiesState;
|
|
47
47
|
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
|
48
48
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
|
49
49
|
init(settings: PageRollupBlockSettings, settingsKey: string): void;
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
export declare function useWcmIcons(): {
|
|
2
2
|
icon: {
|
|
3
|
-
creation:
|
|
4
|
-
publishing:
|
|
5
|
-
createPageType:
|
|
6
|
-
createPageCollection:
|
|
7
|
-
createPage:
|
|
8
|
-
column:
|
|
9
|
-
pageType:
|
|
10
|
-
pageCollection:
|
|
11
|
-
page:
|
|
12
|
-
information:
|
|
13
|
-
alignLeft:
|
|
14
|
-
alignRight:
|
|
15
|
-
alignCenter:
|
|
16
|
-
userNinja:
|
|
17
|
-
painBrush:
|
|
18
|
-
slider:
|
|
19
|
-
shareAlt:
|
|
20
|
-
refresh:
|
|
21
|
-
download:
|
|
22
|
-
swapCalls:
|
|
23
|
-
warning:
|
|
24
|
-
chevronLeft:
|
|
25
|
-
chevronRight:
|
|
26
|
-
pencil:
|
|
27
|
-
screen:
|
|
28
|
-
tv:
|
|
29
|
-
clipboard:
|
|
30
|
-
fileCode:
|
|
31
|
-
stair:
|
|
32
|
-
add:
|
|
33
|
-
newsPaper:
|
|
34
|
-
layout:
|
|
35
|
-
close:
|
|
36
|
-
scaling:
|
|
37
|
-
crop:
|
|
38
|
-
padding:
|
|
39
|
-
view:
|
|
40
|
-
result:
|
|
3
|
+
creation: FontAwesomeIcon;
|
|
4
|
+
publishing: FontAwesomeIcon;
|
|
5
|
+
createPageType: FontAwesomeIcon;
|
|
6
|
+
createPageCollection: FontAwesomeIcon;
|
|
7
|
+
createPage: FontAwesomeIcon;
|
|
8
|
+
column: FontAwesomeIcon;
|
|
9
|
+
pageType: FontAwesomeIcon;
|
|
10
|
+
pageCollection: FontAwesomeIcon;
|
|
11
|
+
page: FontAwesomeIcon;
|
|
12
|
+
information: FontAwesomeIcon;
|
|
13
|
+
alignLeft: FontAwesomeIcon;
|
|
14
|
+
alignRight: FontAwesomeIcon;
|
|
15
|
+
alignCenter: FontAwesomeIcon;
|
|
16
|
+
userNinja: FontAwesomeIcon;
|
|
17
|
+
painBrush: FontAwesomeIcon;
|
|
18
|
+
slider: FontAwesomeIcon;
|
|
19
|
+
shareAlt: FontAwesomeIcon;
|
|
20
|
+
refresh: FontAwesomeIcon;
|
|
21
|
+
download: FontAwesomeIcon;
|
|
22
|
+
swapCalls: FontAwesomeIcon;
|
|
23
|
+
warning: FontAwesomeIcon;
|
|
24
|
+
chevronLeft: FontAwesomeIcon;
|
|
25
|
+
chevronRight: FontAwesomeIcon;
|
|
26
|
+
pencil: FontAwesomeIcon;
|
|
27
|
+
screen: FontAwesomeIcon;
|
|
28
|
+
tv: FontAwesomeIcon;
|
|
29
|
+
clipboard: FontAwesomeIcon;
|
|
30
|
+
fileCode: FontAwesomeIcon;
|
|
31
|
+
stair: FontAwesomeIcon;
|
|
32
|
+
add: FontAwesomeIcon;
|
|
33
|
+
newsPaper: FontAwesomeIcon;
|
|
34
|
+
layout: FontAwesomeIcon;
|
|
35
|
+
close: FontAwesomeIcon;
|
|
36
|
+
scaling: FontAwesomeIcon;
|
|
37
|
+
crop: FontAwesomeIcon;
|
|
38
|
+
padding: FontAwesomeIcon;
|
|
39
|
+
view: FontAwesomeIcon;
|
|
40
|
+
result: FontAwesomeIcon;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['a41d1723-10ca-4597-9c40-fd4f511ae2ae']","content":{"./node_modules/@omnia/wcm/internal/index.js":{"id":"./node_modules/@omnia/wcm/internal/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ActiveUserDashboardQueryTypes","BreadcrumNodeTypes","NavigationTitleHelperService","OmniaPageSearch","OmniaSearchPageStore","PageDashboardDetail","PageTypesFilterValue","PagesDashboardDetailResult","PagesDashboardMetricQuery","PagesDashboardQueryTypes","PagesDetailDashboardQuery","PublishingAppsFilterValue","ReindexContentOmniaSearchStatus","SyncOmniaSearchType","UserPropertiesFilterValue","YammerIntegrationStore"]},"./node_modules/@omnia/wcm/messaging/InternalWcmTopics.js":{"id":"./node_modules/@omnia/wcm/messaging/internalwcmtopics.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalWcmTopics"]},"./node_modules/@omnia/wcm/shared/index.js":{"id":"./node_modules/@omnia/wcm/shared/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["BatchQueryRegistration","EnsureMigrateBlockData","FilterManager","OmniaSearchQueryHelper","OmniaSearchQueryUtils","PageRollupConfigurationFactory","PageRollupStoreHelper","PageSearchHelper"]},"./node_modules/@omnia/wcm/index.js":{"id":"dd7f30f1-7b1b-47a5-acfb-c173d2fcb1f3","buildMeta":{"exportsType":"namespace"},"expo.js":["ActivityActionFactory","AiContentPageReportService","AppInfoStore","AutomaticPageCreationService","BASE_URL","BackgroundImageHelper","BreadcrumbStore","BreakpointStore","BuiltInActionButtonHandlers","CURRENT_DATE","CalendarConstants","CalendarService","ChannelManagementService","CommunityRules","CreatePageFormStore","CurrentEventStore","CurrentNavigationStore","CurrentPageStore","DisplayBreakPointFactory","DocumentService","EditingDisplayRules","EmailSettingsKey","EnterprisePropertyInternalNames","EventParticipantListElementName","EventService","GovernanceDashboard","IconRules","ItemQueryHelper","LayoutDataParentPageId","LayoutHelper","LayoutItemsTranslator","LinkPickerProviders","LinkPickerStore","LinkProviderIds","MaxIntNumber","MediaRollupService","MetaAttributeType","NavigationNodeHelper","NavigationService","NavigationStore","NewsletterService","OmniaSearchPageService","OpenAIPageCreationService","OutlookEvent","PageApprovalConstants","PageBlockPropertyStore","PageFactory","PageHiddenService","PageNavigationNodeHelper","PagePermissionService","PageQueryService","PageRedirectHelper","PageRollupFilterEngineContext","PageRollupIndexedDB","PageRollupListView","PageRollupStore","PageService","PageStatisticsService","PageStatisticsStore","PageVariationHelper","PageVersion","PagesStore","ParticipantService","ParticipantsFields","PublishingAppDefaultScrollElementClass","PublishingAppInfoStore","PublishingAppUniqueModelName","PublishingChannelCategoriesService","PublishingRuleService","PublishingRuleStore","QueryableProperties","ReusablePageService","SettingsMigrations","TargetingStore","ThemingRules","TimeFormat","TopicActivityService","TopicPrefixConstants","Topics","TopicsActivityStore","VariationRules","VariationService","VariationStore","VersionEnterpriseProperties","VersionPropertyBag","VisitedPageKeyPrefix","WCMPageKeyPrefix","WCMPageVersionStateException","WcmContext","WcmRouter","YammerService","mediaPickerStorageProviderPageContext","mediaPickerStorageProviderPageCreationContext","mediaPickerStorageProviderPageReadContext","mediaPickerStorageProviderWCMChannelAdminContext","useChannelCategoriesStore","useChannelManagementStore","useLinkPickerStore","usePageRollupSettingsStore","useSeoService","useWcmIcons"]}}}
|
|
1
|
+
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['a41d1723-10ca-4597-9c40-fd4f511ae2ae']","content":{"./node_modules/@omnia/wcm/internal/index.js":{"id":"./node_modules/@omnia/wcm/internal/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["ActiveUserDashboardQueryTypes","BreadcrumNodeTypes","NavigationTitleHelperService","OmniaPageSearch","OmniaSearchPageStore","PageDashboardDetail","PageTypesFilterValue","PagesDashboardDetailResult","PagesDashboardMetricQuery","PagesDashboardQueryTypes","PagesDetailDashboardQuery","PublishingAppsFilterValue","ReindexContentOmniaSearchStatus","SyncOmniaSearchType","UserPropertiesFilterValue","YammerIntegrationStore"]},"./node_modules/@omnia/wcm/messaging/InternalWcmTopics.js":{"id":"./node_modules/@omnia/wcm/messaging/internalwcmtopics.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalWcmTopics"]},"./node_modules/@omnia/wcm/shared/index.js":{"id":"./node_modules/@omnia/wcm/shared/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["BatchQueryRegistration","EnsureMigrateBlockData","FilterManager","OmniaSearchQueryHelper","OmniaSearchQueryUtils","PageRollupConfigurationFactory","PageRollupStoreHelper","PageSearchHelper","PickedPageHelper"]},"./node_modules/@omnia/wcm/index.js":{"id":"dd7f30f1-7b1b-47a5-acfb-c173d2fcb1f3","buildMeta":{"exportsType":"namespace"},"expo.js":["ActivityActionFactory","AiContentPageReportService","AppInfoStore","AutomaticPageCreationService","BASE_URL","BackgroundImageHelper","BreadcrumbStore","BreakpointStore","BuiltInActionButtonHandlers","CURRENT_DATE","CalendarConstants","CalendarService","ChannelManagementService","CommunityRules","CreatePageFormStore","CurrentEventStore","CurrentNavigationStore","CurrentPageStore","DisplayBreakPointFactory","DocumentService","EditingDisplayRules","EmailSettingsKey","EnterprisePropertyInternalNames","EventParticipantListElementName","EventService","GovernanceDashboard","IconRules","ItemQueryHelper","LayoutDataParentPageId","LayoutHelper","LayoutItemsTranslator","LinkPickerProviders","LinkPickerStore","LinkProviderIds","MaxIntNumber","MediaRollupService","MetaAttributeType","NavigationNodeHelper","NavigationService","NavigationStore","NewsletterService","OmniaSearchPageService","OpenAIPageCreationService","OutlookEvent","PageApprovalConstants","PageBlockPropertyStore","PageFactory","PageHiddenService","PageNavigationNodeHelper","PagePermissionService","PageQueryService","PageRedirectHelper","PageRollupFilterEngineContext","PageRollupIndexedDB","PageRollupListView","PageRollupStore","PageService","PageStatisticsService","PageStatisticsStore","PageVariationHelper","PageVersion","PagesStore","ParticipantService","ParticipantsFields","PublishingAppDefaultScrollElementClass","PublishingAppInfoStore","PublishingAppUniqueModelName","PublishingChannelCategoriesService","PublishingRuleService","PublishingRuleStore","QueryableProperties","ReusablePageService","SettingsMigrations","TargetingStore","ThemingRules","TimeFormat","TopicActivityService","TopicPrefixConstants","Topics","TopicsActivityStore","VariationRules","VariationService","VariationStore","VersionEnterpriseProperties","VersionPropertyBag","VisitedPageKeyPrefix","WCMPageKeyPrefix","WCMPageVersionStateException","WcmContext","WcmRouter","YammerService","mediaPickerStorageProviderPageContext","mediaPickerStorageProviderPageCreationContext","mediaPickerStorageProviderPageReadContext","mediaPickerStorageProviderWCMChannelAdminContext","useChannelCategoriesStore","useChannelManagementStore","useLinkPickerStore","usePageRollupSettingsStore","useSeoService","useWcmIcons"]}}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AppEditorActionButtonIds = exports.ActionButtonIds = exports.PageApprovalDialogType = exports.CreateDialogType = exports.EditorUrlParameters = exports.DeviceResolution = void 0;
|
|
3
|
+
exports.PageCollectionTab = exports.AppEditorActionButtonIds = exports.ActionButtonIds = exports.PageApprovalDialogType = exports.CreateDialogType = exports.EditorUrlParameters = exports.DeviceResolution = void 0;
|
|
4
4
|
exports.DeviceResolution = {
|
|
5
5
|
desktop: "100%",
|
|
6
6
|
tablet: "1024px",
|
|
@@ -47,3 +47,6 @@ exports.ActionButtonIds = {
|
|
|
47
47
|
exports.AppEditorActionButtonIds = {
|
|
48
48
|
saveSettings: "saveSettings"
|
|
49
49
|
};
|
|
50
|
+
exports.PageCollectionTab = {
|
|
51
|
+
id: "a85e2ef5-3ca5-4b0f-b2d5-ea3fa2ce0455"
|
|
52
|
+
};
|