@omnia/wcm 7.8.19-preview → 7.8.23-preview
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/internal-do-not-import-from-here/core/Constants.d.ts +8 -0
- package/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +13 -0
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +8 -0
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +1 -0
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +3 -3
- package/internal-do-not-import-from-here/core/loc/TokensLocalization.d.ts +2 -0
- package/internal-do-not-import-from-here/core/pagetypeanalytics/AnalyticsEventConstants.d.ts +14 -0
- package/internal-do-not-import-from-here/core/pagetypeanalytics/AnalyticsHelper.d.ts +11 -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/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 +2 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.js +2 -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 +6 -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 +1 -0
- package/internal-do-not-import-from-here/fx/services/PageService.d.ts +1 -1
- 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,11 @@ export declare class WcmCoreConstants {
|
|
|
22
23
|
static get Newsletter(): {
|
|
23
24
|
SuffixDoneElement: string;
|
|
24
25
|
};
|
|
26
|
+
static get SemanticSearchReferenceType(): {
|
|
27
|
+
page: Guid;
|
|
28
|
+
builtinProperty: {
|
|
29
|
+
pageType: string;
|
|
30
|
+
publishingApp: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
25
33
|
}
|
|
@@ -265,5 +265,18 @@ export declare module WCMCoreLocalization {
|
|
|
265
265
|
DataTypeProvider: {
|
|
266
266
|
Document: string;
|
|
267
267
|
};
|
|
268
|
+
SemanticSearch: {
|
|
269
|
+
WebContentManagment: string;
|
|
270
|
+
BuiltinProperty: {
|
|
271
|
+
PublishingApp: {
|
|
272
|
+
Title: string;
|
|
273
|
+
Type: string;
|
|
274
|
+
};
|
|
275
|
+
PageType: {
|
|
276
|
+
Title: string;
|
|
277
|
+
Type: string;
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
};
|
|
268
281
|
}
|
|
269
282
|
}
|
|
@@ -553,6 +553,14 @@ export declare module EditorLocalization {
|
|
|
553
553
|
EnableOpenAI: string;
|
|
554
554
|
ImageRatio: string;
|
|
555
555
|
};
|
|
556
|
+
SemanticSearch: {
|
|
557
|
+
Title: string;
|
|
558
|
+
EnableSemanticSearch: string;
|
|
559
|
+
SemanticSearchEnableConfirmation: {
|
|
560
|
+
Title: string;
|
|
561
|
+
Message: string;
|
|
562
|
+
};
|
|
563
|
+
};
|
|
556
564
|
};
|
|
557
565
|
Dialogs: {
|
|
558
566
|
MoveToTenant: {
|
|
@@ -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;
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventAction } from "@omnia/fx-models";
|
|
2
|
+
export declare class AnalyticsHelper {
|
|
3
|
+
private replaceToken;
|
|
4
|
+
private currentPageStore;
|
|
5
|
+
private analyticsService;
|
|
6
|
+
private analyticsSettings;
|
|
7
|
+
private getAnalyticsSettingsFromPageTypes;
|
|
8
|
+
replaceEventToken(source: string, fallBackDefault?: string): Promise<string>;
|
|
9
|
+
private findAndReplaceUnresolveToken;
|
|
10
|
+
registerAction(action: EventAction, actionValue?: number): void;
|
|
11
|
+
}
|
package/internal-do-not-import-from-here/core/pagetypeanalytics/pagetypeanalytics.manifest.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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;
|
|
@@ -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 {
|
|
@@ -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,9 +18,13 @@ 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;
|
|
@@ -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) {
|
|
@@ -44,6 +44,7 @@ export interface PageCollectionData extends PlainPageData {
|
|
|
44
44
|
enableOpenAISetting: boolean;
|
|
45
45
|
openAIPropertiesMapping?: OpenAIPropertiesMapping;
|
|
46
46
|
imgPropOpenAIRatioUniqueId?: GuidValue;
|
|
47
|
+
semanticSearchEnabled: boolean;
|
|
47
48
|
/**
|
|
48
49
|
* This property is used as inital value for creating Page Collection Navigation Node.
|
|
49
50
|
* */
|
|
@@ -84,7 +84,7 @@ export declare class PageService {
|
|
|
84
84
|
*/
|
|
85
85
|
mergeVersionWithParentLayoutLayouts: (versionRef: VersionReference, layoutLatestPublishedVersionId?: number) => Promise<MergedPageVersionLayout>;
|
|
86
86
|
checkSharepointPageExist: (spPageId: number) => Promise<boolean>;
|
|
87
|
-
getVersionInformation: (pageId: PageId) => Promise<Array<VersionInformation>>;
|
|
87
|
+
getVersionInformation: (pageId: PageId, publishingAppId?: string) => Promise<Array<VersionInformation>>;
|
|
88
88
|
revert: <T extends PageData>(versiontoRevert: VersionedPageData<T>) => Promise<VersionedPageData<T>>;
|
|
89
89
|
getPageCollectionSelection: (fromPublishingAppId: string, fromPageCollectionIds?: Array<string>) => Promise<ApiResponse<PageCollectionSelection[]>>;
|
|
90
90
|
private tempFixDateTimeFormatInEnterpriseProperty;
|