@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
38 lines (37 loc) • 1.62 kB
TypeScript
import { Section, SectionItem, TabbedSectionItemSettings } from "../../../../models";
import { VueComponentBase } from "../../..";
import { MultilingualStore } from "../../../../stores";
import { DynamicStateStore } from "../../";
export interface LayoutSectionTabProps {
section: Section;
layoutId: string;
useScrollMargingFix: boolean;
tabState: object;
themeTargetId?: string;
}
export declare class LayoutSectionTab extends VueComponentBase<LayoutSectionTabProps> {
multilingualStore: MultilingualStore;
tabStateStore: DynamicStateStore;
section: Section;
layoutId: string;
useScrollMargingFix: boolean;
tabState: object;
private selectedTabIndex;
private selectedAccordionIndex;
private VK_ENTER;
created(): void;
get selectingTab(): SectionItem<TabbedSectionItemSettings>;
onSelectTab(index: number): void;
onSelectAccordion(val: any): void;
hasTabIcon(tab: SectionItem<TabbedSectionItemSettings>): boolean;
private hasAnyTabIcon;
private showIconAndTextMode;
renderLabelAndIcon(tab: SectionItem<TabbedSectionItemSettings>, toSpread?: object): VueTsxSupport.JSX.Element;
renderLabelAndIconWrapper(tab: SectionItem<TabbedSectionItemSettings>): VueTsxSupport.JSX.Element;
private isSelectedAccordionIndex;
renderAccordion(): VueTsxSupport.JSX.Element;
renderTabTitle(tab: SectionItem<TabbedSectionItemSettings>): VueTsxSupport.JSX.Element;
renderIcon(tab: SectionItem<TabbedSectionItemSettings>): VueTsxSupport.JSX.Element;
renderTab(): VueTsxSupport.JSX.Element;
render(): VueTsxSupport.JSX.Element;
}