@omnia/wcm 6.10.5-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.
Files changed (46) hide show
  1. package/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +5 -0
  2. package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +7 -0
  3. package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +7 -0
  4. package/internal-do-not-import-from-here/core/ux/FilterTargetingPropertyValueInput.d.ts +6 -2
  5. package/internal-do-not-import-from-here/fx/models/Constants.d.ts +2 -0
  6. package/internal-do-not-import-from-here/fx/models/Constants.js +4 -2
  7. package/internal-do-not-import-from-here/fx/models/ManifestIds.d.ts +1 -0
  8. package/internal-do-not-import-from-here/fx/models/ManifestIds.js +5 -0
  9. package/internal-do-not-import-from-here/fx/models/components/CalendarRollupBlock.d.ts +9 -0
  10. package/internal-do-not-import-from-here/fx/models/components/FilterSettings.d.ts +1 -0
  11. package/internal-do-not-import-from-here/fx/models/components/LinkPicker.d.ts +4 -0
  12. package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +1 -0
  13. package/internal-do-not-import-from-here/fx/models/components/RelatedLinkBlock.d.ts +7 -2
  14. package/internal-do-not-import-from-here/fx/models/infoscreen/AdminInfoScreenBlock.d.ts +1 -66
  15. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.d.ts +7 -1
  16. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupEnums.js +7 -0
  17. package/internal-do-not-import-from-here/fx/models/pagequery/PageRollupQuery.d.ts +1 -0
  18. package/internal-do-not-import-from-here/fx/models/pages/PageCollectionData.d.ts +17 -1
  19. package/internal-do-not-import-from-here/fx/models/pages/PageCreationInfo.d.ts +4 -1
  20. package/internal-do-not-import-from-here/fx/models/pages/PageFile.d.ts +9 -0
  21. package/internal-do-not-import-from-here/fx/models/pages/PageFile.js +11 -0
  22. package/internal-do-not-import-from-here/fx/models/pages/index.d.ts +1 -0
  23. package/internal-do-not-import-from-here/fx/models/pages/index.js +1 -0
  24. package/internal-do-not-import-from-here/fx/stores/PageRollupStoreHelper.d.ts +2 -0
  25. package/internal-do-not-import-from-here/fx/ux/InternalUxCore.d.ts +1 -0
  26. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/index.d.ts +0 -1
  27. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/{EnterpriseGlossarySuggestion/components/SuggestionComponent.manifest.d.ts → rtf.extensions.manifest.d.ts} +0 -0
  28. package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.core.manifest.json +1 -1
  29. package/internal-do-not-import-from-here/manifests/omnia.wcm.fxux.manifest.json +1 -1
  30. package/package.json +1 -1
  31. package/internal-do-not-import-from-here/fx/ux/index.d.ts +0 -1
  32. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/EnterpriseGlossarySuggestionConfiguration.d.ts +0 -8
  33. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/EnterpriseGlossarySuggestionExtension.d.ts +0 -7
  34. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/components/SuggestionComponent.d.ts +0 -16
  35. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/index.d.ts +0 -2
  36. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/loc/localize.d.ts +0 -12
  37. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/loc/localize.manifest.d.ts +0 -1
  38. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/EnterpriseGlossarySuggestionConfiguration.d.ts +0 -4
  39. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/SussgestionMatch.d.ts +0 -6
  40. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/models/index.d.ts +0 -2
  41. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/EnterpriseGlossarySuggestionNode.d.ts +0 -14
  42. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/EnterpriseSuggestionIgnore.d.ts +0 -6
  43. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/nodes/index.d.ts +0 -2
  44. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/plugins/EnterpriseGlossarySuggestion.css.d.ts +0 -1
  45. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/plugins/EnterpriseGlossarySuggestion.d.ts +0 -4
  46. package/internal-do-not-import-from-here/fx/ux/richtexteditorextensions/EnterpriseGlossarySuggestion/plugins/index.d.ts +0 -1
@@ -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;
@@ -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
- renderIncludeChildTermsCheckbox(h: any): JSX.Element;
37
+ renderUserTypePicker(h: any): JSX.Element[];
34
38
  renderIncludeEmptyCheckbox(h: any): JSX.Element;
35
39
  render(h: any): JSX.Element;
36
40
  }
@@ -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;
@@ -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")
@@ -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;
@@ -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 };
@@ -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
  }
@@ -193,6 +193,7 @@ export interface PageRollupBlockSettings {
193
193
  navigationDepthLevel: number;
194
194
  navigationStartNode?: PageItemNode;
195
195
  currentUserSubscription?: boolean;
196
+ versionStatus: PageRollupEnums.VersionStatus;
196
197
  }
197
198
  export interface PageTypeSelection extends Page {
198
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<LinkItem>;
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 { PropertyIndexedType, GuidValue, SpacingSettings, MultilingualString, IconPickerModel, MediaPickerVideo, Identity } from '@omnia/fx-models';
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 {
@@ -26,7 +26,8 @@ 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,
@@ -37,4 +38,9 @@ export declare module PageRollupEnums {
37
38
  WaitingForApproval = 2,
38
39
  ScheduleForPublishing = 4
39
40
  }
41
+ enum VersionStatus {
42
+ Any = 0,
43
+ Drafts = 1,
44
+ Published = 2
45
+ }
40
46
  }
@@ -33,6 +33,7 @@ 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) {
@@ -45,4 +46,10 @@ export var PageRollupEnums;
45
46
  WorkflowStatus[WorkflowStatus["WaitingForApproval"] = 2] = "WaitingForApproval";
46
47
  WorkflowStatus[WorkflowStatus["ScheduleForPublishing"] = 4] = "ScheduleForPublishing";
47
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 = {}));
48
55
  })(PageRollupEnums || (PageRollupEnums = {}));
@@ -30,6 +30,7 @@ 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
36
  pagesDetail: PageDetailQueryResult[];
@@ -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
- childStructureType: ChildStructureType;
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 };
@@ -30,3 +30,4 @@ export * from "./RestorePageResult";
30
30
  export * from "./DefaultVariationPage";
31
31
  export * from "./ReadNews";
32
32
  export * from './ReusablePages';
33
+ export * from "./PageFile";
@@ -30,3 +30,4 @@ export * from "./RestorePageResult";
30
30
  export * from "./DefaultVariationPage";
31
31
  export * from "./ReadNews";
32
32
  export * from './ReusablePages';
33
+ export * from "./PageFile";
@@ -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;
@@ -21,5 +21,6 @@ export declare class WcmUxCore {
21
21
  private tryToExecuteTeamsDeepLink;
22
22
  private getPageNavigationNode;
23
23
  private openLinkInNewWindow;
24
+ private isClientAppUrl;
24
25
  static get instance(): any;
25
26
  }
@@ -1,2 +1 @@
1
1
  export * from './LinkPicker';
2
- export * from './EnterpriseGlossarySuggestion';
@@ -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","PageBuiltInColumnConstants","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","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
+ {"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/richtexteditorextensions/index.js":{"id":"./node_modules/@omnia/wcm/ux/richtexteditorextensions/index.js","buildMeta":{"exportsType":"namespace"},"exports":["EnterpriseGlossarySuggestionExtension","LinkPickerEditorExtension","LinkPickerNode"]},"./node_modules/@omnia/wcm/ux/InternalUxCore.js":{"id":"83824858-c7e4-450b-87a6-39e2a8018d84","buildMeta":{"exportsType":"namespace"},"exports":["WcmUxCore"]},"./node_modules/@omnia/wcm/ux/index.js":{"id":"a472acf5-b094-4810-8d57-3d2ae807ae79","buildMeta":{"exportsType":"namespace"},"exports":["EnterpriseGlossarySuggestionExtension","LinkPickerEditorExtension","LinkPickerNode"]}}}
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"]}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "6.10.5-dev",
4
+ "version": "6.10.6-dev",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -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,2 +0,0 @@
1
- export * from './EnterpriseGlossarySuggestionExtension';
2
- export * from './nodes';
@@ -1,12 +0,0 @@
1
- export declare module WCMUxLocalization {
2
- const namespace = "OWCM.Ux";
3
- interface locInterface {
4
- EnterpriseSuggestion: {
5
- Tooltip: {
6
- AddSuggestion: string;
7
- RemoveSuggestion: string;
8
- };
9
- Title: string;
10
- };
11
- }
12
- }
@@ -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,6 +0,0 @@
1
- export interface SussgestionMatch {
2
- from: number;
3
- to: number;
4
- mappingId: string;
5
- replacement: string;
6
- }
@@ -1,2 +0,0 @@
1
- export * from "./EnterpriseGlossarySuggestionConfiguration";
2
- export * from "./SussgestionMatch";
@@ -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,6 +0,0 @@
1
- import { MarkExtension } from '@omnia/fx/ux/richtexteditor';
2
- export default class EnterpriseSuggestionIgnore extends MarkExtension {
3
- constructor();
4
- get name(): string;
5
- get schema(): any;
6
- }
@@ -1,2 +0,0 @@
1
- export * from "./EnterpriseGlossarySuggestionNode";
2
- export * from "./EnterpriseSuggestionIgnore";
@@ -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>;