@omnia/wcm 6.12.14-preview → 6.12.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 +3 -0
- package/internal-do-not-import-from-here/core/Utils.d.ts +1 -0
- package/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +2 -2
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +12 -1
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +22 -4
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +20 -4
- package/internal-do-not-import-from-here/core/messaging/WcmPublicTopics.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/constants.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/internal/models/SharepointSynchronizedEvent.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/internal/services/SharepointPageService.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/messaging/PublicWcmTopics.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +5 -1
- package/internal-do-not-import-from-here/fx/models/Constants.js +10 -4
- package/internal-do-not-import-from-here/fx/models/Enums.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/Enums.js +1 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.js +26 -0
- package/internal-do-not-import-from-here/fx/models/apps/AppTemplateProperties.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/apps/PublishingAppInfo.d.ts +15 -0
- package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.d.ts +3 -2
- package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.js +2 -2
- package/internal-do-not-import-from-here/fx/models/channels/PublishingChannel.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlock.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/ContentBlock.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/LinkPicker.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/components/LinkPickerStyles.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +11 -1
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlockStyles.d.ts +20 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlockStyles.js +1 -0
- package/internal-do-not-import-from-here/fx/models/components/QrCodeStyles.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/components/QrCodeStyles.js +1 -0
- package/internal-do-not-import-from-here/fx/models/components/RelatedLinkBlock.d.ts +0 -1
- package/internal-do-not-import-from-here/fx/models/components/SignOffRequestBlockStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignagePageQuerySettings.d.ts +18 -2
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignagePageQuerySettings.js +5 -1
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageSettingsBase.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningPageRollupViewSettings.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenSettings.d.ts +32 -5
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenSettings.js +10 -1
- package/internal-do-not-import-from-here/fx/models/digitalsignage/index.d.ts +0 -4
- package/internal-do-not-import-from-here/fx/models/digitalsignage/index.js +0 -4
- package/internal-do-not-import-from-here/fx/models/fileuploader/FileUploaderProviderContext.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/governancedashboard/UserPropertyMetricsSettings.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/CardViewSettings.d.ts +2 -14
- package/internal-do-not-import-from-here/fx/models/pagequery/CardViewSettings.js +0 -12
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +2 -2
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupQuery.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/pages/ArchivePageResult.d.ts +1 -2
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageTypeTitle.d.ts +10 -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/propertybags/approutes/WcmEditorDynamicNavigationRouteProperty.d.ts +11 -0
- package/internal-do-not-import-from-here/fx/models/propertybags/approutes/WcmEditorDynamicNavigationRouteProperty.js +11 -0
- package/internal-do-not-import-from-here/fx/models/propertybags/approutes/index.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/models/propertybags/approutes/index.js +1 -1
- package/internal-do-not-import-from-here/fx/models/query/PageQuery.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/social/Achievement.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/services/ChannelManagementService.d.ts +5 -4
- package/internal-do-not-import-from-here/fx/services/PageQueryService.d.ts +3 -4
- package/internal-do-not-import-from-here/fx/services/PageService.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/services/PageStatisticsService.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/stores/ChannelCategoriesStore.d.ts +5 -1
- package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +6 -1
- package/internal-do-not-import-from-here/fx/stores/CreatePageFormStore.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +18 -12
- package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +34 -9
- package/internal-do-not-import-from-here/fx/stores/PublishingAppInfoStore.d.ts +10 -2
- package/internal-do-not-import-from-here/fx/stores/PublishingRuleStore.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/ux/InternalUxCore.d.ts +2 -2
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/digitalsignage/DigitalSignageLayoutDefinition.d.ts +4 -0
- package/internal-do-not-import-from-here/models/digitalsignage/DigitalSignageLayoutDefinition.js +10 -0
- package/internal-do-not-import-from-here/models/digitalsignage/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/digitalsignage/index.js +1 -0
- package/internal-do-not-import-from-here/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/index.js +1 -0
- package/internal-do-not-import-from-here/models/pagestatistics/Reports.d.ts +6 -2
- package/internal-do-not-import-from-here/models/publishingapp/PublishingAppSettings.d.ts +19 -5
- package/internal-do-not-import-from-here/models/publishingapp/PublishingAppSettings.js +8 -1
- package/package.json +1 -1
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageEnums.d.ts +0 -10
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageEnums.js +0 -12
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageJsonViewSettings.d.ts +0 -5
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningHtmlViewSettings.d.ts +0 -7
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningHtmlViewSettings.js +0 -1
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenForRender.d.ts +0 -6
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenForRender.js +0 -1
- package/internal-do-not-import-from-here/fx/models/propertybags/approutes/AppDocumentsConfigurationRouteProperty.d.ts +0 -5
- package/internal-do-not-import-from-here/fx/models/propertybags/approutes/AppDocumentsConfigurationRouteProperty.js +0 -11
- /package/internal-do-not-import-from-here/fx/models/{digitalsignage/DigitalSignageJsonViewSettings.js → pages/PageTypeTitle.js} +0 -0
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { GuidValue } from "@omnia/fx-models";
|
|
2
|
-
import { DigitalSignageSettingsBase, PageItemNode, PageQuery, PageRollupEnums, PageRollupPropertyFilter, PageRollupUiFilter, PagingTypes } from "@omnia/wcm/models";
|
|
3
|
-
export
|
|
2
|
+
import { DigitalSignageJsonProp, DigitalSignagePageRollupViewSettings, DigitalSignageSettingsBase, PageItemNode, PageQuery, PageRollupEnums, PageRollupPropertyFilter, PageRollupUiFilter, PagingTypes } from "@omnia/wcm/models";
|
|
3
|
+
export declare enum DigitalSignageQuerySettingsType {
|
|
4
|
+
PageRollup = 0,
|
|
5
|
+
JsonQuery = 1
|
|
6
|
+
}
|
|
7
|
+
export interface DigitalSignageQuerySettings extends DigitalSignageSettingsBase {
|
|
4
8
|
scope: PageRollupEnums.RollupScopes;
|
|
5
9
|
excludeCurrentPage: boolean;
|
|
6
10
|
excludeVariations: boolean;
|
|
@@ -32,4 +36,16 @@ export interface DigitalSignagePageQuerySettings extends DigitalSignageSettingsB
|
|
|
32
36
|
excludeStartNode: boolean;
|
|
33
37
|
priority: number;
|
|
34
38
|
trimDuplicates: boolean;
|
|
39
|
+
type: DigitalSignageQuerySettingsType;
|
|
40
|
+
}
|
|
41
|
+
export interface DigitalSignagePageRollupSettings extends DigitalSignageQuerySettings {
|
|
42
|
+
type: DigitalSignageQuerySettingsType.PageRollup;
|
|
43
|
+
selectedViewId: string;
|
|
44
|
+
selectProperties: string[];
|
|
45
|
+
pageRollupSettings: DigitalSignagePageRollupViewSettings;
|
|
46
|
+
}
|
|
47
|
+
export interface DigitalSignageJsonQuerySettings extends DigitalSignageQuerySettings {
|
|
48
|
+
type: DigitalSignageQuerySettingsType.JsonQuery;
|
|
49
|
+
embedImages: boolean;
|
|
50
|
+
jsonProps: DigitalSignageJsonProp[];
|
|
35
51
|
}
|
package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignagePageQuerySettings.js
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var DigitalSignageQuerySettingsType;
|
|
2
|
+
(function (DigitalSignageQuerySettingsType) {
|
|
3
|
+
DigitalSignageQuerySettingsType[DigitalSignageQuerySettingsType["PageRollup"] = 0] = "PageRollup";
|
|
4
|
+
DigitalSignageQuerySettingsType[DigitalSignageQuerySettingsType["JsonQuery"] = 1] = "JsonQuery";
|
|
5
|
+
})(DigitalSignageQuerySettingsType || (DigitalSignageQuerySettingsType = {}));
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { GuidValue } from "@omnia/fx/models";
|
|
1
2
|
import { PageRollupViewSettings } from "../components";
|
|
2
3
|
export interface DigitalSignagePageRollupViewSettings extends PageRollupViewSettings {
|
|
3
4
|
titleProp: string;
|
|
4
5
|
descriptionProp: string;
|
|
5
6
|
imageProp: string;
|
|
7
|
+
imagePropRatioUniqueId: GuidValue;
|
|
6
8
|
summaryProp: string;
|
|
7
9
|
createdBy: string;
|
|
8
10
|
createdAt: string;
|
|
@@ -19,4 +21,9 @@ export interface DigitalSignagePageRollupViewSettings extends PageRollupViewSett
|
|
|
19
21
|
waitAfterStopScrolling: number;
|
|
20
22
|
showLikesComments: boolean;
|
|
21
23
|
scrollWholePage: boolean;
|
|
24
|
+
qrCodeText?: string;
|
|
25
|
+
qrCodeVisibility?: boolean;
|
|
26
|
+
qrCodePosition?: string;
|
|
27
|
+
qrCodeSize?: number;
|
|
28
|
+
textColumnWidth?: number;
|
|
22
29
|
}
|
package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenSettings.d.ts
CHANGED
|
@@ -1,9 +1,36 @@
|
|
|
1
|
-
import { GuidValue } from "@omnia/fx-models";
|
|
2
|
-
import {
|
|
1
|
+
import { AppInstanceLayoutId, GuidValue } from "@omnia/fx-models";
|
|
2
|
+
import { DigitalSignageJsonQuerySettings } from "@omnia/wcm/models";
|
|
3
3
|
import { DigitalSignageSettingsBase } from "./DigitalSignageSettingsBase";
|
|
4
|
+
export declare enum DigitalSigningScreenType {
|
|
5
|
+
WebBrowser = 0,
|
|
6
|
+
ThirdPartyClient = 1
|
|
7
|
+
}
|
|
8
|
+
export declare enum WebBrowserDigitalSigningScreenStepType {
|
|
9
|
+
PageRollup = 0,
|
|
10
|
+
Layout = 1
|
|
11
|
+
}
|
|
4
12
|
export interface DigitalSigningScreenSettings extends DigitalSignageSettingsBase {
|
|
5
13
|
key: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
14
|
+
screenType: DigitalSigningScreenType;
|
|
15
|
+
}
|
|
16
|
+
export interface WebBrowserDigitalSigningScreenSettings extends DigitalSigningScreenSettings {
|
|
17
|
+
screenType: DigitalSigningScreenType.WebBrowser;
|
|
18
|
+
steps: WebBrowserDigitalSigningScreenStep[];
|
|
19
|
+
}
|
|
20
|
+
export interface ThirdPartyClientDigitalSigningScreenSettings extends DigitalSigningScreenSettings {
|
|
21
|
+
screenType: DigitalSigningScreenType.ThirdPartyClient;
|
|
22
|
+
query: DigitalSignageJsonQuerySettings;
|
|
23
|
+
}
|
|
24
|
+
export interface WebBrowserDigitalSigningScreenStep {
|
|
25
|
+
id: GuidValue;
|
|
26
|
+
type: WebBrowserDigitalSigningScreenStepType;
|
|
27
|
+
}
|
|
28
|
+
export interface WebBrowserDigitalSigningScreenPageRollupStep extends WebBrowserDigitalSigningScreenStep {
|
|
29
|
+
type: WebBrowserDigitalSigningScreenStepType.PageRollup;
|
|
30
|
+
pageRollupId: GuidValue;
|
|
31
|
+
}
|
|
32
|
+
export interface WebBrowserDigitalSigningScreenLayoutStep extends WebBrowserDigitalSigningScreenStep {
|
|
33
|
+
type: WebBrowserDigitalSigningScreenStepType.Layout;
|
|
34
|
+
layoutId: AppInstanceLayoutId;
|
|
35
|
+
time: number;
|
|
9
36
|
}
|
package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenSettings.js
CHANGED
|
@@ -1 +1,10 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var DigitalSigningScreenType;
|
|
2
|
+
(function (DigitalSigningScreenType) {
|
|
3
|
+
DigitalSigningScreenType[DigitalSigningScreenType["WebBrowser"] = 0] = "WebBrowser";
|
|
4
|
+
DigitalSigningScreenType[DigitalSigningScreenType["ThirdPartyClient"] = 1] = "ThirdPartyClient";
|
|
5
|
+
})(DigitalSigningScreenType || (DigitalSigningScreenType = {}));
|
|
6
|
+
export var WebBrowserDigitalSigningScreenStepType;
|
|
7
|
+
(function (WebBrowserDigitalSigningScreenStepType) {
|
|
8
|
+
WebBrowserDigitalSigningScreenStepType[WebBrowserDigitalSigningScreenStepType["PageRollup"] = 0] = "PageRollup";
|
|
9
|
+
WebBrowserDigitalSigningScreenStepType[WebBrowserDigitalSigningScreenStepType["Layout"] = 1] = "Layout";
|
|
10
|
+
})(WebBrowserDigitalSigningScreenStepType || (WebBrowserDigitalSigningScreenStepType = {}));
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
export * from './DigitalSignageEnums';
|
|
2
1
|
export * from './DigitalSignageJsonProp';
|
|
3
2
|
export * from './DigitalSignageSettingsBase';
|
|
4
|
-
export * from './DigitalSignageJsonViewSettings';
|
|
5
3
|
export * from './DigitalSignagePageQuerySettings';
|
|
6
|
-
export * from './DigitalSigningHtmlViewSettings';
|
|
7
4
|
export * from './DigitalSigningScreenSettings';
|
|
8
5
|
export * from './DigitalSigningHtmlViewRegistration';
|
|
9
|
-
export * from './DigitalSigningScreenForRender';
|
|
10
6
|
export * from './DigitalSigningPageRollupViewSettings';
|
|
11
7
|
export * from './PageDetailsQueryResultForDigitalScreen';
|
|
12
8
|
export * from './Announcement';
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
export * from './DigitalSignageEnums';
|
|
2
1
|
export * from './DigitalSignageJsonProp';
|
|
3
2
|
export * from './DigitalSignageSettingsBase';
|
|
4
|
-
export * from './DigitalSignageJsonViewSettings';
|
|
5
3
|
export * from './DigitalSignagePageQuerySettings';
|
|
6
|
-
export * from './DigitalSigningHtmlViewSettings';
|
|
7
4
|
export * from './DigitalSigningScreenSettings';
|
|
8
5
|
export * from './DigitalSigningHtmlViewRegistration';
|
|
9
|
-
export * from './DigitalSigningScreenForRender';
|
|
10
6
|
export * from './DigitalSigningPageRollupViewSettings';
|
|
11
7
|
export * from './PageDetailsQueryResultForDigitalScreen';
|
|
12
8
|
export * from './Announcement';
|
package/internal-do-not-import-from-here/fx/models/fileuploader/FileUploaderProviderContext.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FilePickerStorageProviderContext, GuidValue } from "@omnia/fx-models";
|
|
2
2
|
import { VersionId } from "../pages";
|
|
3
|
-
export declare class FileUploaderWCMPageContext implements
|
|
3
|
+
export declare class FileUploaderWCMPageContext implements FilePickerStorageProviderContext {
|
|
4
4
|
readonly omniaServiceId: GuidValue;
|
|
5
5
|
readonly metadataTypeId: GuidValue;
|
|
6
6
|
fileName: string;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
export interface UserPropertyMetricsSettings {
|
|
2
2
|
targetingPropertyInternalNames: string[];
|
|
3
|
+
userTargetingProperties?: UserTargetingProperty[];
|
|
4
|
+
}
|
|
5
|
+
export interface UserTargetingProperty {
|
|
6
|
+
enterprisePropertyInternalName: string;
|
|
7
|
+
targetingPropertyIds: string[];
|
|
3
8
|
}
|
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
import { PageRollupViewSettings } from '..';
|
|
2
|
-
import { SpacingSettings, GuidValue, PropertyIndexedType } from '@omnia/fx-models';
|
|
2
|
+
import { SpacingSettings, GuidValue, PropertyIndexedType, Positions } from '@omnia/fx-models';
|
|
3
3
|
import { CardTypes } from './CardViewEnums';
|
|
4
|
-
declare enum Positions {
|
|
5
|
-
Left = 1,
|
|
6
|
-
Right = 2,
|
|
7
|
-
Top = 3,
|
|
8
|
-
Bottom = 4,
|
|
9
|
-
TopLeft = 5,
|
|
10
|
-
TopRight = 6,
|
|
11
|
-
BottomLeft = 7,
|
|
12
|
-
BottomRight = 8
|
|
13
|
-
}
|
|
14
4
|
export interface CardViewSettings extends PageRollupViewSettings {
|
|
15
5
|
imageProp: string;
|
|
16
6
|
dateProp: string;
|
|
@@ -19,7 +9,7 @@ export interface CardViewSettings extends PageRollupViewSettings {
|
|
|
19
9
|
termProps: Array<CardViewTermProperty>;
|
|
20
10
|
showLikesComments: boolean;
|
|
21
11
|
showRating: boolean;
|
|
22
|
-
|
|
12
|
+
showLastActivity?: boolean;
|
|
23
13
|
elevation: number;
|
|
24
14
|
cardsPerRow: number;
|
|
25
15
|
staticTitleSize: boolean;
|
|
@@ -46,11 +36,9 @@ export interface PropertyPositions {
|
|
|
46
36
|
personProp: Positions;
|
|
47
37
|
termProps: Positions;
|
|
48
38
|
likesComments: Positions;
|
|
49
|
-
pageType: Positions;
|
|
50
39
|
}
|
|
51
40
|
export interface CardViewTermProperty {
|
|
52
41
|
internalName: string;
|
|
53
42
|
type: PropertyIndexedType;
|
|
54
43
|
showLabel: boolean;
|
|
55
44
|
}
|
|
56
|
-
export {};
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
//[buZvGra0] ToDo: update Omnia package
|
|
2
|
-
var Positions;
|
|
3
|
-
(function (Positions) {
|
|
4
|
-
Positions[Positions["Left"] = 1] = "Left";
|
|
5
|
-
Positions[Positions["Right"] = 2] = "Right";
|
|
6
|
-
Positions[Positions["Top"] = 3] = "Top";
|
|
7
|
-
Positions[Positions["Bottom"] = 4] = "Bottom";
|
|
8
|
-
Positions[Positions["TopLeft"] = 5] = "TopLeft";
|
|
9
|
-
Positions[Positions["TopRight"] = 6] = "TopRight";
|
|
10
|
-
Positions[Positions["BottomLeft"] = 7] = "BottomLeft";
|
|
11
|
-
Positions[Positions["BottomRight"] = 8] = "BottomRight";
|
|
12
|
-
})(Positions || (Positions = {}));
|
|
13
1
|
export {};
|
|
@@ -5,8 +5,8 @@ export var PageRollupEnums;
|
|
|
5
5
|
DatePeriods[DatePeriods["OneWeekFromToday"] = 1] = "OneWeekFromToday";
|
|
6
6
|
DatePeriods[DatePeriods["TwoWeeksFromToday"] = 2] = "TwoWeeksFromToday";
|
|
7
7
|
DatePeriods[DatePeriods["OneMonthFromToday"] = 3] = "OneMonthFromToday";
|
|
8
|
-
DatePeriods[DatePeriods["
|
|
9
|
-
DatePeriods[DatePeriods["
|
|
8
|
+
DatePeriods[DatePeriods["LaterThanToday"] = 4] = "LaterThanToday";
|
|
9
|
+
DatePeriods[DatePeriods["EarlierThanToday"] = 5] = "EarlierThanToday";
|
|
10
10
|
})(DatePeriods = PageRollupEnums.DatePeriods || (PageRollupEnums.DatePeriods = {}));
|
|
11
11
|
var FilterTypes;
|
|
12
12
|
(function (FilterTypes) {
|
package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts
CHANGED
|
@@ -17,6 +17,10 @@ export interface ListViewMediaColumn extends ListViewColumn {
|
|
|
17
17
|
type: PropertyIndexedType.Media;
|
|
18
18
|
imagePropRatioUniqueId?: GuidValue;
|
|
19
19
|
}
|
|
20
|
+
export interface ListViewUniqueUsersDetailsColumn extends ListViewColumn {
|
|
21
|
+
targetNoOfUsers?: number;
|
|
22
|
+
showDetails?: boolean;
|
|
23
|
+
}
|
|
20
24
|
export interface PageRollupListViewSettings extends PageRollupViewSettings {
|
|
21
25
|
columns: Array<ListViewColumn>;
|
|
22
26
|
navigationStartNodeId?: number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PageQuery, PageDetailQueryResult, PageId } from '..';
|
|
2
|
+
import { GuidValue } from '@omnia/fx-models';
|
|
2
3
|
import { PageRollupEnums } from './PageRollupEnums';
|
|
3
4
|
export interface PageRollupQuery {
|
|
4
5
|
uniqueKey: string;
|
|
@@ -38,6 +39,10 @@ export interface ExportQueryPagesRequest extends BatchQueryPages {
|
|
|
38
39
|
[internalName: string]: string;
|
|
39
40
|
};
|
|
40
41
|
}
|
|
42
|
+
export interface ExportQueryPagesResult {
|
|
43
|
+
fileToken: string;
|
|
44
|
+
queueMessageId: GuidValue;
|
|
45
|
+
}
|
|
41
46
|
export interface BatchQueryPagesResult {
|
|
42
47
|
pagesDetail: PageDetailQueryResult[];
|
|
43
48
|
batchQueryResult: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { GuidValue } from '@omnia/fx-models';
|
|
2
1
|
import { PageId } from './Page';
|
|
3
2
|
export declare enum ValidationArchivePageResult {
|
|
4
3
|
NotAllowed = 0,
|
|
@@ -6,7 +5,7 @@ export declare enum ValidationArchivePageResult {
|
|
|
6
5
|
AdditionalActionRequired = 2
|
|
7
6
|
}
|
|
8
7
|
export interface ArchivePageResult {
|
|
9
|
-
|
|
8
|
+
versionId: number;
|
|
10
9
|
softDeletedPageIds: Array<PageId>;
|
|
11
10
|
softDeletedAt: string;
|
|
12
11
|
}
|
|
@@ -31,6 +31,7 @@ export interface PageCollectionData extends PlainPageData {
|
|
|
31
31
|
enablePublishingToChannel: boolean;
|
|
32
32
|
yammerIntegrationRules: Array<YammerIntegrationRule>;
|
|
33
33
|
overriddenPageTypeSettings?: OverriddenPageTypeSetting[];
|
|
34
|
+
taxonomyPropertyConnectionSettings: TaxonomyPropertyConnectionSettings;
|
|
34
35
|
/**
|
|
35
36
|
* This property is used as inital value for creating Page Collection Navigation Node.
|
|
36
37
|
* */
|
|
@@ -62,6 +63,10 @@ export interface SchedulingSettings {
|
|
|
62
63
|
enableScheduling: boolean;
|
|
63
64
|
schedulingEnterprisePropertyName: string;
|
|
64
65
|
}
|
|
66
|
+
export interface TaxonomyPropertyConnectionSettings {
|
|
67
|
+
enableTaxonomyConnection: boolean;
|
|
68
|
+
taxonomyConnectionEnterprisePropertyName: string;
|
|
69
|
+
}
|
|
65
70
|
export interface PageCollectionLayoutRefData extends PageCollectionData {
|
|
66
71
|
layoutVersionedDataIdentifier: IVersionedDataIdentifier;
|
|
67
72
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AppInstanceLayoutId, AppRoutePropertyBagModel, IIcon, MultilingualString } from '@omnia/fx-models';
|
|
2
|
+
interface WcmEditorDynamicNavigationNode {
|
|
3
|
+
icon: IIcon;
|
|
4
|
+
title: MultilingualString;
|
|
5
|
+
layoutId: AppInstanceLayoutId;
|
|
6
|
+
}
|
|
7
|
+
export declare class WcmEditorDynamicNavigationRouteProperty extends AppRoutePropertyBagModel {
|
|
8
|
+
nodes: WcmEditorDynamicNavigationNode[];
|
|
9
|
+
constructor();
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { AppRoutePropertyBagModel } from '@omnia/fx-models';
|
|
3
|
+
import { WcmService } from '../../ManifestIds';
|
|
4
|
+
var WcmEditorDynamicNavigationRouteProperty = /** @class */ (function (_super) {
|
|
5
|
+
__extends(WcmEditorDynamicNavigationRouteProperty, _super);
|
|
6
|
+
function WcmEditorDynamicNavigationRouteProperty() {
|
|
7
|
+
return _super.call(this, WcmService.Id, "owcmEditorDynamicNavigationRouteProperty") || this;
|
|
8
|
+
}
|
|
9
|
+
return WcmEditorDynamicNavigationRouteProperty;
|
|
10
|
+
}(AppRoutePropertyBagModel));
|
|
11
|
+
export { WcmEditorDynamicNavigationRouteProperty };
|
|
@@ -2,4 +2,4 @@ export * from './PublishingAppBootRouteProperty';
|
|
|
2
2
|
export * from './VariationsRouteProperty';
|
|
3
3
|
export * from './PublishingAppReuseContentSettingsRouteProperty';
|
|
4
4
|
export * from './PublishingAppArchiveSettingsRouteProperty';
|
|
5
|
-
export * from "./
|
|
5
|
+
export * from "./WcmEditorDynamicNavigationRouteProperty";
|
|
@@ -2,4 +2,4 @@ export * from './PublishingAppBootRouteProperty';
|
|
|
2
2
|
export * from './VariationsRouteProperty';
|
|
3
3
|
export * from './PublishingAppReuseContentSettingsRouteProperty';
|
|
4
4
|
export * from './PublishingAppArchiveSettingsRouteProperty';
|
|
5
|
-
export * from "./
|
|
5
|
+
export * from "./WcmEditorDynamicNavigationRouteProperty";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TargetingFilterProperty } from '@omnia/fx-sp/models';
|
|
2
2
|
import { GuidValue, Identity, MediaPickerImage, MultilingualString } from '@omnia/fx/models';
|
|
3
|
-
import { PublishingChannel, PageId, UserAuthorizedChannelResources, ChannelPage, PublishingStatus, PublishingChannelId, PublishingChannelPage, ChannelRollupQuery, PublisingChannelQueryResult } from '../models';
|
|
3
|
+
import { PublishingChannel, PageId, UserAuthorizedChannelResources, ChannelPage, PublishingStatus, PublishingChannelId, PublishingChannelPage, ChannelRollupQuery, PublisingChannelQueryResult, PublishChannelPageRequest } from '../models';
|
|
4
4
|
export declare class ChannelManagementService {
|
|
5
5
|
private httpClient;
|
|
6
6
|
constructor();
|
|
@@ -18,8 +18,9 @@ export declare class ChannelManagementService {
|
|
|
18
18
|
getChannelPagesByStatus: (status: PublishingStatus) => Promise<Array<ChannelPage>>;
|
|
19
19
|
approvePublishPageToChannel: (channel: PublishingChannel, pageId: PageId, pageTitle: string, pageUrl: string) => Promise<ChannelPage>;
|
|
20
20
|
rejectPublishPageToChannel: (channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => Promise<ChannelPage>;
|
|
21
|
-
addPageToChannels: (pageId: number, channelToPublishTo: Array<
|
|
22
|
-
publishAddedPageToChannel: (pageId: PageId
|
|
23
|
-
publishPageToChannels: (pageId: number, channelToPublishTo: Array<
|
|
21
|
+
addPageToChannels: (pageId: number, channelToPublishTo: Array<PublishChannelPageRequest>, defaultPublishingChannelId: PublishingChannelId) => Promise<Array<ChannelPage>>;
|
|
22
|
+
publishAddedPageToChannel: (pageId: PageId) => Promise<Array<ChannelPage>>;
|
|
23
|
+
publishPageToChannels: (pageId: number, channelToPublishTo: Array<PublishChannelPageRequest>, defaultPublishingChannelId: PublishingChannelId) => Promise<Array<ChannelPage>>;
|
|
24
24
|
queryChannelRollup: (query: ChannelRollupQuery) => Promise<Array<PublisingChannelQueryResult>>;
|
|
25
|
+
private mappingPublishingChannel;
|
|
25
26
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PageCollectionSelection, ResolveReusablePageResult, PendingApprovalPage, PageId, SimplePageQuery, PageContentsQueryResult, BatchQueryPages, BatchQueryPagesResult, ExportQueryPagesRequest } from '../models';
|
|
1
|
+
import { PageCollectionSelection, ResolveReusablePageResult, PendingApprovalPage, PageId, SimplePageQuery, PageContentsQueryResult, BatchQueryPages, BatchQueryPagesResult, ExportQueryPagesRequest, ExportQueryPagesResult } from '../models';
|
|
2
2
|
import { WcmContext } from '../contexts';
|
|
3
3
|
import { MultilingualStore } from '@omnia/fx/stores';
|
|
4
4
|
export declare class PageQueryService {
|
|
@@ -15,9 +15,8 @@ export declare class PageQueryService {
|
|
|
15
15
|
queryBatchPages: (queries: BatchQueryPages[], cancelRequest?: (cancelToken: any) => void) => Promise<BatchQueryPagesResult>;
|
|
16
16
|
getPagesContents: (queryDetails: SimplePageQuery) => Promise<PageContentsQueryResult[]>;
|
|
17
17
|
getDefaultPageImageSrc: () => string;
|
|
18
|
-
exportToExcel: (query: ExportQueryPagesRequest,
|
|
19
|
-
getExportedFile: (exportingFileName: string,
|
|
20
|
-
exportToExcel1: (query: BatchQueryPages) => Promise<void>;
|
|
18
|
+
exportToExcel: (query: ExportQueryPagesRequest, exportingBlockId: string) => Promise<ExportQueryPagesResult>;
|
|
19
|
+
getExportedFile: (exportingFileName: string, exportingFileToken: string) => Promise<void>;
|
|
21
20
|
private processPagesDetailData;
|
|
22
21
|
private getPageVisited;
|
|
23
22
|
private findPageInNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Page, PageData, CheckedOutVersionPageData, VersionedPageData, PublishedVersionPageData, PageIdToPageMap, PageId, VariationPage, PageCollectionSelection, NavigationData, NavigationNode, MovePagesResult, PageNavigationResult, VersionInformation, ArchivePageResult, RestorePageMessage, RestorePageResult, VariationId, PageWithNavigationCreationRequest, PageNavigationNode, PageNavigationData, ReadNews, ChildStructureType, PagePermissionResponse, ValidationArchivePageResult } from '../models';
|
|
1
|
+
import { Page, PageData, CheckedOutVersionPageData, VersionedPageData, PublishedVersionPageData, PageIdToPageMap, PageId, VariationPage, PageCollectionSelection, NavigationData, NavigationNode, MovePagesResult, PageNavigationResult, VersionInformation, ArchivePageResult, RestorePageMessage, RestorePageResult, VariationId, PageWithNavigationCreationRequest, PageNavigationNode, PageNavigationData, ReadNews, ChildStructureType, PagePermissionResponse, ValidationArchivePageResult, PageTypeTitle } from '../models';
|
|
2
2
|
import { MergedPageVersionLayout } from '../models/layout/MergedPageVersionLayout';
|
|
3
3
|
import { IHttpApiOperationResult, GuidValue } from '@omnia/fx-models';
|
|
4
4
|
import { VersionReference } from '../models';
|
|
@@ -37,6 +37,8 @@ export declare class PageService {
|
|
|
37
37
|
* */
|
|
38
38
|
restore: (message: RestorePageMessage) => Promise<RestorePageResult>;
|
|
39
39
|
getAllPages: (typesToGet?: number, targetPublishingAppId?: string, tenantScopeOnly?: boolean, excludeUnavailable?: boolean) => Promise<Array<Page>>;
|
|
40
|
+
getPageDataPageTypes: (publishingAppIds?: string[], all?: boolean, tenantScope?: boolean) => Promise<Array<PageTypeTitle>>;
|
|
41
|
+
getPageTypesTitle: (pageTypeIds: number[]) => Promise<Array<PageTypeTitle>>;
|
|
40
42
|
getPage: (pageId: PageId, targetPublishingAppId?: string) => Promise<Page>;
|
|
41
43
|
copyPage: <T extends PageData>(pageId: PageId, targetParentPageId?: PageId, targetPublishingAppId?: string) => Promise<CreatedPageWithNavigationInfo<T>>;
|
|
42
44
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PageRollupEnums } from '@omnia/wcm/models';
|
|
2
|
+
import { PageReportByUserPropertiesOption, PageReportOption, PageViewedRegister, ScheduledReportItem, UniqueUsersByUserProperty } from '../../models';
|
|
2
3
|
import { UsageReportItem, CheckedOutReportItem, ReviewReportItem, DailyStatisticsPerPage, PageStatisticExport } from '../../models';
|
|
3
4
|
export declare class PageStatisticsService {
|
|
4
5
|
private httpClient;
|
|
@@ -15,4 +16,5 @@ export declare class PageStatisticsService {
|
|
|
15
16
|
exportReviewReport(reportOptions: PageReportOption): Promise<PageStatisticExport>;
|
|
16
17
|
exportScheduledReport(reportOptions: PageReportOption): Promise<PageStatisticExport>;
|
|
17
18
|
getDailyStatisticsPerPage(pageId: number, includeSubPages: boolean): Promise<Array<DailyStatisticsPerPage>>;
|
|
19
|
+
getPageUniqueUsersByUserProperty(pageId: number, propertyName: string, datePeriods: PageRollupEnums.DatePeriods): Promise<Array<UniqueUsersByUserProperty>>;
|
|
18
20
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Store } from "@omnia/fx/stores";
|
|
2
1
|
import { GuidValue } from "@omnia/fx-models";
|
|
2
|
+
import { Store } from "@omnia/fx/stores";
|
|
3
3
|
import { PublishingChannelCategory } from "../models";
|
|
4
4
|
export declare class ChannelCategoriesStore extends Store {
|
|
5
5
|
private editingItem;
|
|
@@ -11,6 +11,10 @@ export declare class ChannelCategoriesStore extends Store {
|
|
|
11
11
|
getters: {
|
|
12
12
|
items: () => PublishingChannelCategory[];
|
|
13
13
|
editingItem: () => PublishingChannelCategory;
|
|
14
|
+
groupByCategories: () => {
|
|
15
|
+
[key: string]: PublishingChannelCategory;
|
|
16
|
+
};
|
|
17
|
+
categoriesMutated: () => (fn: (obj: import("@omnia/fx-models").StateMutation<PublishingChannelCategory[]>) => void) => import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
|
14
18
|
};
|
|
15
19
|
actions: {
|
|
16
20
|
ensureCategories: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: PublishingChannelCategory[]) => void, (failureReason: any) => void, () => Promise<PublishingChannelCategory[]>>;
|
|
@@ -21,6 +21,9 @@ export declare class ChannelManagementStore extends Store {
|
|
|
21
21
|
publishingChannels: import("@omnia/fx/stores").StoreState<ChannelIdtoChannelMap>;
|
|
22
22
|
waitingforApproveList: import("@omnia/fx/stores").StoreState<ChannelPageGroupMapping>;
|
|
23
23
|
resolvedUser: import("@omnia/fx/stores").StoreState<ResolvedUser>;
|
|
24
|
+
pendingChangeChannelPages: import("@omnia/fx/stores").StoreState<{
|
|
25
|
+
[pageId: string]: boolean;
|
|
26
|
+
}>;
|
|
24
27
|
private recentlyUsedChannels;
|
|
25
28
|
private publishedChannelsPage;
|
|
26
29
|
private userPublishingChannelSubscripton;
|
|
@@ -43,6 +46,8 @@ export declare class ChannelManagementStore extends Store {
|
|
|
43
46
|
getPublishingChannels: () => PublishingChannel[];
|
|
44
47
|
getPublisingChannelbyId: (channelId: PublishingChannelId) => PublishingChannel;
|
|
45
48
|
hasPublisherPermission: (channel: PublishingChannel, userIdentity: string) => boolean;
|
|
49
|
+
hasAssignChannelAdminPermission: (channel: PublishingChannel, userIdentity: string) => boolean;
|
|
50
|
+
hasAssignPublisherPermission: (channel: PublishingChannel, userIdentity: string) => boolean;
|
|
46
51
|
getChannelPages: (pageId: PageId) => ChannelPage[];
|
|
47
52
|
isPublishingPageToChannels: (pageId: PageId) => boolean;
|
|
48
53
|
getWaitingforApprovalPages: (channelId: PublishingChannelId) => number[];
|
|
@@ -58,6 +63,7 @@ export declare class ChannelManagementStore extends Store {
|
|
|
58
63
|
updateChannelPages: import("@omnia/fx/stores").StoreMutation<(pageId: PageId, result: Array<ChannelPage>) => void, (pageId: PageId, result: ChannelPage[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
59
64
|
updateIsPublishingPageToChannels: import("@omnia/fx/stores").StoreMutation<(pageId: PageId, isPublishing: boolean) => void, (pageId: PageId, isPublishing: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
60
65
|
updateWaitingforApprovalPages: import("@omnia/fx/stores").StoreMutation<(channelPages: Array<ChannelPage>) => void, (channelPages: ChannelPage[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
66
|
+
setPendingChanges: import("@omnia/fx/stores").StoreMutation<(pageId: number, pendingChanges: boolean) => void, (pageId: number, pendingChanges: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
61
67
|
};
|
|
62
68
|
/**
|
|
63
69
|
* Implementation of actions
|
|
@@ -78,7 +84,6 @@ export declare class ChannelManagementStore extends Store {
|
|
|
78
84
|
addPageToChannels: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number, defaultPublishingChannelId: PublishingChannelId) => void, (result: ChannelPage[], pageId: number, defaultPublishingChannelId: PublishingChannelId) => void, (failureReason: any, pageId: number, defaultPublishingChannelId: PublishingChannelId) => void, (pageId: number, defaultPublishingChannelId: PublishingChannelId) => Promise<Array<ChannelPage>>>;
|
|
79
85
|
publishPageToChannels: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number) => void, (result: ChannelPage[], pageId: number) => void, (failureReason: any, pageId: number) => void, (pageId: number) => Promise<Array<ChannelPage>>>;
|
|
80
86
|
publishAddedPageToChannel: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number) => void, (result: ChannelPage[], pageId: number) => void, (failureReason: any, pageId: number) => void, (pageId: number) => Promise<Array<ChannelPage>>>;
|
|
81
|
-
publishPendingPageToChannel: import("@omnia/fx/stores").StoreAction<unknown, (pageId: number) => void, (result: ChannelPage[], pageId: number) => void, (failureReason: any, pageId: number) => void, (pageId: number) => Promise<Array<ChannelPage>>>;
|
|
82
87
|
ensureUserPublishingChannelSubscripton: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
|
|
83
88
|
};
|
|
84
89
|
private updateChannelPagesStatus;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GuidValue } from '@omnia/fx-models';
|
|
2
2
|
import { Store } from '@omnia/fx/stores';
|
|
3
3
|
import { PageTitleConfig } from '../internal/models/PageTitleConfig';
|
|
4
|
-
import {
|
|
4
|
+
import { PageData, PageWithNavigationCreationRequest, VersionedPageData } from '../models';
|
|
5
5
|
import { PagesStore } from './PagesStore';
|
|
6
6
|
export declare class CreatePageFormStore extends Store {
|
|
7
7
|
pagesStore: PagesStore;
|
|
@@ -29,12 +29,12 @@ export declare class CreatePageFormStore extends Store {
|
|
|
29
29
|
}, pageTitleConfig: PageTitleConfig) => void, (enterpriseProperties: {
|
|
30
30
|
[propertyInternalName: string]: any;
|
|
31
31
|
}, pageTitleConfig: PageTitleConfig) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
32
|
-
registerAfterPageCreatedHook: import("@omnia/fx/stores").StoreMutation<(ensurePropertiesReady: (
|
|
32
|
+
registerAfterPageCreatedHook: import("@omnia/fx/stores").StoreMutation<(ensurePropertiesReady: (versionPageData: VersionedPageData<PageData>) => Promise<any>) => void, (ensurePropertiesReady: (versionPageData: VersionedPageData<PageData>) => Promise<any>) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
35
35
|
* Implementation of actions
|
|
36
36
|
*/
|
|
37
37
|
actions: {
|
|
38
|
-
createPage: import("@omnia/fx/stores").StoreAction<unknown, (creationRequest: PageWithNavigationCreationRequest, targetPublishingAppId?: GuidValue, targetVariationId?: string) => void, (result:
|
|
38
|
+
createPage: import("@omnia/fx/stores").StoreAction<unknown, (creationRequest: PageWithNavigationCreationRequest, targetPublishingAppId?: GuidValue, targetVariationId?: string) => void, (result: VersionedPageData<PageData>, creationRequest: PageWithNavigationCreationRequest, targetPublishingAppId?: GuidValue, targetVariationId?: string) => void, (failureReason: any, creationRequest: PageWithNavigationCreationRequest, targetPublishingAppId?: GuidValue, targetVariationId?: string) => void, (creationRequest: PageWithNavigationCreationRequest, targetPublishingAppId?: GuidValue, targetVariationId?: string) => Promise<VersionedPageData<PageData>>>;
|
|
39
39
|
};
|
|
40
40
|
}
|