@omnia/wcm 6.10.2-dev → 6.10.6-dev
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/loc/CoreLocalization.d.ts +5 -0
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +7 -0
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +13 -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 +4 -1
- package/internal-do-not-import-from-here/fx/models/Constants.js +7 -4
- package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/ManifestIds.js +10 -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/CalendarRollupBlock.d.ts +9 -0
- 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/PageRollupBlock.d.ts +4 -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/infoscreen/AdminInfoScreenBlock.d.ts +1 -66
- 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/PageDetailsQuery.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +12 -1
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +13 -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/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/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/services/ChannelManagementService.d.ts +2 -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/PageRollupStore.d.ts +7 -7
- package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/ux/InternalUxCore.d.ts +1 -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/{EnterpriseGlossarySuggestion/components/SuggestionComponent.manifest.d.ts → rtf.extensions.manifest.d.ts} +0 -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/tooling/index.d.ts +0 -1
- package/internal-do-not-import-from-here/tooling/index.js +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/loc/localize.manifest.d.ts +0 -1
- 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.css.d.ts +0 -1
- 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
- package/internal-do-not-import-from-here/tooling/extensions/ComposerExtensions.d.ts +0 -5
- package/internal-do-not-import-from-here/tooling/extensions/ComposerExtensions.js +0 -3
|
@@ -209,6 +209,11 @@ export declare module WCMCoreLocalization {
|
|
|
209
209
|
Description: string;
|
|
210
210
|
Category: string;
|
|
211
211
|
};
|
|
212
|
+
VersionedControlledDocument: {
|
|
213
|
+
Title: string;
|
|
214
|
+
Description: string;
|
|
215
|
+
Category: string;
|
|
216
|
+
};
|
|
212
217
|
};
|
|
213
218
|
ImageScalingBlockSettings: {
|
|
214
219
|
ForceDefaultScaling: string;
|
|
@@ -248,6 +248,7 @@ export declare module EditorLocalization {
|
|
|
248
248
|
PageTypes: {
|
|
249
249
|
Title: string;
|
|
250
250
|
Properties: string;
|
|
251
|
+
AddPageType: string;
|
|
251
252
|
};
|
|
252
253
|
Approval: {
|
|
253
254
|
Title: string;
|
|
@@ -493,6 +494,12 @@ export declare module EditorLocalization {
|
|
|
493
494
|
Create: string;
|
|
494
495
|
Cancel: string;
|
|
495
496
|
};
|
|
497
|
+
EditPageType: {
|
|
498
|
+
Title: string;
|
|
499
|
+
Inherit: string;
|
|
500
|
+
Save: string;
|
|
501
|
+
Cancel: string;
|
|
502
|
+
};
|
|
496
503
|
AddContent: {
|
|
497
504
|
Title: string;
|
|
498
505
|
SearchForABlock: string;
|
|
@@ -59,6 +59,7 @@ export declare module PageRollupLocalization {
|
|
|
59
59
|
Subscriptions: string;
|
|
60
60
|
NavigationPath: string;
|
|
61
61
|
Channels: string;
|
|
62
|
+
BusinessProfiles: string;
|
|
62
63
|
};
|
|
63
64
|
SearchBoxMessage: {
|
|
64
65
|
SearchOnPageTitleAnd: string;
|
|
@@ -72,6 +73,12 @@ export declare module PageRollupLocalization {
|
|
|
72
73
|
LastCommentedAt: string;
|
|
73
74
|
NoLimit: string;
|
|
74
75
|
ExcludeCurrentPage: string;
|
|
76
|
+
Status: {
|
|
77
|
+
Title: string;
|
|
78
|
+
AnyStatus: string;
|
|
79
|
+
PublishedOnly: string;
|
|
80
|
+
DraftsOnly: string;
|
|
81
|
+
};
|
|
75
82
|
PageVariationType: {
|
|
76
83
|
CurrentUserVariation: string;
|
|
77
84
|
DefaultVariation: string;
|
|
@@ -104,6 +111,7 @@ export declare module PageRollupLocalization {
|
|
|
104
111
|
UniqueUsers: string;
|
|
105
112
|
LastViewed: string;
|
|
106
113
|
PageStatistics: string;
|
|
114
|
+
WorkflowStatus: string;
|
|
107
115
|
};
|
|
108
116
|
PagePicker: {
|
|
109
117
|
AddPage: string;
|
|
@@ -252,5 +260,10 @@ export declare module PageRollupLocalization {
|
|
|
252
260
|
NavigationNodePicker: {
|
|
253
261
|
SelectStartNode: string;
|
|
254
262
|
};
|
|
263
|
+
WorkflowStatus: {
|
|
264
|
+
CheckedOut: string;
|
|
265
|
+
WaitingForApproval: string;
|
|
266
|
+
ScheduledForPublishing: string;
|
|
267
|
+
};
|
|
255
268
|
}
|
|
256
269
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TaxonomyPropertySettings } from "@omnia/fx/models";
|
|
1
|
+
import { TargetingProperty, TargetingPropertyData, TaxonomyPropertySettings } from "@omnia/fx/models";
|
|
2
2
|
import { VueComponentBase, VueComponentBaseProps } from "@omnia/fx/ux";
|
|
3
3
|
import { PageRollupEnums } from "@omnia/wcm/models";
|
|
4
4
|
import { TaxonomyUIFilter } from "../../fx/models";
|
|
@@ -12,6 +12,7 @@ export interface IFilterTargetingPropertyValueInput extends VueComponentBaseProp
|
|
|
12
12
|
title: string;
|
|
13
13
|
}>;
|
|
14
14
|
updateBlockData: () => void;
|
|
15
|
+
targetingProperties: Array<TargetingProperty<TargetingPropertyData>>;
|
|
15
16
|
}
|
|
16
17
|
/**
|
|
17
18
|
* Generic component created for all targeting properties
|
|
@@ -26,11 +27,14 @@ export declare class FilterTargetingPropertyValueInput extends VueComponentBase<
|
|
|
26
27
|
title: string;
|
|
27
28
|
}>;
|
|
28
29
|
updateBlockData: () => void;
|
|
30
|
+
targetingProperties: Array<TargetingProperty<TargetingPropertyData>>;
|
|
29
31
|
private loc;
|
|
30
32
|
created(): void;
|
|
33
|
+
private getSelectionTargetingProperties;
|
|
34
|
+
private onTargetPropertyCheckboxChange;
|
|
31
35
|
renderFilterTypePicker(h: any): JSX.Element;
|
|
32
36
|
renderFixedValuePicker(h: any): JSX.Element;
|
|
33
|
-
|
|
37
|
+
renderUserTypePicker(h: any): JSX.Element[];
|
|
34
38
|
renderIncludeEmptyCheckbox(h: any): JSX.Element;
|
|
35
39
|
render(h: any): JSX.Element;
|
|
36
40
|
}
|
|
@@ -20,4 +20,5 @@ export declare module ItemQueryHelper {
|
|
|
20
20
|
function generateNumberFilter(property: string, value: number, logicalOperator: ItemQueryEnums.FilterLogicalOperator): QueryFilter;
|
|
21
21
|
function generateBooleanFilter(property: string, value: boolean, logicalOperator: ItemQueryEnums.FilterLogicalOperator): QueryFilter;
|
|
22
22
|
function generateDateFilter(property: string, from: Date, to: Date, logicalOperator: ItemQueryEnums.FilterLogicalOperator, filterOnDateTime?: boolean): QueryFilter;
|
|
23
|
+
function generateBitwiseFilter(property: string, value: number, logicalOperator: ItemQueryEnums.FilterLogicalOperator): QueryFilter;
|
|
23
24
|
}
|
|
@@ -29,6 +29,7 @@ export declare const PageRollupConstants: {
|
|
|
29
29
|
readonly lastViewedCurrentUserInternalName: string;
|
|
30
30
|
readonly lastViewedAllUsersInternalName: string;
|
|
31
31
|
readonly pageStatistisGroupInternalName: string;
|
|
32
|
+
readonly businessProfileIdInternalName: string;
|
|
32
33
|
};
|
|
33
34
|
export declare const Constants: {
|
|
34
35
|
social: {
|
|
@@ -39,6 +40,7 @@ export declare const Constants: {
|
|
|
39
40
|
infoScreen: string;
|
|
40
41
|
eventmanagement: string;
|
|
41
42
|
yammerIntegration: string;
|
|
43
|
+
versionedControlledDocument: string;
|
|
42
44
|
};
|
|
43
45
|
communityAppDefinitionInfo: {
|
|
44
46
|
id: Guid;
|
|
@@ -89,6 +91,7 @@ export declare const InfoScreenViewIdConstants: {
|
|
|
89
91
|
export declare const SignOffRequestConstants: {
|
|
90
92
|
actionButtonHandlerId: string;
|
|
91
93
|
};
|
|
92
|
-
export declare const
|
|
94
|
+
export declare const PageBuiltInColumnConstants: {
|
|
93
95
|
layoutDataParentPageId: string;
|
|
96
|
+
workflowStatus: string;
|
|
94
97
|
};
|
|
@@ -32,7 +32,8 @@ export var PageRollupConstants = {
|
|
|
32
32
|
get uniqueUsersInternalName() { return "d3c32225-c550-4d75-ad11-c86f75a37b92"; },
|
|
33
33
|
get lastViewedCurrentUserInternalName() { return "ecc2ab45-85eb-4f83-a446-5518a4fbe754"; },
|
|
34
34
|
get lastViewedAllUsersInternalName() { return "d2c1a9f8-dc6e-4d3a-ac2c-734aed808ef6"; },
|
|
35
|
-
get pageStatistisGroupInternalName() { return "e91beabc-bde3-40e0-9ae5-24d362667bad"; }
|
|
35
|
+
get pageStatistisGroupInternalName() { return "e91beabc-bde3-40e0-9ae5-24d362667bad"; },
|
|
36
|
+
get businessProfileIdInternalName() { return "PBusinessProfileId"; },
|
|
36
37
|
};
|
|
37
38
|
export var Constants = {
|
|
38
39
|
social: {
|
|
@@ -42,7 +43,8 @@ export var Constants = {
|
|
|
42
43
|
community: "c6d779e8-58ef-4f5d-9fe4-dbdd311bf9c9",
|
|
43
44
|
infoScreen: "5899f95b-0b0e-43ef-bfc5-fb387467b914",
|
|
44
45
|
eventmanagement: "5d84674a-da6f-455f-90e7-ec7c90ca3a26",
|
|
45
|
-
yammerIntegration: "560986c7-56dd-4aea-abec-008825a53dc8"
|
|
46
|
+
yammerIntegration: "560986c7-56dd-4aea-abec-008825a53dc8",
|
|
47
|
+
versionedControlledDocument: "5bc17781-4f2f-4119-8359-652300d9ace9"
|
|
46
48
|
},
|
|
47
49
|
communityAppDefinitionInfo: {
|
|
48
50
|
id: new Guid("3b0e3cd4-911e-49cf-a401-b6c904526b85")
|
|
@@ -98,6 +100,7 @@ export var InfoScreenViewIdConstants = {
|
|
|
98
100
|
export var SignOffRequestConstants = {
|
|
99
101
|
actionButtonHandlerId: "16df3e91-78ac-4be1-94bf-4cd7bfb149e6"
|
|
100
102
|
};
|
|
101
|
-
export var
|
|
102
|
-
layoutDataParentPageId: "LayoutDataParentPageId"
|
|
103
|
+
export var PageBuiltInColumnConstants = {
|
|
104
|
+
layoutDataParentPageId: "LayoutDataParentPageId",
|
|
105
|
+
workflowStatus: "WorkflowStatus"
|
|
103
106
|
};
|
|
@@ -87,6 +87,7 @@ export declare class WcmResourceManifests {
|
|
|
87
87
|
static get SignOffRequestBanner(): Guid;
|
|
88
88
|
static get PublishingAppToken(): Guid;
|
|
89
89
|
static get EnterprisePropertiesPropvider(): Guid;
|
|
90
|
+
static get RTFExtensions(): Guid;
|
|
90
91
|
}
|
|
91
92
|
export declare class WcmWebComponentManifests {
|
|
92
93
|
static get LinkPickerExtension(): Guid;
|
|
@@ -144,6 +145,7 @@ export declare class WcmWebComponentManifests {
|
|
|
144
145
|
static get CalendarRollupSettings(): Guid;
|
|
145
146
|
static get PageTypeFilter(): Guid;
|
|
146
147
|
static get ChannelFilter(): Guid;
|
|
148
|
+
static get WorkflowStatusFilter(): Guid;
|
|
147
149
|
static get BlockMegaMenu(): Guid;
|
|
148
150
|
static get BlockMegaMenuSettings(): Guid;
|
|
149
151
|
static get MediaPicker(): Guid;
|
|
@@ -422,6 +422,11 @@ var WcmResourceManifests = /** @class */ (function () {
|
|
|
422
422
|
enumerable: false,
|
|
423
423
|
configurable: true
|
|
424
424
|
});
|
|
425
|
+
Object.defineProperty(WcmResourceManifests, "RTFExtensions", {
|
|
426
|
+
get: function () { return new Guid("cee422ab-d5bb-4f7c-b2b2-44b2169cd17b"); },
|
|
427
|
+
enumerable: false,
|
|
428
|
+
configurable: true
|
|
429
|
+
});
|
|
425
430
|
return WcmResourceManifests;
|
|
426
431
|
}());
|
|
427
432
|
export { WcmResourceManifests };
|
|
@@ -705,6 +710,11 @@ var WcmWebComponentManifests = /** @class */ (function () {
|
|
|
705
710
|
enumerable: false,
|
|
706
711
|
configurable: true
|
|
707
712
|
});
|
|
713
|
+
Object.defineProperty(WcmWebComponentManifests, "WorkflowStatusFilter", {
|
|
714
|
+
get: function () { return new Guid('17c8012c-8708-40f9-8f92-c48d59dee32b'); },
|
|
715
|
+
enumerable: false,
|
|
716
|
+
configurable: true
|
|
717
|
+
});
|
|
708
718
|
Object.defineProperty(WcmWebComponentManifests, "BlockMegaMenu", {
|
|
709
719
|
get: function () { return new Guid("58a423c3-9cd6-4408-8545-d58abf4b2696"); },
|
|
710
720
|
enumerable: false,
|
|
@@ -58,6 +58,15 @@ export interface Event {
|
|
|
58
58
|
body?: EventBody;
|
|
59
59
|
attendees?: Array<EventAttendee>;
|
|
60
60
|
onlineMeeting?: OnlineMeeting;
|
|
61
|
+
attachments?: FileAttachment[];
|
|
62
|
+
}
|
|
63
|
+
export interface FileAttachment {
|
|
64
|
+
id: string;
|
|
65
|
+
name: string;
|
|
66
|
+
size: number;
|
|
67
|
+
contentType: string;
|
|
68
|
+
isInline: boolean;
|
|
69
|
+
lastModifiedDateTime: Date;
|
|
61
70
|
}
|
|
62
71
|
export interface EventQueryResponse {
|
|
63
72
|
value: Array<Event>;
|
|
@@ -5,6 +5,7 @@ export interface TaxonomyQueryFilter {
|
|
|
5
5
|
filterType: PageRollupEnums.FilterTypes;
|
|
6
6
|
includeChildTerms: boolean;
|
|
7
7
|
includeEmpty: boolean;
|
|
8
|
+
targetingPropertyIds: Array<GuidValue>;
|
|
8
9
|
}
|
|
9
10
|
export interface TaxonomyUIFilter extends TaxonomyQueryFilter {
|
|
10
11
|
termIds: Array<GuidValue>;
|
|
@@ -19,6 +19,10 @@ export interface PageLinkItem extends LinkItem, PageItemNode, AnchorLinkItem {
|
|
|
19
19
|
}
|
|
20
20
|
export interface CustomLinkItem extends LinkItem, AnchorLinkItem {
|
|
21
21
|
}
|
|
22
|
+
export interface DocumentLinkItem extends LinkItem {
|
|
23
|
+
fileUrl: string;
|
|
24
|
+
siteUrl: string;
|
|
25
|
+
}
|
|
22
26
|
export interface CustomLinkPropertyData extends LinkPickerPropertyData {
|
|
23
27
|
isValidateTitle?: boolean;
|
|
24
28
|
}
|
|
@@ -110,6 +110,9 @@ export interface PageRollupPageTypePropertyFilterValue extends PageRollupPropert
|
|
|
110
110
|
export interface PageRollupChannelFilterValue extends PageRollupPropertyFilterValue {
|
|
111
111
|
value: Array<PublishingChannelId>;
|
|
112
112
|
}
|
|
113
|
+
export interface PageRollupWorkflowStatusPropertyFilterValue extends PageRollupPropertyFilterValue {
|
|
114
|
+
value: PageRollupEnums.WorkflowStatus;
|
|
115
|
+
}
|
|
113
116
|
export interface PageRollupBlockBreakPointSettings {
|
|
114
117
|
selectedViewId: string;
|
|
115
118
|
selectedViewManifestId?: GuidValue;
|
|
@@ -190,6 +193,7 @@ export interface PageRollupBlockSettings {
|
|
|
190
193
|
navigationDepthLevel: number;
|
|
191
194
|
navigationStartNode?: PageItemNode;
|
|
192
195
|
currentUserSubscription?: boolean;
|
|
196
|
+
versionStatus: PageRollupEnums.VersionStatus;
|
|
193
197
|
}
|
|
194
198
|
export interface PageTypeSelection extends Page {
|
|
195
199
|
title: string;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { SpacingSettings, MultilingualString, BlockSettingsWithDefaultProperty } from '@omnia/fx-models';
|
|
1
|
+
import { SpacingSettings, MultilingualString, BlockSettingsWithDefaultProperty, IPersistedFile } from '@omnia/fx-models';
|
|
2
|
+
import { PageFile } from '../pages';
|
|
2
3
|
import { LinkItem } from './LinkPicker';
|
|
3
4
|
export declare const RelatedLinkElementName: {
|
|
4
5
|
relatedLinkBlockSettings: string;
|
|
5
6
|
};
|
|
7
|
+
export interface RelatedLinkBlockItem extends LinkItem {
|
|
8
|
+
pageFile?: IPersistedFile<PageFile>;
|
|
9
|
+
}
|
|
6
10
|
export interface RelatedLinkBlockProperty {
|
|
7
|
-
links: Array<
|
|
11
|
+
links: Array<RelatedLinkBlockItem>;
|
|
8
12
|
}
|
|
9
13
|
export interface RelatedLinkBlockSettings extends BlockSettingsWithDefaultProperty<RelatedLinkBlockProperty> {
|
|
10
14
|
backgroundColor: string;
|
|
@@ -13,4 +17,5 @@ export interface RelatedLinkBlockSettings extends BlockSettingsWithDefaultProper
|
|
|
13
17
|
spacing?: SpacingSettings;
|
|
14
18
|
title?: MultilingualString;
|
|
15
19
|
openInOfficeWebApp?: boolean;
|
|
20
|
+
copyDocumentsLocallyEnabled?: boolean;
|
|
16
21
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AdminInfoScreenEnums } from './AdminInfoScreenEnums';
|
|
1
|
+
import { GuidValue, SpacingSettings, MultilingualString, IconPickerModel, MediaPickerVideo } from '@omnia/fx-models';
|
|
3
2
|
import { PageQuery, PageRollupEnums, PageRollupPropertyFilter, PagingTypes, PageRollupUiFilter, PageItemNode, VideoType } from '@omnia/wcm/models';
|
|
4
3
|
import { TargetingFilterProperty } from '@omnia/fx-sp/models';
|
|
5
4
|
export interface BlockDataWithSettingsAndData<Data, Settings> {
|
|
@@ -8,70 +7,6 @@ export interface BlockDataWithSettingsAndData<Data, Settings> {
|
|
|
8
7
|
export interface AdminInfoScreenViewSettings {
|
|
9
8
|
selectProperties: Array<string>;
|
|
10
9
|
}
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* BASE FILTER
|
|
14
|
-
*
|
|
15
|
-
* */
|
|
16
|
-
export interface PropertyFilter {
|
|
17
|
-
property: string;
|
|
18
|
-
type: PropertyIndexedType.Boolean | PropertyIndexedType.DateTime | PropertyIndexedType.Text | PropertyIndexedType.Person | PropertyIndexedType.Taxonomy;
|
|
19
|
-
valueObj: PropertyFilterValue;
|
|
20
|
-
}
|
|
21
|
-
export interface PropertyFilterValue {
|
|
22
|
-
}
|
|
23
|
-
export interface BooleanPropFilterValue extends PropertyFilterValue {
|
|
24
|
-
value: boolean;
|
|
25
|
-
}
|
|
26
|
-
export interface TextPropFilterValue extends PropertyFilterValue {
|
|
27
|
-
value: string;
|
|
28
|
-
}
|
|
29
|
-
export interface PersonPropFilterValue extends PropertyFilterValue {
|
|
30
|
-
value: Array<Identity>;
|
|
31
|
-
}
|
|
32
|
-
export interface DatePropFilterValue extends PropertyFilterValue {
|
|
33
|
-
value: AdminInfoScreenEnums.DatePeriods;
|
|
34
|
-
}
|
|
35
|
-
export interface TaxonomyPropFilterValue extends PropertyFilterValue {
|
|
36
|
-
fixedTermIds?: Array<string>;
|
|
37
|
-
filterType: AdminInfoScreenEnums.TaxonomyFilterType;
|
|
38
|
-
includeChildTerms: boolean;
|
|
39
|
-
includeEmpty: boolean;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* UI FILTER
|
|
44
|
-
*
|
|
45
|
-
* */
|
|
46
|
-
export interface UIFilter {
|
|
47
|
-
property: string;
|
|
48
|
-
type: PropertyIndexedType.Boolean | PropertyIndexedType.DateTime | PropertyIndexedType.Text | PropertyIndexedType.Person | PropertyIndexedType.Taxonomy;
|
|
49
|
-
valueObj: UIFilterValue;
|
|
50
|
-
}
|
|
51
|
-
export interface UIFilterValue {
|
|
52
|
-
}
|
|
53
|
-
export interface UIDatePropFilterValue extends UIFilterValue {
|
|
54
|
-
from: string;
|
|
55
|
-
to: string;
|
|
56
|
-
}
|
|
57
|
-
export interface UIBooleanPropFilterValue extends UIFilterValue {
|
|
58
|
-
value: AdminInfoScreenEnums.BooleamFilterOption;
|
|
59
|
-
}
|
|
60
|
-
export interface UITextPropFilterValue extends UIFilterValue {
|
|
61
|
-
text: string;
|
|
62
|
-
}
|
|
63
|
-
export interface UIPersonPropFilterValue extends UIFilterValue {
|
|
64
|
-
identities: Array<Identity>;
|
|
65
|
-
}
|
|
66
|
-
export interface UITaxonomyPropFilterValue extends UIFilterValue {
|
|
67
|
-
termIds: Array<GuidValue>;
|
|
68
|
-
}
|
|
69
|
-
export interface UISearchboxFilterValue extends UITextPropFilterValue {
|
|
70
|
-
properties: Array<string>;
|
|
71
|
-
}
|
|
72
|
-
export interface UIDatePeriodsFilterValue extends UIDatePropFilterValue {
|
|
73
|
-
value: AdminInfoScreenEnums.DatePeriods;
|
|
74
|
-
}
|
|
75
10
|
export interface AdminInfoScreenBlockDataData {
|
|
76
11
|
}
|
|
77
12
|
export interface AdminInfoScreenBlockSettings {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EnterprisePropertyDefinition, SpacingSettings } from '@omnia/fx-models';
|
|
2
|
-
import { PageRollupViewSettings,
|
|
2
|
+
import { PageRollupViewSettings, PageDetailQueryResult } from '..';
|
|
3
3
|
export interface IPageRollupViewInterface<T extends PageRollupViewSettings> {
|
|
4
|
-
pages: Array<
|
|
4
|
+
pages: Array<PageDetailQueryResult>;
|
|
5
5
|
highlightNonRead?: boolean;
|
|
6
6
|
viewSettings: T;
|
|
7
7
|
spacingSetting?: SpacingSettings;
|
|
@@ -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;
|
|
@@ -26,10 +26,21 @@ 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 WorkflowStatus {
|
|
37
|
+
CheckedOut = 1,
|
|
38
|
+
WaitingForApproval = 2,
|
|
39
|
+
ScheduleForPublishing = 4
|
|
40
|
+
}
|
|
41
|
+
enum VersionStatus {
|
|
42
|
+
Any = 0,
|
|
43
|
+
Drafts = 1,
|
|
44
|
+
Published = 2
|
|
45
|
+
}
|
|
35
46
|
}
|
|
@@ -33,10 +33,23 @@ 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 WorkflowStatus;
|
|
44
|
+
(function (WorkflowStatus) {
|
|
45
|
+
WorkflowStatus[WorkflowStatus["CheckedOut"] = 1] = "CheckedOut";
|
|
46
|
+
WorkflowStatus[WorkflowStatus["WaitingForApproval"] = 2] = "WaitingForApproval";
|
|
47
|
+
WorkflowStatus[WorkflowStatus["ScheduleForPublishing"] = 4] = "ScheduleForPublishing";
|
|
48
|
+
})(WorkflowStatus = PageRollupEnums.WorkflowStatus || (PageRollupEnums.WorkflowStatus = {}));
|
|
49
|
+
var VersionStatus;
|
|
50
|
+
(function (VersionStatus) {
|
|
51
|
+
VersionStatus[VersionStatus["Any"] = 0] = "Any";
|
|
52
|
+
VersionStatus[VersionStatus["Drafts"] = 1] = "Drafts";
|
|
53
|
+
VersionStatus[VersionStatus["Published"] = 2] = "Published";
|
|
54
|
+
})(VersionStatus = PageRollupEnums.VersionStatus || (PageRollupEnums.VersionStatus = {}));
|
|
42
55
|
})(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
|
+
collectionPageTypes?: Array<CollectionPageType>;
|
|
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 CollectionPageType {
|
|
87
|
+
pageTypeId: number;
|
|
88
|
+
breakInheritanceProperties: Array<BreakInheritanceProperty>;
|
|
89
|
+
}
|
|
90
|
+
export interface BreakInheritanceProperty {
|
|
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;
|
|
@@ -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 = {}));
|
|
@@ -16,8 +16,8 @@ export declare class ChannelManagementService {
|
|
|
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>>;
|
|
@@ -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>>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Store } from '@omnia/fx/stores';
|
|
2
|
-
import {
|
|
2
|
+
import { PageDetailQueryResult, PageDialogData, PageDialogPropertiesMapping, PageNavigationData, PageNavigationNode, PageRollupQuery, PageTypeSelection } 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;
|
|
@@ -58,13 +58,13 @@ export declare class PageRollupStore extends Store {
|
|
|
58
58
|
* Getter
|
|
59
59
|
*/
|
|
60
60
|
getters: {
|
|
61
|
-
pages: (uniqueKey: string) =>
|
|
62
|
-
pagesIndexedDB: (uniqueKey: string) => Promise<Array<
|
|
61
|
+
pages: (uniqueKey: string) => PageDetailQueryResult[];
|
|
62
|
+
pagesIndexedDB: (uniqueKey: string) => Promise<Array<PageDetailQueryResult>>;
|
|
63
63
|
total: (uniqueKey: string) => number;
|
|
64
64
|
errorMsg: (uniqueKey: string) => string;
|
|
65
65
|
pageDialogData: (pageId: number) => PageDialogData;
|
|
66
66
|
pageContentDataWithLimit: (contentProp: string, contentLimit: number, pageId: number) => string;
|
|
67
|
-
pageTypesTitle: (page:
|
|
67
|
+
pageTypesTitle: (page: PageDetailQueryResult) => string;
|
|
68
68
|
pageTypes: (uniqueKey: string) => PageTypeSelection[];
|
|
69
69
|
publishingChannelSettings: (uniqueKey: string) => string[];
|
|
70
70
|
};
|
|
@@ -76,7 +76,7 @@ export declare class PageRollupStore extends Store {
|
|
|
76
76
|
*/
|
|
77
77
|
mutations: {
|
|
78
78
|
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<
|
|
79
|
+
addOrUpdateIndexedDBPages: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pages: Array<PageDetailQueryResult>) => void, (uniqueKey: string, pages: PageDetailQueryResult[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
80
80
|
updatePageTypes: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, pageTypes: Array<PageTypeSelection>) => void, (uniqueKey: string, pageTypes: PageTypeSelection[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
81
81
|
updatePublishingChannelSettings: import("@omnia/fx/stores").StoreMutation<(uniqueKey: string, channelsId: Array<string>) => void, (uniqueKey: string, channelsId: string[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
82
82
|
};
|
|
@@ -62,6 +62,8 @@ declare class InternalPageRollupStoreHelper {
|
|
|
62
62
|
populateTargetingVariationIds(variationQueries: VariationQuery[], settings: PageRollupBlockSettings, pageCollectionSelections: Array<PageCollectionSelection>): any[];
|
|
63
63
|
buildQuery(serviceContainerContext: ServiceContainerContext, settings: PageRollupBlockSettings, instance: IBlockInstance<PageRollupBlockSettings>, uiQueryFilters: QueryFilter[]): Promise<PageQuery>;
|
|
64
64
|
getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
|
|
65
|
+
private getPropertyNameByScope;
|
|
66
|
+
private scopeHasVariationFilter;
|
|
65
67
|
private validateSetting;
|
|
66
68
|
private buildUserTargetingQuery;
|
|
67
69
|
private getInstancesToBatchQuery;
|
|
File without changes
|
|
@@ -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","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","PageCollectionTopic","PageDataType","PageFeedbackBlockStyles","PageFeedbackDialogStyles","PageFeedbacksStyles","PageFile","PageId","PageItemTemplateStyles","PagePickerNodeStyles","PagePickerProviderStyles","PagePropertiesBlockAdvancedStyles","PagePropertiesBlockStyles","PageRollUpDialogViewStyles","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 +0,0 @@
|
|
|
1
|
-
import "./extensions/ComposerExtensions";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
//require("./extensions/ComposerExtensions"); //
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './richtexteditorextensions';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { EnterpriseGlossarySuggestionConfigurationOption } from "./models";
|
|
2
|
-
import { EnterpriseGlossaryMapping, EnterpriseGlossaryMappingData } from '@omnia/fx/models';
|
|
3
|
-
export declare class EnterpriseGlossarySuggestionConfiguration {
|
|
4
|
-
private _enterpriseGlossaryStore;
|
|
5
|
-
constructor();
|
|
6
|
-
getConfig(): EnterpriseGlossarySuggestionConfigurationOption;
|
|
7
|
-
findEnterpriseTerm: (query: string) => Promise<Array<EnterpriseGlossaryMapping<EnterpriseGlossaryMappingData>>>;
|
|
8
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { RichTextEditorExtension, ToolbarConfiguration, RichTextEditorExtensionDefinition, BubbleMenuConfiguration } from '@omnia/fx/ux/richtexteditor';
|
|
2
|
-
export declare class EnterpriseGlossarySuggestionExtension implements RichTextEditorExtension {
|
|
3
|
-
configuration: Array<ToolbarConfiguration>;
|
|
4
|
-
menuConfiguration: Array<BubbleMenuConfiguration>;
|
|
5
|
-
constructor();
|
|
6
|
-
getDefition(): Promise<RichTextEditorExtensionDefinition>;
|
|
7
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IWebComponentInstance } from '@omnia/fx';
|
|
2
|
-
import { VueComponentBase } from "@omnia/fx/ux";
|
|
3
|
-
import { EnterpriseGlossaryMappingId } from '@omnia/fx-models';
|
|
4
|
-
import { EnterpriseGlossaryStore, MultilingualStore } from '@omnia/fx/stores';
|
|
5
|
-
export declare class SuggestionComponent extends VueComponentBase implements IWebComponentInstance {
|
|
6
|
-
multilingualStore: MultilingualStore;
|
|
7
|
-
enterpriseGlossaryStore: EnterpriseGlossaryStore;
|
|
8
|
-
enterpriseGlossaryMappingId: EnterpriseGlossaryMappingId;
|
|
9
|
-
onMappingChanged(): void;
|
|
10
|
-
private enterpriseGlossaryMapping;
|
|
11
|
-
private termStyle;
|
|
12
|
-
mounted(): void;
|
|
13
|
-
created(): void;
|
|
14
|
-
init(): void;
|
|
15
|
-
render(h: any): import("vue").VNode;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EnterpriseGlossaryMapping, EnterpriseGlossaryMappingData } from "@omnia/fx/models";
|
|
2
|
-
export interface EnterpriseGlossarySuggestionConfigurationOption {
|
|
3
|
-
findEnterpriseTerm?: (text: string) => Promise<Array<EnterpriseGlossaryMapping<EnterpriseGlossaryMappingData>>>;
|
|
4
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { NodeExtension } from '@omnia/fx/ux/richtexteditor';
|
|
2
|
-
import { EnterpriseGlossarySuggestionConfigurationOption } from '../models';
|
|
3
|
-
interface EnterpriseGlossarySuggestionOptions extends EnterpriseGlossarySuggestionConfigurationOption {
|
|
4
|
-
}
|
|
5
|
-
export default class EnterpriseGlossarySuggestion extends NodeExtension {
|
|
6
|
-
static options: Partial<EnterpriseGlossarySuggestionOptions>;
|
|
7
|
-
constructor(options?: Partial<EnterpriseGlossarySuggestionConfigurationOption>);
|
|
8
|
-
get name(): string;
|
|
9
|
-
get defaultOptions(): {};
|
|
10
|
-
get schema(): any;
|
|
11
|
-
get view(): any;
|
|
12
|
-
get plugins(): import("prosemirror-state").Plugin<any, any>[];
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Plugin } from "prosemirror-state";
|
|
2
|
-
import './EnterpriseGlossarySuggestion.css';
|
|
3
|
-
import { EnterpriseGlossarySuggestionConfigurationOption } from "../models";
|
|
4
|
-
export default function EnterpriseGlossarySuggestionPlugin(configOptions: EnterpriseGlossarySuggestionConfigurationOption): Plugin<any, any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./EnterpriseGlossarySuggestion";
|