@omnia/wcm 6.8.9-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.
|
@@ -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
|
}
|