@omnia/fx-models 8.0.495-dev → 8.0.497-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.
- package/Layout.d.ts +3 -10
- package/package.json +1 -1
package/Layout.d.ts
CHANGED
@@ -4,7 +4,7 @@ import { TargetingFilterProperty } from "../sp";
|
|
4
4
|
import { ShapeDividerSettings } from "./ShapeDividerSettingsModel";
|
5
5
|
import { ClipboardLayoutItem } from "./Clipboard";
|
6
6
|
import { FilePickerStorageProviderContext } from "./FilePicker";
|
7
|
-
import { ComputedRef, VNodeChild
|
7
|
+
import { ComputedRef, VNodeChild } from "vue";
|
8
8
|
export interface Layout {
|
9
9
|
definition: LayoutDefinition;
|
10
10
|
blockSettings: BlockSettings;
|
@@ -428,13 +428,6 @@ export interface IBlockSettingsWriterExtender {
|
|
428
428
|
export interface IBlockApi<TSettings = void> {
|
429
429
|
fillData: (instance: IBlockInstance<TSettings>) => void;
|
430
430
|
}
|
431
|
-
export type EditBlockRenderer = FunctionalComponent<{
|
432
|
-
title: string;
|
433
|
-
variant?: "inline" | "panel";
|
434
|
-
icon?: IIcon;
|
435
|
-
}, {}, {
|
436
|
-
panel?: (baldeRenderer: typeof omfx.journey.blade) => VNodeChild;
|
437
|
-
}>;
|
438
431
|
export interface IBlockInstance<TSettings = void> {
|
439
432
|
id: guid;
|
440
433
|
manifestId: guid;
|
@@ -452,9 +445,9 @@ export interface IBlockInstance<TSettings = void> {
|
|
452
445
|
mediaContext: ILayoutMediaContext;
|
453
446
|
fileContext: ILayoutFileContext;
|
454
447
|
setSearchValue: (value: MultilingualString) => void;
|
455
|
-
editing: boolean;
|
448
|
+
readonly editing: boolean;
|
456
449
|
configurations: () => {
|
457
|
-
|
450
|
+
enableEdit(renderer: (element: typeof omfx.layout.editor.block.edit) => VNodeChild, mode?: "design-write" | "design" | "write"): void;
|
458
451
|
};
|
459
452
|
}
|
460
453
|
export interface LayoutInheritanceBehaviors {
|