@omnia/wcm 7.8.14-preview → 7.8.14
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 +9 -0
- package/internal-do-not-import-from-here/core/Utils.d.ts +13 -3
- package/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +18 -0
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +19 -0
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +3 -0
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +4 -3
- package/internal-do-not-import-from-here/core/loc/TokensLocalization.d.ts +2 -0
- package/internal-do-not-import-from-here/core/messaging/WcmPublicTopics.d.ts +2 -2
- package/internal-do-not-import-from-here/core/pagetypeanalytics/AnalyticsEventConstants.d.ts +15 -0
- package/internal-do-not-import-from-here/core/pagetypeanalytics/AnalyticsHelper.d.ts +27 -0
- package/internal-do-not-import-from-here/core/pagetypeanalytics/index.d.ts +2 -0
- package/internal-do-not-import-from-here/core/pagetypeanalytics/pagetypeanalytics.manifest.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/helpers/ItemQueryHelper.d.ts +20 -19
- package/internal-do-not-import-from-here/fx/internal/models/OmniaSearch.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/internal/stores/OmniaSearchPageStore.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/Constants.js +2 -1
- package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.js +3 -0
- package/internal-do-not-import-from-here/fx/models/analytics/AnalyticsReport.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/analytics/AnalyticsReport.js +2 -1
- package/internal-do-not-import-from-here/fx/models/analytics/AnalyticsReportView.d.ts +8 -2
- package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlockStyles.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/components/PagePropertiesBlockStyles.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/fileuploader/FileUploaderProviderContext.d.ts +3 -2
- package/internal-do-not-import-from-here/fx/models/fileuploader/FileUploaderProviderContext.js +2 -1
- package/internal-do-not-import-from-here/fx/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/navigation/MovePageCollectionResult.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/pagecreation/PageCreationActionSetting.d.ts +1 -0
- 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/MovePageTracking.d.ts +40 -0
- package/internal-do-not-import-from-here/fx/models/pages/MovePageTracking.js +15 -0
- package/internal-do-not-import-from-here/fx/models/pages/MovePagesResult.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/pages/Page.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageFile.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/pages/PageFile.js +2 -1
- package/internal-do-not-import-from-here/fx/models/pages/VersionInformation.d.ts +6 -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/ItemQuery.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/models/query/ItemQueryEnums.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/query/ItemQueryEnums.js +3 -0
- package/internal-do-not-import-from-here/fx/models/searchresultsource/SearchPropertyFilter.d.ts +16 -0
- package/internal-do-not-import-from-here/fx/models/searchresultsource/SearchPropertyFilter.js +2 -0
- package/internal-do-not-import-from-here/fx/models/searchresultsource/SearchResultSource.d.ts +15 -0
- package/internal-do-not-import-from-here/fx/models/searchresultsource/SearchResultSource.js +2 -0
- package/internal-do-not-import-from-here/fx/models/searchresultsource/index.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/searchresultsource/index.js +5 -0
- package/internal-do-not-import-from-here/fx/models/welcomeblock/WelcomeBlockSettings.d.ts +7 -4
- package/internal-do-not-import-from-here/fx/models/welcomeblock/WelcomeBlockStyles.d.ts +7 -1
- package/internal-do-not-import-from-here/fx/models/welcomeblock/WelcomeBlockStyles.js +8 -1
- package/internal-do-not-import-from-here/fx/models/welcomeblock/message/IWelcomeMessage.d.ts +16 -0
- package/internal-do-not-import-from-here/fx/models/welcomeblock/message/IWelcomeMessage.js +9 -1
- package/internal-do-not-import-from-here/fx/routing/WcmRouter.d.ts +6 -3
- package/internal-do-not-import-from-here/fx/services/NavigationService.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/services/OmniaSearchPageService.d.ts +2 -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 -2
- package/internal-do-not-import-from-here/fx/services/PageSocialService.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/services/PageStatisticsService.d.ts +6 -4
- package/internal-do-not-import-from-here/fx/services/SocialService.d.ts +31 -0
- package/internal-do-not-import-from-here/fx/services/index.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/shared/OmniaSearchCategoryQueryHelper.d.ts +52 -0
- package/internal-do-not-import-from-here/fx/shared/OmniaSearchQueryHelper.d.ts +0 -5
- package/internal-do-not-import-from-here/fx/shared/OmniaSearchQueryUtils.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/shared/PageRollupStoreHelper.d.ts +11 -6
- 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 +3 -0
- package/internal-do-not-import-from-here/fx/stores/CreatePageFormStore.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/stores/CurrentPageStore.d.ts +8 -1
- package/internal-do-not-import-from-here/fx/stores/NavigationStore.d.ts +10 -2
- package/internal-do-not-import-from-here/fx/stores/PageStatisticsStore.d.ts +8 -6
- package/internal-do-not-import-from-here/fx/stores/PagesStore.d.ts +5 -2
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/publishingapp/PublishingAppSettings.d.ts +1 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/ApprovalDialogAction.d.ts +5 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/ApprovalDialogAction.js +9 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/Messages.d.ts +4 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/index.js +1 -0
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Guid } from "@omnia/fx-models";
|
|
1
2
|
import { ActiveUserDashboardSettings, UnderusedSettings } from "../fx/models";
|
|
2
3
|
import { WCMTentantSettings } from "../models";
|
|
3
4
|
export declare class WcmCoreConstants {
|
|
@@ -22,4 +23,12 @@ export declare class WcmCoreConstants {
|
|
|
22
23
|
static get Newsletter(): {
|
|
23
24
|
SuffixDoneElement: string;
|
|
24
25
|
};
|
|
26
|
+
static get SemanticSearchReferenceType(): {
|
|
27
|
+
providerId: Guid;
|
|
28
|
+
page: Guid;
|
|
29
|
+
builtinProperty: {
|
|
30
|
+
pageType: string;
|
|
31
|
+
publishingApp: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
25
34
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Page, NavigationNode, NavigationData, VariationId, VariationString, Variation } from "@omnia/wcm/models";
|
|
1
|
+
import { Page, NavigationNode, NavigationData, VariationId, VariationString, Variation, PageId, PageDetailQueryResult, PageNavigationData, PageNavigationNode } from "@omnia/wcm/models";
|
|
2
2
|
import { LayoutItem } from "@omnia/fx-models";
|
|
3
|
-
export declare
|
|
3
|
+
export declare namespace Utils {
|
|
4
4
|
function isSupportedByOfficeWebApp(documentUrl: string): boolean;
|
|
5
5
|
/**
|
|
6
6
|
* if media value of page properties is a modern media and not legacy svg media
|
|
@@ -8,6 +8,13 @@ export declare module Utils {
|
|
|
8
8
|
* @return boolean
|
|
9
9
|
*/
|
|
10
10
|
function isModernMedia(mediaValue: any): boolean;
|
|
11
|
+
/**
|
|
12
|
+
* get pageId from page topic combine by TopicPrefixConstants
|
|
13
|
+
* @param topic
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
function getPageIdFromTopic(topic: string): PageId;
|
|
17
|
+
function isIdentityValue(value: string): boolean;
|
|
11
18
|
function getOfficeIconByFileExtension(extension: string): string;
|
|
12
19
|
function getFileExtension(url: string): string;
|
|
13
20
|
function getFileNameWithoutExtension(fileName: string): string;
|
|
@@ -40,9 +47,11 @@ export declare module MultilingualUtils {
|
|
|
40
47
|
export declare module NavigationUtils {
|
|
41
48
|
function sortNodesByCreated<T extends NavigationNode<NavigationData>>(nodes: Array<T>): any;
|
|
42
49
|
function sortNodesByTitle<T extends NavigationNode<NavigationData>>(nodes: Array<T>): any;
|
|
50
|
+
function findPageInNode(node: PageNavigationNode<PageNavigationData>, pageId: PageId): any;
|
|
43
51
|
}
|
|
44
|
-
export declare
|
|
52
|
+
export declare namespace VariationUtils {
|
|
45
53
|
function getValueByVariationId(variationString: VariationString, id: VariationId, defaultVariation?: Variation): string;
|
|
54
|
+
function isVariationString(value: any): value is VariationString;
|
|
46
55
|
}
|
|
47
56
|
export declare class SortUtils {
|
|
48
57
|
static sortBy: <T>(items: T[], attr: string, isRevert?: boolean, isDeep?: boolean, handleData?: (data: any) => any) => T[];
|
|
@@ -62,6 +71,7 @@ export declare module WCMMigrationUtils {
|
|
|
62
71
|
}
|
|
63
72
|
export declare module PageUtils {
|
|
64
73
|
function filterUnavailablePages(pages: Page[]): Page[];
|
|
74
|
+
function ensureVariationIdInPageDetail(pages: PageDetailQueryResult[]): PageDetailQueryResult[];
|
|
65
75
|
}
|
|
66
76
|
export declare module WCMGovernanceUtils {
|
|
67
77
|
function getMonthName(language: string, date: Date): string;
|
|
@@ -252,6 +252,11 @@ export declare module WCMCoreLocalization {
|
|
|
252
252
|
Title: string;
|
|
253
253
|
Description: string;
|
|
254
254
|
};
|
|
255
|
+
SemanticSearchWebContentManagement: {
|
|
256
|
+
Title: string;
|
|
257
|
+
Category: string;
|
|
258
|
+
Description: string;
|
|
259
|
+
};
|
|
255
260
|
};
|
|
256
261
|
ImageScalingBlockSettings: {
|
|
257
262
|
ForceDefaultScaling: string;
|
|
@@ -265,5 +270,18 @@ export declare module WCMCoreLocalization {
|
|
|
265
270
|
DataTypeProvider: {
|
|
266
271
|
Document: string;
|
|
267
272
|
};
|
|
273
|
+
SemanticSearch: {
|
|
274
|
+
WebContentManagment: string;
|
|
275
|
+
BuiltinProperty: {
|
|
276
|
+
PublishingApp: {
|
|
277
|
+
Title: string;
|
|
278
|
+
Type: string;
|
|
279
|
+
};
|
|
280
|
+
PageType: {
|
|
281
|
+
Title: string;
|
|
282
|
+
Type: string;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
};
|
|
268
286
|
}
|
|
269
287
|
}
|
|
@@ -76,6 +76,10 @@ export declare module EditorLocalization {
|
|
|
76
76
|
Prompt: string;
|
|
77
77
|
Outcome: string;
|
|
78
78
|
Property: string;
|
|
79
|
+
DeleteConfirmation: {
|
|
80
|
+
Title: string;
|
|
81
|
+
Message: string;
|
|
82
|
+
};
|
|
79
83
|
Result: {
|
|
80
84
|
BladeTitle: string;
|
|
81
85
|
ConfigurationError: string;
|
|
@@ -230,6 +234,7 @@ export declare module EditorLocalization {
|
|
|
230
234
|
};
|
|
231
235
|
ListView: string;
|
|
232
236
|
};
|
|
237
|
+
MaximumCapacityMessage: string;
|
|
233
238
|
};
|
|
234
239
|
AppDocuments: {
|
|
235
240
|
Documents: string;
|
|
@@ -553,6 +558,15 @@ export declare module EditorLocalization {
|
|
|
553
558
|
EnableOpenAI: string;
|
|
554
559
|
ImageRatio: string;
|
|
555
560
|
};
|
|
561
|
+
SemanticSearch: {
|
|
562
|
+
Title: string;
|
|
563
|
+
EnableSemanticSearch: string;
|
|
564
|
+
SemanticSearchEnableConfirmation: {
|
|
565
|
+
Title: string;
|
|
566
|
+
Message: string;
|
|
567
|
+
};
|
|
568
|
+
ReindexMessage: string;
|
|
569
|
+
};
|
|
556
570
|
};
|
|
557
571
|
Dialogs: {
|
|
558
572
|
MoveToTenant: {
|
|
@@ -723,6 +737,7 @@ export declare module EditorLocalization {
|
|
|
723
737
|
DuplicateWarningMessage: string;
|
|
724
738
|
MoveAsChild: string;
|
|
725
739
|
MoveAsSibling: string;
|
|
740
|
+
DuplicateWarningMessageWhenMovingAsSibling: string;
|
|
726
741
|
};
|
|
727
742
|
SendAppprovalRequest: {
|
|
728
743
|
Title: string;
|
|
@@ -933,6 +948,10 @@ export declare module EditorLocalization {
|
|
|
933
948
|
Title: string;
|
|
934
949
|
Message: string;
|
|
935
950
|
};
|
|
951
|
+
MovePage: {
|
|
952
|
+
PageInReadModeMessage: string;
|
|
953
|
+
};
|
|
954
|
+
PageNotLoadedMessage: string;
|
|
936
955
|
};
|
|
937
956
|
}
|
|
938
957
|
}
|
|
@@ -248,6 +248,8 @@ export declare module PageRollupLocalization {
|
|
|
248
248
|
};
|
|
249
249
|
Roller: {
|
|
250
250
|
Overlay: string;
|
|
251
|
+
Comments: string;
|
|
252
|
+
Likes: string;
|
|
251
253
|
};
|
|
252
254
|
ListingWithImage: {};
|
|
253
255
|
NavigationView: {
|
|
@@ -324,6 +326,7 @@ export declare module PageRollupLocalization {
|
|
|
324
326
|
ScheduledForPublishing: string;
|
|
325
327
|
UnpublishedChanges: string;
|
|
326
328
|
Default: string;
|
|
329
|
+
ScheduledForArchiving: string;
|
|
327
330
|
};
|
|
328
331
|
CalendarView: {
|
|
329
332
|
General: string;
|
|
@@ -269,15 +269,15 @@ export declare module PublishingAppLocalization {
|
|
|
269
269
|
Body: string;
|
|
270
270
|
};
|
|
271
271
|
PublishingChannel: {
|
|
272
|
-
|
|
272
|
+
RequestEmail: {
|
|
273
273
|
Subject: string;
|
|
274
274
|
Body: string;
|
|
275
275
|
};
|
|
276
|
-
|
|
276
|
+
ApprovalEmail: {
|
|
277
277
|
Subject: string;
|
|
278
278
|
Body: string;
|
|
279
279
|
};
|
|
280
|
-
|
|
280
|
+
RejectEmail: {
|
|
281
281
|
Subject: string;
|
|
282
282
|
Body: string;
|
|
283
283
|
Comment: string;
|
|
@@ -391,6 +391,7 @@ export declare module PublishingAppLocalization {
|
|
|
391
391
|
InvalidSiteUrlErrorMessage: string;
|
|
392
392
|
ExistedSiteUrlErrorMessage: string;
|
|
393
393
|
NoMatchingSPSiteTemplate: string;
|
|
394
|
+
MissingPermissionErrorMessage: string;
|
|
394
395
|
};
|
|
395
396
|
Actions: {
|
|
396
397
|
CreateNew: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MessageBusTopicMediator } from "@omnia/fx";
|
|
2
|
-
import { CreateLayoutItemSettingsMessage, PageApprovalMessage, PageScheduleMessage } from "../../models";
|
|
2
|
+
import { CreateLayoutItemSettingsMessage, PageApprovalMessage, PageScheduleMessage, ShowApprovalDialogMessage } from "../../models";
|
|
3
3
|
import { NavigationData, NavigationNode, LinkItem, PageTypeProperty, LinkPickerRegistration } from "@omnia/wcm/models";
|
|
4
4
|
import { LinkItemTemplateMsg } from "../../models/relatedlinks";
|
|
5
5
|
export declare const WcmBlockNamespace = "omnia.wcm.block";
|
|
@@ -17,7 +17,7 @@ export declare class PublishingAppTopics {
|
|
|
17
17
|
static get refreshNavigationContentUI(): MessageBusTopicMediator<void>;
|
|
18
18
|
static get showPageScheduleDialogTopic(): MessageBusTopicMediator<PageScheduleMessage>;
|
|
19
19
|
static get showPagePublishDialogTopic(): MessageBusTopicMediator<void>;
|
|
20
|
-
static get showPrePublishContentAnalysisDialogTopic(): MessageBusTopicMediator<
|
|
20
|
+
static get showPrePublishContentAnalysisDialogTopic(): MessageBusTopicMediator<ShowApprovalDialogMessage>;
|
|
21
21
|
static get showPageSendEmailDialogTopic(): MessageBusTopicMediator<void>;
|
|
22
22
|
static get showInviteCoAuthorsDialogTopic(): MessageBusTopicMediator<void>;
|
|
23
23
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventAction } from "@omnia/fx-models";
|
|
2
|
+
export declare class AnalyticsEventConstants {
|
|
3
|
+
static DefaultEventCategory: string;
|
|
4
|
+
static get PageTypeEventActions(): Array<EventAction>;
|
|
5
|
+
static get AddComment(): EventAction;
|
|
6
|
+
static get AddReaction(): EventAction;
|
|
7
|
+
static get AddCommentReply(): EventAction;
|
|
8
|
+
static get AddCommentReaction(): EventAction;
|
|
9
|
+
static get Share(): EventAction;
|
|
10
|
+
static get Rate(): EventAction;
|
|
11
|
+
static get BestReply(): EventAction;
|
|
12
|
+
static get FirstRead(): EventAction;
|
|
13
|
+
static get PagePublished(): EventAction;
|
|
14
|
+
static get PageScheduled(): EventAction;
|
|
15
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EventAction } from "@omnia/fx-models";
|
|
2
|
+
import { PageId } from "@omnia/wcm/models";
|
|
3
|
+
export declare class AnalyticsHelper {
|
|
4
|
+
private replaceToken;
|
|
5
|
+
private currentPageStore;
|
|
6
|
+
private pageStore;
|
|
7
|
+
private analyticsService;
|
|
8
|
+
private navigationStore;
|
|
9
|
+
private analyticsSettings;
|
|
10
|
+
private getAnalyticsSettingsFromPageTypes;
|
|
11
|
+
/**
|
|
12
|
+
* Get page type data, if page id = null -> use current page
|
|
13
|
+
* @param pageId
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
private getPageTypeData;
|
|
17
|
+
private getCurrentParentLayout;
|
|
18
|
+
replaceEventToken(source: string, fallBackDefault?: string): Promise<string>;
|
|
19
|
+
private findAndReplaceUnresolveToken;
|
|
20
|
+
/**
|
|
21
|
+
* Register analysis action
|
|
22
|
+
* @param action
|
|
23
|
+
* @param actionValue
|
|
24
|
+
* @param pageId Id of page. Use current page if this param is empty
|
|
25
|
+
*/
|
|
26
|
+
registerAction(action: EventAction, actionValue?: number, pageId?: PageId): Promise<void>;
|
|
27
|
+
}
|
package/internal-do-not-import-from-here/core/pagetypeanalytics/pagetypeanalytics.manifest.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import { EnterprisePropertyDefinition, GuidValue, Tag, Identity } from "@omnia/fx-models";
|
|
2
|
-
import {
|
|
1
|
+
import { FilterLogicalOperator, EnterprisePropertyDefinition, GuidValue, Tag, Identity } from "@omnia/fx-models";
|
|
2
|
+
import { QueryFilter, PageId, VariationId } from "../models";
|
|
3
3
|
export declare module ItemQueryHelper {
|
|
4
4
|
const PageId = "PId";
|
|
5
5
|
const ConditionExpressionFilter = "ConditionExpressionFilter";
|
|
6
6
|
const VariationId = "VariationId";
|
|
7
|
-
|
|
8
|
-
function
|
|
9
|
-
function
|
|
10
|
-
function
|
|
11
|
-
function
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
function
|
|
15
|
-
function
|
|
7
|
+
const VariationOfPageId = "VariationOfPageId";
|
|
8
|
+
function generateExcludePageId(logicalOperator: FilterLogicalOperator, pageId: PageId, filters?: Array<QueryFilter>): QueryFilter;
|
|
9
|
+
function generateFalseFilter(logicalOperator: FilterLogicalOperator, filters?: Array<QueryFilter>): QueryFilter;
|
|
10
|
+
function generateTrueFilter(logicalOperator: FilterLogicalOperator, filters?: Array<QueryFilter>): QueryFilter;
|
|
11
|
+
function generateTextEqualFilter(property: string, text: string, logicalOperator: FilterLogicalOperator): QueryFilter;
|
|
12
|
+
function generateTextFilter(property: string, text: string, logicalOperator: FilterLogicalOperator, enableWildcardSearch: boolean): QueryFilter;
|
|
13
|
+
function generateProcessFilterValue(property: string, text: string, logicalOperator: FilterLogicalOperator, enableWildcardSearch: boolean): QueryFilter;
|
|
14
|
+
function generateProcessFilter(property: string, processIdsArray: Array<string>, logicalOperator: FilterLogicalOperator, enableWildcardSearch: boolean): QueryFilter;
|
|
15
|
+
function generateEmptyArrayFilter(property: string, logicalOperator: FilterLogicalOperator): QueryFilter;
|
|
16
|
+
function generatePersonFilter(property: string, values: Array<Identity>, includeEmpty: boolean, logicalOperator: FilterLogicalOperator): QueryFilter;
|
|
16
17
|
function generateQueryablePropertyName(internalName: string): {
|
|
17
18
|
internalName: string;
|
|
18
19
|
isComputedColumn: boolean;
|
|
19
20
|
};
|
|
20
|
-
function generateTaxonomyFilter(property: string, termIds: Array<GuidValue>, includeEmpty: boolean, logicalOperator:
|
|
21
|
-
function generateTagFilter(property: string, value: Array<Tag>, logicalOperator:
|
|
22
|
-
function generateVariationPropertyFilter(values: Array<VariationId>, logicalOperator:
|
|
21
|
+
function generateTaxonomyFilter(property: string, termIds: Array<GuidValue>, includeEmpty: boolean, logicalOperator: FilterLogicalOperator): QueryFilter;
|
|
22
|
+
function generateTagFilter(property: string, value: Array<Tag>, logicalOperator: FilterLogicalOperator): QueryFilter;
|
|
23
|
+
function generateVariationPropertyFilter(values: Array<VariationId>, logicalOperator: FilterLogicalOperator): QueryFilter;
|
|
23
24
|
function generatePageComputedColumnName(internalName: string): string;
|
|
24
25
|
function generatePagePropertyInternalName(property: EnterprisePropertyDefinition): string;
|
|
25
26
|
function getContentPropertyInternalName(pagePropertyInternalName: string): string;
|
|
26
27
|
function mapToPageProperty(property: EnterprisePropertyDefinition): EnterprisePropertyDefinition;
|
|
27
|
-
function generateNumberFilter(property: string, value: number, logicalOperator:
|
|
28
|
-
function generateBooleanFilter(property: string, value: boolean, logicalOperator:
|
|
29
|
-
function generateDateFilter(property: string, from: Date, to: Date, logicalOperator:
|
|
30
|
-
function generateBitwiseFilter(property: string, value: number, logicalOperator:
|
|
31
|
-
function generateIsNullFilter(property: string, logicalOperator:
|
|
28
|
+
function generateNumberFilter(property: string, value: number, logicalOperator: FilterLogicalOperator): QueryFilter;
|
|
29
|
+
function generateBooleanFilter(property: string, value: boolean, logicalOperator: FilterLogicalOperator): QueryFilter;
|
|
30
|
+
function generateDateFilter(property: string, from: Date, to: Date, logicalOperator: FilterLogicalOperator, keepTime?: boolean): QueryFilter;
|
|
31
|
+
function generateBitwiseFilter(property: string, value: number, logicalOperator: FilterLogicalOperator): QueryFilter;
|
|
32
|
+
function generateIsNullFilter(property: string, logicalOperator: FilterLogicalOperator): QueryFilter;
|
|
32
33
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Store } from "@omnia/fx/stores";
|
|
2
|
-
import { ReindexContentOmniaSearch } from "../models";
|
|
2
|
+
import { ReindexContentOmniaSearch, SyncOmniaSearchType } from "../models";
|
|
3
3
|
export declare class OmniaSearchPageStore extends Store {
|
|
4
4
|
private omniaSearchPageService;
|
|
5
5
|
onActivated(): void;
|
|
@@ -14,7 +14,7 @@ export declare class OmniaSearchPageStore extends Store {
|
|
|
14
14
|
*/
|
|
15
15
|
actions: {
|
|
16
16
|
triggerReindexContentOmniaSearchPublishingApp: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: string) => void, (failureReason: any) => void, () => Promise<string>>;
|
|
17
|
-
triggerReindexOmniaSearchTenant: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: string) => void, (failureReason: any) => void, () => Promise<string>>;
|
|
17
|
+
triggerReindexOmniaSearchTenant: import("@omnia/fx/stores").StoreAction<unknown, (syncType: SyncOmniaSearchType) => void, (result: string, syncType: SyncOmniaSearchType) => void, (failureReason: any, syncType: SyncOmniaSearchType) => void, (syncType: SyncOmniaSearchType) => Promise<string>>;
|
|
18
18
|
pollingReindexContentOmniaSearchStatus: import("@omnia/fx/stores").StoreAction<unknown, (resourceId: string) => void, (result: ReindexContentOmniaSearch, resourceId: string) => void, (failureReason: any, resourceId: string) => void, (resourceId: string) => Promise<ReindexContentOmniaSearch>>;
|
|
19
19
|
getReindexContentLogs: import("@omnia/fx/stores").StoreAction<unknown, (resourceId: string, pageNr?: number, pageSize?: number, sortColumn?: string, sortDesc?: boolean) => void, (result: {
|
|
20
20
|
total: number;
|
|
@@ -181,7 +181,8 @@ exports.Constants = {
|
|
|
181
181
|
WCMPageGlossaryProviderId: new fx_models_1.Guid("342160b2-25c0-48a0-9f55-a4dae353ca7b")
|
|
182
182
|
},
|
|
183
183
|
prefixTokens: {
|
|
184
|
-
publishingApp: "PublishingApp"
|
|
184
|
+
publishingApp: "PublishingApp",
|
|
185
|
+
page: "Page"
|
|
185
186
|
},
|
|
186
187
|
reindexContent: {
|
|
187
188
|
tenantResourceId: "tenant"
|
|
@@ -89,6 +89,7 @@ export declare class WcmResourceManifests {
|
|
|
89
89
|
static get SignOffRequestPageProvider(): Guid;
|
|
90
90
|
static get SignOffRequestBanner(): Guid;
|
|
91
91
|
static get PublishingAppToken(): Guid;
|
|
92
|
+
static get PageToken(): Guid;
|
|
92
93
|
static get PagePropertiesProvider(): Guid;
|
|
93
94
|
static get PagePropertiesProviderCore(): Guid;
|
|
94
95
|
static get PagePropertyBindingProvider(): Guid;
|
|
@@ -105,6 +106,7 @@ export declare class WcmResourceManifests {
|
|
|
105
106
|
static get PageRollupRendererResources(): Guid;
|
|
106
107
|
static get WCMGlossaryType(): Guid;
|
|
107
108
|
static get PageCreationCore(): Guid;
|
|
109
|
+
static get PageTypeAnalyticsCore(): Guid;
|
|
108
110
|
}
|
|
109
111
|
export declare class WcmWebComponentManifests {
|
|
110
112
|
static get LinkPickerExtension(): Guid;
|
|
@@ -397,6 +399,7 @@ export declare class WcmWebComponentManifests {
|
|
|
397
399
|
static get WelcomeBlockPicker(): Guid;
|
|
398
400
|
static get WelcomeBlock(): Guid;
|
|
399
401
|
static get WelcomeBlockSettings(): Guid;
|
|
402
|
+
static get PageSearchResultSource(): Guid;
|
|
400
403
|
}
|
|
401
404
|
export declare class InfoScreenManifests {
|
|
402
405
|
static get AdminRegistration(): Guid;
|
|
@@ -102,6 +102,7 @@ class WcmResourceManifests {
|
|
|
102
102
|
static get SignOffRequestPageProvider() { return new fx_models_1.Guid("4852704d-f6cc-4465-94f2-35ce664b6b18"); }
|
|
103
103
|
static get SignOffRequestBanner() { return new fx_models_1.Guid("aea1569f-94dc-498c-a0fc-3a525c851352"); }
|
|
104
104
|
static get PublishingAppToken() { return new fx_models_1.Guid("3d0b5714-6e71-4ad6-a0f9-3a5a232cba6e"); }
|
|
105
|
+
static get PageToken() { return new fx_models_1.Guid("6e3d102c-aca3-42eb-86bc-2e2d523b8f2a"); }
|
|
105
106
|
static get PagePropertiesProvider() { return new fx_models_1.Guid("75e97f74-b5f6-4a17-9ed8-8dc2cff4e9b0"); }
|
|
106
107
|
static get PagePropertiesProviderCore() { return new fx_models_1.Guid("35ddf13a-319d-4245-a9d8-d321c8604447"); }
|
|
107
108
|
static get PagePropertyBindingProvider() { return new fx_models_1.Guid("84dc7fa4-a70c-470d-90b5-3df966391626"); }
|
|
@@ -118,6 +119,7 @@ class WcmResourceManifests {
|
|
|
118
119
|
static get PageRollupRendererResources() { return new fx_models_1.Guid("74EA3346-4A90-46AA-996B-FD195002F28C"); }
|
|
119
120
|
static get WCMGlossaryType() { return new fx_models_1.Guid("47B70789-B295-4DA7-BB4C-95BD275A4606"); }
|
|
120
121
|
static get PageCreationCore() { return new fx_models_1.Guid("4c4b8bcc-ecc9-403e-934d-49bb26a75f3a"); }
|
|
122
|
+
static get PageTypeAnalyticsCore() { return new fx_models_1.Guid("663a621f-90a8-45c5-bb9c-cd6c7c35d7f6"); }
|
|
121
123
|
}
|
|
122
124
|
exports.WcmResourceManifests = WcmResourceManifests;
|
|
123
125
|
class WcmWebComponentManifests {
|
|
@@ -411,6 +413,7 @@ class WcmWebComponentManifests {
|
|
|
411
413
|
static get WelcomeBlockPicker() { return new fx_models_1.Guid("1cccfc13-daa0-4a13-96f1-4fd385b9f4ad"); }
|
|
412
414
|
static get WelcomeBlock() { return new fx_models_1.Guid("1a517930-e257-49f0-aec8-a1617d79d21e"); }
|
|
413
415
|
static get WelcomeBlockSettings() { return new fx_models_1.Guid("0045e808-79aa-46a1-b133-3f9df9276142"); }
|
|
416
|
+
static get PageSearchResultSource() { return new fx_models_1.Guid("d5f5159c-8c78-4a44-9069-093bcc8cbac7"); }
|
|
414
417
|
}
|
|
415
418
|
exports.WcmWebComponentManifests = WcmWebComponentManifests;
|
|
416
419
|
WcmWebComponentManifests.Blocks = class {
|
|
@@ -4,5 +4,6 @@ exports.AnalyticsReportColumnConstants = void 0;
|
|
|
4
4
|
exports.AnalyticsReportColumnConstants = {
|
|
5
5
|
get titleLink() { return "_internal_titleLink"; },
|
|
6
6
|
get icon() { return "_internal_icon"; },
|
|
7
|
-
get openNewWindow() { return "_internal_openNewWindow"; }
|
|
7
|
+
get openNewWindow() { return "_internal_openNewWindow"; },
|
|
8
|
+
get visitorFrequency() { return "_internal_visitorFrequency"; }
|
|
8
9
|
};
|
|
@@ -18,12 +18,18 @@ export interface IAnalyticsReportViewSettingsProperties {
|
|
|
18
18
|
export interface IAnalyticsReportViewDisplayProperties {
|
|
19
19
|
settings: AnalyticsReportCommonBlockSettings;
|
|
20
20
|
items: AnalyticsReportItem[];
|
|
21
|
-
offset?:
|
|
21
|
+
offset?: {
|
|
22
|
+
value: number;
|
|
23
|
+
};
|
|
22
24
|
allColumns: AnalyticsColumn[];
|
|
23
|
-
isLoadingData:
|
|
25
|
+
isLoadingData: {
|
|
26
|
+
value: boolean;
|
|
27
|
+
};
|
|
24
28
|
sortByChanged?: (sortKey: string, descending: boolean) => void;
|
|
25
29
|
offsetChanged: (offset: number) => void;
|
|
26
30
|
exportRequest?: AnalyticsReportExportsRequest;
|
|
31
|
+
selectedSortColumn?: SortSelection;
|
|
32
|
+
selectedSortOrder?: SortSelection;
|
|
27
33
|
}
|
|
28
34
|
export interface IAnalyticsReportViewSettings {
|
|
29
35
|
selectedSortColumn: SortSelection;
|
|
@@ -64,6 +64,8 @@ export interface ActionButtonLinkHandlerSettings extends IActionHandlerSettings
|
|
|
64
64
|
dialogPosition?: DialogPositions;
|
|
65
65
|
closeWhenOutsideClick?: boolean;
|
|
66
66
|
anchorName?: string;
|
|
67
|
+
selectedTextColor?: string;
|
|
68
|
+
selectedBackgroundColor?: string;
|
|
67
69
|
}
|
|
68
70
|
export interface ActionButtonCreatePageHandlerSettings extends IActionHandlerSettings, PageCreationActionSetting {
|
|
69
71
|
}
|
package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlockStyles.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export declare const CalendarRollupBlockListViewSettingsStyles: {
|
|
|
17
17
|
darkenOverlay: types.NestedCSSProperties;
|
|
18
18
|
dateContent: types.NestedCSSProperties;
|
|
19
19
|
setGroupItemBorder: (color: string) => types.NestedCSSProperties;
|
|
20
|
+
textColor?: types.NestedCSSProperties;
|
|
20
21
|
};
|
|
21
22
|
export declare const CalendarRollupBlockSettingsStyles: {
|
|
22
23
|
calenderRemoveButtonPositioner: types.NestedCSSProperties;
|
package/internal-do-not-import-from-here/fx/models/components/PagePropertiesBlockStyles.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { SpacingSettings } from "@omnia/fx-models";
|
|
|
3
3
|
import { ITheming } from "@omnia/fx/ux";
|
|
4
4
|
import { PagePropertiesBlockSettings } from ".";
|
|
5
5
|
export declare const PagePropertiesBlockAdvancedStyles: {
|
|
6
|
-
propertyWrapper?: types.NestedCSSProperties;
|
|
7
|
-
propertyContentWrapper?: (settings: PagePropertiesBlockSettings) => types.NestedCSSProperties;
|
|
6
|
+
propertyWrapper?: (isFlexBox: boolean) => types.NestedCSSProperties;
|
|
7
|
+
propertyContentWrapper?: (settings: PagePropertiesBlockSettings, isFlexBox: boolean) => types.NestedCSSProperties;
|
|
8
8
|
icon?: types.NestedCSSProperties;
|
|
9
9
|
propertyLabelWrapper?: (fullWidth: boolean, textColor: string) => types.NestedCSSProperties;
|
|
10
10
|
propertyLabel?: (fullWidth: boolean) => types.NestedCSSProperties;
|
package/internal-do-not-import-from-here/fx/models/fileuploader/FileUploaderProviderContext.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { FilePickerStorageProviderContext, GuidValue } from "@omnia/fx-models";
|
|
2
|
-
import { VersionId } from "../pages";
|
|
2
|
+
import { PageId, VersionId } from "../pages";
|
|
3
3
|
export declare class FileUploaderWCMPageContext implements FilePickerStorageProviderContext {
|
|
4
4
|
readonly omniaServiceId: GuidValue;
|
|
5
5
|
readonly metadataTypeId: GuidValue;
|
|
6
6
|
fileName: string;
|
|
7
7
|
readonly versionId: VersionId;
|
|
8
|
-
|
|
8
|
+
readonly pageId: PageId;
|
|
9
|
+
constructor(versionId: VersionId, pageId: PageId);
|
|
9
10
|
}
|
package/internal-do-not-import-from-here/fx/models/fileuploader/FileUploaderProviderContext.js
CHANGED
|
@@ -4,11 +4,12 @@ exports.FileUploaderWCMPageContext = void 0;
|
|
|
4
4
|
const fx_models_1 = require("@omnia/fx-models");
|
|
5
5
|
const ManifestIds_1 = require("../ManifestIds");
|
|
6
6
|
class FileUploaderWCMPageContext {
|
|
7
|
-
constructor(versionId) {
|
|
7
|
+
constructor(versionId, pageId) {
|
|
8
8
|
this.omniaServiceId = ManifestIds_1.WcmService.Id;
|
|
9
9
|
this.metadataTypeId = new fx_models_1.Guid("18f54ab3-0a36-4b7d-a184-b9f2d59e5730");
|
|
10
10
|
this.fileName = "";
|
|
11
11
|
this.versionId = versionId;
|
|
12
|
+
this.pageId = pageId;
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
exports.FileUploaderWCMPageContext = FileUploaderWCMPageContext;
|
|
@@ -49,3 +49,4 @@ tslib_1.__exportStar(require("./pagecreation"), exports);
|
|
|
49
49
|
tslib_1.__exportStar(require("./mediarollup"), exports);
|
|
50
50
|
tslib_1.__exportStar(require("./analytics"), exports);
|
|
51
51
|
tslib_1.__exportStar(require("./welcomeblock"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./searchresultsource"), exports);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { GuidValue } from "@omnia/fx-models";
|
|
1
2
|
import { NavigationData } from "./NavigationData";
|
|
2
3
|
import { NavigationNode } from "./NavigationNode";
|
|
3
4
|
export interface MovePageCollectionResult {
|
|
@@ -9,4 +10,8 @@ export interface MovePageCollectionResult {
|
|
|
9
10
|
* The navigation nodes which are moved
|
|
10
11
|
* **/
|
|
11
12
|
affectedNodes: Array<NavigationNode<NavigationData>>;
|
|
13
|
+
/**
|
|
14
|
+
* The moving tracking id
|
|
15
|
+
* **/
|
|
16
|
+
movePageTrackingId?: GuidValue;
|
|
12
17
|
}
|
|
@@ -57,7 +57,8 @@ var PageRollupEnums;
|
|
|
57
57
|
WorkflowStatus[WorkflowStatus["CheckedOut"] = 1] = "CheckedOut";
|
|
58
58
|
WorkflowStatus[WorkflowStatus["WaitingForApproval"] = 2] = "WaitingForApproval";
|
|
59
59
|
WorkflowStatus[WorkflowStatus["ScheduleForPublishing"] = 4] = "ScheduleForPublishing";
|
|
60
|
-
WorkflowStatus[WorkflowStatus["UnpublishedChanges"] = 8] = "UnpublishedChanges";
|
|
60
|
+
WorkflowStatus[WorkflowStatus["UnpublishedChanges"] = 8] = "UnpublishedChanges";
|
|
61
|
+
WorkflowStatus[WorkflowStatus["ScheduleForArchiving"] = 16] = "ScheduleForArchiving";
|
|
61
62
|
})(WorkflowStatus = PageRollupEnums.WorkflowStatus || (PageRollupEnums.WorkflowStatus = {}));
|
|
62
63
|
let VersionStatus;
|
|
63
64
|
(function (VersionStatus) {
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { PageNavigationNode, PageNavigationData } from "../navigation";
|
|
2
|
+
import { GuidValue } from "@omnia/fx-models";
|
|
3
|
+
import { PageId } from "./Page";
|
|
4
|
+
export interface MovePageTracking {
|
|
5
|
+
id: GuidValue;
|
|
6
|
+
pageId: PageId;
|
|
7
|
+
moveType: PageMoveTypes;
|
|
8
|
+
status: MovePageStatus;
|
|
9
|
+
trackingCompleted: boolean;
|
|
10
|
+
information: MovePageTrackingInformation;
|
|
11
|
+
originalErrorMessage: string;
|
|
12
|
+
}
|
|
13
|
+
export interface MovePageTrackingInformation {
|
|
14
|
+
storageFolderTracking: StorageFolderTrackingData;
|
|
15
|
+
}
|
|
16
|
+
export interface StorageFolderTrackingData {
|
|
17
|
+
moveType: PageMoveTypes;
|
|
18
|
+
oldNavigationNode: PageNavigationNode<PageNavigationData>;
|
|
19
|
+
newNavigationNode: PageNavigationNode<PageNavigationData>;
|
|
20
|
+
totalPages: number;
|
|
21
|
+
movedPageIds: PageId[];
|
|
22
|
+
notExistedFolderPageIds: PageId[];
|
|
23
|
+
failPageIds: PageId[];
|
|
24
|
+
warningPageIds: PageId[];
|
|
25
|
+
failMessageByPageId: {
|
|
26
|
+
[pageId: number]: string;
|
|
27
|
+
};
|
|
28
|
+
updateMediaMetadataErrorMessage: string;
|
|
29
|
+
unlockPagesErrorMessage: string;
|
|
30
|
+
}
|
|
31
|
+
export declare enum PageMoveTypes {
|
|
32
|
+
Generic = 0,
|
|
33
|
+
MoveToTargetPageCollection = 1,
|
|
34
|
+
MovePageCollection = 2
|
|
35
|
+
}
|
|
36
|
+
export declare enum MovePageStatus {
|
|
37
|
+
Initialized = 0,
|
|
38
|
+
Success = 1,
|
|
39
|
+
Error = 2
|
|
40
|
+
}
|