@omnia/wcm 6.10.4-dev → 6.10.4-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/loc/CoreLocalization.d.ts +10 -0
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +12 -0
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +45 -0
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +8 -0
- package/internal-do-not-import-from-here/core/ux/FilterTargetingPropertyValueInput.d.ts +6 -2
- package/internal-do-not-import-from-here/fx/helpers/ItemQueryHelper.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +18 -2
- package/internal-do-not-import-from-here/fx/models/Constants.js +115 -35
- package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +23 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.js +111 -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/apps/PublishingAppInstanceOutputInfo.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.d.ts +2 -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/CalendarRollupBlock.d.ts +9 -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/CurrentNavigationBlockStyles.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/models/components/FilterSettings.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/LinkPicker.d.ts +4 -0
- 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 +18 -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/components/RelatedLinkBlock.d.ts +7 -2
- package/internal-do-not-import-from-here/fx/models/digitalsignage/Announcement.d.ts +51 -0
- package/internal-do-not-import-from-here/fx/{ux/richtexteditorextensions/EnterpriseGlossarySuggestion/components/SuggestionComponent.manifest.d.ts → models/digitalsignage/Announcement.js} +0 -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/{ux/richtexteditorextensions/EnterpriseGlossarySuggestion/loc/localize.manifest.d.ts → models/digitalsignage/DigitalSignageJsonProp.js} +0 -0
- package/internal-do-not-import-from-here/fx/models/digitalsignage/DigitalSignageJsonViewSettings.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/{ux/richtexteditorextensions/EnterpriseGlossarySuggestion/plugins/EnterpriseGlossarySuggestion.css.d.ts → models/digitalsignage/DigitalSignageJsonViewSettings.js} +0 -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/infoscreen/AdminInfoScreenBlock.d.ts +1 -66
- package/internal-do-not-import-from-here/fx/models/pagequery/IPageRollupViewInterface.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/models/pagequery/PageDetailsQuery.d.ts +2 -1
- 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 +16 -1
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +18 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupQuery.d.ts +3 -2
- 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 +17 -1
- package/internal-do-not-import-from-here/fx/models/pages/PageCreationInfo.d.ts +4 -1
- package/internal-do-not-import-from-here/fx/models/pages/PageData.d.ts +4 -1
- package/internal-do-not-import-from-here/fx/models/pages/PageFile.d.ts +9 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageFile.js +11 -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/query/ItemQueryEnums.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/query/ItemQueryEnums.js +2 -0
- 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 +3 -3
- 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/services/YammerService.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +2 -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 +13 -7
- package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +9 -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 -0
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/index.d.ts +0 -1
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/rtf.extensions.manifest.d.ts +1 -0
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fxux.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
- package/internal-do-not-import-from-here/fx/ux/index.d.ts +0 -1
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/EnterpriseGlossarySuggestionConfiguration.d.ts +0 -8
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/EnterpriseGlossarySuggestionExtension.d.ts +0 -7
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/components/SuggestionComponent.d.ts +0 -16
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/index.d.ts +0 -2
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/loc/localize.d.ts +0 -12
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/EnterpriseGlossarySuggestionConfiguration.d.ts +0 -4
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/SussgestionMatch.d.ts +0 -6
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/index.d.ts +0 -2
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/EnterpriseGlossarySuggestionNode.d.ts +0 -14
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/EnterpriseSuggestionIgnore.d.ts +0 -6
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/index.d.ts +0 -2
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/plugins/EnterpriseGlossarySuggestion.d.ts +0 -4
- package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/plugins/index.d.ts +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PageRollupEnums } from '.';
|
|
2
2
|
import { PageNavigationNode, PageNavigationData } from '../navigation';
|
|
3
3
|
import { VariationId } from '../variations';
|
|
4
|
-
export interface
|
|
4
|
+
export interface PageDetailQueryResult {
|
|
5
5
|
id: number;
|
|
6
6
|
pageCollectionId: number;
|
|
7
7
|
properties: {
|
|
@@ -12,6 +12,7 @@ export interface PageDetailsQueryResult {
|
|
|
12
12
|
};
|
|
13
13
|
pageNavigationNode: PageNavigationNode<PageNavigationData>;
|
|
14
14
|
layoutDataParentPageId: number;
|
|
15
|
+
workflowStatus: PageRollupEnums.WorkflowStatus;
|
|
15
16
|
isNew: boolean;
|
|
16
17
|
variationId: VariationId;
|
|
17
18
|
url: string;
|
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
|
+
}
|
|
@@ -26,10 +26,25 @@ export declare module PageRollupEnums {
|
|
|
26
26
|
PageCollections = 3,
|
|
27
27
|
Subscriptions = 4,
|
|
28
28
|
NavigationPath = 5,
|
|
29
|
-
Channels = 6
|
|
29
|
+
Channels = 6,
|
|
30
|
+
BusinessProfiles = 7
|
|
30
31
|
}
|
|
31
32
|
enum QueryConfigurationType {
|
|
32
33
|
QueryBuilder = 0,
|
|
33
34
|
PickPages = 1
|
|
34
35
|
}
|
|
36
|
+
enum NodeType {
|
|
37
|
+
CurrentNode = 0,
|
|
38
|
+
Custom = 1
|
|
39
|
+
}
|
|
40
|
+
enum WorkflowStatus {
|
|
41
|
+
CheckedOut = 1,
|
|
42
|
+
WaitingForApproval = 2,
|
|
43
|
+
ScheduleForPublishing = 4
|
|
44
|
+
}
|
|
45
|
+
enum VersionStatus {
|
|
46
|
+
Any = 0,
|
|
47
|
+
Drafts = 1,
|
|
48
|
+
Published = 2
|
|
49
|
+
}
|
|
35
50
|
}
|
|
@@ -33,10 +33,28 @@ export var PageRollupEnums;
|
|
|
33
33
|
RollupScopes[RollupScopes["Subscriptions"] = 4] = "Subscriptions";
|
|
34
34
|
RollupScopes[RollupScopes["NavigationPath"] = 5] = "NavigationPath";
|
|
35
35
|
RollupScopes[RollupScopes["Channels"] = 6] = "Channels";
|
|
36
|
+
RollupScopes[RollupScopes["BusinessProfiles"] = 7] = "BusinessProfiles";
|
|
36
37
|
})(RollupScopes = PageRollupEnums.RollupScopes || (PageRollupEnums.RollupScopes = {}));
|
|
37
38
|
var QueryConfigurationType;
|
|
38
39
|
(function (QueryConfigurationType) {
|
|
39
40
|
QueryConfigurationType[QueryConfigurationType["QueryBuilder"] = 0] = "QueryBuilder";
|
|
40
41
|
QueryConfigurationType[QueryConfigurationType["PickPages"] = 1] = "PickPages";
|
|
41
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 = {}));
|
|
48
|
+
var WorkflowStatus;
|
|
49
|
+
(function (WorkflowStatus) {
|
|
50
|
+
WorkflowStatus[WorkflowStatus["CheckedOut"] = 1] = "CheckedOut";
|
|
51
|
+
WorkflowStatus[WorkflowStatus["WaitingForApproval"] = 2] = "WaitingForApproval";
|
|
52
|
+
WorkflowStatus[WorkflowStatus["ScheduleForPublishing"] = 4] = "ScheduleForPublishing";
|
|
53
|
+
})(WorkflowStatus = PageRollupEnums.WorkflowStatus || (PageRollupEnums.WorkflowStatus = {}));
|
|
54
|
+
var VersionStatus;
|
|
55
|
+
(function (VersionStatus) {
|
|
56
|
+
VersionStatus[VersionStatus["Any"] = 0] = "Any";
|
|
57
|
+
VersionStatus[VersionStatus["Drafts"] = 1] = "Drafts";
|
|
58
|
+
VersionStatus[VersionStatus["Published"] = 2] = "Published";
|
|
59
|
+
})(VersionStatus = PageRollupEnums.VersionStatus || (PageRollupEnums.VersionStatus = {}));
|
|
42
60
|
})(PageRollupEnums || (PageRollupEnums = {}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PageQuery,
|
|
1
|
+
import { PageQuery, PageDetailQueryResult, PageId } from '..';
|
|
2
2
|
import { PageRollupEnums } from './PageRollupEnums';
|
|
3
3
|
export interface PageRollupQuery {
|
|
4
4
|
uniqueKey: string;
|
|
@@ -30,9 +30,10 @@ export interface BatchQueryPages extends PageQuery {
|
|
|
30
30
|
contentProp?: string;
|
|
31
31
|
queryItemLimit?: number;
|
|
32
32
|
enableClientCaching?: boolean;
|
|
33
|
+
versionStatus?: PageRollupEnums.VersionStatus;
|
|
33
34
|
}
|
|
34
35
|
export interface BatchQueryPagesResult {
|
|
35
|
-
pagesDetail:
|
|
36
|
+
pagesDetail: PageDetailQueryResult[];
|
|
36
37
|
batchQueryResult: {
|
|
37
38
|
[queryId: string]: {
|
|
38
39
|
total: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EnterprisePropertyDefinition, GuidValue, IVersionedDataIdentifier } from '@omnia/fx-models';
|
|
1
|
+
import { EnterprisePropertyDefinition, GuidValue, IVersionedDataIdentifier, TimePeriodSettings } from '@omnia/fx-models';
|
|
2
2
|
import { PageId } from '.';
|
|
3
3
|
import { ChildStructureType } from '..';
|
|
4
4
|
import { QueryFilter } from '../query';
|
|
@@ -30,6 +30,11 @@ export interface PageCollectionData extends PlainPageData {
|
|
|
30
30
|
enableAutoSubscription?: boolean;
|
|
31
31
|
enablePublishingToChannel: boolean;
|
|
32
32
|
yammerIntegrationRules: Array<YammerIntegrationRule>;
|
|
33
|
+
overriddenPageTypeSettings?: OverriddenPageTypeSetting[];
|
|
34
|
+
/**
|
|
35
|
+
* This property is used as inital value for creating Page Collection Navigation Node.
|
|
36
|
+
* */
|
|
37
|
+
childStructureType?: ChildStructureType;
|
|
33
38
|
}
|
|
34
39
|
export interface AutomaticPageCreationRule {
|
|
35
40
|
id: GuidValue;
|
|
@@ -78,3 +83,14 @@ export declare enum YammerProperties {
|
|
|
78
83
|
Summary = "Summary",
|
|
79
84
|
Content = "Content"
|
|
80
85
|
}
|
|
86
|
+
export interface OverriddenPageTypeSetting {
|
|
87
|
+
pageTypeId: number;
|
|
88
|
+
overriddenProperties: Array<OverriddenProperty>;
|
|
89
|
+
}
|
|
90
|
+
export interface OverriddenProperty {
|
|
91
|
+
propertyId?: GuidValue;
|
|
92
|
+
defaultValue?: any;
|
|
93
|
+
calculatedFromProperty?: string;
|
|
94
|
+
timePeriodSettingsForDefaultValue?: TimePeriodSettings;
|
|
95
|
+
readonly?: boolean;
|
|
96
|
+
}
|
|
@@ -17,7 +17,10 @@ export interface PageCreationRequest {
|
|
|
17
17
|
export interface PageWithNavigationCreationRequest extends PageCreationRequest {
|
|
18
18
|
urlSegment: string;
|
|
19
19
|
position: NavigationPosition;
|
|
20
|
-
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated The childStructureType will be removed in 7.0. Please use the ChildStructureType in PageCollectionData instead
|
|
22
|
+
*/
|
|
23
|
+
childStructureType?: ChildStructureType;
|
|
21
24
|
}
|
|
22
25
|
export interface VariationPageCreationRequest extends PageCreationRequest {
|
|
23
26
|
originalPageId: PageId;
|
|
@@ -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
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FileMetadata, GuidValue } from '@omnia/fx-models';
|
|
2
|
+
import { VersionId } from './VersionedPageData';
|
|
3
|
+
export declare class PageFile implements FileMetadata {
|
|
4
|
+
omniaServiceId: GuidValue;
|
|
5
|
+
metadataTypeId: GuidValue;
|
|
6
|
+
fileName: string;
|
|
7
|
+
versionId: VersionId;
|
|
8
|
+
constructor(fileName: string, versionId: VersionId);
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Guid } from '@omnia/fx-models';
|
|
2
|
+
var PageFile = /** @class */ (function () {
|
|
3
|
+
function PageFile(fileName, versionId) {
|
|
4
|
+
this.omniaServiceId = new Guid("d60fa82a-129a-41a9-93ce-d784dcb217b0");
|
|
5
|
+
this.metadataTypeId = new Guid("18f54ab3-0a36-4b7d-a184-b9f2d59e5730");
|
|
6
|
+
this.fileName = fileName;
|
|
7
|
+
this.versionId = versionId;
|
|
8
|
+
}
|
|
9
|
+
return PageFile;
|
|
10
|
+
}());
|
|
11
|
+
export { PageFile };
|
|
@@ -15,5 +15,7 @@ export var ItemQueryEnums;
|
|
|
15
15
|
FilterOperator[FilterOperator["Ge"] = 6] = "Ge";
|
|
16
16
|
FilterOperator[FilterOperator["In"] = 7] = "In";
|
|
17
17
|
FilterOperator[FilterOperator["Like"] = 8] = "Like";
|
|
18
|
+
FilterOperator[FilterOperator["NotLike"] = 9] = "NotLike";
|
|
19
|
+
FilterOperator[FilterOperator["Ba"] = 10] = "Ba";
|
|
18
20
|
})(FilterOperator = ItemQueryEnums.FilterOperator || (ItemQueryEnums.FilterOperator = {}));
|
|
19
21
|
})(ItemQueryEnums || (ItemQueryEnums = {}));
|
|
@@ -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,14 +10,14 @@ 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>;
|
|
17
17
|
getUserPermissions: (userIdentity: string) => Promise<UserAuthorizedChannelResources>;
|
|
18
18
|
getChannelPagesByStatus: (status: PublishingStatus) => Promise<Array<ChannelPage>>;
|
|
19
|
-
approvePublishPageToChannel: (channel: PublishingChannel, pageId: PageId) => Promise<ChannelPage>;
|
|
20
|
-
rejectPublishPageToChannel: (channel: PublishingChannel, pageId: PageId, comment: string) => Promise<ChannelPage>;
|
|
19
|
+
approvePublishPageToChannel: (channel: PublishingChannel, pageId: PageId, pageTitle: string, pageUrl: string) => Promise<ChannelPage>;
|
|
20
|
+
rejectPublishPageToChannel: (channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => Promise<ChannelPage>;
|
|
21
21
|
addPageToChannels: (pageId: number, channelToPublishTo: Array<PublishingChannelId>) => Promise<Array<ChannelPage>>;
|
|
22
22
|
publishAddedPageToChannel: (pageId: PageId) => Promise<Array<ChannelPage>>;
|
|
23
23
|
publishPageToChannels: (pageId: number, channelToPublishTo: Array<PublishingChannelId>) => Promise<Array<ChannelPage>>;
|
|
@@ -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>;
|
|
@@ -6,6 +6,7 @@ export declare class YammerService {
|
|
|
6
6
|
private omniaContext;
|
|
7
7
|
readonly baseUrl = "api/yammer";
|
|
8
8
|
getGroups: () => Promise<Array<YammerGroup>>;
|
|
9
|
+
isYammerTokenSetupAsync: () => Promise<boolean>;
|
|
9
10
|
ensureYammerPostCreation: (sourcePageId: number) => Promise<YammerTracking[]>;
|
|
10
11
|
getYammerTrackingOnPage: (pageId: PageId) => Promise<YammerTracking>;
|
|
11
12
|
disconnectYammerOnPage: (pageId: PageId) => Promise<void>;
|
|
@@ -74,8 +74,8 @@ export declare class ChannelManagementStore extends Store {
|
|
|
74
74
|
updatePublishingChannel: import("@omnia/fx/stores").StoreAction<unknown, (editRequest: PublishingChannel) => void, (result: PublishingChannel, editRequest: PublishingChannel) => void, (failureReason: any, editRequest: PublishingChannel) => void, (editRequest: PublishingChannel) => Promise<PublishingChannel>>;
|
|
75
75
|
deletePublishingChannel: import("@omnia/fx/stores").StoreAction<unknown, (channelId: PublishingChannelId) => void, (result: PublishingChannel, channelId: PublishingChannelId) => void, (failureReason: any, channelId: PublishingChannelId) => void, (channelId: PublishingChannelId) => Promise<PublishingChannel>>;
|
|
76
76
|
getPageApprovalList: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: ChannelPage[]) => void, (failureReason: any) => void, () => Promise<Array<ChannelPage>>>;
|
|
77
|
-
approvePublishPageToChannelRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: PublishingChannel, pageId: PageId) => void, (result: ChannelPage, channel: PublishingChannel, pageId: PageId) => void, (failureReason: any, channel: PublishingChannel, pageId: PageId) => void, (channel: PublishingChannel, pageId: PageId) => Promise<ChannelPage>>;
|
|
78
|
-
rejectPublishPageToChannelRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: PublishingChannel, pageId: PageId, comment: string) => void, (result: ChannelPage, channel: PublishingChannel, pageId: PageId, comment: string) => void, (failureReason: any, channel: PublishingChannel, pageId: PageId, comment: string) => void, (channel: PublishingChannel, pageId: PageId, comment: string) => Promise<ChannelPage>>;
|
|
77
|
+
approvePublishPageToChannelRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: PublishingChannel, pageId: PageId, pageTitle: string, pageUrl: string) => void, (result: ChannelPage, channel: PublishingChannel, pageId: PageId, pageTitle: string, pageUrl: string) => void, (failureReason: any, channel: PublishingChannel, pageId: PageId, pageTitle: string, pageUrl: string) => void, (channel: PublishingChannel, pageId: PageId, pageTitle: string, pageUrl: string) => Promise<ChannelPage>>;
|
|
78
|
+
rejectPublishPageToChannelRequest: import("@omnia/fx/stores").StoreAction<unknown, (channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => void, (result: ChannelPage, channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => void, (failureReason: any, channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => void, (channel: PublishingChannel, pageId: PageId, comment: string, pageTitle: string, pageUrl: string) => Promise<ChannelPage>>;
|
|
79
79
|
addPageToChannels: 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
80
|
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>>>;
|
|
81
81
|
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>>>;
|
|
@@ -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 {
|
|
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;
|
|
@@ -10,7 +10,7 @@ export interface PageRollupQueryResult extends PageRollupQuery {
|
|
|
10
10
|
}
|
|
11
11
|
declare type BatchPageRollupQueryResult = {
|
|
12
12
|
queries: PageRollupQueryResult[];
|
|
13
|
-
pagesDetailResult:
|
|
13
|
+
pagesDetailResult: PageDetailQueryResult[];
|
|
14
14
|
};
|
|
15
15
|
export declare class PageRollupStore extends Store {
|
|
16
16
|
private pageQueryService;
|
|
@@ -24,7 +24,7 @@ export declare class PageRollupStore extends Store {
|
|
|
24
24
|
* State
|
|
25
25
|
*/
|
|
26
26
|
pages: import("@omnia/fx/stores").StoreState<{
|
|
27
|
-
[uniqueKey: string]:
|
|
27
|
+
[uniqueKey: string]: PageDetailQueryResult[];
|
|
28
28
|
}>;
|
|
29
29
|
pagesLoadingStatus: import("@omnia/fx/stores").StoreState<{
|
|
30
30
|
[uniqueKey: string]: 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
|
*/
|
|
@@ -58,15 +59,18 @@ export declare class PageRollupStore extends Store {
|
|
|
58
59
|
* Getter
|
|
59
60
|
*/
|
|
60
61
|
getters: {
|
|
61
|
-
pages: (uniqueKey: string) =>
|
|
62
|
-
pagesIndexedDB: (uniqueKey: string) => Promise<Array<
|
|
62
|
+
pages: (uniqueKey: string) => PageDetailQueryResult[];
|
|
63
|
+
pagesIndexedDB: (uniqueKey: string) => Promise<Array<PageDetailQueryResult>>;
|
|
63
64
|
total: (uniqueKey: string) => number;
|
|
64
65
|
errorMsg: (uniqueKey: string) => string;
|
|
65
66
|
pageDialogData: (pageId: number) => PageDialogData;
|
|
66
67
|
pageContentDataWithLimit: (contentProp: string, contentLimit: number, pageId: number) => string;
|
|
67
|
-
pageTypesTitle: (page:
|
|
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;
|
|
@@ -76,7 +80,7 @@ export declare class PageRollupStore extends Store {
|
|
|
76
80
|
*/
|
|
77
81
|
mutations: {
|
|
78
82
|
addOrUpdateBatchedPages: import("@omnia/fx/stores").StoreMutation<(data: BatchPageRollupQueryResult, clientCaching: boolean) => void, (data: BatchPageRollupQueryResult, clientCaching: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
79
|
-
addOrUpdateIndexedDBPages: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pages: Array<
|
|
83
|
+
addOrUpdateIndexedDBPages: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pages: Array<PageDetailQueryResult>) => void, (uniqueKey: string, pages: PageDetailQueryResult[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
80
84
|
updatePageTypes: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pageTypes: Array<PageTypeSelection>) => void, (uniqueKey: string, pageTypes: PageTypeSelection[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
81
85
|
updatePublishingChannelSettings: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, channelsId: Array<string>) => void, (uniqueKey: string, channelsId: string[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
82
86
|
};
|
|
@@ -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 {};
|
|
@@ -43,6 +43,8 @@ declare class InternalPageRollupStoreHelper {
|
|
|
43
43
|
private hasNewBatchQueryNeedToExecute;
|
|
44
44
|
private pagerollupOutsideWCMLayout;
|
|
45
45
|
private executingQueriesStatus;
|
|
46
|
+
private excludeCountry;
|
|
47
|
+
private currentUserLanguage;
|
|
46
48
|
init(): void;
|
|
47
49
|
getPagingData(pagingQuery: NormalPageRollupPagingQuery, blockInstance: BlockPageRollupInstanceExtends, newSettings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<number>;
|
|
48
50
|
updatePagingQuery(pagingQuery: NormalPageRollupPagingQuery, blockInstance: BlockPageRollupInstanceExtends): Promise<number>;
|
|
@@ -54,6 +56,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
54
56
|
ensureLoadedCurrentNavigation(blockInstances: IBlockInstanceExtends<PageRollupBlockSettings>[]): Promise<void>;
|
|
55
57
|
getTargetingData(settings: PageRollupBlockSettings): TargetingPropertyFlatResult[];
|
|
56
58
|
getResourceId(resourceId: string): string;
|
|
59
|
+
getStartNode(settings: PageRollupBlockSettings): PageItemNode;
|
|
57
60
|
generateFilters(settings: PageRollupBlockSettings, filters?: Array<PageRollupPropertyFilter>): Array<QueryFilter>;
|
|
58
61
|
getVariationQuery(settings: PageRollupBlockSettings, serviceContainerContext: ServiceContainerContext): Promise<{
|
|
59
62
|
ids: VariationId[];
|
|
@@ -62,6 +65,9 @@ declare class InternalPageRollupStoreHelper {
|
|
|
62
65
|
populateTargetingVariationIds(variationQueries: VariationQuery[], settings: PageRollupBlockSettings, pageCollectionSelections: Array<PageCollectionSelection>): any[];
|
|
63
66
|
buildQuery(serviceContainerContext: ServiceContainerContext, settings: PageRollupBlockSettings, instance: IBlockInstance<PageRollupBlockSettings>, uiQueryFilters: QueryFilter[]): Promise<PageQuery>;
|
|
64
67
|
getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
|
|
68
|
+
generateBatchQuery(blockInstance: BlockPageRollupInstanceExtends, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<BatchQueryPages>;
|
|
69
|
+
private getPropertyNameByScope;
|
|
70
|
+
private scopeHasVariationFilter;
|
|
65
71
|
private validateSetting;
|
|
66
72
|
private buildUserTargetingQuery;
|
|
67
73
|
private getInstancesToBatchQuery;
|
|
@@ -87,6 +93,7 @@ declare class InternalPageRollupStoreHelper {
|
|
|
87
93
|
private mapToBatchQueryPages;
|
|
88
94
|
private ensureLoadPageTypesOfInstance;
|
|
89
95
|
private ensureLoadPageTypes;
|
|
96
|
+
private ensureLanuageSettings;
|
|
90
97
|
}
|
|
91
98
|
export declare class PageRollupStoreHelper {
|
|
92
99
|
private internal;
|
|
@@ -98,6 +105,7 @@ export declare class PageRollupStoreHelper {
|
|
|
98
105
|
getPickedPages(settings: PageRollupBlockSettings, instance: IBlockInstance<PageRollupBlockSettings>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): PageItemNode[];
|
|
99
106
|
getTargetingData(settings: PageRollupBlockSettings): TargetingPropertyFlatResult[];
|
|
100
107
|
getResourceId(resourceId: string): string;
|
|
108
|
+
getStartNode(settings: PageRollupBlockSettings): PageItemNode;
|
|
101
109
|
generateFilters(settings: PageRollupBlockSettings, filters?: Array<PageRollupPropertyFilter>): Array<QueryFilter>;
|
|
102
110
|
getVariationQuery(settings: PageRollupBlockSettings, serviceContainerContext: ServiceContainerContext): Promise<{
|
|
103
111
|
ids: VariationId[];
|
|
@@ -135,5 +143,6 @@ export declare class BatchQueryRegistration {
|
|
|
135
143
|
updateQuery(settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>, forceExecuteQuery?: boolean, clientCaching?: boolean): void;
|
|
136
144
|
updatePagingQuery(payload: NormalPageRollupPagingQuery): Promise<number>;
|
|
137
145
|
getPagingData(payload: NormalPageRollupPagingQuery, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<number>;
|
|
146
|
+
generateBatchQuery(settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<BatchQueryPages>;
|
|
138
147
|
}
|
|
139
148
|
export {};
|
|
@@ -58,7 +58,7 @@ export declare class PagesStore extends Store {
|
|
|
58
58
|
takeOverCheckOutPage: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: CheckedOutVersionPageData<PageData>, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<CheckedOutVersionPageData<PageData>>>;
|
|
59
59
|
getPage: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId, forceFromPublishingAppId?: string) => void, (result: Page, pageId: PageId, forceFromPublishingAppId?: string) => void, (failureReason: any, pageId: PageId, forceFromPublishingAppId?: string) => void, (pageId: PageId, forceFromPublishingAppId?: string) => Promise<Page>>;
|
|
60
60
|
archive: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId, comment: string) => void, (result: ArchivePageResult, pageId: PageId, comment: string) => void, (failureReason: any, pageId: PageId, comment: string) => void, (pageId: PageId, comment: string) => Promise<ArchivePageResult>>;
|
|
61
|
-
copy: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: PageNavigationNode<PageNavigationData>, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<PageNavigationNode<PageNavigationData>>>;
|
|
61
|
+
copy: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId, targetParentPageId?: PageId) => void, (result: PageNavigationNode<PageNavigationData>, pageId: PageId, targetParentPageId?: PageId) => void, (failureReason: any, pageId: PageId, targetParentPageId?: PageId) => void, (pageId: PageId, targetParentPageId?: PageId) => Promise<PageNavigationNode<PageNavigationData>>>;
|
|
62
62
|
attachVariationPage: import("@omnia/fx/stores").StoreAction<unknown, (originalPageId: PageId, variationPageId: PageId) => void, (result: PageNavigationNode<PageNavigationData>, originalPageId: PageId, variationPageId: PageId) => void, (failureReason: any, originalPageId: PageId, variationPageId: PageId) => void, (originalPageId: PageId, variationPageId: PageId) => Promise<PageNavigationNode<PageNavigationData>>>;
|
|
63
63
|
visitedpage: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: ReadNews, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<ReadNews>>;
|
|
64
64
|
};
|
|
@@ -13,13 +13,22 @@ export declare class WcmUxCore {
|
|
|
13
13
|
handleOpenLinkInNewWindow: (e: Event, url: string, link?: LinkItem) => void;
|
|
14
14
|
tryToExecuteMSTeamsDeepLinkOnClick(e: Event, url: string): boolean;
|
|
15
15
|
tryToExecuteMSTeamsDeepLinkFromUrl(url: string): boolean;
|
|
16
|
+
resolveUrlFromLink(link: LinkItem): string;
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated Use resolveUrlFromLink instead
|
|
19
|
+
*/
|
|
16
20
|
buildUrlFromLink(link: LinkItem): string;
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Use resolveUrlFromLink instead
|
|
23
|
+
*/
|
|
17
24
|
combineRedirectUrlWithAnchorLink(url: string, link: LinkItem): string;
|
|
18
25
|
splitRedirectUrlWithAnchorLink(url: string): string[];
|
|
19
26
|
getAnchorNameFromLink(link: LinkItem): string | undefined;
|
|
20
27
|
private hasAnchorLinkSettings;
|
|
28
|
+
private isRedirectPage;
|
|
21
29
|
private tryToExecuteTeamsDeepLink;
|
|
22
30
|
private getPageNavigationNode;
|
|
23
31
|
private openLinkInNewWindow;
|
|
32
|
+
private isSpecialLink;
|
|
24
33
|
static get instance(): any;
|
|
25
34
|
}
|
package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/rtf.extensions.manifest.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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"},"exports":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","ApprovalType","AutomaticPageCreationStatusType","BannerBlockStyles","BannerElementName","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","ButtonGroupings","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","ChannelCardViewStyles","ChildStructureType","ColleagueDialogContentStyles","CommentSorting","CommunityAppLayoutDefinition","CommunityPageActivityStyles","CommunityStyles","Constants","ContentBlockModes","ContentBlockStyles","CurrentNavigationBlockSettingsStyles","CurrentNavigationBlockStyles","CurrentNavigationStatus","CurrentPageStatus","DailyRecurrenceTypeEnums","DeletedPageDialogStyles","Directions","DocumentTypes","DynamicRollerSizes","DynamicRollerTypes","EnterpriseGlossaryPageInformationProviderStyles","EnterprisePropertiesBlockDateTimeModes","EnterprisePropertiesRichTextSettings","EnterprisePropertyDataTypeProvider","EnterprisePropertyDocumentProviderProperty","EventAttedeeType","EventCloneDialogContentStyles","EventParticipantCounterBlockStyles","EventParticipantListEnums","EventParticipantListStyles","EventParticipantListViewStyles","HtmlScriptBlockStyle","InfoScreenConstants","InfoScreenManifests","InfoScreenViewIdConstants","ItemQueryEnums","LabelPositions","LinkPickerStyle","MediaBlockStyles","MediaPickerStorageProviderPageContext","MediaPickerStorageProviderPageCreationContext","MediaPickerStorageProviderPageReadContext","MediaPickerStorageProviderWCMChannelAdminContext","MegaMenuStyles","MobileNavigationNodeStyles","MobileNavigationStyles","MonthlyRecurrenceTypeEnums","NavigationDataType","NavigationNodeQuery","NavigationNodeStyles","NavigationNodeType","NavigationRenders","NodeId","OutlookCalendarType","PageCollectionTopic","PageDataType","PageFeedbackBlockStyles","PageFeedbackDialogStyles","PageFeedbacksStyles","PageId","PageItemTemplateStyles","PagePickerNodeStyles","PagePickerProviderStyles","PagePropertiesBlockAdvancedStyles","PagePropertiesBlockStyles","PageRollUpDialogViewStyles","PageRollupBlockCardViewSettingsStyles","PageRollupBlockListViewSettingsStyles","PageRollupBlockListViewViewStyles","PageRollupBlockListingWithImageViewViewStyles","PageRollupBlockRollerViewViewStyles","PageRollupBlockSettingsFilterTabStyles","PageRollupBlockSettingsGeneralTabStyles","PageRollupBlockStyles","PageRollupConstants","PageRollupEnums","PageRollupListViewSettingsStyles","PageRollupListViewStyles","PageRollupListingPickedPagesStyles","PageRollupNavigationViewStyles","PageRollupNewsletterViewStyles","PageRollupPickedPagesDialogStyles","PageTopic","
|
|
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"},"exports":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","ApprovalType","AutomaticPageCreationStatusType","BannerBlockStyles","BannerElementName","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","ButtonGroupings","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","ChannelCardViewStyles","ChildStructureType","ColleagueDialogContentStyles","CommentSorting","CommunityAppLayoutDefinition","CommunityPageActivityStyles","CommunityStyles","Constants","ContentBlockModes","ContentBlockStyles","CurrentNavigationBlockSettingsStyles","CurrentNavigationBlockStyles","CurrentNavigationStatus","CurrentPageStatus","DailyRecurrenceTypeEnums","DeletedPageDialogStyles","DigitalSignageConstants","DigitalSignageManifests","DigitalSigningEntityType","DigitalSigningResultType","Directions","DocumentTypes","DynamicRollerSizes","DynamicRollerTypes","EnterpriseGlossaryPageInformationProviderStyles","EnterprisePropertiesBlockDateTimeModes","EnterprisePropertiesRichTextSettings","EnterprisePropertyDataTypeProvider","EnterprisePropertyDocumentProviderProperty","EventAttedeeType","EventCloneDialogContentStyles","EventParticipantCounterBlockStyles","EventParticipantListEnums","EventParticipantListStyles","EventParticipantListViewStyles","HtmlScriptBlockStyle","InfoScreenConstants","InfoScreenManifests","InfoScreenViewIdConstants","ItemQueryEnums","LabelPositions","LinkPickerStyle","MediaBlockStyles","MediaPickerStorageProviderPageContext","MediaPickerStorageProviderPageCreationContext","MediaPickerStorageProviderPageReadContext","MediaPickerStorageProviderWCMChannelAdminContext","MegaMenuStyles","MobileNavigationNodeStyles","MobileNavigationStyles","MonthlyRecurrenceTypeEnums","NavigationDataType","NavigationNodeQuery","NavigationNodeStyles","NavigationNodeType","NavigationRenders","NodeId","OutlookCalendarType","PageBuiltInColumnConstants","PageCalendarViewMode","PageCollectionTopic","PageDataType","PageFeedbackBlockStyles","PageFeedbackDialogStyles","PageFeedbacksStyles","PageFile","PageId","PageItemTemplateStyles","PagePickerNodeStyles","PagePickerProviderStyles","PagePropertiesBlockAdvancedStyles","PagePropertiesBlockStyles","PageRollUpDialogViewStyles","PageRollupBlockCalendarViewSettingsStyles","PageRollupBlockCalendarViewStyles","PageRollupBlockCardViewSettingsStyles","PageRollupBlockListViewSettingsStyles","PageRollupBlockListViewViewStyles","PageRollupBlockListingWithImageViewViewStyles","PageRollupBlockRollerViewViewStyles","PageRollupBlockSettingsFilterTabStyles","PageRollupBlockSettingsGeneralTabStyles","PageRollupBlockStyles","PageRollupConstants","PageRollupEnums","PageRollupListViewSettingsStyles","PageRollupListViewStyles","PageRollupListingPickedPagesStyles","PageRollupNavigationViewStyles","PageRollupNewsletterViewStyles","PageRollupPickedPagesDialogStyles","PageTopic","PagesDashboardSettingsStyles","PagingTypes","Parameters","ParticipantType","PendingFileStatus","PublishingAppArchiveSettingsRouteProperty","PublishingAppBootRouteProperty","PublishingAppLayoutDefinition","PublishingAppReuseContentSettingsRouteProperty","PublishingAppTopic","PublishingChannelId","PublishingChannelTopic","PublishingStatus","RecurrenceTypeEnums","RelatedLinkAddHeadingDialogStyles","RelatedLinkBlockStyles","RelatedLinkEditFormStyles","RelatedLinkElementName","ResourceEvaluators","ReusablePageStatusType","ReuseContentMode","RoleDefinitions","RootService","RssReaderBlockLeftImageViewStyles","RssReaderBlockNoImageViewStyles","RssReaderBlockStyles","RuleStatus","RuleTypes","ScheduleEndTypeEnums","SearchTemplateOmniaPageStyles","SelectedPageItemStyles","SharepointPageTemplateStyles","SignOffRequestBlockStyles","SignOffRequestConstants","TagTopic","TaxonomyNavigationStyles","TaxonomyTopic","TopicInformationType","TopicType","UserTopic","VariationId","VariationInputStyles","VariationsRouteProperty","VersionId","VersionType","VersionUpdationMode","VideoType","WCMEnterpriseProperties","WCMFxLocalization","WCMNavigationDataTypes","WCMPageIdCustomPropertyName","WCMPageTypes","WCMReaderContext","WcmExtension","WcmGroupManifests","WcmLayoutProvider","WcmPropertyDefaultBooleanValues","WcmPropertyDefaultValues","WcmResourceManifests","WcmService","WcmWebComponentManifests","WeekOfMonthEnums","WorkplaceService","YammerProperties","layoutItemAction"]}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['673c8e89-b2a1-40de-89aa-47c8e443a173']","content":{"./node_modules/@omnia/wcm/ux/
|
|
1
|
+
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['673c8e89-b2a1-40de-89aa-47c8e443a173']","content":{"./node_modules/@omnia/wcm/ux/InternalUxCore.js":{"id":"83824858-c7e4-450b-87a6-39e2a8018d84","buildMeta":{"exportsType":"namespace"},"exports":["WcmUxCore"]}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"wcm-buttonlink-settings":["settingsKey"],"wcm-breadcrumb-settings":["settingsKey"],"owcm-calendar-rollup-settings":["settingsKey"],"owcm-calendar-rollup-dialog":["close"],"omx-em-colleague-dialog-content":["onSave","participant","onClose","onSelectStepPassed"],"wcm-content-block-settings-breakpoint":["settingsKey","breakPointId"],"wcm-content-block-translation-comparer":["settingsKey","onShowScrollChange","onUpdateText"],"omx-em-event-clone-dialog-content":["onSave","eventDetail","onClose"],"wcm-html-script-block-content-editor":["content","close"],"info-screen-button":["data"],"info-screen-renderer":["data"],"wcm-link-picker":["title","onClosed","onSaved","styles","providerFilter","selectedItem"],"owcm-page-rollup-settings-breakpoint":["breakPointId"],"owcm-channel-filter":["model"],"owcm-page-rollup-settings":["settingsKey"],"owcm-pagetype-filter":["model"],"owcm-picked-pages-dialog":["dialogModel","onSaved","close","allowToSelectPageCollectionNode"],"wcm-backgroundselector":["settings"],"wcm-invite-coauthors":["styles","close"],"wcm-mega-menu-default-navigation":["currentSettings"],"wcm-block-mega-menu-settings":["settingsKey"],"wcm-mega-menu-settings":["settingsKey","currentSettings","onUpdateSettings"],"wcm-move-node":["node","onClosed","onSaved","currentPageCollection"],"wcm-sp-sync-settings":["settings","onChange"],"wcm-sp-sync-tenant-settings":["settings","onChange"],"wcm-sp-sync-error":["onClosed","content"],"wcm-sp-sync-warning":["onClosed"],"wcm-related-link-settings":["settingsKey"],"wcm-link-heading":["linkData"],"owcm-activity-feed":["styles"],"owcm-activity-feed-settings":["settingsKey"],"owcm-page-feedbacks":["feedbacks","columns"],"owcm-page-feedbacks-dialog":["pageId","closeCallback"],"wcm-page-feedback":["settingsKey"],"owcm-page-comment-like-settings":["settingsKey"],"owcm-page-comment-like-view":["settings","topicId"],"wcm-variation-input":["model","requiredWithValidator","onModelChange"],"wcm-variation-selector-settings":["settingsKey"]}
|
|
1
|
+
{"wcm-buttonlink-settings":["settingsKey"],"wcm-breadcrumb-settings":["settingsKey"],"owcm-calendar-rollup-settings":["settingsKey"],"owcm-calendar-rollup-dialog":["close"],"omx-em-colleague-dialog-content":["onSave","participant","onClose","onSelectStepPassed"],"wcm-content-block-settings-breakpoint":["settingsKey","breakPointId"],"wcm-content-block-translation-comparer":["settingsKey","onShowScrollChange","onUpdateText"],"owcm-digitalsignage-screen-renderer":["data"],"omx-em-event-clone-dialog-content":["onSave","eventDetail","onClose"],"wcm-html-script-block-content-editor":["content","close"],"info-screen-button":["data"],"info-screen-renderer":["data"],"wcm-link-picker":["title","onClosed","onSaved","styles","providerFilter","selectedItem"],"owcm-page-rollup-settings-breakpoint":["breakPointId"],"owcm-channel-filter":["model"],"owcm-page-rollup-settings":["settingsKey"],"owcm-pagetype-filter":["model"],"owcm-picked-pages-dialog":["dialogModel","onSaved","close","allowToSelectPageCollectionNode"],"wcm-backgroundselector":["settings"],"wcm-invite-coauthors":["styles","close"],"wcm-mega-menu-default-navigation":["currentSettings"],"wcm-block-mega-menu-settings":["settingsKey"],"wcm-mega-menu-settings":["settingsKey","currentSettings","onUpdateSettings"],"wcm-move-node":["node","onClosed","onSaved","currentPageCollection"],"wcm-sp-sync-settings":["settings","onChange"],"wcm-sp-sync-tenant-settings":["settings","onChange"],"wcm-sp-sync-error":["onClosed","content"],"wcm-sp-sync-warning":["onClosed"],"wcm-related-link-settings":["settingsKey"],"wcm-link-heading":["linkData"],"owcm-activity-feed":["styles"],"owcm-activity-feed-settings":["settingsKey"],"owcm-page-feedbacks":["feedbacks","columns"],"owcm-page-feedbacks-dialog":["pageId","closeCallback"],"wcm-page-feedback":["settingsKey"],"owcm-page-comment-like-settings":["settingsKey"],"owcm-page-comment-like-view":["settings","topicId"],"wcm-variation-input":["model","requiredWithValidator","onModelChange"],"wcm-variation-selector-settings":["settingsKey"]}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './richtexteditorextensions';
|