@omnia/wcm 6.8.6-preview → 6.8.10-preview

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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;
@@ -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,7 @@ export interface PageCollectionData extends PlainPageData {
30
30
  enableAutoSubscription?: boolean;
31
31
  enablePublishingToChannel: boolean;
32
32
  yammerIntegrationRules: Array<YammerIntegrationRule>;
33
+ collectionPageTypes?: Array<CollectionPageType>;
33
34
  /**
34
35
  * This property is used as inital value for creating Page Collection Navigation Node.
35
36
  * */
@@ -82,3 +83,14 @@ export declare enum YammerProperties {
82
83
  Summary = "Summary",
83
84
  Content = "Content"
84
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
+ }
@@ -1,4 +1,4 @@
1
- import { GuidValue, IVersionedDataIdentifier, Layout } from '@omnia/fx-models';
1
+ import { GuidValue, IVersionedDataIdentifier, Layout, SearchValue } from '@omnia/fx-models';
2
2
  import { EnterprisePropertiesInheritance, ApprovalData } from '.';
3
3
  import { PageId } from './Page';
4
4
  /**
@@ -33,6 +33,9 @@ export interface PageData {
33
33
  layoutVersionedDataIdentifier?: IVersionedDataIdentifier;
34
34
  approvalData?: ApprovalData;
35
35
  propertyBag?: {
36
+ search: {
37
+ [blockId: string]: SearchValue;
38
+ };
36
39
  [key: string]: any;
37
40
  };
38
41
  }
@@ -1,4 +1,5 @@
1
1
  import { IBlockInstance } from '@omnia/fx-models';
2
+ import { LayoutCanvasStore } from '@omnia/fx/ux';
2
3
  import { BlockConfiguration, IPageBlockPropertyStore, PropertyMapping, ReactivePageBlockProperty, VersionId } from '../models';
3
4
  export declare class PageBlockPropertyStore implements IPageBlockPropertyStore {
4
5
  private _propertyBagState;
@@ -21,7 +22,9 @@ export declare class PageBlockPropertyStore implements IPageBlockPropertyStore {
21
22
  updateBlockProperty<T>(reactivePageProperty: ReactivePageBlockProperty<T>): void;
22
23
  getBlockProperty<BlockSettings, BlockProperty>(blockInstance: IBlockInstance<BlockSettings>, blockSettings: BlockSettings, defaultBlockProperty: BlockProperty, nullOrUndefinedValueCustomHandler?: (missingPropertyName: string, parent: object, defaultValue: object) => object, emptyStringValueCustomHandler?: (missingPropertyName: string, parent: object, defaultValue: object) => object, emptyArrayValueCustomHandler?: (missingPropertyName: string, parent: object, defaultValue: object) => object): ReactivePageBlockProperty<BlockProperty>;
23
24
  ensureRemoveDeletedBlockProperty(): void;
25
+ registerSearchHandler(blockInstance: IBlockInstance, layoutCanvasStore: LayoutCanvasStore): void;
24
26
  get CurrentVersionPageId(): VersionId;
25
27
  destroy(): void;
28
+ private getLayoutItem;
26
29
  private createReactiveProperty;
27
30
  }
@@ -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
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "6.8.6-preview",
4
+ "version": "6.8.10-preview",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"