@omnia/fx-models 8.0.493-dev → 8.0.495-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 +12 -1
- package/QueryFilter.d.ts +1 -0
- 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 } from "vue";
|
7
|
+
import { ComputedRef, VNodeChild, type FunctionalComponent } from "vue";
|
8
8
|
export interface Layout {
|
9
9
|
definition: LayoutDefinition;
|
10
10
|
blockSettings: BlockSettings;
|
@@ -428,6 +428,13 @@ 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
|
+
}>;
|
431
438
|
export interface IBlockInstance<TSettings = void> {
|
432
439
|
id: guid;
|
433
440
|
manifestId: guid;
|
@@ -445,6 +452,10 @@ export interface IBlockInstance<TSettings = void> {
|
|
445
452
|
mediaContext: ILayoutMediaContext;
|
446
453
|
fileContext: ILayoutFileContext;
|
447
454
|
setSearchValue: (value: MultilingualString) => void;
|
455
|
+
editing: boolean;
|
456
|
+
configurations: () => {
|
457
|
+
edit(renderer: (element: EditBlockRenderer) => VNodeChild): void;
|
458
|
+
};
|
448
459
|
}
|
449
460
|
export interface LayoutInheritanceBehaviors {
|
450
461
|
section: SectionLayoutInheritanceBehaviors;
|
package/QueryFilter.d.ts
CHANGED