@omnia/wcm 7.8.1-preview → 7.8.3-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/Utils.d.ts +1 -0
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +9 -4
- package/internal-do-not-import-from-here/core/messaging/WcmPublicTopics.d.ts +1 -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/AnalyticsReport.d.ts +2 -0
- 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 +6 -0
- package/internal-do-not-import-from-here/fx/models/analytics/SegmentSettings.js +2 -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/components/ActionButtonBlock.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageTypeData.d.ts +2 -3
- package/internal-do-not-import-from-here/fx/models/pages/index.d.ts +0 -1
- package/internal-do-not-import-from-here/fx/models/pages/index.js +0 -1
- package/internal-do-not-import-from-here/fx/services/AiContentPageReportService.d.ts +4 -1
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
- package/package.json +1 -1
- package/internal-do-not-import-from-here/fx/models/pages/PageTypeAnalyticsSettings.d.ts +0 -15
- package/internal-do-not-import-from-here/fx/models/pages/PageTypeAnalyticsSettings.js +0 -13
|
@@ -24,6 +24,7 @@ export declare module Utils {
|
|
|
24
24
|
function updateQueryStringParameter(url: string, param: string, value: any): any;
|
|
25
25
|
function groupBy(array: Array<any>, key: string): any;
|
|
26
26
|
function findClosetValidContainerForAbsoluteElement(element: Element): any;
|
|
27
|
+
function ensureSpaceInDateString(dateString: string): string;
|
|
27
28
|
}
|
|
28
29
|
export declare module TreeUtils {
|
|
29
30
|
function removeTreeNode<T extends {
|
|
@@ -314,10 +314,6 @@ export declare module EditorLocalization {
|
|
|
314
314
|
SwitchPageType: string;
|
|
315
315
|
Analytics: {
|
|
316
316
|
Title: string;
|
|
317
|
-
EnableEventTracking: string;
|
|
318
|
-
EventCategory: string;
|
|
319
|
-
EventActions: string;
|
|
320
|
-
EventName: string;
|
|
321
317
|
};
|
|
322
318
|
};
|
|
323
319
|
ContentAnalysis: {
|
|
@@ -636,6 +632,15 @@ export declare module EditorLocalization {
|
|
|
636
632
|
Cancel: string;
|
|
637
633
|
ContentAnalysisTitle: string;
|
|
638
634
|
};
|
|
635
|
+
PrePublishContentAnalysis: {
|
|
636
|
+
Title: string;
|
|
637
|
+
EditPage: string;
|
|
638
|
+
FixPage: string;
|
|
639
|
+
Passed: string;
|
|
640
|
+
Failed: string;
|
|
641
|
+
ContinutePublishing: string;
|
|
642
|
+
ErrorMessage: string;
|
|
643
|
+
};
|
|
639
644
|
AddContent: {
|
|
640
645
|
Title: string;
|
|
641
646
|
SearchForABlock: string;
|
|
@@ -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<void>;
|
|
20
21
|
static get showPageSendEmailDialogTopic(): MessageBusTopicMediator<void>;
|
|
21
22
|
static get showInviteCoAuthorsDialogTopic(): MessageBusTopicMediator<void>;
|
|
22
23
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { GuidValue, MultilingualString, SpacingSettings } from "@omnia/fx-models";
|
|
2
2
|
import { WidgetCategoryInfo, WidgetInfo, MatomoSite, AnalyticsPropertyFilter } from "@omnia/workplace/models";
|
|
3
3
|
import { IAnalyticsReportViewSettings } from "./AnalyticsReportView";
|
|
4
|
+
import { SegmentSettings } from "./SegmentSettings";
|
|
4
5
|
export interface AnalyticsReportItem extends Record<string, any> {
|
|
5
6
|
}
|
|
6
7
|
export interface AnalyticsReportCommonBlockSettings {
|
|
@@ -22,6 +23,7 @@ export interface AnalyticsReportCommonBlockSettings {
|
|
|
22
23
|
selectedDate: string;
|
|
23
24
|
};
|
|
24
25
|
propertyFilters: AnalyticsPropertyFilter[];
|
|
26
|
+
segmentSettings?: SegmentSettings;
|
|
25
27
|
}
|
|
26
28
|
export interface AnalyticsReportColumn {
|
|
27
29
|
internalName: string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QuerySegmentType = void 0;
|
|
4
|
+
var QuerySegmentType;
|
|
5
|
+
(function (QuerySegmentType) {
|
|
6
|
+
QuerySegmentType[QuerySegmentType["NoFilter"] = 0] = "NoFilter";
|
|
7
|
+
QuerySegmentType[QuerySegmentType["Segment"] = 1] = "Segment";
|
|
8
|
+
})(QuerySegmentType = exports.QuerySegmentType || (exports.QuerySegmentType = {}));
|
|
@@ -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);
|
|
@@ -36,6 +36,8 @@ export interface IActionButtonHandlerInstance extends ActionHandlerInstance {
|
|
|
36
36
|
size: ButtonSizes;
|
|
37
37
|
icon?: IIcon;
|
|
38
38
|
iconPositionRight: boolean;
|
|
39
|
+
textAlignment?: HorizontalAlignments;
|
|
40
|
+
textUppercaseEnabled?: boolean;
|
|
39
41
|
}
|
|
40
42
|
export interface ActionButton extends ActionHandler {
|
|
41
43
|
bgColor: string;
|
|
@@ -47,6 +49,8 @@ export interface ActionButton extends ActionHandler {
|
|
|
47
49
|
size: ButtonSizes;
|
|
48
50
|
icon?: IIcon;
|
|
49
51
|
iconPositionRight: boolean;
|
|
52
|
+
textAlignment?: HorizontalAlignments;
|
|
53
|
+
textUppercaseEnabled?: boolean;
|
|
50
54
|
hidden?: false;
|
|
51
55
|
}
|
|
52
56
|
export interface PageCollectionSelectionValue {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { EnterprisePropertyDefinition, EnterprisePropertyItemSettings, GuidValue, Identity, MultilingualString, TimePeriodSettings } from "@omnia/fx-models";
|
|
1
|
+
import { EnterprisePropertyDefinition, EnterprisePropertyItemSettings, GuidValue, Identity, MultilingualString, TimePeriodSettings, AnalyticsSettings } from "@omnia/fx-models";
|
|
2
2
|
import { RichTextEditorExtension } from "@omnia/fx/ux/richtexteditor";
|
|
3
3
|
import { SharepointSyncPageSettings } from "../../../sp";
|
|
4
4
|
import { PageData } from "./PageData";
|
|
5
|
-
import { PageTypeAnalyticsSettings } from "./PageTypeAnalyticsSettings";
|
|
6
5
|
/**
|
|
7
6
|
* We should update to use nheritance interfaces pattern
|
|
8
7
|
* This model is not good (maybe be bad in the future if continues adding more properties) because :
|
|
@@ -39,7 +38,7 @@ export interface PageTypeData extends PageData {
|
|
|
39
38
|
propertiesSortOrder: string[];
|
|
40
39
|
sharepointSyncPageSettings?: SharepointSyncPageSettings;
|
|
41
40
|
automaticArchiveSettings: AutomaticArchiveSettings;
|
|
42
|
-
|
|
41
|
+
analyticsSettings?: AnalyticsSettings;
|
|
43
42
|
}
|
|
44
43
|
export interface PageTypeProperty extends EnterprisePropertyDefinition {
|
|
45
44
|
info: PageTypePropertyInfo;
|
|
@@ -45,4 +45,3 @@ tslib_1.__exportStar(require("./approval/TermDrivenApprovalData"), exports);
|
|
|
45
45
|
tslib_1.__exportStar(require("./approval/ApprovalMetaData"), exports);
|
|
46
46
|
tslib_1.__exportStar(require("./approval/VersionMetaData"), exports);
|
|
47
47
|
tslib_1.__exportStar(require("./PageCollectionDistributionChannel"), exports);
|
|
48
|
-
tslib_1.__exportStar(require("./PageTypeAnalyticsSettings"), exports);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { PageAiAnalysisReport, PageAiAnalysisReportAddRequest, PageAiAnalysisReportQuery, PageAiAnalysisReportSummary, PageId, PageAiAnalysisReportDetails, AiAnalysisReportPageSnapshot } from "../models";
|
|
1
|
+
import { PageAiAnalysisReport, PageAiAnalysisReportAddRequest, PageAiAnalysisReportQuery, PageAiAnalysisReportSummary, PageId, PageAiAnalysisReportDetails, AiAnalysisReportPageSnapshot, PageContentAnalysisResult } from "../models";
|
|
2
2
|
import { PageAiAnalysisPropertyRequest } from "../models/aipagecontentreport/PageAiAnalysisPropertyRequest";
|
|
3
|
+
import { FixPageContentAnalysisRequest } from "../models/aipagecontentreport/FixPageContentAnalysisRequest";
|
|
3
4
|
export declare class AiContentPageReportService {
|
|
4
5
|
private httpClient;
|
|
5
6
|
private readonly baseUrl;
|
|
@@ -8,6 +9,8 @@ export declare class AiContentPageReportService {
|
|
|
8
9
|
getReportSummary: (reportId: any) => Promise<PageAiAnalysisReportSummary>;
|
|
9
10
|
getReportSummaries: (payload: PageAiAnalysisReportQuery) => Promise<Array<PageAiAnalysisReportSummary>>;
|
|
10
11
|
getReportDetails: (reportId: number) => Promise<PageAiAnalysisReportDetails>;
|
|
12
|
+
analyzePageContent: (pageId: PageId) => Promise<Array<PageContentAnalysisResult>>;
|
|
13
|
+
fixPageContent: (payload: FixPageContentAnalysisRequest) => Promise<void>;
|
|
11
14
|
fixPage: (reportId: number, pageId: PageId) => Promise<void>;
|
|
12
15
|
getPageStatus: (reportId: number, pageId: PageId) => Promise<AiAnalysisReportPageSnapshot>;
|
|
13
16
|
getAnalyzeReasonResult: (payload: PageAiAnalysisPropertyRequest) => Promise<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['73f0116c-212c-4912-b780-d8df4ea3d78b']","content":{"./node_modules/@omnia/wcm/models/index.js":{"id":"0044f6fa-6f28-4130-9b07-649c0ab06fca","buildMeta":{"exportsType":"namespace"},"expo.js":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","AiContentReportPageStatus","AiContentReportStatus","AnalyticsReportColumnConstants","AnyoneApprovalData","AnyoneApprovalStep","ApplySettingsChangedStatus","ApprovalData","ApprovalMetaData","ApprovalStep","ApprovalType","AutomaticPageCreationStatusType","AvatarPosition","BannerBlockStyles","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","ButtonGroupings","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","ChannelCardViewStyles","ChannelRollupBlockAdministrationViewStyles","ChannelRollupBlockSettingsFilterTabStyles","ChannelRollupBlockSettingsGeneralTabStyles","ChannelRollupBlockStyles","ChildStructureType","ColleagueDialogContentStyles","CommentSorting","CommunityAppLayoutDefinition","CommunityPageActivityStyles","CommunityStyles","Constants","ContentBlockModes","ContentBlockStyles","CurrentNavigationBlockSettingsStyles","CurrentNavigationBlockStyles","CurrentNavigationStatus","CurrentPageStatus","DailyRecurrenceTypeEnums","DatePeriods","DeletedPageDialogStyles","DigitalSignageConstants","DigitalSignageManifests","DigitalSignageQuerySettingsType","DigitalSigningScreenType","Directions","DistributionChannelType","DocumentTypes","DynamicRollerSizes","DynamicRollerTypes","EnterpriseGlossaryPageInformationProviderStyles","EnterprisePropertiesBlockDateTimeModes","EnterprisePropertiesRichTextSettings","EnterprisePropertyDataTypeProvider","EnterprisePropertyDocumentProviderProperty","
|
|
1
|
+
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['73f0116c-212c-4912-b780-d8df4ea3d78b']","content":{"./node_modules/@omnia/wcm/models/index.js":{"id":"0044f6fa-6f28-4130-9b07-649c0ab06fca","buildMeta":{"exportsType":"namespace"},"expo.js":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","AiContentReportPageStatus","AiContentReportStatus","AnalyticsReportColumnConstants","AnyoneApprovalData","AnyoneApprovalStep","ApplySettingsChangedStatus","ApprovalData","ApprovalMetaData","ApprovalStep","ApprovalType","AutomaticPageCreationStatusType","AvatarPosition","BannerBlockStyles","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","ButtonGroupings","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","ChannelCardViewStyles","ChannelRollupBlockAdministrationViewStyles","ChannelRollupBlockSettingsFilterTabStyles","ChannelRollupBlockSettingsGeneralTabStyles","ChannelRollupBlockStyles","ChildStructureType","ColleagueDialogContentStyles","CommentSorting","CommunityAppLayoutDefinition","CommunityPageActivityStyles","CommunityStyles","Constants","ContentBlockModes","ContentBlockStyles","CurrentNavigationBlockSettingsStyles","CurrentNavigationBlockStyles","CurrentNavigationStatus","CurrentPageStatus","DailyRecurrenceTypeEnums","DatePeriods","DeletedPageDialogStyles","DigitalSignageConstants","DigitalSignageManifests","DigitalSignageQuerySettingsType","DigitalSigningScreenType","Directions","DistributionChannelType","DocumentTypes","DynamicRollerSizes","DynamicRollerTypes","EnterpriseGlossaryPageInformationProviderStyles","EnterprisePropertiesBlockDateTimeModes","EnterprisePropertiesRichTextSettings","EnterprisePropertyDataTypeProvider","EnterprisePropertyDocumentProviderProperty","EventAttedeeType","EventCloneDialogContentStyles","EventParticipantCounterBlockStyles","EventParticipantListEnums","EventParticipantListStyles","EventParticipantListViewStyles","FileUploaderWCMPageContext","HtmlScriptBlockStyle","InfoScreenConstants","InfoScreenManifests","InfoScreenViewIdConstants","ItemQueryEnums","LabelPositions","LimitedUserApprovalData","LimitedUserApprovalStep","LinkPickerStyle","ListView","MediaBlockStyles","MediaPickerStorageProviderPageContext","MediaPickerStorageProviderPageCreationContext","MediaPickerStorageProviderPageReadContext","MediaPickerStorageProviderWCMChannelAdminContext","MediaRollupConstants","MediaRollupStyles","MediaRollupThumbnailSize","MediaRollupType","MegaMenuStyles","MessageType","MicrosoftSearch","MobileNavigationNodeStyles","MobileNavigationStyles","MonthlyRecurrenceTypeEnums","MoveNavigationNodeType","MovePageCollectionDialogStyles","MsSearchFieldsConstants","MultiApprovalData","NavigationDataType","NavigationNodeQuery","NavigationNodeStyles","NavigationNodeType","NavigationRenders","NodeId","OmniaSearchConstants","OpenDocumentOptions","Operator","OutlookCalendarType","PageBuiltInColumnConstants","PageCalendarViewMode","PageCollectionDisplaySettings","PageCollectionPropertyDefinition","PageCollectionPropertyDefinitionId","PageCollectionPropertyValue","PageCollectionTopic","PageDataType","PageFeedbackBlockStyles","PageFeedbackDialogStyles","PageFeedbacksStyles","PageFile","PageId","PageItemTemplateStyles","PageNavigationDirection","PagePickerNodeStyles","PagePickerProviderStyles","PagePropertiesBlockAdvancedStyles","PagePropertiesBlockStyles","PageRollUpDialogViewStyles","PageRollupBlockCalendarViewSettingsStyles","PageRollupBlockCalendarViewStyles","PageRollupBlockCardViewSettingsStyles","PageRollupBlockListViewSettingsStyles","PageRollupBlockListViewViewStyles","PageRollupBlockListingWithImageViewViewStyles","PageRollupBlockRollerViewViewStyles","PageRollupBlockSettingsFilterTabStyles","PageRollupBlockSettingsGeneralTabStyles","PageRollupBlockStyles","PageRollupConstants","PageRollupEnums","PageRollupFilterEngineContextPropertyTypes","PageRollupListViewSettingsStyles","PageRollupListViewStyles","PageRollupListingPickedPagesStyles","PageRollupNavigationViewStyles","PageRollupNewsletterViewStyles","PageRollupPickedPagesDialogStyles","PageRollupUniqueUsersDetailsStyles","PageTopic","PageTypeDisplaySettings","PageTypePropertyDefinition","PageTypePropertyDefinitionId","PageTypePropertyValue","PagesDashboardSettingsStyles","PagingTypes","Parameters","ParticipantType","PendingFileStatus","PersonPropertyApprovalData","PersonPropertyApprovalStep","PhotowallView","PublishingAppArchiveSettingsRouteProperty","PublishingAppBootRouteProperty","PublishingAppDisplaySettings","PublishingAppLayoutDefinition","PublishingAppPropertyDefinition","PublishingAppPropertyDefinitionId","PublishingAppPropertyValue","PublishingAppReuseContentSettingsRouteProperty","PublishingAppTopic","PublishingChannelId","PublishingChannelTopic","PublishingStatus","QrCodeStyles","QueryScope","QuerySegmentType","QueryValueOptions","RecurrenceTypeEnums","RelatedLinkAddHeadingDialogStyles","RelatedLinkBlockStyles","RelatedLinkEditFormStyles","ReportTypesEnum","ResourceEvaluators","ReusablePageStatusType","ReuseContentMode","RoleDefinitions","RootService","RssReaderBlockLeftImageViewStyles","RssReaderBlockNoImageViewStyles","RssReaderBlockStyles","RuleStatus","RuleTypes","ScheduleEndTypeEnums","SearchTemplateOmniaPageStyles","SelectedPageItemStyles","SharePointLibrary","SharepointPageTemplateStyles","SignOffRequestBlockStyles","SignOffRequestConstants","SortByProperties","SpsSearch","StatisticsPerPageDataSourcesEnum","TableView","TagTopic","TaxonomyFilterType","TaxonomyNavigationStyles","TaxonomyTopic","TermDrivenApprovalData","TermDrivenApprovalStep","TopicInformationType","TopicType","UserTopic","ValidationArchivePageResult","VariationId","VariationInputStyles","VariationsRouteProperty","VersionId","VersionMetaData","VersionType","VersionUpdationMode","VideoType","WCMEnterpriseProperties","WCMFxLocalization","WCMGlossary","WCMGlossaryType","WCMGlossaryVariation","WCMNavigationDataTypes","WCMPageIdCustomPropertyName","WCMPageTypes","WCMReaderContext","WcmAppDefaultResourceUrl","WcmEditorDynamicNavigationRouteProperty","WcmExtension","WcmGroupManifests","WcmLayoutProvider","WcmPropertyDefaultBooleanValues","WcmPropertyDefaultValues","WcmResourceManifests","WcmService","WcmWebComponentManifests","WebBrowserDigitalSigningScreenStepType","WeekOfMonthEnums","WelcomeBlockStyles","WorkplaceService","YammerProperties","layoutItemAction"]}}}
|
package/package.json
CHANGED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare enum EventAction {
|
|
2
|
-
AddComment = 0,
|
|
3
|
-
AddReaction = 1,
|
|
4
|
-
AddCommentReply = 2,
|
|
5
|
-
AddCommentReaction = 3,
|
|
6
|
-
Share = 4,
|
|
7
|
-
Rate = 5,
|
|
8
|
-
BestReply = 6
|
|
9
|
-
}
|
|
10
|
-
export interface PageTypeAnalyticsSettings {
|
|
11
|
-
enableEventTracking: boolean;
|
|
12
|
-
eventCategory: string;
|
|
13
|
-
eventName: string;
|
|
14
|
-
eventActions: Array<EventAction>;
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EventAction = void 0;
|
|
4
|
-
var EventAction;
|
|
5
|
-
(function (EventAction) {
|
|
6
|
-
EventAction[EventAction["AddComment"] = 0] = "AddComment";
|
|
7
|
-
EventAction[EventAction["AddReaction"] = 1] = "AddReaction";
|
|
8
|
-
EventAction[EventAction["AddCommentReply"] = 2] = "AddCommentReply";
|
|
9
|
-
EventAction[EventAction["AddCommentReaction"] = 3] = "AddCommentReaction";
|
|
10
|
-
EventAction[EventAction["Share"] = 4] = "Share";
|
|
11
|
-
EventAction[EventAction["Rate"] = 5] = "Rate";
|
|
12
|
-
EventAction[EventAction["BestReply"] = 6] = "BestReply";
|
|
13
|
-
})(EventAction = exports.EventAction || (exports.EventAction = {}));
|