@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
68 lines (67 loc) • 2.15 kB
TypeScript
import { VNode } from "vue";
import { BlockCatalogStore, LayoutCanvasStore, ThemingRenditionManager } from "../../";
import { BlockInstance, LayoutFileContext, LayoutMediaContext, ThemeStore, VueComponentBase, VueComponentBaseProps } from "../../..";
import { Block, LayoutItem, SectionSettings } from "../../../../models";
import { MediaPickerService, SettingsService } from "../../../../services";
import { BlockTitleSettingsStore, FeatureStore, MultilingualStore } from "../../../../stores";
export interface BlockProps extends VueComponentBaseProps {
block: Block;
parentContainer: LayoutItem;
settings: SectionSettings;
orphaned?: boolean;
}
export declare class LayoutBlock extends VueComponentBase<BlockProps> {
block: Block;
parentContainer: LayoutItem;
settings: SectionSettings;
orphaned: boolean;
protected settingsService: SettingsService<any>;
blockTitleSettingsStore: BlockTitleSettingsStore;
featureStore: FeatureStore;
layoutItemStore: BlockCatalogStore;
layoutEditorStore: LayoutCanvasStore;
layoutMediaContext: LayoutMediaContext;
layoutFileContext: LayoutFileContext;
themeStore: ThemeStore;
mediaPickerService: MediaPickerService;
editorStore: LayoutCanvasStore;
themingRenditionManager: ThemingRenditionManager;
protected multilingualStore: MultilingualStore;
private omniaUxLoc;
blockInstance: BlockInstance;
private editorTheme;
created(): void;
mounted(): void;
private get backgroundImage();
/**
* Creates the element
* @param h
*/
createElement(): VNode;
/**
* Event handler when block is selected
* @param e
*/
private onBlockSelected;
private shouldHideSelectorWhenactiveLayoutItemAction;
/**
* Renders the border selector
* @param h
*/
private renderBorderSelector;
/**
* Renders the edit mode
* @param h
*/
private renderContentMode;
/**
* Renders the designmode
* @param h
*/
private renderLayoutMode;
/**
* Render
* @param h
*/
render(): VueTsxSupport.JSX.Element;
}