@omnia/wcm 7.7.55-preview → 7.8.0
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 +39 -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 +2 -0
- 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 -1
- 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/aipagecontentreport/FixPageContentAnalysisRequest.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/FixPageContentAnalysisRequest.js +2 -0
- package/internal-do-not-import-from-here/fx/models/aipagecontentreport/PageAiAnalysisReport.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/models/analytics/AnalyticsLiveCounter.d.ts +4 -1
- package/internal-do-not-import-from-here/fx/models/analytics/AnalyticsReport.d.ts +7 -1
- 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 +10 -2
- package/internal-do-not-import-from-here/fx/models/analytics/QuerySegmentType.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/analytics/QuerySegmentType.js +8 -0
- package/internal-do-not-import-from-here/fx/models/analytics/SegmentSettings.d.ts +11 -0
- package/internal-do-not-import-from-here/fx/models/analytics/SegmentSettings.js +9 -0
- package/internal-do-not-import-from-here/fx/models/analytics/index.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/analytics/index.js +2 -0
- package/internal-do-not-import-from-here/fx/models/analytics/views/CardView.js +1 -1
- package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.d.ts +8 -1
- package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.js +0 -1
- 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/components/PageRollupBlockStyles.d.ts +1 -0
- 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/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/pagequery/PageRollupListViewSettings.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +6 -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/PageTypeData.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/pagevisited/PageVisited.d.ts +4 -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/index.d.ts +0 -1
- package/internal-do-not-import-from-here/fx/models/query/index.js +0 -1
- 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 +3 -0
- package/internal-do-not-import-from-here/fx/services/AiContentPageReportService.d.ts +4 -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/PageSocialService.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/services/PageStatisticsService.d.ts +8 -6
- 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 +6 -1
- package/internal-do-not-import-from-here/fx/stores/NavigationStore.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/stores/PageStatisticsStore.d.ts +10 -8
- 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
- package/internal-do-not-import-from-here/fx/models/query/ItemQueryEnums.d.ts +0 -18
- package/internal-do-not-import-from-here/fx/models/query/ItemQueryEnums.js +0 -24
|
@@ -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;
|
|
@@ -312,6 +317,13 @@ export declare module EditorLocalization {
|
|
|
312
317
|
Properties: string;
|
|
313
318
|
AddPageType: string;
|
|
314
319
|
SwitchPageType: string;
|
|
320
|
+
Analytics: {
|
|
321
|
+
Title: string;
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
ContentAnalysis: {
|
|
325
|
+
Title: string;
|
|
326
|
+
AddContentAnalysisSetting: string;
|
|
315
327
|
};
|
|
316
328
|
PageCollections: {
|
|
317
329
|
Title: string;
|
|
@@ -546,6 +558,15 @@ export declare module EditorLocalization {
|
|
|
546
558
|
EnableOpenAI: string;
|
|
547
559
|
ImageRatio: string;
|
|
548
560
|
};
|
|
561
|
+
SemanticSearch: {
|
|
562
|
+
Title: string;
|
|
563
|
+
EnableSemanticSearch: string;
|
|
564
|
+
SemanticSearchEnableConfirmation: {
|
|
565
|
+
Title: string;
|
|
566
|
+
Message: string;
|
|
567
|
+
};
|
|
568
|
+
ReindexMessage: string;
|
|
569
|
+
};
|
|
549
570
|
};
|
|
550
571
|
Dialogs: {
|
|
551
572
|
MoveToTenant: {
|
|
@@ -618,6 +639,24 @@ export declare module EditorLocalization {
|
|
|
618
639
|
Cancel: string;
|
|
619
640
|
NoPropertyAbleToOverride: string;
|
|
620
641
|
};
|
|
642
|
+
EditContentAnalysis: {
|
|
643
|
+
Title: string;
|
|
644
|
+
TextProperties: string;
|
|
645
|
+
Save: string;
|
|
646
|
+
Cancel: string;
|
|
647
|
+
ContentAnalysisTitle: string;
|
|
648
|
+
};
|
|
649
|
+
PrePublishContentAnalysis: {
|
|
650
|
+
Title: string;
|
|
651
|
+
EditPage: string;
|
|
652
|
+
FixPage: string;
|
|
653
|
+
Cancel: string;
|
|
654
|
+
Passed: string;
|
|
655
|
+
Failed: string;
|
|
656
|
+
ContinuePublishing: string;
|
|
657
|
+
FixedPageSuccessMessage: string;
|
|
658
|
+
ErrorMessage: string;
|
|
659
|
+
};
|
|
621
660
|
AddContent: {
|
|
622
661
|
Title: string;
|
|
623
662
|
SearchForABlock: string;
|
|
@@ -164,6 +164,7 @@ export declare module PageRollupLocalization {
|
|
|
164
164
|
ShowLabel: string;
|
|
165
165
|
CustomLabel: string;
|
|
166
166
|
TargetNoOfUsers: string;
|
|
167
|
+
TotalNoOfUsers: string;
|
|
167
168
|
ShowDetails: string;
|
|
168
169
|
UniqueUsers: {
|
|
169
170
|
UniqueUsers: string;
|
|
@@ -247,6 +248,8 @@ export declare module PageRollupLocalization {
|
|
|
247
248
|
};
|
|
248
249
|
Roller: {
|
|
249
250
|
Overlay: string;
|
|
251
|
+
Comments: string;
|
|
252
|
+
Likes: string;
|
|
250
253
|
};
|
|
251
254
|
ListingWithImage: {};
|
|
252
255
|
NavigationView: {
|
|
@@ -323,6 +326,7 @@ export declare module PageRollupLocalization {
|
|
|
323
326
|
ScheduledForPublishing: string;
|
|
324
327
|
UnpublishedChanges: string;
|
|
325
328
|
Default: string;
|
|
329
|
+
ScheduledForArchiving: string;
|
|
326
330
|
};
|
|
327
331
|
CalendarView: {
|
|
328
332
|
General: string;
|
|
@@ -330,6 +330,7 @@ export declare module PublishingAppLocalization {
|
|
|
330
330
|
SharepointSyncSettingsLabel: string;
|
|
331
331
|
OverrideSharepointSyncSettings: string;
|
|
332
332
|
EnableRedirectPageToOmnia: string;
|
|
333
|
+
EnablePromoteToViva: string;
|
|
333
334
|
PageSummary: string;
|
|
334
335
|
PageImage: string;
|
|
335
336
|
PageContent: string;
|
|
@@ -390,6 +391,7 @@ export declare module PublishingAppLocalization {
|
|
|
390
391
|
InvalidSiteUrlErrorMessage: string;
|
|
391
392
|
ExistedSiteUrlErrorMessage: string;
|
|
392
393
|
NoMatchingSPSiteTemplate: string;
|
|
394
|
+
MissingPermissionErrorMessage: string;
|
|
393
395
|
};
|
|
394
396
|
Actions: {
|
|
395
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,6 +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<ShowApprovalDialogMessage>;
|
|
20
21
|
static get showPageSendEmailDialogTopic(): MessageBusTopicMediator<void>;
|
|
21
22
|
static get showInviteCoAuthorsDialogTopic(): MessageBusTopicMediator<void>;
|
|
22
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 {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MultilingualString, SpacingSettings } from "@omnia/fx-models";
|
|
1
|
+
import { IIcon, MultilingualString, SpacingSettings } from "@omnia/fx-models";
|
|
2
2
|
import { MatomoSite } from "@omnia/workplace/models";
|
|
3
3
|
export interface AnalyticsLiveCounterBlockSettings {
|
|
4
4
|
blockTitle: MultilingualString;
|
|
@@ -8,6 +8,9 @@ export interface AnalyticsLiveCounterBlockSettings {
|
|
|
8
8
|
sub1Counter: string;
|
|
9
9
|
sub2Counter: string;
|
|
10
10
|
lastMinutes: number;
|
|
11
|
+
icon?: IIcon;
|
|
12
|
+
color?: string;
|
|
13
|
+
customTitle?: MultilingualString;
|
|
11
14
|
}
|
|
12
15
|
export interface AnalyticsLiveCounters {
|
|
13
16
|
visits: number;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { GuidValue, MultilingualString, SpacingSettings } from "@omnia/fx-models";
|
|
2
|
-
import {
|
|
2
|
+
import { AnalyticsPropertyFilter, MatomoSite, WidgetCategoryInfo, WidgetInfo } from "@omnia/workplace/models";
|
|
3
3
|
import { IAnalyticsReportViewSettings } from "./AnalyticsReportView";
|
|
4
|
+
import { WebsiteQueryType } from "./QuerySegmentType";
|
|
5
|
+
import { QuerySegmentSettings } from "./SegmentSettings";
|
|
4
6
|
export interface AnalyticsReportItem extends Record<string, any> {
|
|
5
7
|
}
|
|
6
8
|
export interface AnalyticsReportCommonBlockSettings {
|
|
@@ -22,6 +24,9 @@ export interface AnalyticsReportCommonBlockSettings {
|
|
|
22
24
|
selectedDate: string;
|
|
23
25
|
};
|
|
24
26
|
propertyFilters: AnalyticsPropertyFilter[];
|
|
27
|
+
isExpandRows?: boolean;
|
|
28
|
+
websiteQueryType?: WebsiteQueryType;
|
|
29
|
+
segmentSettings?: QuerySegmentSettings;
|
|
25
30
|
}
|
|
26
31
|
export interface AnalyticsReportColumn {
|
|
27
32
|
internalName: string;
|
|
@@ -37,4 +42,5 @@ export declare const AnalyticsReportColumnConstants: {
|
|
|
37
42
|
readonly titleLink: string;
|
|
38
43
|
readonly icon: string;
|
|
39
44
|
readonly openNewWindow: string;
|
|
45
|
+
readonly visitorFrequency: string;
|
|
40
46
|
};
|
|
@@ -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
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GuidValue } from "@omnia/fx/models";
|
|
2
2
|
import { AnalyticsColumn } from "@omnia/workplace/models";
|
|
3
|
+
import { AnalyticsReportExportsRequest } from "../../../analytics/shared";
|
|
3
4
|
import { AnalyticsReportCommonBlockSettings, AnalyticsReportItem } from "./AnalyticsReport";
|
|
4
5
|
export interface AnalyticsReportView {
|
|
5
6
|
id: GuidValue;
|
|
@@ -17,11 +18,18 @@ export interface IAnalyticsReportViewSettingsProperties {
|
|
|
17
18
|
export interface IAnalyticsReportViewDisplayProperties {
|
|
18
19
|
settings: AnalyticsReportCommonBlockSettings;
|
|
19
20
|
items: AnalyticsReportItem[];
|
|
20
|
-
offset?:
|
|
21
|
+
offset?: {
|
|
22
|
+
value: number;
|
|
23
|
+
};
|
|
21
24
|
allColumns: AnalyticsColumn[];
|
|
22
|
-
isLoadingData:
|
|
25
|
+
isLoadingData: {
|
|
26
|
+
value: boolean;
|
|
27
|
+
};
|
|
23
28
|
sortByChanged?: (sortKey: string, descending: boolean) => void;
|
|
24
29
|
offsetChanged: (offset: number) => void;
|
|
30
|
+
exportRequest?: AnalyticsReportExportsRequest;
|
|
31
|
+
selectedSortColumn?: SortSelection;
|
|
32
|
+
selectedSortOrder?: SortSelection;
|
|
25
33
|
}
|
|
26
34
|
export interface IAnalyticsReportViewSettings {
|
|
27
35
|
selectedSortColumn: SortSelection;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebsiteQueryType = void 0;
|
|
4
|
+
var WebsiteQueryType;
|
|
5
|
+
(function (WebsiteQueryType) {
|
|
6
|
+
WebsiteQueryType[WebsiteQueryType["Reports"] = 0] = "Reports";
|
|
7
|
+
WebsiteQueryType[WebsiteQueryType["Events"] = 1] = "Events";
|
|
8
|
+
})(WebsiteQueryType = exports.WebsiteQueryType || (exports.WebsiteQueryType = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface QuerySegmentSettings {
|
|
2
|
+
firstDimension?: FilterKey;
|
|
3
|
+
firstFilterValue?: string;
|
|
4
|
+
secondDimension?: FilterKey;
|
|
5
|
+
secondFilterValue?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare enum FilterKey {
|
|
8
|
+
eventCategory = "eventCategory",
|
|
9
|
+
eventAction = "eventAction",
|
|
10
|
+
eventName = "eventName"
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FilterKey = void 0;
|
|
4
|
+
var FilterKey;
|
|
5
|
+
(function (FilterKey) {
|
|
6
|
+
FilterKey["eventCategory"] = "eventCategory";
|
|
7
|
+
FilterKey["eventAction"] = "eventAction";
|
|
8
|
+
FilterKey["eventName"] = "eventName";
|
|
9
|
+
})(FilterKey = exports.FilterKey || (exports.FilterKey = {}));
|
|
@@ -6,3 +6,5 @@ tslib_1.__exportStar(require("./views"), exports);
|
|
|
6
6
|
tslib_1.__exportStar(require("./AnalyticsReportView"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./AnalyticsReport"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./AnalyticsLiveCounter"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./QuerySegmentType"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./SegmentSettings"), exports);
|
|
@@ -7,7 +7,7 @@ class CardView {
|
|
|
7
7
|
*/
|
|
8
8
|
constructor() {
|
|
9
9
|
this.id = "8f7325a6-6efc-4a06-b78d-1a299ce3d07d";
|
|
10
|
-
this.name = "$Localize:WCM.AnalyticsReport.Views.CardView.
|
|
10
|
+
this.name = "$Localize:WCM.AnalyticsReport.Views.CardView.MetricViewTitle;";
|
|
11
11
|
this.settingsElement = "wcm-analyticsreport-views-card-settings";
|
|
12
12
|
this.viewElement = "wcm-analyticsreport-views-card-display";
|
|
13
13
|
this.supportClassicPaging = true;
|