@omnia/wcm 6.10.6-dev → 6.10.6-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 +2 -0
- package/internal-do-not-import-from-here/core/Enums.d.ts +6 -0
- package/internal-do-not-import-from-here/core/Utils.d.ts +1 -1
- package/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +5 -0
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +5 -0
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +32 -0
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +14 -1
- package/internal-do-not-import-from-here/fx/models/Constants.js +111 -34
- package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +21 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.js +101 -0
- package/internal-do-not-import-from-here/fx/models/apps/AppPermissionInfo.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.d.ts +6 -1
- 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/CurrentNavigationBlockStyles.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/models/components/MegaMenuStyles.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +14 -2
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlockStyles.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlockStyles.js +2 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/Announcement.d.ts +51 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/Announcement.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageEnums.d.ts +10 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageEnums.js +12 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageJsonProp.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageJsonProp.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageJsonViewSettings.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageJsonViewSettings.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignagePageQuerySettings.d.ts +33 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignagePageQuerySettings.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageSettingsBase.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageSettingsBase.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningHtmlViewRegistration.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningHtmlViewRegistration.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningHtmlViewSettings.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningHtmlViewSettings.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningPageRollupViewSettings.d.ts +22 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningPageRollupViewSettings.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenForRender.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenForRender.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenSettings.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenSettings.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/PageDetailsQueryResultForDigitalScreen.d.ts +20 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/PageDetailsQueryResultForDigitalScreen.js +1 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/index.d.ts +12 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/index.js +12 -0
- package/internal-do-not-import-from-here/fx/models/eventmanagement/EventCalendar.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/index.d.ts +12 -11
- package/internal-do-not-import-from-here/fx/models/index.js +12 -11
- package/internal-do-not-import-from-here/fx/models/pagequery/IPageRollupViewInterface.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupCalendarViewSettings.d.ts +13 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupCalendarViewSettings.js +5 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +5 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +4 -4
- package/internal-do-not-import-from-here/fx/models/pages/PageData.d.ts +4 -1
- package/internal-do-not-import-from-here/fx/models/variations/Variation.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/scrollingUtils.d.ts +4 -0
- package/internal-do-not-import-from-here/fx/services/ChannelManagementService.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/services/PageQueryService.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/services/PageService.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/services/ParticipantService.d.ts +1 -2
- package/internal-do-not-import-from-here/fx/stores/IndexedDB.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +7 -1
- package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/stores/PagesStore.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/ux/InternalUxCore.d.ts +9 -1
- package/internal-do-not-import-from-here/fx/ux/loc/localize.d.ts +14 -0
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/publishingapp/PublishingAppSettings.d.ts +3 -0
- package/internal-do-not-import-from-here/wcdefinitions.json +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { GuidValue, IconPickerModel, MultilingualString } from "@omnia/fx-models";
|
|
2
|
+
import { TargetingFilterProperty } from "@omnia/fx-sp/models";
|
|
3
|
+
export interface AnnouncementLite {
|
|
4
|
+
title?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
iconType: number;
|
|
7
|
+
announcementType?: string;
|
|
8
|
+
announcementColor?: string;
|
|
9
|
+
announcementTextColor?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface Announcement {
|
|
12
|
+
id?: string;
|
|
13
|
+
title?: MultilingualString;
|
|
14
|
+
description?: MultilingualString;
|
|
15
|
+
priority?: number;
|
|
16
|
+
startDate?: Date;
|
|
17
|
+
endDate?: Date;
|
|
18
|
+
modifiedAt?: Date;
|
|
19
|
+
order?: number;
|
|
20
|
+
canClose?: boolean;
|
|
21
|
+
canComment?: boolean;
|
|
22
|
+
forceRedisplay?: boolean;
|
|
23
|
+
announcementType?: AnnouncementType;
|
|
24
|
+
announcementTypeId?: string;
|
|
25
|
+
announcementStatus?: AnnouncementStatus;
|
|
26
|
+
announcementStatusId?: string;
|
|
27
|
+
businessProfileId?: GuidValue;
|
|
28
|
+
targetingFilter?: TargetingFilterProperty;
|
|
29
|
+
commentCount?: number;
|
|
30
|
+
}
|
|
31
|
+
export interface AnnouncementType {
|
|
32
|
+
id: string;
|
|
33
|
+
title: MultilingualString;
|
|
34
|
+
properties?: string;
|
|
35
|
+
businessProfileId?: GuidValue;
|
|
36
|
+
info?: AnnouncementTypeInfo;
|
|
37
|
+
}
|
|
38
|
+
export interface AnnouncementTypeInfo {
|
|
39
|
+
icon: IconPickerModel;
|
|
40
|
+
}
|
|
41
|
+
export interface AnnouncementStatus {
|
|
42
|
+
id: string;
|
|
43
|
+
title: MultilingualString;
|
|
44
|
+
properties?: string;
|
|
45
|
+
businessProfileId?: GuidValue;
|
|
46
|
+
info?: AnnouncementStatusInfo;
|
|
47
|
+
}
|
|
48
|
+
export interface AnnouncementStatusInfo {
|
|
49
|
+
color: string;
|
|
50
|
+
textColor: string;
|
|
51
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export var DigitalSigningResultType;
|
|
2
|
+
(function (DigitalSigningResultType) {
|
|
3
|
+
DigitalSigningResultType[DigitalSigningResultType["json"] = 1] = "json";
|
|
4
|
+
DigitalSigningResultType[DigitalSigningResultType["html"] = 2] = "html";
|
|
5
|
+
})(DigitalSigningResultType || (DigitalSigningResultType = {}));
|
|
6
|
+
export var DigitalSigningEntityType;
|
|
7
|
+
(function (DigitalSigningEntityType) {
|
|
8
|
+
DigitalSigningEntityType[DigitalSigningEntityType["PageQuery"] = 1] = "PageQuery";
|
|
9
|
+
DigitalSigningEntityType[DigitalSigningEntityType["JsonView"] = 2] = "JsonView";
|
|
10
|
+
DigitalSigningEntityType[DigitalSigningEntityType["HtmlView"] = 3] = "HtmlView";
|
|
11
|
+
DigitalSigningEntityType[DigitalSigningEntityType["Screen"] = 4] = "Screen";
|
|
12
|
+
})(DigitalSigningEntityType || (DigitalSigningEntityType = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageJsonViewSettings.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { GuidValue } from "@omnia/fx-models";
|
|
2
|
+
import { DigitalSignageSettingsBase, PageItemNode, PageQuery, PageRollupEnums, PageRollupPropertyFilter, PageRollupUiFilter, PagingTypes } from "@omnia/wcm/models";
|
|
3
|
+
export interface DigitalSignagePageQuerySettings extends DigitalSignageSettingsBase {
|
|
4
|
+
scope: PageRollupEnums.RollupScopes;
|
|
5
|
+
excludeCurrentPage: boolean;
|
|
6
|
+
resources: {
|
|
7
|
+
id: string;
|
|
8
|
+
typeId?: GuidValue;
|
|
9
|
+
filters?: PageRollupPropertyFilter[];
|
|
10
|
+
}[];
|
|
11
|
+
itemLimit: number;
|
|
12
|
+
queryItemLimit: number;
|
|
13
|
+
pagingType: PagingTypes;
|
|
14
|
+
pickedPages?: PageItemNode[];
|
|
15
|
+
queryConfiguration?: {
|
|
16
|
+
type: PageRollupEnums.QueryConfigurationType;
|
|
17
|
+
pickInWriteMode: boolean;
|
|
18
|
+
};
|
|
19
|
+
uiFilters: PageRollupUiFilter[];
|
|
20
|
+
itemQuery: PageQuery;
|
|
21
|
+
sortBy?: string;
|
|
22
|
+
sortDescending?: boolean;
|
|
23
|
+
likePeriod?: PageRollupEnums.DatePeriods;
|
|
24
|
+
commentPeriod?: PageRollupEnums.DatePeriods;
|
|
25
|
+
ratingPeriod?: PageRollupEnums.DatePeriods;
|
|
26
|
+
feedbackPeriod?: PageRollupEnums.DatePeriods;
|
|
27
|
+
nodeType?: PageRollupEnums.NodeType;
|
|
28
|
+
navigationStartNode?: PageItemNode;
|
|
29
|
+
navigationDepthLevel: number;
|
|
30
|
+
excludeStartNode: boolean;
|
|
31
|
+
priority: number;
|
|
32
|
+
trimDuplicates: boolean;
|
|
33
|
+
}
|
package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignagePageQuerySettings.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageSettingsBase.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DigitalSignageSettingsBase } from "./DigitalSignageSettingsBase";
|
|
2
|
+
import { DigitalSignagePageRollupViewSettings } from "./DigitalSigningPageRollupViewSettings";
|
|
3
|
+
export interface DigitalSigningHtmlViewSettings extends DigitalSignageSettingsBase {
|
|
4
|
+
selectedViewId: string;
|
|
5
|
+
selectProperties: string[];
|
|
6
|
+
pageRollupSettings: DigitalSignagePageRollupViewSettings;
|
|
7
|
+
}
|
package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningHtmlViewSettings.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PageRollupViewSettings } from "../components";
|
|
2
|
+
export interface DigitalSignagePageRollupViewSettings extends PageRollupViewSettings {
|
|
3
|
+
titleProp: string;
|
|
4
|
+
descriptionProp: string;
|
|
5
|
+
imageProp: string;
|
|
6
|
+
summaryProp: string;
|
|
7
|
+
createdBy: string;
|
|
8
|
+
createdAt: string;
|
|
9
|
+
logoUrl: string;
|
|
10
|
+
logoVisibility: boolean;
|
|
11
|
+
logoPosition: string;
|
|
12
|
+
logoSize: number;
|
|
13
|
+
indicatorColor: string;
|
|
14
|
+
countdownTextColor: string;
|
|
15
|
+
indicatorPosition: string;
|
|
16
|
+
indicatorVisibility: boolean;
|
|
17
|
+
startScroll: number;
|
|
18
|
+
scrollSpeed: number;
|
|
19
|
+
waitAfterStopScrolling: number;
|
|
20
|
+
showLikesComments: boolean;
|
|
21
|
+
scrollWholePage: boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenForRender.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DigitalSignagePageQuerySettings, DigitalSigningHtmlViewSettings, DigitalSigningScreenSettings } from ".";
|
|
2
|
+
export interface DigitalSigningScreenForRender {
|
|
3
|
+
screen: DigitalSigningScreenSettings;
|
|
4
|
+
htmlView: DigitalSigningHtmlViewSettings;
|
|
5
|
+
pageQuery: DigitalSignagePageQuerySettings;
|
|
6
|
+
}
|
package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenForRender.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenSettings.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { GuidValue } from "@omnia/fx-models";
|
|
2
|
+
import { DigitalSigningResultType } from "@omnia/wcm/models";
|
|
3
|
+
import { DigitalSignageSettingsBase } from "./DigitalSignageSettingsBase";
|
|
4
|
+
export interface DigitalSigningScreenSettings extends DigitalSignageSettingsBase {
|
|
5
|
+
key: string;
|
|
6
|
+
pageQueryId: GuidValue;
|
|
7
|
+
typeOfResult: DigitalSigningResultType;
|
|
8
|
+
viewId: GuidValue;
|
|
9
|
+
}
|
package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSigningScreenSettings.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PageQuery } from "../query";
|
|
2
|
+
export interface PageDetailsQueryResultForDigitalScreen {
|
|
3
|
+
id?: number;
|
|
4
|
+
pageCollectionId?: number;
|
|
5
|
+
properties?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
propertyBag?: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
11
|
+
isNew?: boolean;
|
|
12
|
+
url?: string;
|
|
13
|
+
visited?: boolean;
|
|
14
|
+
type?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface DigitalScreenQuery {
|
|
17
|
+
itemQuery?: PageQuery;
|
|
18
|
+
selectProperties?: string[];
|
|
19
|
+
settingsKey?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './DigitalSignageEnums';
|
|
2
|
+
export * from './DigitalSignageJsonProp';
|
|
3
|
+
export * from './DigitalSignageSettingsBase';
|
|
4
|
+
export * from './DigitalSignageJsonViewSettings';
|
|
5
|
+
export * from './DigitalSignagePageQuerySettings';
|
|
6
|
+
export * from './DigitalSigningHtmlViewSettings';
|
|
7
|
+
export * from './DigitalSigningScreenSettings';
|
|
8
|
+
export * from './DigitalSigningHtmlViewRegistration';
|
|
9
|
+
export * from './DigitalSigningScreenForRender';
|
|
10
|
+
export * from './DigitalSigningPageRollupViewSettings';
|
|
11
|
+
export * from './PageDetailsQueryResultForDigitalScreen';
|
|
12
|
+
export * from './Announcement';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './DigitalSignageEnums';
|
|
2
|
+
export * from './DigitalSignageJsonProp';
|
|
3
|
+
export * from './DigitalSignageSettingsBase';
|
|
4
|
+
export * from './DigitalSignageJsonViewSettings';
|
|
5
|
+
export * from './DigitalSignagePageQuerySettings';
|
|
6
|
+
export * from './DigitalSigningHtmlViewSettings';
|
|
7
|
+
export * from './DigitalSigningScreenSettings';
|
|
8
|
+
export * from './DigitalSigningHtmlViewRegistration';
|
|
9
|
+
export * from './DigitalSigningScreenForRender';
|
|
10
|
+
export * from './DigitalSigningPageRollupViewSettings';
|
|
11
|
+
export * from './PageDetailsQueryResultForDigitalScreen';
|
|
12
|
+
export * from './Announcement';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
1
|
+
export * from "./layout";
|
|
2
|
+
export * from "./navigation";
|
|
3
|
+
export * from "./pages";
|
|
4
|
+
export * from "./components";
|
|
5
|
+
export * from "./contexts";
|
|
6
|
+
export * from "./apps";
|
|
7
|
+
export * from "./pagequery";
|
|
8
|
+
export * from "./query";
|
|
9
|
+
export * from "./Enums";
|
|
10
|
+
export * from "./loc";
|
|
11
|
+
export * from "./Constants";
|
|
12
12
|
export * from "./ManifestIds";
|
|
13
13
|
export * from "./notifications";
|
|
14
14
|
export * from "./block";
|
|
@@ -32,3 +32,4 @@ export * from "./linkpicker";
|
|
|
32
32
|
export * from "./publishinglayout";
|
|
33
33
|
export * from "./enterprisepropertydocumentitemsettings";
|
|
34
34
|
export * from "./channels";
|
|
35
|
+
export * from "./digitalsignage";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
//// <omnia-transform-resource path="0044f6fa-6f28-4130-9b07-649c0ab06fca" />
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
2
|
+
export * from "./layout";
|
|
3
|
+
export * from "./navigation";
|
|
4
|
+
export * from "./pages";
|
|
5
|
+
export * from "./components";
|
|
6
|
+
export * from "./contexts";
|
|
7
|
+
export * from "./apps";
|
|
8
|
+
export * from "./pagequery";
|
|
9
|
+
export * from "./query";
|
|
10
|
+
export * from "./Enums";
|
|
11
|
+
export * from "./loc";
|
|
12
|
+
export * from "./Constants";
|
|
13
13
|
export * from "./ManifestIds";
|
|
14
14
|
export * from "./notifications";
|
|
15
15
|
export * from "./block";
|
|
@@ -33,3 +33,4 @@ export * from "./linkpicker";
|
|
|
33
33
|
export * from "./publishinglayout";
|
|
34
34
|
export * from "./enterprisepropertydocumentitemsettings";
|
|
35
35
|
export * from "./channels";
|
|
36
|
+
export * from "./digitalsignage";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnterprisePropertyDefinition, SpacingSettings } from '@omnia/fx-models';
|
|
2
|
-
import { PageRollupViewSettings, PageDetailQueryResult } from '..';
|
|
2
|
+
import { PageRollupViewSettings, PageDetailQueryResult, PageRollupPropertyFilter } from '..';
|
|
3
3
|
export interface IPageRollupViewInterface<T extends PageRollupViewSettings> {
|
|
4
4
|
pages: Array<PageDetailQueryResult>;
|
|
5
5
|
highlightNonRead?: boolean;
|
|
@@ -9,7 +9,7 @@ export interface IPageRollupViewInterface<T extends PageRollupViewSettings> {
|
|
|
9
9
|
styles: any;
|
|
10
10
|
settingsKey: string;
|
|
11
11
|
linkData?: LinkData;
|
|
12
|
-
callback?: () => void;
|
|
12
|
+
callback?: (viewFilters?: Array<PageRollupPropertyFilter>) => void;
|
|
13
13
|
uiSorting?: {
|
|
14
14
|
enable: boolean;
|
|
15
15
|
onClickSortBy?: (sortBy: string, desc: boolean) => Promise<any>;
|
package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupCalendarViewSettings.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PageRollupViewSettings } from "..";
|
|
2
|
+
export declare enum PageCalendarViewMode {
|
|
3
|
+
Month = 1,
|
|
4
|
+
Week = 2
|
|
5
|
+
}
|
|
6
|
+
export interface PageRollupCalendarViewSettings extends PageRollupViewSettings {
|
|
7
|
+
startDateProp: string;
|
|
8
|
+
endDateProp?: string;
|
|
9
|
+
calendarType: PageCalendarViewMode;
|
|
10
|
+
height: number;
|
|
11
|
+
includeTime: boolean;
|
|
12
|
+
weekdays: Array<number>;
|
|
13
|
+
}
|
|
@@ -40,6 +40,11 @@ export var PageRollupEnums;
|
|
|
40
40
|
QueryConfigurationType[QueryConfigurationType["QueryBuilder"] = 0] = "QueryBuilder";
|
|
41
41
|
QueryConfigurationType[QueryConfigurationType["PickPages"] = 1] = "PickPages";
|
|
42
42
|
})(QueryConfigurationType = PageRollupEnums.QueryConfigurationType || (PageRollupEnums.QueryConfigurationType = {}));
|
|
43
|
+
var NodeType;
|
|
44
|
+
(function (NodeType) {
|
|
45
|
+
NodeType[NodeType["CurrentNode"] = 0] = "CurrentNode";
|
|
46
|
+
NodeType[NodeType["Custom"] = 1] = "Custom";
|
|
47
|
+
})(NodeType = PageRollupEnums.NodeType || (PageRollupEnums.NodeType = {}));
|
|
43
48
|
var WorkflowStatus;
|
|
44
49
|
(function (WorkflowStatus) {
|
|
45
50
|
WorkflowStatus[WorkflowStatus["CheckedOut"] = 1] = "CheckedOut";
|
|
@@ -30,7 +30,7 @@ export interface PageCollectionData extends PlainPageData {
|
|
|
30
30
|
enableAutoSubscription?: boolean;
|
|
31
31
|
enablePublishingToChannel: boolean;
|
|
32
32
|
yammerIntegrationRules: Array<YammerIntegrationRule>;
|
|
33
|
-
|
|
33
|
+
overriddenPageTypeSettings?: OverriddenPageTypeSetting[];
|
|
34
34
|
/**
|
|
35
35
|
* This property is used as inital value for creating Page Collection Navigation Node.
|
|
36
36
|
* */
|
|
@@ -83,11 +83,11 @@ export declare enum YammerProperties {
|
|
|
83
83
|
Summary = "Summary",
|
|
84
84
|
Content = "Content"
|
|
85
85
|
}
|
|
86
|
-
export interface
|
|
86
|
+
export interface OverriddenPageTypeSetting {
|
|
87
87
|
pageTypeId: number;
|
|
88
|
-
|
|
88
|
+
overriddenProperties: Array<OverriddenProperty>;
|
|
89
89
|
}
|
|
90
|
-
export interface
|
|
90
|
+
export interface OverriddenProperty {
|
|
91
91
|
propertyId?: GuidValue;
|
|
92
92
|
defaultValue?: any;
|
|
93
93
|
calculatedFromProperty?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GuidValue, IVersionedDataIdentifier, Layout } from '@omnia/fx-models';
|
|
1
|
+
import { GuidValue, IVersionedDataIdentifier, Layout, SearchValue } from '@omnia/fx-models';
|
|
2
2
|
import { EnterprisePropertiesInheritance, ApprovalData } from '.';
|
|
3
3
|
import { PageId } from './Page';
|
|
4
4
|
/**
|
|
@@ -33,6 +33,9 @@ export interface PageData {
|
|
|
33
33
|
layoutVersionedDataIdentifier?: IVersionedDataIdentifier;
|
|
34
34
|
approvalData?: ApprovalData;
|
|
35
35
|
propertyBag?: {
|
|
36
|
+
search: {
|
|
37
|
+
[blockId: string]: SearchValue;
|
|
38
|
+
};
|
|
36
39
|
[key: string]: any;
|
|
37
40
|
};
|
|
38
41
|
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Use ScrollPagingUtils from Omnia Fx. This will be removed in 7.0
|
|
3
|
+
*
|
|
4
|
+
* */
|
|
1
5
|
export declare module ScrollingUtils {
|
|
2
6
|
const scrollAttributeName = "omnia_scroll_paging_attribute";
|
|
3
7
|
function registerScrollPaging(elem: HTMLElement, className: string, nextPage: () => Promise<boolean>): void;
|
|
@@ -10,7 +10,7 @@ export declare class ChannelManagementService {
|
|
|
10
10
|
getRecentlyUsedChannels: () => Promise<PublishingChannel[]>;
|
|
11
11
|
getPublishingChannelById: (channelId: number) => Promise<PublishingChannel>;
|
|
12
12
|
getChannelPages: (pageId: PageId) => Promise<ChannelPage[]>;
|
|
13
|
-
|
|
13
|
+
getChannelsForPublishedPages: (pageIds: PageId[]) => Promise<{
|
|
14
14
|
[pageId: number]: PublishingChannel[];
|
|
15
15
|
}>;
|
|
16
16
|
deletePublishingChannel: (channelId: PublishingChannelId) => Promise<PublishingChannel>;
|
|
@@ -13,6 +13,7 @@ export declare class PageQueryService {
|
|
|
13
13
|
queryBatchPages: (queries: BatchQueryPages[], cancelRequest?: (cancelToken: any) => void) => Promise<BatchQueryPagesResult>;
|
|
14
14
|
getPagesContents: (queryDetails: SimplePageQuery) => Promise<PageContentsQueryResult[]>;
|
|
15
15
|
getDefaultPageImageSrc: () => string;
|
|
16
|
+
exportToExcel: (query: BatchQueryPages) => Promise<void>;
|
|
16
17
|
private processPagesDetailData;
|
|
17
18
|
private getPageVisited;
|
|
18
19
|
private findPageInNode;
|
|
@@ -30,7 +30,7 @@ export declare class PageService {
|
|
|
30
30
|
restore: (message: RestorePageMessage) => Promise<RestorePageResult>;
|
|
31
31
|
getAllPages: (typesToGet?: number, targetPublishingAppId?: string, tenantScopeOnly?: boolean, excludeUnavailable?: boolean) => Promise<Array<Page>>;
|
|
32
32
|
getPage: (pageId: PageId, targetPublishingAppId?: string) => Promise<Page>;
|
|
33
|
-
copyPage: <T extends PageData>(pageId: PageId, targetPublishingAppId?: string) => Promise<CreatedPageWithNavigationInfo<T>>;
|
|
33
|
+
copyPage: <T extends PageData>(pageId: PageId, targetParentPageId?: PageId, targetPublishingAppId?: string) => Promise<CreatedPageWithNavigationInfo<T>>;
|
|
34
34
|
/**
|
|
35
35
|
* Create a copy of variation page by page id. This api is only supported for non-default variation page.
|
|
36
36
|
This api is only supposed to used for creating a draft when archiving non-default variation page.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OmniaContext } from '@omnia/fx';
|
|
2
|
-
import { Participant
|
|
2
|
+
import { Participant } from '../models';
|
|
3
3
|
import { PageId } from '@omnia/wcm/models';
|
|
4
4
|
export declare var BASE_URL: string;
|
|
5
5
|
export declare class ParticipantService {
|
|
@@ -9,7 +9,6 @@ export declare class ParticipantService {
|
|
|
9
9
|
getParticipantByLoginNameOrEmail: (loginNameOrEmail: string, pageId: number) => Promise<Participant>;
|
|
10
10
|
getParticipants: (pageId: PageId) => Promise<Array<Participant>>;
|
|
11
11
|
addOrUpdateParticipant: (participant: Participant) => Promise<Participant>;
|
|
12
|
-
updateParticipantStatus: (participant: ParticipantStatusModel) => Promise<ParticipantStatusModel>;
|
|
13
12
|
deleteParticipant: (participant: Participant) => Promise<Participant>;
|
|
14
13
|
moveParticipantToStandbyList: (participant: Participant) => Promise<Participant>;
|
|
15
14
|
moveParticipantToOfficialList: (participant: Participant) => Promise<Participant>;
|
|
@@ -4,7 +4,7 @@ export default class IndexedDB {
|
|
|
4
4
|
private request;
|
|
5
5
|
private db;
|
|
6
6
|
private objName;
|
|
7
|
-
openDB(onsuccess: any, onerror: any, onupgradeneeded: any, objName: any, keyPath: any, objData: any): void
|
|
7
|
+
openDB(onsuccess: any, onerror: any, onupgradeneeded: any, objName: any, keyPath: any, objData: any): Promise<void>;
|
|
8
8
|
get<T>(id: any, valuePath: any): Promise<T>;
|
|
9
9
|
set(objData: any): Promise<unknown>;
|
|
10
10
|
remove(id: any): Promise<unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Store } from '@omnia/fx/stores';
|
|
2
|
-
import { PageDetailQueryResult, PageDialogData, PageDialogPropertiesMapping, PageNavigationData, PageNavigationNode, PageRollupQuery, PageTypeSelection } from '@omnia/wcm/models';
|
|
2
|
+
import { PageDetailQueryResult, PageDialogData, PageDialogPropertiesMapping, PageNavigationData, PageNavigationNode, PageRollupQuery, PageTypeSelection, BatchQueryPages } from '@omnia/wcm/models';
|
|
3
3
|
export interface PageRollupQueryResult extends PageRollupQuery {
|
|
4
4
|
selectProperties: Array<string>;
|
|
5
5
|
disableDistinct: boolean;
|
|
@@ -47,6 +47,7 @@ export declare class PageRollupStore extends Store {
|
|
|
47
47
|
private pageTypes;
|
|
48
48
|
private pageTypesLoadPromise;
|
|
49
49
|
private publishingChannelSettings;
|
|
50
|
+
private loadIndexedDBPromise;
|
|
50
51
|
/**
|
|
51
52
|
* Private properties
|
|
52
53
|
*/
|
|
@@ -65,8 +66,11 @@ export declare class PageRollupStore extends Store {
|
|
|
65
66
|
pageDialogData: (pageId: number) => PageDialogData;
|
|
66
67
|
pageContentDataWithLimit: (contentProp: string, contentLimit: number, pageId: number) => string;
|
|
67
68
|
pageTypesTitle: (page: PageDetailQueryResult) => string;
|
|
69
|
+
pageType: (page: PageDetailQueryResult) => PageTypeSelection;
|
|
68
70
|
pageTypes: (uniqueKey: string) => PageTypeSelection[];
|
|
69
71
|
publishingChannelSettings: (uniqueKey: string) => string[];
|
|
72
|
+
sortPagesByNavigation: (pages: PageDetailQueryResult[], navigationStartNodeId?: number, sortDescending?: boolean) => PageDetailQueryResult[];
|
|
73
|
+
loadIndexedDb: () => Promise<void>;
|
|
70
74
|
};
|
|
71
75
|
private generatePageSocialCountingAndPageStatisticsColumn;
|
|
72
76
|
private getPageRollupDataFromIndexedDB;
|
|
@@ -84,6 +88,7 @@ export declare class PageRollupStore extends Store {
|
|
|
84
88
|
navigate: import("@omnia/fx/stores").StoreAction<unknown, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string) => void, (result: void, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string) => void, (failureReason: any, node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string) => void, (node: PageNavigationNode<PageNavigationData>, pageId: number, pageUrl: string) => Promise<void>>;
|
|
85
89
|
loadPageContentData: import("@omnia/fx/stores").StoreAction<unknown, (pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: boolean) => void, (result: void, pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: boolean) => void, (failureReason: any, pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: boolean) => void, (pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit: number, reloadData?: boolean) => Promise<void>>;
|
|
86
90
|
ensureLoadPageTypes: import("@omnia/fx/stores").StoreAction<unknown, (publishingAppIds: string[]) => void, (result: void, publishingAppIds: string[]) => void, (failureReason: any, publishingAppIds: string[]) => void, (publishingAppIds: string[]) => Promise<void>>;
|
|
91
|
+
exportToExcel: import("@omnia/fx/stores").StoreAction<unknown, (query: BatchQueryPages) => void, (result: void, query: BatchQueryPages) => void, (failureReason: any, query: BatchQueryPages) => void, (query: BatchQueryPages) => Promise<void>>;
|
|
87
92
|
};
|
|
88
93
|
/**
|
|
89
94
|
* Find page and page variation in specific node
|
|
@@ -93,5 +98,6 @@ export declare class PageRollupStore extends Store {
|
|
|
93
98
|
private findPageInNode;
|
|
94
99
|
private getPageTypeLoadPromise;
|
|
95
100
|
private ensureLoadPageTypePromise;
|
|
101
|
+
private sortPagesByNavigation;
|
|
96
102
|
}
|
|
97
103
|
export {};
|