@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
41 lines (40 loc) • 1.35 kB
TypeScript
import { BlockCatalogStore, LayoutCanvasStore } from "../../";
import { VueComponentBaseProps } from "../../..";
import { LayoutItem, LayoutItemRegistration } from "../../../../models";
import { VueComponentBase } from "../../..";
import { FeatureStore } from "../../../../stores";
export interface LayoutItemSelectorProps extends VueComponentBaseProps {
container: LayoutItem;
color: string;
small: boolean;
siblingId?: string;
postInsert?: boolean;
}
export declare class LayoutItemSelector extends VueComponentBase<LayoutItemSelectorProps> {
container: LayoutItem;
siblingId?: string;
postInsert?: boolean;
color: string;
small: boolean;
layoutEditorStore: LayoutCanvasStore;
layoutItemStore: BlockCatalogStore;
featureStore: FeatureStore;
private omniaUxLoc;
private model;
beforeDestroy(): void;
private filterValidBlockRegistration;
/**
* Eventhandler for adding a layout item
* @param item
*/
onLayoutItemSelected(item: LayoutItemRegistration): void;
private createItemMarkup;
private createItemGroups;
private onClose;
private onDialogEscape;
private renderDefaultBlocks;
private renderSearchResult;
private renderSuggestedBlocks;
render(): VueTsxSupport.JSX.Element;
renderDialog(): VueTsxSupport.JSX.Element;
}