@omnia/wcm 7.10.0-preview.9 → 7.11.0-preview.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/internal-do-not-import-from-here/core/Utils.d.ts +5 -1
- package/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +14 -1
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +41 -3
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +4 -0
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +55 -2
- package/internal-do-not-import-from-here/core/messaging/WcmPublicTopics.d.ts +3 -2
- package/internal-do-not-import-from-here/fx/constants.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/helpers/ItemQueryHelper.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/Constants.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/Constants.js +6 -1
- package/internal-do-not-import-from-here/fx/models/Enums.d.ts +8 -0
- package/internal-do-not-import-from-here/fx/models/Enums.js +10 -1
- package/internal-do-not-import-from-here/fx/models/channels/PublishingChannel.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlockStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/components/LinkPicker.d.ts +21 -1
- package/internal-do-not-import-from-here/fx/models/components/LinkPicker.js +8 -1
- package/internal-do-not-import-from-here/fx/models/components/LinkPickerExtension.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/components/PagePropertiesBlockStyles.d.ts +2 -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/PageRollupBlockStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/document/DocumentDurableInfo.d.ts +13 -0
- package/internal-do-not-import-from-here/fx/models/document/DocumentDurableInfo.js +2 -0
- package/internal-do-not-import-from-here/fx/models/document/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/document/index.js +4 -0
- package/internal-do-not-import-from-here/fx/models/eventmanagement/components/ActionButtonSignUpHandlerSettings.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/linkpicker/ILinkPickerProvider.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/navigation/LinkNavigationData.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/navigation/NavigationData.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/navigation/NavigationData.js +2 -0
- package/internal-do-not-import-from-here/fx/models/navigation/TextNavigationData.d.ts +5 -0
- package/internal-do-not-import-from-here/fx/models/navigation/TextNavigationData.js +2 -0
- package/internal-do-not-import-from-here/fx/models/navigation/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/navigation/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +2 -0
- package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupQuery.d.ts +3 -0
- package/internal-do-not-import-from-here/fx/models/pages/ApprovalRequestInfo.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/models/pages/ApprovalRequestInfo.js +6 -0
- package/internal-do-not-import-from-here/fx/models/pages/ArchivePageResult.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/pages/ArchivePageResult.js +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageData.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/PagePermissionInfo.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageTypeData.d.ts +4 -3
- package/internal-do-not-import-from-here/fx/models/pages/PendingApprovalPage.d.ts +2 -0
- package/internal-do-not-import-from-here/fx/models/pages/RestorePageMessage.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/models/publishingrule/ApprovalRuleResolver.d.ts +21 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/ApprovalRuleResolver.js +40 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/PublishingRule.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/models/publishingrule/PublishingRule.js +2 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/publishingrule/index.js +1 -0
- package/internal-do-not-import-from-here/fx/models/query/ItemQueryEnums.d.ts +21 -0
- package/internal-do-not-import-from-here/fx/models/query/ItemQueryEnums.js +27 -0
- package/internal-do-not-import-from-here/fx/models/query/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/query/index.js +1 -0
- package/internal-do-not-import-from-here/fx/services/ChannelManagementService.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/services/DocumentService.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/services/NavigationService.d.ts +3 -1
- package/internal-do-not-import-from-here/fx/services/PageService.d.ts +2 -3
- package/internal-do-not-import-from-here/fx/services/PublishingRuleService.d.ts +1 -1
- package/internal-do-not-import-from-here/fx/shared/OmniaSearchQueryUtils.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/shared/PageRollupStoreHelper.d.ts +6 -0
- package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +7 -1
- package/internal-do-not-import-from-here/fx/stores/CurrentPageStore.d.ts +5 -4
- package/internal-do-not-import-from-here/fx/stores/NavigationStore.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +14 -0
- package/internal-do-not-import-from-here/fx/stores/PublishingRuleStore.d.ts +4 -4
- 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.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/models/pagearchive/NavigationArchiveDependency.d.ts +1 -0
- package/internal-do-not-import-from-here/models/publishingapp/approval/PageApproval.d.ts +19 -5
- package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.d.ts +7 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/Constants.js +8 -1
- package/internal-do-not-import-from-here/models/publishingapp/editor/Messages.d.ts +4 -2
- package/internal-do-not-import-from-here/models/publishingapp/publish/PagePublish.d.ts +2 -1
- package/internal-do-not-import-from-here/models/publishingapp/publish/PagePublish.js +1 -0
- package/internal-do-not-import-from-here/models/security/Security.js +3 -0
- package/internal-do-not-import-from-here/wcdefinitions.json +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Page, NavigationNode, NavigationData, VariationId, VariationString, Variation, PageId, PageDetailQueryResult, PageNavigationData, PageNavigationNode } from "@omnia/wcm/models";
|
|
1
|
+
import { Page, NavigationNode, NavigationData, VariationId, VariationString, Variation, PageId, PageDetailQueryResult, PageNavigationData, PageNavigationNode, LinkItem, LinkNavigationData } from "@omnia/wcm/models";
|
|
2
2
|
import { LayoutItem } from "@omnia/fx-models";
|
|
3
3
|
export declare namespace Utils {
|
|
4
4
|
function isSupportedByOfficeWebApp(documentUrl: string): boolean;
|
|
@@ -78,3 +78,7 @@ export declare module WCMGovernanceUtils {
|
|
|
78
78
|
function getMonth(date: Date, numberOfMonths: any): Date;
|
|
79
79
|
function equalMonth(date: Date, compare: Date): boolean;
|
|
80
80
|
}
|
|
81
|
+
export declare module LinkUtils {
|
|
82
|
+
function convertToLinkNavigation(linkItem: LinkItem): LinkNavigationData;
|
|
83
|
+
function convertToLinkItem(linkNavigationData: LinkNavigationData): LinkItem;
|
|
84
|
+
}
|
|
@@ -8,6 +8,7 @@ export declare module WCMCoreLocalization {
|
|
|
8
8
|
Page: string;
|
|
9
9
|
HasVariations: string;
|
|
10
10
|
Link: string;
|
|
11
|
+
Text: string;
|
|
11
12
|
PageIsDraft: string;
|
|
12
13
|
Draft: string;
|
|
13
14
|
Published: string;
|
|
@@ -231,7 +232,13 @@ export declare module WCMCoreLocalization {
|
|
|
231
232
|
Description: string;
|
|
232
233
|
Title: string;
|
|
233
234
|
};
|
|
234
|
-
|
|
235
|
+
New7WebContentManagementCoreFullControl: {
|
|
236
|
+
Category: string;
|
|
237
|
+
Description: string;
|
|
238
|
+
Title: string;
|
|
239
|
+
ConsentInformation: string;
|
|
240
|
+
};
|
|
241
|
+
WebContentManagementSitesSelected: {
|
|
235
242
|
Category: string;
|
|
236
243
|
Description: string;
|
|
237
244
|
Title: string;
|
|
@@ -257,6 +264,12 @@ export declare module WCMCoreLocalization {
|
|
|
257
264
|
Category: string;
|
|
258
265
|
Description: string;
|
|
259
266
|
};
|
|
267
|
+
DocumentDurableLink: {
|
|
268
|
+
Title: string;
|
|
269
|
+
Category: string;
|
|
270
|
+
Description: string;
|
|
271
|
+
ConsentInformation: string;
|
|
272
|
+
};
|
|
260
273
|
};
|
|
261
274
|
ImageScalingBlockSettings: {
|
|
262
275
|
ForceDefaultScaling: string;
|
|
@@ -57,6 +57,11 @@ export declare module EditorLocalization {
|
|
|
57
57
|
CreateApprovalBy: string;
|
|
58
58
|
At: string;
|
|
59
59
|
Comment: string;
|
|
60
|
+
Type: {
|
|
61
|
+
Title: string;
|
|
62
|
+
Publish: string;
|
|
63
|
+
Deletion: string;
|
|
64
|
+
};
|
|
60
65
|
};
|
|
61
66
|
AnalysisPage: {
|
|
62
67
|
Time: string;
|
|
@@ -152,6 +157,7 @@ export declare module EditorLocalization {
|
|
|
152
157
|
VariationNotFoundMessage: string;
|
|
153
158
|
VariationPageIsAlreadyExistMessage: string;
|
|
154
159
|
Older: string;
|
|
160
|
+
ArchiveWithApprovalRequireMessage: string;
|
|
155
161
|
SystemMessages: {
|
|
156
162
|
ArchiveErrorMessages: {
|
|
157
163
|
PageTypeInUse: string;
|
|
@@ -251,6 +257,7 @@ export declare module EditorLocalization {
|
|
|
251
257
|
Permissions: {
|
|
252
258
|
Editor: string;
|
|
253
259
|
Author: string;
|
|
260
|
+
UpdateOnlyAuthorRole: string;
|
|
254
261
|
Reader: string;
|
|
255
262
|
Admin: string;
|
|
256
263
|
};
|
|
@@ -308,8 +315,10 @@ export declare module EditorLocalization {
|
|
|
308
315
|
Points: string;
|
|
309
316
|
};
|
|
310
317
|
NotificationReset: {
|
|
311
|
-
|
|
312
|
-
|
|
318
|
+
NotificationPanel: string;
|
|
319
|
+
NewNotificationWhenPageModified: string;
|
|
320
|
+
EnableSilentPublish: string;
|
|
321
|
+
NotCombinedWithApproval: string;
|
|
313
322
|
};
|
|
314
323
|
SendAsEmail: {
|
|
315
324
|
Title: string;
|
|
@@ -332,6 +341,7 @@ export declare module EditorLocalization {
|
|
|
332
341
|
};
|
|
333
342
|
Approval: {
|
|
334
343
|
Title: string;
|
|
344
|
+
DeletionApproval: string;
|
|
335
345
|
EnableApproval: string;
|
|
336
346
|
Anyone: string;
|
|
337
347
|
LimitedUsers: string;
|
|
@@ -506,6 +516,7 @@ export declare module EditorLocalization {
|
|
|
506
516
|
RuleNotFound: string;
|
|
507
517
|
MissingDefaultVariationPage: string;
|
|
508
518
|
NotHavePermission: string;
|
|
519
|
+
PageHasBeenDeleted: string;
|
|
509
520
|
};
|
|
510
521
|
};
|
|
511
522
|
ReusableContent: {
|
|
@@ -569,6 +580,10 @@ export declare module EditorLocalization {
|
|
|
569
580
|
};
|
|
570
581
|
ReindexMessage: string;
|
|
571
582
|
};
|
|
583
|
+
WCAG: {
|
|
584
|
+
Title: string;
|
|
585
|
+
EnableWCAGPageChecker: string;
|
|
586
|
+
};
|
|
572
587
|
};
|
|
573
588
|
Dialogs: {
|
|
574
589
|
MoveToTenant: {
|
|
@@ -608,6 +623,9 @@ export declare module EditorLocalization {
|
|
|
608
623
|
PlaceholderPromptOpenAI: string;
|
|
609
624
|
PlaceholderImagePromptOpenAI: string;
|
|
610
625
|
};
|
|
626
|
+
CreateLabel: {
|
|
627
|
+
Title: string;
|
|
628
|
+
};
|
|
611
629
|
EditNavigation: {
|
|
612
630
|
Title: string;
|
|
613
631
|
Cancel: string;
|
|
@@ -680,6 +698,7 @@ export declare module EditorLocalization {
|
|
|
680
698
|
};
|
|
681
699
|
ArchivePageType: {
|
|
682
700
|
Title: string;
|
|
701
|
+
NotAllowedByHavingApproval: string;
|
|
683
702
|
AllowedMessage: string;
|
|
684
703
|
NotAllowedMessage: string;
|
|
685
704
|
ActionRequiredMessage: string;
|
|
@@ -716,6 +735,21 @@ export declare module EditorLocalization {
|
|
|
716
735
|
Title: string;
|
|
717
736
|
ConfirmationMessage: string;
|
|
718
737
|
};
|
|
738
|
+
DeleteLabel: {
|
|
739
|
+
ConfirmationMessage: string;
|
|
740
|
+
Title: string;
|
|
741
|
+
};
|
|
742
|
+
WarningMoveNodeDialog: {
|
|
743
|
+
GenericNodeContainsChildren: string;
|
|
744
|
+
PageNodeHasGenericNodeWithChildren: string;
|
|
745
|
+
NodeUnderGenericAncestor: string;
|
|
746
|
+
Title: string;
|
|
747
|
+
};
|
|
748
|
+
WarningDeleteNodeDialog: {
|
|
749
|
+
GenericNodeContainsChildren: string;
|
|
750
|
+
PageNodeContainGenericNode: string;
|
|
751
|
+
Title: string;
|
|
752
|
+
};
|
|
719
753
|
DuplicateUrlWarningMessage: string;
|
|
720
754
|
DeleteBlock: {
|
|
721
755
|
Title: string;
|
|
@@ -739,6 +773,7 @@ export declare module EditorLocalization {
|
|
|
739
773
|
DuplicateWarningMessage: string;
|
|
740
774
|
MoveAsChild: string;
|
|
741
775
|
MoveAsSibling: string;
|
|
776
|
+
DuplicateWarningMessageWhenMovingAsSibling: string;
|
|
742
777
|
};
|
|
743
778
|
SendAppprovalRequest: {
|
|
744
779
|
Title: string;
|
|
@@ -866,6 +901,7 @@ export declare module EditorLocalization {
|
|
|
866
901
|
SentFrom: string;
|
|
867
902
|
Comment: string;
|
|
868
903
|
History: string;
|
|
904
|
+
ArchiveWarning: string;
|
|
869
905
|
};
|
|
870
906
|
ApprovalHistory: {
|
|
871
907
|
SendApprovalActionMessage: string;
|
|
@@ -878,6 +914,7 @@ export declare module EditorLocalization {
|
|
|
878
914
|
ApprovedAction: string;
|
|
879
915
|
Cancel: string;
|
|
880
916
|
Approval: string;
|
|
917
|
+
DeletionApproval: string;
|
|
881
918
|
};
|
|
882
919
|
PageReviewRule: {
|
|
883
920
|
Title: string;
|
|
@@ -913,7 +950,8 @@ export declare module EditorLocalization {
|
|
|
913
950
|
TestEmailBtn: string;
|
|
914
951
|
Placeholders: {
|
|
915
952
|
Title: string;
|
|
916
|
-
|
|
953
|
+
PlaceholderContent: string;
|
|
954
|
+
Property: string;
|
|
917
955
|
};
|
|
918
956
|
EmailTemplate: string;
|
|
919
957
|
};
|
|
@@ -107,6 +107,7 @@ export declare module PageRollupLocalization {
|
|
|
107
107
|
PageRollupImageRatioSettings: string;
|
|
108
108
|
NavigationDepthLevel: string;
|
|
109
109
|
Navigation: string;
|
|
110
|
+
ManualSort: string;
|
|
110
111
|
EnableClientCaching: string;
|
|
111
112
|
PageType: string;
|
|
112
113
|
App: string;
|
|
@@ -142,6 +143,8 @@ export declare module PageRollupLocalization {
|
|
|
142
143
|
};
|
|
143
144
|
DateType: string;
|
|
144
145
|
DateFormat: string;
|
|
146
|
+
ShowAZPaging: string;
|
|
147
|
+
AZFilteringProperty: string;
|
|
145
148
|
};
|
|
146
149
|
PagePicker: {
|
|
147
150
|
AddPage: string;
|
|
@@ -328,6 +331,7 @@ export declare module PageRollupLocalization {
|
|
|
328
331
|
UnpublishedChanges: string;
|
|
329
332
|
Default: string;
|
|
330
333
|
ScheduledForArchiving: string;
|
|
334
|
+
WaitingForDelete: string;
|
|
331
335
|
};
|
|
332
336
|
CalendarView: {
|
|
333
337
|
General: string;
|
|
@@ -148,6 +148,7 @@ export declare module PublishingAppLocalization {
|
|
|
148
148
|
Preview: string;
|
|
149
149
|
MoveTo: string;
|
|
150
150
|
Save: string;
|
|
151
|
+
PickNewLink: string;
|
|
151
152
|
VersionHistory: string;
|
|
152
153
|
Revert: string;
|
|
153
154
|
ReuseContent: string;
|
|
@@ -178,6 +179,9 @@ export declare module PublishingAppLocalization {
|
|
|
178
179
|
Delete: string;
|
|
179
180
|
SaveAndClose: string;
|
|
180
181
|
Feedback: string;
|
|
182
|
+
ApprovalDeletion: string;
|
|
183
|
+
CancelDeletionApproval: string;
|
|
184
|
+
SilentPublish: string;
|
|
181
185
|
};
|
|
182
186
|
SpeedDialButtons: {
|
|
183
187
|
OpenEditor: string;
|
|
@@ -255,6 +259,28 @@ export declare module PublishingAppLocalization {
|
|
|
255
259
|
Content: string;
|
|
256
260
|
};
|
|
257
261
|
};
|
|
262
|
+
DeletionApproval: {
|
|
263
|
+
MailApprovalStepAssigned: {
|
|
264
|
+
Subject: string;
|
|
265
|
+
Content: string;
|
|
266
|
+
};
|
|
267
|
+
MailStatusUpdate: {
|
|
268
|
+
Subject: string;
|
|
269
|
+
Content: string;
|
|
270
|
+
};
|
|
271
|
+
MailApprovalCompleted: {
|
|
272
|
+
Subject: string;
|
|
273
|
+
Content: string;
|
|
274
|
+
};
|
|
275
|
+
MailApprovalRejected: {
|
|
276
|
+
Subject: string;
|
|
277
|
+
Content: string;
|
|
278
|
+
};
|
|
279
|
+
MailApprovalCanceled: {
|
|
280
|
+
Subject: string;
|
|
281
|
+
Content: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
258
284
|
PageVariationAuthor: {
|
|
259
285
|
NewPageSubject: string;
|
|
260
286
|
NewVersionSubject: string;
|
|
@@ -264,6 +290,22 @@ export declare module PublishingAppLocalization {
|
|
|
264
290
|
VariationAuthor: string;
|
|
265
291
|
Content: string;
|
|
266
292
|
};
|
|
293
|
+
VariationNotification: {
|
|
294
|
+
VariationAuthor: {
|
|
295
|
+
NewPage: {
|
|
296
|
+
Subject: string;
|
|
297
|
+
Content: string;
|
|
298
|
+
};
|
|
299
|
+
NewVersion: {
|
|
300
|
+
Subject: string;
|
|
301
|
+
Content: string;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
PageProperty: {
|
|
305
|
+
Subject: string;
|
|
306
|
+
Template: string;
|
|
307
|
+
};
|
|
308
|
+
};
|
|
267
309
|
InvitationOfCoAuthors: {
|
|
268
310
|
Subject: string;
|
|
269
311
|
Body: string;
|
|
@@ -316,11 +358,12 @@ export declare module PublishingAppLocalization {
|
|
|
316
358
|
};
|
|
317
359
|
EnableEditNotifications: string;
|
|
318
360
|
NotifyForEdit: {
|
|
319
|
-
|
|
361
|
+
SectionLabel: string;
|
|
320
362
|
NoteTitle: string;
|
|
321
|
-
|
|
363
|
+
Note: string;
|
|
322
364
|
VariationAuthor: string;
|
|
323
365
|
PagePropertyUsers: string;
|
|
366
|
+
UserPropertyPickerLabel: string;
|
|
324
367
|
};
|
|
325
368
|
};
|
|
326
369
|
StatisticProvider: {
|
|
@@ -406,5 +449,15 @@ export declare module PublishingAppLocalization {
|
|
|
406
449
|
AttachSite: string;
|
|
407
450
|
Resolve: string;
|
|
408
451
|
};
|
|
452
|
+
LinkSettings: {
|
|
453
|
+
UrlSegment: string;
|
|
454
|
+
};
|
|
455
|
+
TextSettings: {
|
|
456
|
+
UrlSegment: string;
|
|
457
|
+
Title: string;
|
|
458
|
+
};
|
|
459
|
+
ValidationRules: {
|
|
460
|
+
RequireUrlSegmentIsFriendly: string;
|
|
461
|
+
};
|
|
409
462
|
}
|
|
410
463
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MessageBusTopicMediator } from "@omnia/fx";
|
|
2
|
-
import { CreateLayoutItemSettingsMessage, PageApprovalMessage, PageScheduleMessage, ShowApprovalDialogMessage
|
|
2
|
+
import { CreateLayoutItemSettingsMessage, LinkPickerDialogMessage, PageApprovalMessage, PageScheduleMessage, ShowApprovalDialogMessage } from "../../models";
|
|
3
3
|
import { NavigationData, NavigationNode, LinkItem, PageTypeProperty, LinkPickerRegistration } from "@omnia/wcm/models";
|
|
4
4
|
import { LinkItemTemplateMsg } from "../../models/relatedlinks";
|
|
5
5
|
export declare const WcmBlockNamespace = "omnia.wcm.block";
|
|
@@ -14,11 +14,12 @@ export declare class PublishingAppTopics {
|
|
|
14
14
|
static get showNavigationPermissionPanelTopic(): MessageBusTopicMediator<NavigationNode<NavigationData>>;
|
|
15
15
|
static get showPageTypePropertySettingTopic(): MessageBusTopicMediator<PageTypeProperty>;
|
|
16
16
|
static get showPageApprovalDialogTopic(): MessageBusTopicMediator<PageApprovalMessage>;
|
|
17
|
+
static get showPageDeletionApprovalDialogTopic(): MessageBusTopicMediator<PageApprovalMessage>;
|
|
17
18
|
static get refreshNavigationContentUI(): MessageBusTopicMediator<void>;
|
|
18
19
|
static get showPageScheduleDialogTopic(): MessageBusTopicMediator<PageScheduleMessage>;
|
|
19
20
|
static get showPagePublishDialogTopic(): MessageBusTopicMediator<void>;
|
|
20
21
|
static get showPrePublishContentAnalysisDialogTopic(): MessageBusTopicMediator<ShowApprovalDialogMessage>;
|
|
21
22
|
static get showPageSendEmailDialogTopic(): MessageBusTopicMediator<void>;
|
|
22
23
|
static get showInviteCoAuthorsDialogTopic(): MessageBusTopicMediator<void>;
|
|
23
|
-
static get
|
|
24
|
+
static get showLinkPickerDialogTopic(): MessageBusTopicMediator<LinkPickerDialogMessage>;
|
|
24
25
|
}
|
|
@@ -10,6 +10,8 @@ export declare module ItemQueryHelper {
|
|
|
10
10
|
function generateTrueFilter(logicalOperator: FilterLogicalOperator, filters?: Array<QueryFilter>): QueryFilter;
|
|
11
11
|
function generateTextEqualFilter(property: string, text: string, logicalOperator: FilterLogicalOperator): QueryFilter;
|
|
12
12
|
function generateTextFilter(property: string, text: string, logicalOperator: FilterLogicalOperator, enableWildcardSearch: boolean): QueryFilter;
|
|
13
|
+
function generateTextRefinerFilter(property: string, text: string, logicalOperator: FilterLogicalOperator): QueryFilter;
|
|
14
|
+
function generateTextMultipleRefinerFilter(property: string, values: string[], logicalOperator: FilterLogicalOperator): QueryFilter;
|
|
13
15
|
function generateProcessFilterValue(property: string, text: string, logicalOperator: FilterLogicalOperator, enableWildcardSearch: boolean): QueryFilter;
|
|
14
16
|
function generateProcessFilter(property: string, processIdsArray: Array<string>, logicalOperator: FilterLogicalOperator, enableWildcardSearch: boolean): QueryFilter;
|
|
15
17
|
function generateEmptyArrayFilter(property: string, logicalOperator: FilterLogicalOperator): QueryFilter;
|
|
@@ -22,6 +22,7 @@ export declare const PageRollupConstants: {
|
|
|
22
22
|
readonly navigationDepthLevelInternalName: string;
|
|
23
23
|
readonly navigationStartNodeInternalName: string;
|
|
24
24
|
readonly navigationSortInternalName: string;
|
|
25
|
+
readonly manualSortInternalName: string;
|
|
25
26
|
readonly pCreatedAt: string;
|
|
26
27
|
readonly pCreatedBy: string;
|
|
27
28
|
readonly PageSizeMax: number;
|
|
@@ -53,11 +54,13 @@ export declare const Constants: {
|
|
|
53
54
|
digitalSignage: string;
|
|
54
55
|
socialReactions: string;
|
|
55
56
|
webContentManagementCore: string;
|
|
57
|
+
webContentManagementCoreSitesSelected: string;
|
|
56
58
|
calendarRollupCore: string;
|
|
57
59
|
communityPropertiesAndPageTypes: string;
|
|
58
60
|
publishingAppInfrastructure: string;
|
|
59
61
|
eventPageType: string;
|
|
60
62
|
omniasearch: string;
|
|
63
|
+
documentDurableLink: string;
|
|
61
64
|
};
|
|
62
65
|
communityAppDefinitionInfo: {
|
|
63
66
|
id: Guid;
|
|
@@ -71,6 +71,9 @@ exports.PageRollupConstants = {
|
|
|
71
71
|
get navigationSortInternalName() {
|
|
72
72
|
return "009d5f06-f0ab-47ee-990c-e263f9495f15";
|
|
73
73
|
},
|
|
74
|
+
get manualSortInternalName() {
|
|
75
|
+
return "ac9e7ef9-c945-448f-a7dd-e27543b02f22";
|
|
76
|
+
},
|
|
74
77
|
get pCreatedAt() {
|
|
75
78
|
return "PCreatedAt";
|
|
76
79
|
},
|
|
@@ -138,11 +141,13 @@ exports.Constants = {
|
|
|
138
141
|
digitalSignage: "e6b16d30-0767-47e7-bc00-d02f77ec9541",
|
|
139
142
|
socialReactions: "7aa05c7f-c939-4224-9835-be6fe847ccf8",
|
|
140
143
|
webContentManagementCore: "5870a19f-3904-4a94-9b94-e5a2140ab000",
|
|
144
|
+
webContentManagementCoreSitesSelected: "ae161ad6-b564-4885-a22e-fbe5ff050120",
|
|
141
145
|
calendarRollupCore: "07ab2c12-6f73-45b5-bf6f-864114a66415",
|
|
142
146
|
communityPropertiesAndPageTypes: "e7f6a798-6ea4-4012-8c3c-f9e00bcd510b",
|
|
143
147
|
publishingAppInfrastructure: "4c880576-5645-4f13-b328-784f4a0fb8a9",
|
|
144
148
|
eventPageType: "f3a94830-a373-4e92-ad94-48b57f9783ee",
|
|
145
|
-
omniasearch: "5765b73b-0c92-48dd-bd2b-604dfdf0f9a5"
|
|
149
|
+
omniasearch: "5765b73b-0c92-48dd-bd2b-604dfdf0f9a5",
|
|
150
|
+
documentDurableLink: "7890af9b-9510-49e9-a97b-3b9115c06c50"
|
|
146
151
|
},
|
|
147
152
|
communityAppDefinitionInfo: {
|
|
148
153
|
id: new fx_models_1.Guid("3b0e3cd4-911e-49cf-a401-b6c904526b85"),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RoleDefinitions as OmniaRoleDefinitions } from "@omnia/fx-models";
|
|
1
2
|
export declare enum Parameters {
|
|
2
3
|
PageId = "PageId",
|
|
3
4
|
SecurityResourceId = "SecurityResourceId",
|
|
@@ -17,6 +18,7 @@ export declare enum ResourceEvaluators {
|
|
|
17
18
|
export declare enum RoleDefinitions {
|
|
18
19
|
Editor = "4e76e9ec-ecbc-48cc-bd50-68d573d795b1",
|
|
19
20
|
Author = "88ddd69c-ed71-4188-8e62-39b2f91bc4bc",
|
|
21
|
+
UpdateOnlyAuthor = "9cd51708-dc84-4d5a-91bd-260e52b83d48",
|
|
20
22
|
VariationAuthor = "f181dd91-4a51-4ce4-95bb-018f7a598f77",
|
|
21
23
|
VariationEditor = "a9ae4c3b-4b7c-4b9e-a948-4f77a4c2f059",
|
|
22
24
|
Reader = "dbe5b504-9827-4b47-afa6-f626b728f2ca",
|
|
@@ -85,3 +87,9 @@ export declare enum WcmAppDefaultResourceUrl {
|
|
|
85
87
|
YammerGroup = 0,
|
|
86
88
|
SharePoint = 1
|
|
87
89
|
}
|
|
90
|
+
export declare class GetRoleDefinitions {
|
|
91
|
+
static get AdminRoleDefinitions(): (RoleDefinitions | OmniaRoleDefinitions)[];
|
|
92
|
+
static get EditorRoleDefinitions(): RoleDefinitions[];
|
|
93
|
+
static get AuthorRoleDefinitions(): RoleDefinitions[];
|
|
94
|
+
static get UpdateOnlyAuthorRoleDefinitions(): RoleDefinitions[];
|
|
95
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WcmAppDefaultResourceUrl = exports.StatisticsPerPageDataSourcesEnum = exports.SortByProperties = exports.ReportTypesEnum = exports.VideoType = exports.PagingTypes = exports.DocumentTypes = exports.VersionUpdationMode = exports.WcmPropertyDefaultBooleanValues = exports.WcmPropertyDefaultValues = exports.RoleDefinitions = exports.ResourceEvaluators = exports.Parameters = void 0;
|
|
3
|
+
exports.GetRoleDefinitions = exports.WcmAppDefaultResourceUrl = exports.StatisticsPerPageDataSourcesEnum = exports.SortByProperties = exports.ReportTypesEnum = exports.VideoType = exports.PagingTypes = exports.DocumentTypes = exports.VersionUpdationMode = exports.WcmPropertyDefaultBooleanValues = exports.WcmPropertyDefaultValues = exports.RoleDefinitions = exports.ResourceEvaluators = exports.Parameters = void 0;
|
|
4
|
+
const fx_models_1 = require("@omnia/fx-models");
|
|
4
5
|
var Parameters;
|
|
5
6
|
(function (Parameters) {
|
|
6
7
|
Parameters["PageId"] = "PageId";
|
|
@@ -23,6 +24,7 @@ var RoleDefinitions;
|
|
|
23
24
|
(function (RoleDefinitions) {
|
|
24
25
|
RoleDefinitions["Editor"] = "4e76e9ec-ecbc-48cc-bd50-68d573d795b1";
|
|
25
26
|
RoleDefinitions["Author"] = "88ddd69c-ed71-4188-8e62-39b2f91bc4bc";
|
|
27
|
+
RoleDefinitions["UpdateOnlyAuthor"] = "9cd51708-dc84-4d5a-91bd-260e52b83d48";
|
|
26
28
|
RoleDefinitions["VariationAuthor"] = "f181dd91-4a51-4ce4-95bb-018f7a598f77";
|
|
27
29
|
RoleDefinitions["VariationEditor"] = "a9ae4c3b-4b7c-4b9e-a948-4f77a4c2f059";
|
|
28
30
|
RoleDefinitions["Reader"] = "dbe5b504-9827-4b47-afa6-f626b728f2ca";
|
|
@@ -102,3 +104,10 @@ var WcmAppDefaultResourceUrl;
|
|
|
102
104
|
WcmAppDefaultResourceUrl[WcmAppDefaultResourceUrl["YammerGroup"] = 0] = "YammerGroup";
|
|
103
105
|
WcmAppDefaultResourceUrl[WcmAppDefaultResourceUrl["SharePoint"] = 1] = "SharePoint";
|
|
104
106
|
})(WcmAppDefaultResourceUrl = exports.WcmAppDefaultResourceUrl || (exports.WcmAppDefaultResourceUrl = {}));
|
|
107
|
+
class GetRoleDefinitions {
|
|
108
|
+
static get AdminRoleDefinitions() { return [fx_models_1.RoleDefinitions.AppInstanceAdmin, RoleDefinitions.PageCollectionAdmin]; }
|
|
109
|
+
static get EditorRoleDefinitions() { return [RoleDefinitions.Editor, RoleDefinitions.VariationEditor]; }
|
|
110
|
+
static get AuthorRoleDefinitions() { return [RoleDefinitions.Author, RoleDefinitions.VariationAuthor, RoleDefinitions.Approver]; }
|
|
111
|
+
static get UpdateOnlyAuthorRoleDefinitions() { return [RoleDefinitions.UpdateOnlyAuthor]; }
|
|
112
|
+
}
|
|
113
|
+
exports.GetRoleDefinitions = GetRoleDefinitions;
|
|
@@ -17,6 +17,7 @@ export interface PublishingChannel {
|
|
|
17
17
|
administrator: Array<Identity>;
|
|
18
18
|
publisher: Array<Identity>;
|
|
19
19
|
targetingFilter?: TargetingFilterProperty;
|
|
20
|
+
userTargetingFilter?: TargetingFilterProperty;
|
|
20
21
|
publishingCategoryId?: GuidValue;
|
|
21
22
|
imageUrl?: string;
|
|
22
23
|
multilingualTitle?: string;
|
package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlockStyles.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export declare const CalendarRollupBlockListViewSettingsStyles: {
|
|
|
18
18
|
dateContent: types.NestedCSSProperties;
|
|
19
19
|
setGroupItemBorder: (color: string) => types.NestedCSSProperties;
|
|
20
20
|
textColor?: types.NestedCSSProperties;
|
|
21
|
+
detailContent?: types.NestedCSSProperties;
|
|
21
22
|
};
|
|
22
23
|
export declare const CalendarRollupBlockSettingsStyles: {
|
|
23
24
|
calenderRemoveButtonPositioner: types.NestedCSSProperties;
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
import { IconPickerModel } from "@omnia/fx-models";
|
|
1
|
+
import { IconPickerModel, MultilingualString } from "@omnia/fx-models";
|
|
2
2
|
export declare enum OpenDocumentOptions {
|
|
3
3
|
OpenInWeb = "OpenInWeb",
|
|
4
4
|
OpenInWebNewTab = "OpenInWebNewTab",
|
|
5
5
|
OpenInApp = "OpenInApp",
|
|
6
6
|
Download = "Download"
|
|
7
7
|
}
|
|
8
|
+
export declare enum CategoryType {
|
|
9
|
+
SharePointLibrary = 0,
|
|
10
|
+
SearchProvider = 1,
|
|
11
|
+
ControlledDocument = 2,
|
|
12
|
+
FileUploader = 3
|
|
13
|
+
}
|
|
8
14
|
export interface LinkPickerPropertyData {
|
|
15
|
+
multilingualTitleEnabled?: boolean;
|
|
9
16
|
}
|
|
10
17
|
export interface LinkItem {
|
|
11
18
|
linkType: string;
|
|
@@ -13,6 +20,7 @@ export interface LinkItem {
|
|
|
13
20
|
url: string;
|
|
14
21
|
icon: IconPickerModel;
|
|
15
22
|
openInNewWindow: boolean;
|
|
23
|
+
multilingualString?: MultilingualString;
|
|
16
24
|
}
|
|
17
25
|
export interface PageItemNode {
|
|
18
26
|
pageId: number;
|
|
@@ -32,9 +40,21 @@ export interface DocumentLinkItem extends LinkItem {
|
|
|
32
40
|
documentCategoryType?: number;
|
|
33
41
|
isLocalUploaded?: boolean;
|
|
34
42
|
openDocumentOption?: OpenDocumentOptions;
|
|
43
|
+
durableInfo?: DurableInfo;
|
|
44
|
+
}
|
|
45
|
+
export interface DurableInfo {
|
|
46
|
+
/**
|
|
47
|
+
* Graph document ID.
|
|
48
|
+
*/
|
|
49
|
+
docId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Graph site ID.
|
|
52
|
+
*/
|
|
53
|
+
siteId?: string;
|
|
35
54
|
}
|
|
36
55
|
export interface CustomLinkPropertyData extends LinkPickerPropertyData {
|
|
37
56
|
isValidateTitle?: boolean;
|
|
57
|
+
isValidateUrl?: boolean;
|
|
38
58
|
}
|
|
39
59
|
export interface AnchorLinkItem {
|
|
40
60
|
anchorName: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OpenDocumentOptions = void 0;
|
|
3
|
+
exports.CategoryType = exports.OpenDocumentOptions = void 0;
|
|
4
4
|
var OpenDocumentOptions;
|
|
5
5
|
(function (OpenDocumentOptions) {
|
|
6
6
|
OpenDocumentOptions["OpenInWeb"] = "OpenInWeb";
|
|
@@ -8,3 +8,10 @@ var OpenDocumentOptions;
|
|
|
8
8
|
OpenDocumentOptions["OpenInApp"] = "OpenInApp";
|
|
9
9
|
OpenDocumentOptions["Download"] = "Download";
|
|
10
10
|
})(OpenDocumentOptions = exports.OpenDocumentOptions || (exports.OpenDocumentOptions = {}));
|
|
11
|
+
var CategoryType;
|
|
12
|
+
(function (CategoryType) {
|
|
13
|
+
CategoryType[CategoryType["SharePointLibrary"] = 0] = "SharePointLibrary";
|
|
14
|
+
CategoryType[CategoryType["SearchProvider"] = 1] = "SearchProvider";
|
|
15
|
+
CategoryType[CategoryType["ControlledDocument"] = 2] = "ControlledDocument";
|
|
16
|
+
CategoryType[CategoryType["FileUploader"] = 3] = "FileUploader";
|
|
17
|
+
})(CategoryType = exports.CategoryType || (exports.CategoryType = {}));
|
package/internal-do-not-import-from-here/fx/models/components/PagePropertiesBlockStyles.d.ts
CHANGED
|
@@ -27,4 +27,6 @@ export declare const PagePropertiesBlockStyles: {
|
|
|
27
27
|
horizontalHeaderAlignNoAvatarInLine?: types.NestedCSSProperties;
|
|
28
28
|
horizontalTaxonomyNoAvatarInOnePersonField?: types.NestedCSSProperties;
|
|
29
29
|
horizontalTaxonomyNoAvatarInLine?: types.NestedCSSProperties;
|
|
30
|
+
horizontalRichText?: types.NestedCSSProperties;
|
|
31
|
+
horizontaProcess?: types.NestedCSSProperties;
|
|
30
32
|
};
|
|
@@ -10,6 +10,7 @@ export interface PageRollupViewSettings {
|
|
|
10
10
|
selectProperties: Array<string>;
|
|
11
11
|
showContentAsDialog: boolean;
|
|
12
12
|
enableRichText: boolean;
|
|
13
|
+
disableViewButtonOnDialog?: boolean;
|
|
13
14
|
enableMention?: boolean;
|
|
14
15
|
enableBestReply: boolean;
|
|
15
16
|
enableSubscription: boolean;
|
|
@@ -27,6 +28,9 @@ export interface PageRollupViewSettings {
|
|
|
27
28
|
openInEditor: boolean;
|
|
28
29
|
navigationStartNodeId?: number;
|
|
29
30
|
hideStartNode?: boolean;
|
|
31
|
+
showAZPaging?: boolean;
|
|
32
|
+
internalNamePropertyAZFilter?: string;
|
|
33
|
+
defaultValuePropertyAZFilter?: string;
|
|
30
34
|
}
|
|
31
35
|
export interface PageRollupDateSettings {
|
|
32
36
|
dateProp: string;
|
|
@@ -131,6 +131,7 @@ export declare const PageRollupNewsletterViewStyles: {
|
|
|
131
131
|
getPadding: (spacing: SpacingSettings) => types.NestedCSSProperties;
|
|
132
132
|
lineColor: (color: string) => types.NestedCSSProperties;
|
|
133
133
|
hideElement: types.NestedCSSProperties;
|
|
134
|
+
visuallyHidden: types.NestedCSSProperties;
|
|
134
135
|
};
|
|
135
136
|
export declare const PageRollupBlockCardViewSettingsStyles: {
|
|
136
137
|
orderAction?: types.NestedCSSProperties;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./DocumentDurableInfo";
|
|
@@ -50,3 +50,4 @@ tslib_1.__exportStar(require("./mediarollup"), exports);
|
|
|
50
50
|
tslib_1.__exportStar(require("./analytics"), exports);
|
|
51
51
|
tslib_1.__exportStar(require("./welcomeblock"), exports);
|
|
52
52
|
tslib_1.__exportStar(require("./searchresultsource"), exports);
|
|
53
|
+
tslib_1.__exportStar(require("./document"), exports);
|
|
@@ -2,6 +2,7 @@ import { MediaPickerStorageProviderContext } from "@omnia/fx-models";
|
|
|
2
2
|
import { LinkItem, LinkPickerPropertyData } from "@omnia/wcm/models";
|
|
3
3
|
export interface ILinkPickerProvider {
|
|
4
4
|
linkData?: LinkItem;
|
|
5
|
+
showIconPicker?: boolean;
|
|
5
6
|
propertyData?: LinkPickerPropertyData;
|
|
6
7
|
mediaPickerProviderContext?: MediaPickerStorageProviderContext;
|
|
7
8
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { NavigationData, INavigationOptions } from ".";
|
|
2
1
|
import { IconPickerModel, MultilingualString } from "@omnia/fx-models";
|
|
2
|
+
import { NavigationData, INavigationOptions } from ".";
|
|
3
|
+
import { LinkItem } from "../components";
|
|
3
4
|
export interface LinkNavigationData extends NavigationData, INavigationOptions {
|
|
4
5
|
title: MultilingualString;
|
|
5
6
|
url: string;
|
|
6
7
|
icon?: IconPickerModel;
|
|
8
|
+
linkData: Omit<LinkItem, "multilingualString" | "title" | "url" | "icon" | "openInNewWindow">;
|
|
7
9
|
}
|