@omnia/wcm 6.7.0-dev → 6.7.1-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.
Files changed (72) hide show
  1. package/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +35 -0
  2. package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +5 -4
  3. package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +5 -23
  4. package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +1 -1
  5. package/internal-do-not-import-from-here/core/ux/FilterTargetingPropertyValueInput.d.ts +35 -0
  6. package/internal-do-not-import-from-here/core/ux/index.d.ts +1 -0
  7. package/internal-do-not-import-from-here/fx/models/Constants.d.ts +2 -0
  8. package/internal-do-not-import-from-here/fx/models/Constants.js +3 -1
  9. package/internal-do-not-import-from-here/fx/models/channels/ChannelHttpModels.d.ts +1 -29
  10. package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.d.ts +4 -10
  11. package/internal-do-not-import-from-here/fx/models/channels/ChannelPages.js +0 -1
  12. package/internal-do-not-import-from-here/fx/models/channels/{Channel.d.ts → PublishingChannel.d.ts} +7 -7
  13. package/internal-do-not-import-from-here/fx/models/channels/PublishingChannel.js +3 -0
  14. package/internal-do-not-import-from-here/fx/models/channels/index.d.ts +1 -2
  15. package/internal-do-not-import-from-here/fx/models/channels/index.js +1 -2
  16. package/internal-do-not-import-from-here/fx/models/components/AccordionBlock.d.ts +2 -0
  17. package/internal-do-not-import-from-here/fx/models/components/ActionButtonBlock.d.ts +1 -0
  18. package/internal-do-not-import-from-here/fx/models/components/FilterSettings.d.ts +34 -0
  19. package/internal-do-not-import-from-here/fx/models/components/FilterSettings.js +28 -0
  20. package/internal-do-not-import-from-here/fx/models/components/LinkPicker.d.ts +6 -1
  21. package/internal-do-not-import-from-here/fx/models/components/LinkPickerStyles.d.ts +1 -1
  22. package/internal-do-not-import-from-here/fx/models/components/MegaMenu.d.ts +19 -7
  23. package/internal-do-not-import-from-here/fx/models/components/MegaMenuStyles.d.ts +7 -4
  24. package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +16 -20
  25. package/internal-do-not-import-from-here/fx/models/components/index.d.ts +1 -0
  26. package/internal-do-not-import-from-here/fx/models/components/index.js +1 -0
  27. package/internal-do-not-import-from-here/fx/models/infoscreen/AdminInfoScreenBlock.d.ts +5 -4
  28. package/internal-do-not-import-from-here/fx/models/navigation/NavigationNode.d.ts +5 -0
  29. package/internal-do-not-import-from-here/fx/models/navigation/NavigationNodeQuery.d.ts +6 -0
  30. package/internal-do-not-import-from-here/fx/models/navigation/NavigationNodeQuery.js +6 -0
  31. package/internal-do-not-import-from-here/fx/models/navigation/index.d.ts +1 -0
  32. package/internal-do-not-import-from-here/fx/models/navigation/index.js +1 -0
  33. package/internal-do-not-import-from-here/fx/models/pagequery/PageDetailsQuery.d.ts +4 -4
  34. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +4 -21
  35. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +4 -25
  36. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupListViewSettings.d.ts +2 -2
  37. package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +4 -0
  38. package/internal-do-not-import-from-here/fx/models/query/PageQuery.d.ts +4 -3
  39. package/internal-do-not-import-from-here/fx/models/social/Activities/BadgeAwardedActivity.d.ts +2 -2
  40. package/internal-do-not-import-from-here/fx/models/social/Activities/NewPageActivity.d.ts +2 -2
  41. package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentActivity.d.ts +2 -2
  42. package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentMentionActivity.d.ts +2 -2
  43. package/internal-do-not-import-from-here/fx/models/social/Activities/PageCommentReplyActivity.d.ts +2 -2
  44. package/internal-do-not-import-from-here/fx/models/social/Topics/PublishingChannelTopic.d.ts +7 -0
  45. package/internal-do-not-import-from-here/fx/models/social/Topics/PublishingChannelTopic.js +12 -0
  46. package/internal-do-not-import-from-here/fx/models/social/Topics/Topic.d.ts +2 -1
  47. package/internal-do-not-import-from-here/fx/models/social/Topics/Topic.js +1 -0
  48. package/internal-do-not-import-from-here/fx/models/social/Topics/index.d.ts +1 -0
  49. package/internal-do-not-import-from-here/fx/models/social/Topics/index.js +1 -0
  50. package/internal-do-not-import-from-here/fx/routing/WcmRouter.d.ts +1 -0
  51. package/internal-do-not-import-from-here/fx/services/ChannelManagementService.d.ts +17 -14
  52. package/internal-do-not-import-from-here/fx/services/NavigationService.d.ts +2 -1
  53. package/internal-do-not-import-from-here/fx/services/YammerService.d.ts +1 -13
  54. package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +44 -36
  55. package/internal-do-not-import-from-here/fx/stores/NavigationStore.d.ts +1 -1
  56. package/internal-do-not-import-from-here/fx/stores/PageRollupStore.d.ts +3 -3
  57. package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +5 -2
  58. package/internal-do-not-import-from-here/fx/ux/InternalUxCore.d.ts +8 -2
  59. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerMenu.d.ts +3 -2
  60. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/LinkPicker/LinkPickerToolbar.d.ts +1 -0
  61. package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
  62. package/internal-do-not-import-from-here/models/publishingapp/schedule/PageSchedule.d.ts +0 -1
  63. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.d.ts +3 -3
  64. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestResource.js +3 -3
  65. package/internal-do-not-import-from-here/models/social/Subscription.d.ts +2 -1
  66. package/internal-do-not-import-from-here/models/social/Subscription.js +1 -1
  67. package/internal-do-not-import-from-here/wcdefinitions.json +1 -142
  68. package/package.json +1 -1
  69. package/internal-do-not-import-from-here/fx/models/channels/Channel.js +0 -3
  70. package/internal-do-not-import-from-here/fx/models/channels/PublishingChannelPageRequest.d.ts +0 -8
  71. package/internal-do-not-import-from-here/fx/models/channels/PublishingChannelPageRequest.js +0 -1
  72. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/components/SuggestionMenu.d.ts +0 -11
@@ -113,6 +113,31 @@ export declare module WCMCoreLocalization {
113
113
  Description: string;
114
114
  };
115
115
  };
116
+ BlockSettings: {
117
+ IncludeChildTerms: string;
118
+ IncludeEmpty: string;
119
+ DatePeriods: {
120
+ OneWeekFromToday: string;
121
+ TwoWeeksFromToday: string;
122
+ OneMonthFromToday: string;
123
+ EarlierThanNow: string;
124
+ LaterThanNow: string;
125
+ };
126
+ TaxonomyFilterTypes: {
127
+ FixedValue: string;
128
+ CurrentPage: string;
129
+ User: string;
130
+ };
131
+ UIFilterOption: {
132
+ Searchbox: string;
133
+ MyDrafts: string;
134
+ HideFilter: string;
135
+ };
136
+ BooleanFilterOption: {
137
+ Yes: string;
138
+ No: string;
139
+ };
140
+ };
116
141
  PropertyMapping: {
117
142
  PropertyToStoreData: string;
118
143
  };
@@ -174,6 +199,16 @@ export declare module WCMCoreLocalization {
174
199
  Description: string;
175
200
  Category: string;
176
201
  };
202
+ YammerIntegration: {
203
+ Title: string;
204
+ Category: string;
205
+ Description: string;
206
+ };
207
+ FixArchivePermissions: {
208
+ Title: string;
209
+ Description: string;
210
+ Category: string;
211
+ };
177
212
  };
178
213
  ImageScalingBlockSettings: {
179
214
  ForceDefaultScaling: string;
@@ -80,13 +80,11 @@ export declare module EditorLocalization {
80
80
  Terminate: string;
81
81
  TerminateConfirmationMessage: string;
82
82
  RestoreConfirmationMessage: string;
83
+ NoPermissionOnParentPageMessage: string;
83
84
  PageCollectionNotFoundMessage: string;
84
85
  DefaultVariationPageNotFoundMessage: string;
85
86
  ParentPageNotFoundMessage: string;
86
- PageCollectionTerminatedMessage: string;
87
- ParentPageTerminatedMessage: string;
88
- DefaultVariationPageTerminatedMessage: string;
89
- PageTypeTerminatedMessage: string;
87
+ PageTypeNotFoundMessage: string;
90
88
  PageCollectionArchivedMessage: string;
91
89
  ParentPageArchivedMessage: string;
92
90
  DefaultVariationPageArchivedMessage: string;
@@ -434,6 +432,9 @@ export declare module EditorLocalization {
434
432
  Channels: string;
435
433
  NoItem: string;
436
434
  };
435
+ PageCollectionPermission: {
436
+ Title: string;
437
+ };
437
438
  };
438
439
  Dialogs: {
439
440
  MoveToTenant: {
@@ -2,6 +2,9 @@ export declare module PageRollupLocalization {
2
2
  const namespace = "OWCM.PageRollup";
3
3
  interface locInterface {
4
4
  ControlTitle: string;
5
+ /**
6
+ * Some properties were moved to a more generic WCMCoreLocalization
7
+ * */
5
8
  Settings: {
6
9
  General: string;
7
10
  Create: string;
@@ -41,20 +44,6 @@ export declare module PageRollupLocalization {
41
44
  SearchBoxRounded: string;
42
45
  SearchBoxFilled: string;
43
46
  CollapseFilter: string;
44
- DatePeriods: {
45
- OneWeekFromToday: string;
46
- TwoWeeksFromToday: string;
47
- OneMonthFromToday: string;
48
- EarlierThanNow: string;
49
- LaterThanNow: string;
50
- };
51
- TaxonomyFilterTypes: {
52
- FixedValue: string;
53
- CurrentPage: string;
54
- User: string;
55
- };
56
- IncludeChildTerms: string;
57
- IncludeEmpty: string;
58
47
  Paging: string;
59
48
  PageSize: string;
60
49
  PagingType: {
@@ -62,10 +51,6 @@ export declare module PageRollupLocalization {
62
51
  Classic: string;
63
52
  Scroll: string;
64
53
  };
65
- BooleanFilterOption: {
66
- Yes: string;
67
- No: string;
68
- };
69
54
  Scope: {
70
55
  Label: string;
71
56
  Tenant: string;
@@ -75,11 +60,6 @@ export declare module PageRollupLocalization {
75
60
  NavigationPath: string;
76
61
  Channels: string;
77
62
  };
78
- UIFilterOption: {
79
- Searchbox: string;
80
- MyDrafts: string;
81
- HideFilter: string;
82
- };
83
63
  SearchBoxMessage: {
84
64
  SearchOnPageTitleAnd: string;
85
65
  PageProperties: string;
@@ -116,6 +96,8 @@ export declare module PageRollupLocalization {
116
96
  EnableClientCaching: string;
117
97
  PageType: string;
118
98
  Channel: string;
99
+ CurrentUserSubscription: string;
100
+ CustomQuery: string;
119
101
  };
120
102
  PagePicker: {
121
103
  AddPage: string;
@@ -239,7 +239,7 @@ export declare module PublishingAppLocalization {
239
239
  Title: string;
240
240
  AutomaticTerminateTooltip: string;
241
241
  ArchiveDate: string;
242
- EnableAutoTerminate: string;
242
+ EnableAutoTermination: string;
243
243
  };
244
244
  SharepointSync: {
245
245
  SharepointSyncSettingsLabel: string;
@@ -0,0 +1,35 @@
1
+ import { TaxonomyPropertySettings } from "@omnia/fx/models";
2
+ import { VueComponentBase, VueComponentBaseProps } from "@omnia/fx/ux";
3
+ import { FilterSettingsEnums, TaxonomyUIFilter } from "../../fx/models";
4
+ export interface IFilterTargetingPropertyValueInput extends VueComponentBaseProps {
5
+ valueObj: TaxonomyUIFilter;
6
+ settings: TaxonomyPropertySettings;
7
+ filterSettingsClass: string;
8
+ alignSelfCenterClass: string;
9
+ filterTypes: Array<{
10
+ id: FilterSettingsEnums.FilterTypes;
11
+ title: string;
12
+ }>;
13
+ updateBlockData: () => void;
14
+ }
15
+ /**
16
+ * Generic component created for all targeting properties
17
+ * */
18
+ export declare class FilterTargetingPropertyValueInput extends VueComponentBase<IFilterTargetingPropertyValueInput> {
19
+ valueObj: TaxonomyUIFilter;
20
+ settings: TaxonomyPropertySettings;
21
+ filterSettingsClass: string;
22
+ alignSelfCenterClass: string;
23
+ filterTypes: Array<{
24
+ id: FilterSettingsEnums.FilterTypes;
25
+ title: string;
26
+ }>;
27
+ updateBlockData: () => void;
28
+ private loc;
29
+ created(): void;
30
+ renderFilterTypePicker(h: any): JSX.Element;
31
+ renderFixedValuePicker(h: any): JSX.Element;
32
+ renderIncludeChildTermsCheckbox(h: any): JSX.Element;
33
+ renderIncludeEmptyCheckbox(h: any): JSX.Element;
34
+ render(h: any): JSX.Element;
35
+ }
@@ -1 +1,2 @@
1
1
  export * from "./EnterprisePropertyRenderer";
2
+ export * from "./FilterTargetingPropertyValueInput";
@@ -22,6 +22,7 @@ export declare const PageRollupConstants: {
22
22
  readonly PageSizeMax: number;
23
23
  readonly DefaultPageSize: number;
24
24
  readonly channelIdInternalName: string;
25
+ readonly FilterByCurrentUserSubscription: string;
25
26
  };
26
27
  export declare const Constants: {
27
28
  social: {
@@ -31,6 +32,7 @@ export declare const Constants: {
31
32
  community: string;
32
33
  infoScreen: string;
33
34
  eventmanagement: string;
35
+ yammerIntegration: string;
34
36
  };
35
37
  communityAppDefinitionInfo: {
36
38
  id: Guid;
@@ -26,6 +26,7 @@ export var PageRollupConstants = {
26
26
  get PageSizeMax() { return 200; },
27
27
  get DefaultPageSize() { return 30; },
28
28
  get channelIdInternalName() { return "PChannelId"; },
29
+ get FilterByCurrentUserSubscription() { return "CurrentUserSubscription"; },
29
30
  };
30
31
  export var Constants = {
31
32
  social: {
@@ -34,7 +35,8 @@ export var Constants = {
34
35
  featureIds: {
35
36
  community: "c6d779e8-58ef-4f5d-9fe4-dbdd311bf9c9",
36
37
  infoScreen: "5899f95b-0b0e-43ef-bfc5-fb387467b914",
37
- eventmanagement: "5d84674a-da6f-455f-90e7-ec7c90ca3a26"
38
+ eventmanagement: "5d84674a-da6f-455f-90e7-ec7c90ca3a26",
39
+ yammerIntegration: "560986c7-56dd-4aea-abec-008825a53dc8"
38
40
  },
39
41
  communityAppDefinitionInfo: {
40
42
  id: new Guid("3b0e3cd4-911e-49cf-a401-b6c904526b85")
@@ -1,32 +1,4 @@
1
- import { Guid, Identity, MediaPickerImage, MultilingualString } from "@omnia/fx-models";
2
- import { PublishingStatus } from "./ChannelPages";
3
- import { ChannelId } from "./Channel";
4
- export interface ChannelCreateRequest {
5
- securityResourceId: Guid;
6
- title: MultilingualString;
7
- description: MultilingualString;
8
- publicUrl: string;
9
- owner: Array<Identity>;
10
- image: MediaPickerImage;
11
- administrator: Array<Identity>;
12
- publisher: Array<Identity>;
13
- }
14
- export interface ChannelEditRequest extends ChannelCreateRequest {
15
- id: ChannelId;
16
- }
17
- export interface PagesChannelGroup {
18
- channelId: number;
19
- pages: Array<number>;
20
- }
21
- export interface PagesChannelGroupResult {
22
- groups: Array<PagesChannelGroup>;
23
- groupStatus: PublishingStatus;
24
- }
25
- export interface PublishPagetoChannelsResult {
26
- Published: Array<Identity>;
27
- WaitingforApproval: Array<Identity>;
28
- PendingPublishing: Array<Identity>;
29
- }
1
+ import { Guid } from "@omnia/fx-models";
30
2
  export interface UserAuthorizedChannelResources {
31
3
  channelPublishableResourceId: Array<Guid>;
32
4
  channelAdministratorResourceId: Array<Guid>;
@@ -1,19 +1,13 @@
1
- import { Identity } from "@omnia/fx/models";
1
+ import { PublishingChannelId } from "./PublishingChannel";
2
2
  import { PageId } from "../pages";
3
- import { ChannelId } from "./Channel";
4
3
  export declare enum PublishingStatus {
5
4
  PendingPublishing = 0,
6
5
  PendingApproval = 1,
7
- Published = 2,
8
- Reject = 3
6
+ Published = 2
9
7
  }
10
- export interface ChannelPages {
8
+ export interface ChannelPage {
11
9
  pageId: PageId;
12
- channelId: ChannelId;
10
+ channelId: PublishingChannelId;
13
11
  status: PublishingStatus;
14
12
  createdBy: string;
15
13
  }
16
- export interface ChannelPagesIdentityResolved extends ChannelPages {
17
- administrator?: Array<Identity>;
18
- publisher?: Array<Identity>;
19
- }
@@ -3,5 +3,4 @@ export var PublishingStatus;
3
3
  PublishingStatus[PublishingStatus["PendingPublishing"] = 0] = "PendingPublishing";
4
4
  PublishingStatus[PublishingStatus["PendingApproval"] = 1] = "PendingApproval";
5
5
  PublishingStatus[PublishingStatus["Published"] = 2] = "Published";
6
- PublishingStatus[PublishingStatus["Reject"] = 3] = "Reject";
7
6
  })(PublishingStatus || (PublishingStatus = {}));
@@ -1,18 +1,18 @@
1
1
  import { Guid, Identity, MediaPickerImage, MultilingualString } from "@omnia/fx-models";
2
- export declare enum ChannelId {
2
+ import { TargetingFilterProperty } from "@omnia/fx-sp/models";
3
+ export declare enum PublishingChannelId {
3
4
  }
4
- export interface ChannelIdentityResolved extends Channel {
5
- administrator: Array<Identity>;
6
- publisher: Array<Identity>;
7
- }
8
- export interface Channel {
9
- id: ChannelId;
5
+ export interface PublishingChannel {
6
+ id: PublishingChannelId;
10
7
  securityResourceId: Guid;
11
8
  title: MultilingualString;
12
9
  description: MultilingualString;
13
10
  publicUrl: string;
14
11
  owner: Array<Identity>;
15
12
  image: MediaPickerImage;
13
+ administrator: Array<Identity>;
14
+ publisher: Array<Identity>;
15
+ targetingFilter?: TargetingFilterProperty;
16
16
  imageUrl?: string;
17
17
  multilingualTitle?: string;
18
18
  multilingualDescription?: string;
@@ -0,0 +1,3 @@
1
+ export var PublishingChannelId;
2
+ (function (PublishingChannelId) {
3
+ })(PublishingChannelId || (PublishingChannelId = {}));
@@ -1,4 +1,3 @@
1
- export * from './Channel';
1
+ export * from './PublishingChannel';
2
2
  export * from './ChannelHttpModels';
3
3
  export * from './ChannelPages';
4
- export * from './PublishingChannelPageRequest';
@@ -1,4 +1,3 @@
1
- export * from './Channel';
1
+ export * from './PublishingChannel';
2
2
  export * from './ChannelHttpModels';
3
3
  export * from './ChannelPages';
4
- export * from './PublishingChannelPageRequest';
@@ -22,4 +22,6 @@ export interface AccordionItem {
22
22
  id: number;
23
23
  title: MultilingualString;
24
24
  content: string;
25
+ customAnchorNameEnabled: boolean;
26
+ anchorName?: string;
25
27
  }
@@ -53,6 +53,7 @@ export interface ActionButtonLinkHandlerSettings extends IActionHandlerSettings
53
53
  target: ActionButtonLinkHandlerTargets;
54
54
  dialogPosition?: DialogPositions;
55
55
  closeWhenOutsideClick?: boolean;
56
+ anchorName?: string;
56
57
  }
57
58
  export interface ActionButtonCreatePageHandlerSettings extends IActionHandlerSettings {
58
59
  pageCollectionId: SelectionItem<number> | SelectionToken;
@@ -0,0 +1,34 @@
1
+ import { GuidValue } from "@omnia/fx/models";
2
+ export interface TaxonomyQueryFilter {
3
+ fixedTermIds?: Array<GuidValue>;
4
+ filterType: FilterSettingsEnums.FilterTypes;
5
+ includeChildTerms: boolean;
6
+ includeEmpty: boolean;
7
+ }
8
+ export interface TaxonomyUIFilter extends TaxonomyQueryFilter {
9
+ termIds: Array<GuidValue>;
10
+ fixedTermIds: Array<GuidValue>;
11
+ }
12
+ export declare module FilterSettingsEnums {
13
+ enum DatePeriods {
14
+ OneWeekFromToday = 1,
15
+ TwoWeeksFromToday = 2,
16
+ OneMonthFromToday = 3,
17
+ LaterThanNow = 4,
18
+ EarlierThanNow = 5
19
+ }
20
+ enum FilterTypes {
21
+ FixedValue = 1,
22
+ CurrentPage = 2,
23
+ User = 3,
24
+ CurrentTerm = 4
25
+ }
26
+ enum DateTimeModes {
27
+ Normal = 1,
28
+ Social = 2
29
+ }
30
+ enum BooleanFilterOptions {
31
+ Yes = 1,
32
+ No = 2
33
+ }
34
+ }
@@ -0,0 +1,28 @@
1
+ export var FilterSettingsEnums;
2
+ (function (FilterSettingsEnums) {
3
+ var DatePeriods;
4
+ (function (DatePeriods) {
5
+ DatePeriods[DatePeriods["OneWeekFromToday"] = 1] = "OneWeekFromToday";
6
+ DatePeriods[DatePeriods["TwoWeeksFromToday"] = 2] = "TwoWeeksFromToday";
7
+ DatePeriods[DatePeriods["OneMonthFromToday"] = 3] = "OneMonthFromToday";
8
+ DatePeriods[DatePeriods["LaterThanNow"] = 4] = "LaterThanNow";
9
+ DatePeriods[DatePeriods["EarlierThanNow"] = 5] = "EarlierThanNow";
10
+ })(DatePeriods = FilterSettingsEnums.DatePeriods || (FilterSettingsEnums.DatePeriods = {}));
11
+ var FilterTypes;
12
+ (function (FilterTypes) {
13
+ FilterTypes[FilterTypes["FixedValue"] = 1] = "FixedValue";
14
+ FilterTypes[FilterTypes["CurrentPage"] = 2] = "CurrentPage";
15
+ FilterTypes[FilterTypes["User"] = 3] = "User";
16
+ FilterTypes[FilterTypes["CurrentTerm"] = 4] = "CurrentTerm";
17
+ })(FilterTypes = FilterSettingsEnums.FilterTypes || (FilterSettingsEnums.FilterTypes = {}));
18
+ var DateTimeModes;
19
+ (function (DateTimeModes) {
20
+ DateTimeModes[DateTimeModes["Normal"] = 1] = "Normal";
21
+ DateTimeModes[DateTimeModes["Social"] = 2] = "Social";
22
+ })(DateTimeModes = FilterSettingsEnums.DateTimeModes || (FilterSettingsEnums.DateTimeModes = {}));
23
+ var BooleanFilterOptions;
24
+ (function (BooleanFilterOptions) {
25
+ BooleanFilterOptions[BooleanFilterOptions["Yes"] = 1] = "Yes";
26
+ BooleanFilterOptions[BooleanFilterOptions["No"] = 2] = "No";
27
+ })(BooleanFilterOptions = FilterSettingsEnums.BooleanFilterOptions || (FilterSettingsEnums.BooleanFilterOptions = {}));
28
+ })(FilterSettingsEnums || (FilterSettingsEnums = {}));
@@ -15,8 +15,13 @@ export interface PageItemNode {
15
15
  displayTitle?: string;
16
16
  nodeId?: number;
17
17
  }
18
- export interface PageLinkItem extends LinkItem, PageItemNode {
18
+ export interface PageLinkItem extends LinkItem, PageItemNode, AnchorLinkItem {
19
+ }
20
+ export interface CustomLinkItem extends LinkItem, AnchorLinkItem {
19
21
  }
20
22
  export interface CustomLinkPropertyData extends LinkPickerPropertyData {
21
23
  isValidateTitle?: boolean;
22
24
  }
25
+ export interface AnchorLinkItem {
26
+ anchorName: string;
27
+ }
@@ -1,7 +1,7 @@
1
1
  import { ITheming } from '@omnia/fx/ux';
2
2
  import { types } from 'typestyle';
3
3
  export declare const PagePickerNodeStyles: {
4
- headerWrapper: (level: number, isRoutePath: boolean, theming: ITheming) => types.NestedCSSProperties;
4
+ headerWrapper: (level: number, isRoutePath: boolean, selectable: boolean, theming: ITheming) => types.NestedCSSProperties;
5
5
  arrowBtnCollapsedDefault: types.NestedCSSProperties;
6
6
  arrowBtnExpanded: types.NestedCSSProperties;
7
7
  arrowWrapper: (show: boolean) => types.NestedCSSProperties;
@@ -1,14 +1,26 @@
1
- import { GuidValue } from '@omnia/fx-models';
1
+ import { GuidValue, SpacingSettings } from '@omnia/fx-models';
2
+ export interface MegaMenuNode {
3
+ depthLevel: number;
4
+ rootNavigationNodeId: number;
5
+ publishingAppId: GuidValue;
6
+ publishingAppPath: string;
7
+ excludeStartNode: boolean;
8
+ }
9
+ export interface MegaMenuLevelStyle {
10
+ fontSize: number;
11
+ fontWeight: number;
12
+ enableUppercase: boolean;
13
+ spacing: SpacingSettings;
14
+ }
2
15
  export interface MegaMenuSettings {
16
+ startNodes: Array<MegaMenuNode>;
17
+ levelStyles: Array<MegaMenuLevelStyle>;
18
+ enableDropdownMenu: boolean;
19
+ staticLevels: number;
3
20
  maxHeight: number;
4
21
  maxWidth: number;
5
- staticDisplayLevel: number;
6
- dynamicDisplayLevel: number;
22
+ minWidthOfColumn: number;
7
23
  backgroundColor: string;
8
24
  textColor: string;
9
25
  selectedBorderColor: string;
10
- rootNavigationNodeId: number;
11
- publishingAppId: GuidValue;
12
- publishingAppPath: string;
13
- flat?: boolean;
14
26
  }
@@ -1,5 +1,6 @@
1
- import { MegaMenuSettings } from '.';
1
+ import { MegaMenuLevelStyle, MegaMenuSettings } from '.';
2
2
  import { types } from 'typestyle';
3
+ import { SpacingSettings } from '@omnia/fx/models';
3
4
  export declare const MegaMenuStyles: {
4
5
  layoutWrapperOmniaApp: (settings: MegaMenuSettings) => types.NestedCSSProperties;
5
6
  layoutWrapperSP: (settings: MegaMenuSettings) => types.NestedCSSProperties;
@@ -12,11 +13,13 @@ export declare const MegaMenuStyles: {
12
13
  menuDropDown: (settings: MegaMenuSettings) => types.NestedCSSProperties;
13
14
  menuDropDownLink: (settings: MegaMenuSettings) => types.NestedCSSProperties;
14
15
  menuDropDownLinkActived: (settings: MegaMenuSettings) => types.NestedCSSProperties;
15
- menuDropDownLinkIndentation: (level: number) => types.NestedCSSProperties;
16
+ menuDropDownLinkIndentation: (level: number, spacing: SpacingSettings) => types.NestedCSSProperties;
16
17
  menuDropDownHeader: types.NestedCSSProperties;
17
- menuFlatDropDownHeader: types.NestedCSSProperties;
18
- menuDropDownColumn: (containerMaxWidth: number, containerMinLeft: number, maxWidth: number, btnLeft: number) => types.NestedCSSProperties;
19
18
  menuDropDownColumnUL: types.NestedCSSProperties;
20
19
  menuDropDownColumnSubTitle: types.NestedCSSProperties;
21
20
  dynamicMenuScrollable: (containerMaxHeight: number, maxHeight: number, btnBottom: number) => types.NestedCSSProperties;
21
+ levelStyles: (levelStyle: MegaMenuLevelStyle, isStartNode?: boolean, isActive?: boolean) => types.NestedCSSProperties;
22
+ flatWrapper: (maxWidth: number, settings: MegaMenuSettings) => types.NestedCSSProperties;
23
+ flexChild: (minWidth: number) => types.NestedCSSProperties;
24
+ flexWrapper: types.NestedCSSProperties;
22
25
  };
@@ -1,6 +1,6 @@
1
1
  import { GuidValue, Identity, MultilingualString, PropertyIndexedType, RollupOtherTypes, SpacingSettings, Tag } from '@omnia/fx-models';
2
- import { Page, PageDialogPropertiesMapping, PageItemNode, PageRollupEnums, PagingTypes } from '..';
3
- import { ChannelId } from '../channels';
2
+ import { FilterSettingsEnums, Page, PageDialogPropertiesMapping, PageItemNode, PageRollupEnums, PagingTypes, TaxonomyQueryFilter, TaxonomyUIFilter } from '..';
3
+ import { PublishingChannelId } from '../channels';
4
4
  import { PageId } from '../pages';
5
5
  import { VariationId } from '../variations';
6
6
  export interface PageRollupViewSettings {
@@ -48,21 +48,17 @@ export interface PageRollupPersonPropertyFilterValue extends PageRollupPropertyF
48
48
  value: Array<Identity>;
49
49
  }
50
50
  export interface PageRollupDatePropertyFilterValue extends PageRollupPropertyFilterValue {
51
- value: PageRollupEnums.DatePeriods;
51
+ value: FilterSettingsEnums.DatePeriods;
52
52
  }
53
53
  export interface PageRollupTagPropertyFilterValue extends PageRollupPropertyFilterValue {
54
54
  value: Array<Tag>;
55
- filterType: PageRollupEnums.FilterTypes;
55
+ filterType: FilterSettingsEnums.FilterTypes;
56
56
  }
57
- export interface PageRollupTaxonomyPropertyFilterValue extends PageRollupPropertyFilterValue {
58
- fixedTermIds?: Array<string>;
59
- filterType: PageRollupEnums.FilterTypes;
60
- includeChildTerms: boolean;
61
- includeEmpty: boolean;
57
+ export interface PageRollupTaxonomyPropertyFilterValue extends TaxonomyQueryFilter {
62
58
  }
63
59
  export interface PageRollupLanguagePropertyFilterValue extends PageRollupPropertyFilterValue {
64
60
  value: string[];
65
- filterType: PageRollupEnums.FilterTypes;
61
+ filterType: FilterSettingsEnums.FilterTypes;
66
62
  }
67
63
  /**
68
64
  *
@@ -77,14 +73,14 @@ export interface PageRollupUiFilter {
77
73
  export interface PageRollupUiFilterValue {
78
74
  }
79
75
  export interface PageRollupUiDatePeriodsFilterValue extends PageRollupUiDatePropFilterValue {
80
- value: PageRollupEnums.DatePeriods;
76
+ value: FilterSettingsEnums.DatePeriods;
81
77
  }
82
78
  export interface PageRollupUiDatePropFilterValue extends PageRollupUiFilterValue {
83
79
  from: string;
84
80
  to: string;
85
81
  }
86
82
  export interface PageRollupUiBooleanPropFilterValue extends PageRollupUiFilterValue {
87
- value: PageRollupEnums.BooleanFilterOptions;
83
+ value: FilterSettingsEnums.BooleanFilterOptions;
88
84
  }
89
85
  export interface PageRollupUiTextPropFilterValue extends PageRollupUiFilterValue {
90
86
  text: string;
@@ -95,9 +91,7 @@ export interface PageRollupUiNumberPropFilterValue extends PageRollupUiFilterVal
95
91
  export interface PageRollupUiPersonPropFilterValue extends PageRollupUiFilterValue {
96
92
  value: Array<Identity>;
97
93
  }
98
- export interface PageRollupUiTaxonomyPropFilterValue extends PageRollupUiFilterValue {
99
- termIds: Array<GuidValue>;
100
- fixedTermIds: Array<GuidValue>;
94
+ export interface PageRollupUiTaxonomyPropFilterValue extends TaxonomyUIFilter {
101
95
  }
102
96
  export interface PageRollupUiSearchboxFilterValue extends PageRollupUiTextPropFilterValue {
103
97
  properties: Array<string>;
@@ -114,7 +108,7 @@ export interface PageRollupPageTypePropertyFilterValue extends PageRollupPropert
114
108
  value: Array<PageId>;
115
109
  }
116
110
  export interface PageRollupChannelFilterValue extends PageRollupPropertyFilterValue {
117
- value: Array<ChannelId>;
111
+ value: Array<PublishingChannelId>;
118
112
  }
119
113
  export interface PageRollupBlockBreakPointSettings {
120
114
  selectedViewId: string;
@@ -133,6 +127,7 @@ export interface PageRollupBlockBreakPointSettings {
133
127
  noResultText: string | MultilingualString;
134
128
  pagingType: PagingTypes;
135
129
  itemLimit: number;
130
+ currentUserSubscription?: boolean;
136
131
  }
137
132
  export interface PageRollupBlockProperty {
138
133
  pickedPages?: Array<PageItemNode>;
@@ -159,10 +154,10 @@ export interface PageRollupBlockSettings {
159
154
  viewSettings: PageRollupViewSettings;
160
155
  uiFilters: Array<PageRollupUiFilter>;
161
156
  title: MultilingualString;
162
- likePeriod?: PageRollupEnums.DatePeriods;
163
- commentPeriod?: PageRollupEnums.DatePeriods;
164
- ratingPeriod?: PageRollupEnums.DatePeriods;
165
- feedbackPeriod?: PageRollupEnums.DatePeriods;
157
+ likePeriod?: FilterSettingsEnums.DatePeriods;
158
+ commentPeriod?: FilterSettingsEnums.DatePeriods;
159
+ ratingPeriod?: FilterSettingsEnums.DatePeriods;
160
+ feedbackPeriod?: FilterSettingsEnums.DatePeriods;
166
161
  sortBy?: string;
167
162
  sortDescending?: boolean;
168
163
  showCreateButton?: boolean;
@@ -193,6 +188,7 @@ export interface PageRollupBlockSettings {
193
188
  useRouter: boolean;
194
189
  navigationDepthLevel: number;
195
190
  navigationStartNode?: PageItemNode;
191
+ currentUserSubscription?: boolean;
196
192
  }
197
193
  export interface PageTypeSelection extends Page {
198
194
  title: string;
@@ -52,3 +52,4 @@ export * from "./TaxonomyNavigationStyles";
52
52
  export * from "./EnterprisePropertyDocumentProvider";
53
53
  export * from "./SignOffRequestBlockStyles";
54
54
  export * from "./ChannelCardViewStyles";
55
+ export * from "./FilterSettings";
@@ -52,3 +52,4 @@ export * from "./TaxonomyNavigationStyles";
52
52
  export * from "./EnterprisePropertyDocumentProvider";
53
53
  export * from "./SignOffRequestBlockStyles";
54
54
  export * from "./ChannelCardViewStyles";
55
+ export * from "./FilterSettings";
@@ -2,6 +2,7 @@ import { PropertyIndexedType, GuidValue, SpacingSettings, MultilingualString, Ic
2
2
  import { AdminInfoScreenEnums } from './AdminInfoScreenEnums';
3
3
  import { PageQuery, PageRollupEnums, PageRollupPropertyFilter, PagingTypes, PageRollupUiFilter, PageItemNode, VideoType } from '@omnia/wcm/models';
4
4
  import { TargetingFilterProperty } from '@omnia/fx-sp/models';
5
+ import { FilterSettingsEnums } from '..';
5
6
  export interface BlockDataWithSettingsAndData<Data, Settings> {
6
7
  settings: Settings;
7
8
  }
@@ -91,10 +92,10 @@ export interface AdminInfoScreenBlockSettings {
91
92
  viewSettings: AdminInfoScreenViewSettings;
92
93
  uiFilters: Array<PageRollupUiFilter>;
93
94
  title: MultilingualString;
94
- likePeriod?: PageRollupEnums.DatePeriods;
95
- commentPeriod?: PageRollupEnums.DatePeriods;
96
- ratingPeriod?: PageRollupEnums.DatePeriods;
97
- feedbackPeriod?: PageRollupEnums.DatePeriods;
95
+ likePeriod?: FilterSettingsEnums.DatePeriods;
96
+ commentPeriod?: FilterSettingsEnums.DatePeriods;
97
+ ratingPeriod?: FilterSettingsEnums.DatePeriods;
98
+ feedbackPeriod?: FilterSettingsEnums.DatePeriods;
98
99
  sortBy?: string;
99
100
  sortDescending?: boolean;
100
101
  showCreateButton?: boolean;
@@ -30,4 +30,9 @@ export interface NavigationNode<T extends NavigationData> extends AuditingInform
30
30
  * */
31
31
  publishedChildCount: number;
32
32
  path?: string;
33
+ /**
34
+ * The order value which is used to sort nodes when there are subset of nodes available in client side
35
+ * */
36
+ orderValue?: number;
37
+ anchorName?: string;
33
38
  }