@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
59 lines (58 loc) • 2.17 kB
TypeScript
import { ThemingRenditionManager } from "../../";
import { LayoutItem, Section, ILayoutSectionRenderer, LayoutSectionRendererSlots, SectionSettings } from "../../../../models";
import { VueComponentBaseProps, VueComponentBase } from "../../../VueComponentBase";
import { ThemeStore } from "../../../";
import { UserTargetingStore, BlockTitleSettingsStore, DirectionRuleStore } from "../../../../stores";
import { LayoutCanvasStore } from "../../";
import { MediaPickerService } from "../../../../services";
export interface LayoutSectionRendererProps extends VueComponentBaseProps {
parentContainer: LayoutItem;
section: Section;
layoutId: string;
useScrollMargingFix: boolean;
overridable?: boolean;
}
export declare class LayoutSectionRenderer extends VueComponentBase<LayoutSectionRendererProps> implements ILayoutSectionRenderer {
section: Section;
parentContainer: LayoutItem;
layoutId: string;
useScrollMargingFix: boolean;
overridable?: boolean;
targetingStore: UserTargetingStore;
blockTitleSettingsStore: BlockTitleSettingsStore;
layoutEditorStore: LayoutCanvasStore;
mediaPickerService: MediaPickerService;
themeStore: ThemeStore;
themingRenditionManager: ThemingRenditionManager;
directionRuleStore: DirectionRuleStore;
private omniaUxLoc;
ensureBackgroundImageHandler: (section: Section) => void;
slots: LayoutSectionRendererSlots;
private targetCurrentUser;
private isEditMode;
private isHideBlockInPrint;
beforeCreate(): void;
created(): void;
private get backgroundImage();
init(): void;
onSectionUpdated(): void;
updated(): void;
checkTargetingValue(settings: SectionSettings): void;
/**
* Function to render the columns
* @param h is the hyperscript reference
*/
private createColumnMarkup;
/**
* Function to render the tabs
* @param h is the hyperscript reference
*/
private createTabMarkup;
/**
* Function to render the tabs
* @param h is the hyperscript reference
*/
private createStepperMarkup;
private renderSectionTitle;
render(): VueTsxSupport.JSX.Element;
}